Post Created date
ATmega48 and ADC
Quote: Do you have a bigger list of the "some AVRs"? Actually the tiny44 was the one I had in mind. I was sure I read that tiny45 would have the same restriction, but re-reading...
Tuesday, 5 June 2007 - 14:52
ATmega48 and ADC
Quote: Is it because weird things and smoke might happen if you select 2.56 in software while there is AVCC externally on the Aref pin? That's probably one reason. Another one is...
Tuesday, 5 June 2007 - 12:14
ATmega48 and ADC
Quote: Also AVR is powered from the regulator 7805 and it seems to be in stress, it's very hot and output is close to 4.8 volt If I read your schematic correcly (IC5 is the 7805...
Tuesday, 5 June 2007 - 08:01
Do you have to write a port to read a pin?
The stuff you read was about writing a port and then immediately reading it back. The point of that description is that after writing a port you need to wait one cycle before the...
Tuesday, 29 May 2007 - 10:09
stupid pins...
Quote: But if I put the pins (for the buttons) as inputs, and connect the buttons to ground, then I won´t ever have current running through...? You set the pins as inputs with...
Tuesday, 29 May 2007 - 08:36
AD conversion problem
Futrtrbl is right. You didn't say which AVR you are using, but here's a snippet from the mega48-family datasheet. I think the behavior is the same for most other AVRs too. Quote:...
Friday, 25 May 2007 - 06:40
ds1305, FastAVR and SPI
You are only setting the slave select pin as output. MOSI and SCK must also be set as outputs. Also, using SPI with avr-gcc is no more difficult than with basic. You don't need...
Tuesday, 22 May 2007 - 08:55
Difference between external interrupts and PCIs
1. Yes 2. The avr-libc manual is included with WinAVR. You can find the labels and lots of other info there. Basically the new vector names are all of the same form: Take the name...
Tuesday, 15 May 2007 - 13:52
Difference between external interrupts and PCIs
Quote: However, I'm not sure, I completely understand how the external interrupts INT0 and INT1 are connected to the Pin Change Interrupts, if indeed they are at all. You already...
Tuesday, 15 May 2007 - 12:40
Help with ADC?
Also, how is rev declared? It needs to be volatile.
Wednesday, 9 May 2007 - 11:14
Just making sure I've got my ADC wires set up correctly...
Quote:So whatever voltage is at AREF = 1023 counts? If so, then I should connect AREF to my supply voltage. Is this correct? No, it's not. If you wish to have the full gnd-to-vcc...
Wednesday, 4 April 2007 - 07:13
tiny44 ADC with 20x gain problem
You can't use a 5 volt reference with gain. From the datasheet (page 150): Quote:If channels where differential gain is used ie. the gainstage, using VCC or an optional external...
Friday, 30 March 2007 - 07:07

Pages