Tagged Questions
25
votes
2answers
737 views
Who receives the value returned by main()?
I know that in computers, value returned by the main() function is received by the operating system.
But, what happens in the ...
11
votes
7answers
4k views
Why are Atmel AVRs so popular?
A recent question asked about the advantages/disadvantages of various types of MCU. AVRs seemed not even worth a mention given the answers. Why then does it seem to an outsider that AVRs are ...
11
votes
2answers
581 views
How fast is 1 MHz?
How fast is 1 MHz in an AVR microcontroller? Is it actually 1,000,000 Hz or is it 1,048,576 Hz (1,024 Hz * 1,024)?
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 ...
8
votes
3answers
598 views
What is this type of digits-only LCD called?
I've seen this type of LCD many times in weigh scales, calculators, gauges, micrometers, etc. I know it's a fairly traditional display but I really like its compactness, simplicity, and maybe it even ...
8
votes
3answers
855 views
What is bit banging
I am new to microcontroller programming. I am using ATmega32-A controller and CodeVisionAVR compiler. I am using the waveform generator(AD9833) to generate a sinewave signal using SPI communication. I ...
7
votes
10answers
5k views
Microcontroller with Java API
My hardware team is planning to use an Atmel AVR 8-bit microcontroller for a future project.
So far as I know, it must be programmed in C. I have found a JVM for AVR, though it is more limited than ...
7
votes
7answers
5k views
Measuring 0 - 1MHz ( 0.25Hz resolution) Squarewave using an MCU
I need to measure the frequency of square-wave that can vary between 0 and 1MHz, and has a resolution of 0.25Hz.
I havent decided on which controller yet but It will most likely be one of the 20pin ...
7
votes
4answers
806 views
Latching switch ideas
I'm trying to build a latching switch connected to a door and would appreciate ideas.
The switch is connected to a microcontroller input pin, and I'd like it to operate as follows: When a person ...
7
votes
2answers
316 views
Selecting bias resistor for thermistor
Rt is thermistor. Rb is bias resistor, which value I need to calculate. The temperature that I'm interested in is giving ...
7
votes
4answers
928 views
Crystals and Load Capacitance
This feels like a dumb question, but I'm going to ask it anyway. If a crystal has a rated load capacitance of 6pF, is the right thing to do to put a 6pF capacitor to GND on either leg of the crystal? ...
7
votes
2answers
247 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 ...
6
votes
3answers
234 views
Switching from PIC to AVR [closed]
I have worked with PIC16 and PIC18s for over three years now and would like to get to know AVR as well. I have no specific project in mind, but would like to try around with the different ...
5
votes
2answers
6k views
What is a boot loader, and how would I develop one?
I've met many projects in which an AVR microcontroller uses with a bootloader (such as the Arduino), but I don't understand the concept very well.
How can I make a bootloader (for any ...
5
votes
5answers
411 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 ...