Tagged Questions
-4
votes
0answers
56 views
What is the source code for CV AVR for LDR? [closed]
I need to interface LDR with micro controller.
I use a voltage divider circuit with another resistor and input that into ADC port of micro controller (ATMega8535)
The problem now is how to make this ...
0
votes
1answer
54 views
Error While trying the program my ATMega16a with extreme burner
Whenever, i want to burn the hex file on my chip, always an error message appearrs,
Power On Failed
Cannot communicate with target chip
The programmer i am using is AVR USB programmer, ...
0
votes
1answer
47 views
Can I monitor an ATMEGA406 using an Arduino Uno via SMBus?
I would like to build a small BMS using an atmega406 and then maybe use an Arduino Uno to show information about the cells on a computer or a small lcd
BMS = Battery Management System
Atmega406 ...
2
votes
1answer
92 views
ADC of ATmega32
I want to use an ATmega32 ADC in its 4 channel single-ended mode to convert four analog signals into digital (one at a time). I have written the C code but what I cannot figure out is what I should do ...
1
vote
1answer
97 views
SD card socket with MMC and Atmel
I'm trying to include an SD card slot in one of my designs. The whole SD format seems confused at best, and I can't seem to find a definitive answer to what I need to wire up.
Apparently the easiest ...
2
votes
3answers
147 views
ATmega32 programming without external clock?
I'm using an Atmega32. I want to use an external 16MHz crystal and I'm using a universal programmer (like http://www.kanda.com/products/wellon/VP-290.html). My question is: once I've programmed the ...
1
vote
1answer
85 views
Choosing Resonator for AtMega328P design
The ATMega328P datasheet specifies a load capacitance for a resonator from 12-22pF but the only 2 Resonators that will fit in my design (from Digikey) have 10pF and 33pF internal capacitors. Which one ...
1
vote
3answers
96 views
ATMEL 169PA resets with MCUSR = 0
On rare occasions, my ATMega169PA resets with MCUSR=0. What can cause this?
I have multiple units (> 500) running the same code and on rare occasions 1 or 2 units will reset with MCUSR=0.
1
vote
3answers
306 views
AVR Button Interfacing
I am a beginner of the micro-controller and I have the kit for AVR. I am currently using an ATMega16 to learn the basics. I have tried a few simple experiments with this micro-controller using LED's. ...
2
votes
2answers
199 views
Similarity between Atmega162 and Arduino
I am going to be taking an embedded systems course where we will be using the Atmega162 and I want to get started learning the stuff before the course begins.Now my question is, considering that there ...
3
votes
2answers
197 views
What is the minimal set of parts for a circut with this AVR microcontroller?
My Arduino Uno has a ATMEGA328P-PU microcontroller, and bunch of other stuff on the board. I'd like to program the chip without the Arduino software, and only the minimum of other components. I want ...
7
votes
2answers
255 views
Generating servo signal in atmega2560
I'm new to AtmelStudio. I need to know how to generate a servo control signal using timer modules of atmega2560. I'm using an Arduino Mega board. (please refer the last paragraphs of this page for ...
2
votes
2answers
482 views
Atmega8 USART transmitting wrong data
I'm trying to get USART working on my atmega8-16PU microcontroller. I've studied the documentation and took the examples of code from there. I've managed to transmit the data from microcontroller to ...
0
votes
2answers
96 views
Help find data sheet for micro-controller?
I found a packet of 10 micro-controller in my brother's electronics stuff. It reads "Atmel ATMEGA168A-PU".
I looked at Atmel's website but could not find any such product. I need it's data sheet to ...
2
votes
2answers
563 views
RGB LED Strip - Variable Voltage Vs. PWM
I am going to install an Analog RGB (non adressable) LED strip in my room and need to make a driver for it.
The LED strip specs are:
10 cm segment
12V @ 60mA max per segment
I would be using ...
1
vote
3answers
219 views
Can we give a bipolar signal to ADC of atmega88?
Can we send a bipolar signal to ADC of atmega. We know that an analogue signal has a positive value as well negative value. So ADC can take a negative value or it just take positive value of a bipolar ...
-1
votes
1answer
217 views
what can be c or avr studio code for potentiometer binary voltage reading using adc of ATmega 88 [closed]
By setting potentiometer we have to check the led's at the output of the atmega 88.That is, if we rotate the potentiometer it will give some voltage variation on leds as output.As i am new to ...
0
votes
2answers
154 views
Oscilloscope reading not what I expect
I had my first very exciting and successful go at an oscilloscope today. The question which arose at the end of my first experience has to do with the accuracy I was expecting. My microcontroller was ...
2
votes
1answer
240 views
counter giving erratic results for frequency measurement using Atmega32
I am using a photosensor which gives output as a square wave. The frequency of this square wave is being measured using Atmega32A with 1MHz clock. The full scale output of sensor is 500kHz.
The ...
3
votes
2answers
1k views
Arduino/Atmega with TIP120/121/122 transistors: base current question
I am learning about transistors, and can't seem to find the answer to a few questions which are stumping me. I will be referring to the TIP120/121/122 Darlington Transistor.
As I understand ...
3
votes
3answers
710 views
Atmega32 factory reset board
I want to know is there any reset board available ( I mean schematic, link, tutorial or anything else ) out there for Atmega32 microcontoller ( I heard about high voltage reset board, I found some ...
5
votes
5answers
442 views
Running my atmega8 at 5.5V, risky?
I have just received my first microcontroller, an Atmega8. I will soon be making a voltage regulation circuit for it to run at 5V, but I don't have all the parts yet.
Instead, I have a 5V DC 1000mA ...
4
votes
2answers
1k views
How set the baud rate for serial communication in ATmega32u4
I have a teensy 2.0 board and am trying to use it to control this LCD through serial TTL.
I got it to work fine with my Arduino uno and some sample Arduino code, but I want to do it with the teensy ...
3
votes
1answer
171 views
Microcontroller writes additional data on high-frequent writes
I'm using C-Control Pro 128 which contains a atmega processor. I've connected the rs232 interface with my PC and read the incoming data, having the following program executed on the controller:
...
3
votes
2answers
1k views
ATMega8 - PORT C - Digital Output Issue
What I am trying to do is set pin PC0 of PORT C as output to light an LED.
The code I am using for that is:
...
2
votes
1answer
692 views
Backup AVR with avrdude
I'm heavily experimenting with ATtiny AVR's and I can't afford to buy a new AVR for every experiment, so I thought up a backup script. The idea is that I can bring my AVR back to factory defaults ...
1
vote
1answer
243 views
Arduino power supply issue
I've been playing with the ATmega328 and xbee a lot and wanted to take it to the next step and make it fully mobile. So i have decided to use 2xAA batteries along with a 5V step up to get a stable 5V ...
2
votes
2answers
768 views
How to pass string for EEPROM write for ATMega32? (in the following code)
How could I pass a string for EEPROM write first and read in the code as:
...
2
votes
1answer
501 views
PB7, PD7 (on ATMega32) won't work when pull ups enabled. Also PC6 and PC7 don't show output
I am making 16*16 keypad(on PORTB and PORTD) with ATMega32 using proteus 6.9 and AVRstudio5.
My problem is PB7 and PD7 won't work when pull ups on those pins are enabled. Here PD7 is output, so no ...
9
votes
2answers
1k views
How do you determine if a new microcontroller is defective?
I've never dealt with parts being defective strait from digikey, but 3 new Atmel ATmega164A's that I've received have been exhibiting extremely odd behaviour.
I narrowed it down to something to do ...
2
votes
1answer
1k views
Stepper Motor Microstepping with an MCU or Arduino without dedicated Microstepping IC Controller
I'm trying to make a fully configurable stepper motor controller by directly driving the H-bridges with the MCU, like an Atmel Atmega or other MCU, and use current feedback with the built in ADC, ...
2
votes
2answers
1k views
Which Microcontroller can I use on a Arduino board?
I own a Arduino UNO with the ATmega328 Microcontroller.
Which other Microcontrollers are compatible to the Arduino system?
2
votes
1answer
2k views
Build ATMEGA16 Board
First of all, I'm a newbie regarding electronics&robotics so please bear with me.
I have been working as a programmer for a few years but I just got interested in playing with microcontrollers.
...
1
vote
2answers
804 views
How can I disable the jtag in atmega 32 using serial programmer?
How can I disable the JTAG in the ATmega32 using a serial programmer?