Posts

Flashing WINAVR code to Microcontroller using ARDUINO Bootloader

Image
                             Hey all...after a long time i came with a new idea which i have implemented,it is programming a AVR micro controller using WINAVR with ARDUINO as Programmer.its little bit confusing,dont worry.I will give you complete description.                                                                  Generally we program a micro controller using a programmer,so here it is normal programming.normal programming in sense??we use the programmer according to the software we used(for example,to program arduino we use a usb cable which  connected between pc and FTDI circuit as a programmer here controller will accepts the code because it contains a boot-loader ,similarly in AVR controllers we use some isp programmers like serial and usbasp's)and for flashing we use some third party tools. So few days back i came across with different type of programming i worked almost one month for this achievement.In This method of programming i am going to program a noraml avr

Voice controlled smart home

Image
Heyyyy all..!! again iam back with new prototype of thing which is "VOICE CONTROLLEd SMART HOME"in this post you are going to learn complete detailed description of Bluetooth module (HC-05) and also some micelinious already explained in earlier posts Things that you need are:  *Arduino board *HC-05 Bluetooth module *Relays ( as many as home appliances) So our main aim is  to interface the Bluetooth module to our deserved one i.e ARDUINO Here I made my own ARDUINO with atmega328p as heart also I programmed this board using another ARDUINO board which has onchip ftdi converter(USB compatible) I hope you will understand this becoz I have given a clear theory about making ARDUINO'S Interfacing of Bluetooth module with ARDUINO is very easy. Hc-05 module as total 6 terminals so out of six we are using only 3 terminals they are VCC,GND, and TX.remember there is no need of using RX pin of module because we are not receiving any data from ARDUINO. So VCC is connected t

RF REMOTE..

Image
Want to make everything wireless..??? Huh.!! Then u r at right place. There are many wireless technologies like ir,DTMF,rf etc of these IR and DTMF are covered in earlier posts. So now its time for radio frequency communication.. Dont be get puzzled In this post I will direct you how make simple RF remote.. So for making remote,components that you required are *HT121D *HT121E *RX TX MODULES *1.1M ohm resistor *55k ohm resistor Now its time to know about encoders and decoders.encoders is a thing which creates some data at transmitter end. Decode is opposite for those encoders it simply decode the data which has been transmitted by encoders..so from this we conclude that encoders should always lies at transmitting section and decoders lie at receiver section MAKING A TRANSMITTER: MAKING A RECEIVER: This is how rf MODULES looks

ADC....¡¡

Image
The Analog World Microcontrollers are capable of detecting binary signals: is the button pressed or not? These are digital signals. When a microcontroller is powered from five volts, it understands zero volts (0V) as a binary 0 and a five volts (5V) as a binary 1. The world however is not so simple and likes to use shades of gray. What if the signal is 2.72V? Is that a zero or a one? We often need to measure signals that vary; these are called analog signals. A 5V analog sensor may output 0.01V or 4.99V or anything inbetween. Luckily, nearly all microcontrollers have a device built into them that allows us to convert these voltages into values that we can use in a program to make a decision. What is the ADC? An Analog to Digital Converter (ADC) is a very useful feature that converts an analog voltage on a pin to a digital number. By converting from the analog world to the digital world, we can begin to use electronics to interface to the analog world around us. Not every p

Number conversation.. ¿¿

Image
When we write numbers, we have ten different digits that we can put in each place (0-9). After that we need to add a new column of digits and we keep going. This is called the decimal system (or base 10). What would happen if instead of using ten digits we used eight, or two, or even sixteen? Well, what happens is instead of a decimal system we would have what's called binary, octal, or hexadecimal systems (base 2, base 8, and base 16). We use subscripts to denote the system we are using: 9876 10  is decimal (if we don't use a subscript we assume we are using decimal), 7653 8  is octal, 1010 2  is binary, and BEEF 16  is yummy  hexadecimal. Binary  – binary just has 1s and 0s. But much of our world is binary. Light switches are either up or down, your computer is either on or off, our servers are either currently up or down (hopefully up). Because computers are made up of billions of little switches (called transistors), they do calculations in binary. Everything in your

Alcohol sensor (MQ3) interfacing..¡¡¡

Image
Heyyy..now am here to explain the "interfacing of alcohol sensor to popular ARDUINO. It's very easy. Alcohol sensor simply mq3 sensor is analog sensor which outputs the voltage.o/p of the sensor is fed to analog pin of ARDUINO.. Here Is the pic how the sensor looks It contains six pins so we to work for sometime to make this six pins as three pins i.e VCC,GND,Vout.below fig shows how to connect this sensor To ARDUINO board Now we have 3 pins for the sensor,connect VCC to 5V,GND to GND pin of ARDUINO and data to any analog pin of arduino Just dump the below Sketch to ur board and observe the output of the sensor in serial moniter Here is the code void  setup ( )   {    // initialize serial communication at 9600 bits per second:    Serial . begin ( 9600 ) ; } // the loop routine runs over and over again forever: void   loop ( )   {    // read the input on analog pin 0:    int  sensorValue  =   analogRead ( A0 ) ;    // Convert the analog readin