Posts

Showing posts from October, 2018

Interfacing Liquid Crystal Display using ATmega 16

Image
Hey there ! In this blog, we are going to start Interfacing LCD with Atmega16. First of all, let's deal with LCD :- LCDs (Liquid Crystal Displays) are used for displaying status or parameters in embedded systems. LCD 16x2(For it is having 16 rows and 2 columns) is a 16 pin devices which has 8 data pins (D0-D7) and 3 control pins (RS, RW, EN). The remaining 5 pins are for supply and backlight for the LCD. The control pins help us configure the LCD in command mode or data mode. They also help configure read mode or write mode and also when to read or write. LCD 16x2 can be used in 4-bit mode or 8-bit mode depending on requirement of application. In order to use it we need to send certain commands to the LCD in command mode and once the LCD is configured according to our need, we can send the required data in data mode. A 16*2 LCD somewhat look like:-   Basic functions required to interface an LCD with Atmega 16:- Since LCD is connected to PORTA, so PORTA...

Bluetooth controlled car using Arduino.

Image
Hi there, In this Blog we are going to learn about "Bluetooth controlled car using Arduino". AIM:- To make a car which can be manually controlled by Arduino with the help of a Motor Driver which acts as a bridge between Arduino and Bluetooth. Components Required :-  Arduino UNO :- This component is basically the heart of the entire system. To understang this component, do check out my last blog  https://arduinoseries.blogspot.com/   Motor Driver L293D module:-  HC -05 Bluetooth Module:-  PROGRAMMING PART :-  #define ml1 6 //sets left motor's positive pin to 6 #define ml2 9 //sets left motor's negative pin to 7 #define mr1 10 //sets right motor's positive pin to 10 #define mr2 11 //sets right motor's negative pin to 11 void setup() {   pinMode(6,OUTPUT);                    pinMode(9,OUTPUT);   pinMode(10,OUTPUT);    //declaring all the m...