Post Created date
ADC broke when I switched from an ATmega16 to ATmega1284p
Thanks for your replies. @bobgardner I thought that's what this line did: while(!(ADCSRA & (1<<ADIF))); @Koshchi I do indeed include . I have a lot of other stuff that...
Thursday, 10 March 2011 - 19:21
How do I know how much memory space is left?
Thanks, I may give PROGMEM a try. My other solution is just to drop in a ATmega1284.
Sunday, 27 February 2011 - 05:49
How do I know how much memory space is left?
Well I guess my theory was correct. Here is my build print out: AVR Memory Usage ---------------- Device: atmega16 Program: 12550 bytes (76.6% Full) (.text + .data + ....
Saturday, 26 February 2011 - 03:00
Voltage Divider for 3.3v?
Hey thanks guys for the info but I think I'm going to break down an put on a small voltage regulator. I found one in a sot 23-5 package, its a Microchip MCP1801.
Saturday, 23 October 2010 - 01:25
Voltage Divider for 3.3v?
The accelerometer consumes 400uA. Would reducing the resistor values allow for more current to be made available to the accelerometer?
Friday, 22 October 2010 - 19:57
Circuit for monitoring battery voltage with ADC?
Thanks for the replies. I feel confident to move forward with my design.
Tuesday, 24 August 2010 - 17:26
Circuit for monitoring battery voltage with ADC?
Yeah you're right I should be using a boost regulator. I've always used a 9V battery and a LM7805 in the past that I was mistaken when I made this drawing. Is the basic concept...
Tuesday, 24 August 2010 - 01:33
Unknown failure trying to make the MCU pause.
RabidCicada you were correct. The compiler was optimizing out the do while loop. I made the two variables "currentTime" and "stopTime" volatile global variables and the program...
Friday, 30 April 2010 - 03:18
Unknown failure trying to make the MCU pause.
Yes you are correct I mistyped "" in the while condition. I've updated the original code I posted.
Tuesday, 27 April 2010 - 06:17
Bit shift and masking for PORTB not working?
Thank you PORTB &= ~(1 << PORTB0); worked.
Wednesday, 21 April 2010 - 05:23
Bit shift and masking for PORTB not working?
Yes, I set the DDRB register as an output. I didn't mention that I am using the STK500. I need to set PB0 low to drive the LED, hence the 0xfe. I might have just answer my own...
Wednesday, 21 April 2010 - 01:31
Connect all VCCs and GNDs?
Alright thanks for the help. I'll connect them up and send out the board.
Thursday, 11 June 2009 - 06:52

Pages