SlideShare uma empresa Scribd logo
1 de 5
EMBEDDED SYSTEMS TUTORIAL3- MAKING OUR FIRST
PROJECT -PART2......
Hii ..........friends this is second part of our first project tutorial,In this part we will discuss how to
program our AVR MCU with the hex file which we have generated. here is step wise process for
burning the microcontroller and implementing and testing our very first LED blinking project.

PROGRAMMING THE MICROCONTROLLER WITH HEX FILE
First of all connect your UBASP to your computer now connect programmer to target board .
generally a target board is provided with programmer if not then no problem just implement the
circuit given below on breadboard or any general purpose PCB. And connect the programming
pins to ISP header of programmer in this manner.

Now start PROGISP it will look like this
Choose your device i.e. ATMEGA 8 or whatever you are using, check the functions as shown,
load the flash( hex file from the project folder) click on auto …and burning starts.
If everything was correct till now flash will be loaded successfully.

TROUBLESHOOTING
In case flash is not successfully loaded
1. Make sure programmer is working fine.
2. programmer is rightly connected to target board.
3. target board is powered up accurately.
4. In case of new ATMEGA 32 set high and low fuse bit to 0xC9 and 0xFF.

So our microcontroller in now programmed and we have to implement the circuit it
is so simple , implement given below circuit on a breadboard or vero board and provide
power supply now u can see our led is blinking and we have completed our very first
AVR project successfully.

you can use similar circuit for ATMEGA16 and ATMEGA 32 just check datasheet for
power supply pin and PB1, rest will work fine.
TROUBLESHOOTING
In case your project is not working.
1. Check weather power supply is properly connected.
2. Make sure circuit is not wrong.
3. Make sure LED is connected to right pin.
So this was our first blinking LED project , we implemented it
successfully , I hope it was beneficial for all of you. if you have any doubts, questions, critical
view you can leave comments. In case if you have faced some problem with hardware and your
project was not successful do not worry in next Tutorial we will make this project
on PROTEUSand will virtually simulate our project.....till then bye.....:)

Mais conteúdo relacionado

Destaque (12)

Dr Stout's Booklist
Dr Stout's BooklistDr Stout's Booklist
Dr Stout's Booklist
 
Biotechnological aspects of product development
Biotechnological aspects of product developmentBiotechnological aspects of product development
Biotechnological aspects of product development
 
Sustained release formulations
Sustained release formulationsSustained release formulations
Sustained release formulations
 
CGI DropBox Library Table of Contents
CGI DropBox Library Table of ContentsCGI DropBox Library Table of Contents
CGI DropBox Library Table of Contents
 
In patient care
In patient careIn patient care
In patient care
 
WHTWO. 29.1 MARCHING TOWARD WAR
WHTWO. 29.1 MARCHING TOWARD WARWHTWO. 29.1 MARCHING TOWARD WAR
WHTWO. 29.1 MARCHING TOWARD WAR
 
อุทยานเขาหลวง
อุทยานเขาหลวงอุทยานเขาหลวง
อุทยานเขาหลวง
 
pengawetan ikan
pengawetan ikanpengawetan ikan
pengawetan ikan
 
Arduino Full Tutorial
Arduino Full TutorialArduino Full Tutorial
Arduino Full Tutorial
 
Kerajaan buleleng
Kerajaan bulelengKerajaan buleleng
Kerajaan buleleng
 
Akulturasi hindu budha
Akulturasi hindu budhaAkulturasi hindu budha
Akulturasi hindu budha
 
E commerce
E commerceE commerce
E commerce
 

Mais de Akshay Sharma

The next generation classroom smart, interactive and connected learning envir...
The next generation classroom smart, interactive and connected learning envir...The next generation classroom smart, interactive and connected learning envir...
The next generation classroom smart, interactive and connected learning envir...
Akshay Sharma
 
Over voltage protector circuit
Over voltage protector circuitOver voltage protector circuit
Over voltage protector circuit
Akshay Sharma
 
Double Side Band – Suppressed Carrier (DSB-SC) Modulation Demodulation using ...
Double Side Band – Suppressed Carrier (DSB-SC) Modulation Demodulation using ...Double Side Band – Suppressed Carrier (DSB-SC) Modulation Demodulation using ...
Double Side Band – Suppressed Carrier (DSB-SC) Modulation Demodulation using ...
Akshay Sharma
 
Ldr based line follower robot
Ldr based line follower robotLdr based line follower robot
Ldr based line follower robot
Akshay Sharma
 

Mais de Akshay Sharma (10)

The next generation classroom smart, interactive and connected learning envir...
The next generation classroom smart, interactive and connected learning envir...The next generation classroom smart, interactive and connected learning envir...
The next generation classroom smart, interactive and connected learning envir...
 
Over voltage protector circuit
Over voltage protector circuitOver voltage protector circuit
Over voltage protector circuit
 
Haptic technology
Haptic technologyHaptic technology
Haptic technology
 
Double Side Band – Suppressed Carrier (DSB-SC) Modulation Demodulation using ...
Double Side Band – Suppressed Carrier (DSB-SC) Modulation Demodulation using ...Double Side Band – Suppressed Carrier (DSB-SC) Modulation Demodulation using ...
Double Side Band – Suppressed Carrier (DSB-SC) Modulation Demodulation using ...
 
8085 instructions
8085 instructions8085 instructions
8085 instructions
 
Ldr based line follower robot
Ldr based line follower robotLdr based line follower robot
Ldr based line follower robot
 
Est 11
Est 11Est 11
Est 11
 
Est 8 2 nd
Est 8 2 ndEst 8 2 nd
Est 8 2 nd
 
Est 6
Est 6Est 6
Est 6
 
Est 1
Est 1Est 1
Est 1
 

Último

1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
QucHHunhnh
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
kauryashika82
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
AnaAcapella
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 

Último (20)

1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptx
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Third Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptxThird Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptx
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 

Est 3 iind

  • 1. EMBEDDED SYSTEMS TUTORIAL3- MAKING OUR FIRST PROJECT -PART2...... Hii ..........friends this is second part of our first project tutorial,In this part we will discuss how to program our AVR MCU with the hex file which we have generated. here is step wise process for burning the microcontroller and implementing and testing our very first LED blinking project. PROGRAMMING THE MICROCONTROLLER WITH HEX FILE First of all connect your UBASP to your computer now connect programmer to target board . generally a target board is provided with programmer if not then no problem just implement the circuit given below on breadboard or any general purpose PCB. And connect the programming pins to ISP header of programmer in this manner. Now start PROGISP it will look like this
  • 2. Choose your device i.e. ATMEGA 8 or whatever you are using, check the functions as shown, load the flash( hex file from the project folder) click on auto …and burning starts.
  • 3. If everything was correct till now flash will be loaded successfully. TROUBLESHOOTING In case flash is not successfully loaded
  • 4. 1. Make sure programmer is working fine. 2. programmer is rightly connected to target board. 3. target board is powered up accurately. 4. In case of new ATMEGA 32 set high and low fuse bit to 0xC9 and 0xFF. So our microcontroller in now programmed and we have to implement the circuit it is so simple , implement given below circuit on a breadboard or vero board and provide power supply now u can see our led is blinking and we have completed our very first AVR project successfully. you can use similar circuit for ATMEGA16 and ATMEGA 32 just check datasheet for power supply pin and PB1, rest will work fine. TROUBLESHOOTING In case your project is not working. 1. Check weather power supply is properly connected. 2. Make sure circuit is not wrong. 3. Make sure LED is connected to right pin.
  • 5. So this was our first blinking LED project , we implemented it successfully , I hope it was beneficial for all of you. if you have any doubts, questions, critical view you can leave comments. In case if you have faced some problem with hardware and your project was not successful do not worry in next Tutorial we will make this project on PROTEUSand will virtually simulate our project.....till then bye.....:)