Type in the full discussion title or a part of it.
Discussion Title Created date
OC2A and OC2B on ATMEGA328 not completely off in Fast PWM
Hi, I am learning Fast PWM with ATMEGA328 with 4 LEDs connected to OC1A, OC2A, OC1B, and OC2B. The following is the relevant code: void setFast_PWM() { //Atmega328 two fast...
Friday, 8 November 2013 - 01:42
Unused ATMEGA328 ADC channel gives strange values
I am experimenting with the 6 ADC channels on the ATMEGA328P by reading one channel at a time. Only ADC5 is connected to an LED as sensor while the rest ADC channels are open. I...
Tuesday, 16 July 2013 - 02:45
Overflow interrupt -Atmega328
Hi, I am testing a simple overflow interrupt on Atmega 328 but couldn't get it to work. The LED is off till overflow interrupt is triggered. The chip is programmed to run at...
Saturday, 26 January 2013 - 04:30
Electric Imp and WiFi Chip difference.
Can someone tell me how the Electric Imp is different from a regular WiFi chip such as EXTWIFI? What's the interface protocol used for the Imp? There appears to be a lot of...
Monday, 18 June 2012 - 02:16
Help with reading two ADC input from Attiny13A
Hi, I am learning to read from the ADC on Attiny13A and was able to do it for one ADC channel such as ADC2. However, when I tried to read from two channels (ADC2 and ADC3), it...
Thursday, 19 April 2012 - 03:11
Bluetooth tutorials anyone?
Hi, Is there any bluetooth tutorial on how to send data from Atmega to PC through bluetooth? I found one using Arduino but what about with a simple Atmega? I am testing this...
Saturday, 24 March 2012 - 23:57
UART code (from Attiny2313) not working for Atmega328
Hi, I modified the UART code used for my Attiny2313 and hoping that it would work for the Atmega328. I connect the Rx/Tx/Gnd to the serial port of the router (TTL)and use picocom...
Saturday, 24 March 2012 - 21:18
Help with fast pwm trouble for attiny2313
Hi, Finally get a chance to test fast pwm on Attiny2313 for the first time. Was able to get OCR0A working but not OCR0B (LED on OCR0B won't light up. Here is the code: #...
Thursday, 3 November 2011 - 02:16
Configure 4 Atmega PWM channels (phase & freq correct)
Hi, The Atmega48 datasheet shows that it has 6 PWM channels (compared to the 4 PWM channels for the Tiny). I assume that 4 out of the 6 channels can be setup as phase&freq....
Sunday, 16 October 2011 - 22:03
UART handling 16 bit data
Hi, sorry if this is a dumb question, but how to transmit 16 bit data through AVR UART reliably ? I only know how to do it one byte at a time.
Monday, 22 August 2011 - 23:53
Newbie questions about Attiny2313 SPI and MCP4261
Hi, I am new to AVR programming so please bear with me. I am trying to control a digital POT (MCP4261) with ATTINY2313. Thanks to David.Prentice and JonhyAVR for a previous post...
Thursday, 4 August 2011 - 00:33