Type in the full discussion title or a part of it.
Discussion Title Created date
AVR USART Bluettoth
I have a Bluetooth board that can be connected to ATMEGA8 8 Mz board Rx/Tx pins . The data can be send via MCU via USART to Bluetooth board. I have another Andriod app that...
Friday, 28 March 2014 - 15:35
USART Protocol
I am writing a code to send data over 2 AVR controllers board while one will only send other will receive and process the data received. void usart_tx (char data) { UDR...
Friday, 21 March 2014 - 09:38
Interfacing Ultrasonic Sensor with ATMEGA 8
I am using a 2 PIN Ultrasonic sensor (One PIN as output and other as input). Something like below: #define Trigger PINB.7 //o/p Trigger PIN of the Sensor #define Echo PINB....
Monday, 17 March 2014 - 12:44
ATMEGA8: Can PORTC be used for both ADC and I/O
ATMEGA8 PORTC has following PINS configuration: PC0/ADC0 PC1/ADC1 PC2/ADC2 PC3/ADC3 PC4/ADC4/SDA PC5/ADC54/SCL PC6/RESET while PIN20 and 21 are for AVCC & AREF for ADC My...
Friday, 28 February 2014 - 08:49
AVR ADC Multi Channel Input
I am a beginner in programming with AVR MCU and understand that setting ADMUX to values 0,1,2,3,4,5,6,7 will correspondingly enable ADC0,1,2,3,4,5,6, ADC7 AVR MCU ADC. Hence :...
Tuesday, 11 February 2014 - 06:56
CodeVision / Proteus POT-HG display value inVirtual terminal
I am trying to write up a code that would read interactive potentiometer via ATMEGA 8535 ADC functionality and display it on Virtual Terminal via RS232 communication. This is my...
Monday, 10 February 2014 - 11:59
Programming AVR EEPROM
I am trying to write a string to AVR8535 EEPROM memory: #include char *string = " Welcome!ABCD"; int start_addr ; void main(void) { for (start_addr = 0x0010; *string != '\...
Monday, 13 January 2014 - 07:17
Identify which button / switch pressed amongst multiples
I have a circuit like below: PORTA.0 = LED PORTA.1 = LED PORTA.2 = LED PORTA.3 = LED PORTB.0 = SWITCH / BUTTON PORTB.3 = SWITCH / BUTTON The objective of the code is that when...
Thursday, 9 January 2014 - 12:02
gcc-avr ATmega16/32 Programming
I have just entered into AVR MCU programming using gcc-avr, but when I see sample programs I am not able to make out much from the code: DDRD |= (1 << PD7); TCCR2 = (1...
Friday, 25 October 2013 - 09:56
avr-gcc Tutorial for beginners
I have a board which has ATmega48/88/168, ATmega16/32 micro-controller. I want to develop code using avr-gcc for the same. Please let me know some good references to learn how to...
Thursday, 24 October 2013 - 09:48

Pages