Wednesday, 7 February 2018
Interfacing HC-05 with Atmega8
In this post, we will interface bluetooth module (HC-05) with atmega8. Atmega8 is a 28-pin IC and it has three ports viz., PORTB, PORTC and PORTD and it has total 23 gpio pins. It has internal rc oscillator, that is user selectable from 1, 2, 4 or 8 MHz.
We are using 8 Mhz internal rc oscillator.
Compiler Used: GCC
Connection is as follows:
Atmega8 BT module
RX ============> TX
TX ============> RX
GND ============> GND
VCC ============> VCC
We are using uart at baud rate 9600. Make sure that BT module and atmega8 both have same baud rate.
Subscribe to:
Posts (Atom)