SlideShare a Scribd company logo
ATmega mini project board
www.researchdesignlab.com Page 1
ATMEGA Mini Project Board
ATmega mini project board
www.researchdesignlab.com Page 2
Contents
OVERVIEW.....................................................................................................................................................3
ATMEGA Mini Project Board.....................................................................................................................3
FEATURES......................................................................................................................................................3
CIRCUIT DIAGRAM ........................................................................................................................................4
PIN CONFIGURATION....................................................................................................................................5
CODES ...........................................................................................................................................................6
1. LED BLINKING....................................................................................................................................6
2. LCD ....................................................................................................................................................6
RELATED PRODUCT .......................................................................................................................................8
ATmega mini project board
www.researchdesignlab.com Page 3
OVERVIEW
ATMEGA Mini Project Board
If you are learning microcontrollers or want to quickly develop embedded solution based on standard
AVR core, this board will help you quick start with the application by giving you access to everything
required to run the Atmega16 microcontroller. With this board you can develop and prototype with any
of Microchip's 40 pin AVR microcontrollers. . The boards have User button and status LED.
FEATURES
 Quartz crystal of 16 MHz
 Reset button
 Power indicating LED
 External TX,RX,GND
 On-board ISP Programmer
ATmega mini project board
www.researchdesignlab.com Page 4
CIRCUIT DIAGRAM
ATmega mini project board
www.researchdesignlab.com Page 5
PIN CONFIGURATION
1. TX, RX and GND is used to provide serial communication UART
2. MOSI - Master Out Slave In; MISO - Master In Slave Out; SCK - Clock signal from master to
slave; SS - Slave Select signal selects salve devices. SPI is a bus and can have multiple devices on
the bus. Because of a clock signal present, SPI can be operated faster than UART.
ATmega mini project board
www.researchdesignlab.com Page 6
CODES
1. LED BLINKING
#define F_CPU 1000000UL // using internal 1MHZ frequency
#include <avr/io.h> //initialize input output
#include <util/delay.h> //initialize delay function
int main(void)
{
DDRB = 0xFF; //Makes PORTB as Output
while(1) //infinite loop
{
PORTB = 0xFF; //Turns ON All LEDs
_delay_ms(1); //1 second delay
PORTB= 0x00; //Turns OFF All LEDs
_delay_ms(1); //1 second delay
}
}
2. LCD
# define F_CPU 1000000UL
#include <avr/io.h>
#include <util/delay.h>
#include <string.h> //initialize the string function
#define LCD_PORT PORTB
#define RS PC0 //initialize register select as PC0 pin
#define EN PC1 //initialize enable pin as PC1
void CMD_WRT(unsigned char val)
{
PORTB=val;
PORTC = PORTC & (~(1<<RS));
_delay_ms(1); // here we provide a delay of 1 sec
PORTC = PORTC | ((1<<EN)); //make enable pin high
_delay_ms(1);
PORTC = PORTC & (~(1<<EN)); //make enable pin low
}
void DATA_WRT(unsigned char ch)
{
PORTB = ch; //initializing character “ch” to port B
PORTC = PORTC | ((1<<RS));//make register select pin high
_delay_ms(1);
ATmega mini project board
www.researchdesignlab.com Page 7
PORTC = PORTC | ((1<<EN)); //make enable pin high
_delay_ms(1);
PORTC = PORTC & (~(1<<EN)); //make enable pin low
}
void LCD_WRT( char *string)
{
while(*string)
DATA_WRT(*string++); //will write the strings
}
int main(void)
{
//setting the display of the LCD unsigned char
CMD[]= {0x38,0x01,0x0f,0x06,0x80},TEMP1,i;
DDRB=0XFF; //make PORTB as output
DDRC = 0xFF;//(1<<RS)|(1<<EN); //make PORTC as output
_delay_ms(10); //provide the delay of 10ms
for(i=0;i<5;i++)
{
TEMP1=CMD[i];//it will place the command in cmd array
CMD_WRT(TEMP1); //it will write all the cmd that is in
the cmd array
}
while(1)
{
CMD_WRT(0X01); //clear display
CMD_WRT(0X80); // blink the cursor in 1st row
LCD_WRT(" --RDL--");//display RDL in lcd
CMD_WRT(0XC0); //to use 2nd row of lcd
LCD_WRT(" LCD_DISPLAY"); //display LCD_DISPLAY in
lcd
_delay_ms(1000); //delay of 1sec
}
return 0;
}
ATmega mini project board
www.researchdesignlab.com Page 8
RELATED PRODUCT
Atmega16/32/64 Project Board ATMEGA 16/32/64 Development Board-USB
ATmega Programmer-USB ISP Atmel Programmer

More Related Content

Viewers also liked

Star wars presentacion por david octavo
Star wars presentacion por david octavoStar wars presentacion por david octavo
Star wars presentacion por david octavo
yerliszapata
 
La perra
La perraLa perra
La perra
lisbetharbelaez
 
Principios de la economia
Principios de la economiaPrincipios de la economia
Principios de la economia
Kevin David
 
Ray c orona creating a timeline
Ray c orona creating a timelineRay c orona creating a timeline
Ray c orona creating a timeline
Ray Corona
 
Ray corona creating a timeline
Ray corona creating a timelineRay corona creating a timeline
Ray corona creating a timeline
Ray Corona
 
6.4.1 Parallel Rc
6.4.1 Parallel Rc6.4.1 Parallel Rc
6.4.1 Parallel Rc
Talia Carbis
 
La perra
La perraLa perra
La perra
lisbetharbelaez
 
Yessica
YessicaYessica
Makalah pengantar komputer
Makalah pengantar komputerMakalah pengantar komputer
Makalah pengantar komputer
Septian Muna Barakati
 
Topologi jaringan
Topologi jaringanTopologi jaringan
Topologi jaringan
Zexry619
 
Cartilla segundo periodo
Cartilla segundo periodoCartilla segundo periodo
Cartilla segundo periodo
Javier Nope Pinzon
 
Ashish Bajpai Presentation
Ashish Bajpai PresentationAshish Bajpai Presentation
Ashish Bajpai Presentation
Ashish Bajpai
 
飯テロのススメ
飯テロのススメ飯テロのススメ
飯テロのススメamyusan
 

Viewers also liked (13)

Star wars presentacion por david octavo
Star wars presentacion por david octavoStar wars presentacion por david octavo
Star wars presentacion por david octavo
 
La perra
La perraLa perra
La perra
 
Principios de la economia
Principios de la economiaPrincipios de la economia
Principios de la economia
 
Ray c orona creating a timeline
Ray c orona creating a timelineRay c orona creating a timeline
Ray c orona creating a timeline
 
Ray corona creating a timeline
Ray corona creating a timelineRay corona creating a timeline
Ray corona creating a timeline
 
6.4.1 Parallel Rc
6.4.1 Parallel Rc6.4.1 Parallel Rc
6.4.1 Parallel Rc
 
La perra
La perraLa perra
La perra
 
Yessica
YessicaYessica
Yessica
 
Makalah pengantar komputer
Makalah pengantar komputerMakalah pengantar komputer
Makalah pengantar komputer
 
Topologi jaringan
Topologi jaringanTopologi jaringan
Topologi jaringan
 
Cartilla segundo periodo
Cartilla segundo periodoCartilla segundo periodo
Cartilla segundo periodo
 
Ashish Bajpai Presentation
Ashish Bajpai PresentationAshish Bajpai Presentation
Ashish Bajpai Presentation
 
飯テロのススメ
飯テロのススメ飯テロのススメ
飯テロのススメ
 

Similar to Atmega Mini project Board

Embedded JavaScript
Embedded JavaScriptEmbedded JavaScript
Embedded JavaScript
Jens Siebert
 
ILI6122.pdf
ILI6122.pdfILI6122.pdf
ILI6122.pdf
frank735071
 
ILI6122 data sheet
ILI6122 data sheetILI6122 data sheet
ILI6122 data sheet
frank735071
 
Atmega tutorial
Atmega tutorialAtmega tutorial
Atmega tutorial
Rajan Gautam
 
DIY UNO Play Breadboard ATMEGA328P with FT232 Breakout Board
DIY UNO Play Breadboard ATMEGA328P with FT232 Breakout BoardDIY UNO Play Breadboard ATMEGA328P with FT232 Breakout Board
DIY UNO Play Breadboard ATMEGA328P with FT232 Breakout Board
Raghav Shetty
 
8051 micro controller
8051 micro controller8051 micro controller
8051 micro controller
Arun Umrao
 
Notes of 8051 Micro Controller for BCA, MCA, MSC (CS), MSC (IT) & AMIE IEI- b...
Notes of 8051 Micro Controller for BCA, MCA, MSC (CS), MSC (IT) & AMIE IEI- b...Notes of 8051 Micro Controller for BCA, MCA, MSC (CS), MSC (IT) & AMIE IEI- b...
Notes of 8051 Micro Controller for BCA, MCA, MSC (CS), MSC (IT) & AMIE IEI- b...
ssuserd6b1fd
 
Dse8620 operators-manual
Dse8620 operators-manualDse8620 operators-manual
Dse8620 operators-manual
Vilma Medrano Tenorio
 
USB OTG
USB OTGUSB OTG
USB OTG
daviessegera
 
stratix 8000 8300
 stratix 8000 8300 stratix 8000 8300
stratix 8000 8300
volverin9977
 
Caja Registradora Tec ma 1535 program manual
Caja Registradora Tec ma 1535  program manualCaja Registradora Tec ma 1535  program manual
Caja Registradora Tec ma 1535 program manual
Ramiro Gonzalez
 
Tec ma 1535 program manual
Tec ma 1535  program manualTec ma 1535  program manual
Tec ma 1535 program manual
Ramiro Gonzalez
 
Manual tc3 xy installation manual-pcbv4.0
Manual tc3 xy installation manual-pcbv4.0Manual tc3 xy installation manual-pcbv4.0
Manual tc3 xy installation manual-pcbv4.0
Fernando Pillajo
 
IBM BladeCenter Products and Technology
IBM BladeCenter Products and TechnologyIBM BladeCenter Products and Technology
IBM BladeCenter Products and Technology
IBM India Smarter Computing
 
Rodrigo Almeida - Microkernel development from project to implementation
Rodrigo Almeida - Microkernel development from project to implementationRodrigo Almeida - Microkernel development from project to implementation
Rodrigo Almeida - Microkernel development from project to implementation
Felipe Prado
 
Manual micrologix 1100
Manual micrologix 1100Manual micrologix 1100
Manual micrologix 1100
pedrocu
 
trex_astf.pdf
trex_astf.pdftrex_astf.pdf
trex_astf.pdf
ssuserf52607
 
Lập trình plc delta
Lập trình plc deltaLập trình plc delta
Lập trình plc delta
phuonghnt
 
CodeWarrior, Linux; OrCad and Hyperlynx; QMS Tools
CodeWarrior, Linux; OrCad and Hyperlynx; QMS ToolsCodeWarrior, Linux; OrCad and Hyperlynx; QMS Tools
CodeWarrior, Linux; OrCad and Hyperlynx; QMS Tools
djerrybellott
 
Itsp documentation quadcopter flight controller based on kalman filters
Itsp documentation   quadcopter flight controller based on kalman filtersItsp documentation   quadcopter flight controller based on kalman filters
Itsp documentation quadcopter flight controller based on kalman filters
Jyotirmaya Mahanta
 

Similar to Atmega Mini project Board (20)

Embedded JavaScript
Embedded JavaScriptEmbedded JavaScript
Embedded JavaScript
 
ILI6122.pdf
ILI6122.pdfILI6122.pdf
ILI6122.pdf
 
ILI6122 data sheet
ILI6122 data sheetILI6122 data sheet
ILI6122 data sheet
 
Atmega tutorial
Atmega tutorialAtmega tutorial
Atmega tutorial
 
DIY UNO Play Breadboard ATMEGA328P with FT232 Breakout Board
DIY UNO Play Breadboard ATMEGA328P with FT232 Breakout BoardDIY UNO Play Breadboard ATMEGA328P with FT232 Breakout Board
DIY UNO Play Breadboard ATMEGA328P with FT232 Breakout Board
 
8051 micro controller
8051 micro controller8051 micro controller
8051 micro controller
 
Notes of 8051 Micro Controller for BCA, MCA, MSC (CS), MSC (IT) & AMIE IEI- b...
Notes of 8051 Micro Controller for BCA, MCA, MSC (CS), MSC (IT) & AMIE IEI- b...Notes of 8051 Micro Controller for BCA, MCA, MSC (CS), MSC (IT) & AMIE IEI- b...
Notes of 8051 Micro Controller for BCA, MCA, MSC (CS), MSC (IT) & AMIE IEI- b...
 
Dse8620 operators-manual
Dse8620 operators-manualDse8620 operators-manual
Dse8620 operators-manual
 
USB OTG
USB OTGUSB OTG
USB OTG
 
stratix 8000 8300
 stratix 8000 8300 stratix 8000 8300
stratix 8000 8300
 
Caja Registradora Tec ma 1535 program manual
Caja Registradora Tec ma 1535  program manualCaja Registradora Tec ma 1535  program manual
Caja Registradora Tec ma 1535 program manual
 
Tec ma 1535 program manual
Tec ma 1535  program manualTec ma 1535  program manual
Tec ma 1535 program manual
 
Manual tc3 xy installation manual-pcbv4.0
Manual tc3 xy installation manual-pcbv4.0Manual tc3 xy installation manual-pcbv4.0
Manual tc3 xy installation manual-pcbv4.0
 
IBM BladeCenter Products and Technology
IBM BladeCenter Products and TechnologyIBM BladeCenter Products and Technology
IBM BladeCenter Products and Technology
 
Rodrigo Almeida - Microkernel development from project to implementation
Rodrigo Almeida - Microkernel development from project to implementationRodrigo Almeida - Microkernel development from project to implementation
Rodrigo Almeida - Microkernel development from project to implementation
 
Manual micrologix 1100
Manual micrologix 1100Manual micrologix 1100
Manual micrologix 1100
 
trex_astf.pdf
trex_astf.pdftrex_astf.pdf
trex_astf.pdf
 
Lập trình plc delta
Lập trình plc deltaLập trình plc delta
Lập trình plc delta
 
CodeWarrior, Linux; OrCad and Hyperlynx; QMS Tools
CodeWarrior, Linux; OrCad and Hyperlynx; QMS ToolsCodeWarrior, Linux; OrCad and Hyperlynx; QMS Tools
CodeWarrior, Linux; OrCad and Hyperlynx; QMS Tools
 
Itsp documentation quadcopter flight controller based on kalman filters
Itsp documentation   quadcopter flight controller based on kalman filtersItsp documentation   quadcopter flight controller based on kalman filters
Itsp documentation quadcopter flight controller based on kalman filters
 

More from Raghav Shetty

8 Channel Relay Board-Bluetooth
8 Channel Relay Board-Bluetooth8 Channel Relay Board-Bluetooth
8 Channel Relay Board-Bluetooth
Raghav Shetty
 
4 Channel Relay Board 5V-Bluetooth Compatible for Arduino
4 Channel Relay Board 5V-Bluetooth Compatible for Arduino4 Channel Relay Board 5V-Bluetooth Compatible for Arduino
4 Channel Relay Board 5V-Bluetooth Compatible for Arduino
Raghav Shetty
 
4 Channel Relay Board 12V-Compatible for Arduino
4 Channel Relay Board 12V-Compatible for Arduino4 Channel Relay Board 12V-Compatible for Arduino
4 Channel Relay Board 12V-Compatible for Arduino
Raghav Shetty
 
8 Channel Relay Board-Rs485
8 Channel Relay Board-Rs485 8 Channel Relay Board-Rs485
8 Channel Relay Board-Rs485
Raghav Shetty
 
Xbee X-CTU Software
Xbee X-CTU SoftwareXbee X-CTU Software
Xbee X-CTU Software
Raghav Shetty
 
Digitla Vibration Sensor
Digitla Vibration SensorDigitla Vibration Sensor
Digitla Vibration Sensor
Raghav Shetty
 
Thermal Printer
Thermal PrinterThermal Printer
Thermal Printer
Raghav Shetty
 
Digital Soil Moisture Sensor
Digital Soil Moisture SensorDigital Soil Moisture Sensor
Digital Soil Moisture Sensor
Raghav Shetty
 
Micro SD Memory Card Interface for 5V MCU
Micro SD Memory Card Interface for 5V MCUMicro SD Memory Card Interface for 5V MCU
Micro SD Memory Card Interface for 5V MCU
Raghav Shetty
 
Micro SD Memory Card Interface for 3.3V MCU
Micro SD Memory Card Interface for 3.3V MCUMicro SD Memory Card Interface for 3.3V MCU
Micro SD Memory Card Interface for 3.3V MCU
Raghav Shetty
 
Regulated Power Supply
Regulated Power Supply Regulated Power Supply
Regulated Power Supply
Raghav Shetty
 
PIC Project Board
PIC Project BoardPIC Project Board
PIC Project Board
Raghav Shetty
 
8 Channel Bi Directional Logic Level Converter
8 Channel Bi Directional Logic Level Converter8 Channel Bi Directional Logic Level Converter
8 Channel Bi Directional Logic Level Converter
Raghav Shetty
 
LCD Keypad Shield
LCD Keypad ShieldLCD Keypad Shield
LCD Keypad Shield
Raghav Shetty
 
L298 Motor Driver
L298 Motor DriverL298 Motor Driver
L298 Motor Driver
Raghav Shetty
 
Joystick Shield
Joystick ShieldJoystick Shield
Joystick Shield
Raghav Shetty
 
Force Sensor
Force SensorForce Sensor
Force Sensor
Raghav Shetty
 
Plastic REED Float Switch
Plastic REED Float SwitchPlastic REED Float Switch
Plastic REED Float Switch
Raghav Shetty
 
Flex Sensor
Flex SensorFlex Sensor
Flex Sensor
Raghav Shetty
 
Serial EEPROM
Serial EEPROMSerial EEPROM
Serial EEPROM
Raghav Shetty
 

More from Raghav Shetty (20)

8 Channel Relay Board-Bluetooth
8 Channel Relay Board-Bluetooth8 Channel Relay Board-Bluetooth
8 Channel Relay Board-Bluetooth
 
4 Channel Relay Board 5V-Bluetooth Compatible for Arduino
4 Channel Relay Board 5V-Bluetooth Compatible for Arduino4 Channel Relay Board 5V-Bluetooth Compatible for Arduino
4 Channel Relay Board 5V-Bluetooth Compatible for Arduino
 
4 Channel Relay Board 12V-Compatible for Arduino
4 Channel Relay Board 12V-Compatible for Arduino4 Channel Relay Board 12V-Compatible for Arduino
4 Channel Relay Board 12V-Compatible for Arduino
 
8 Channel Relay Board-Rs485
8 Channel Relay Board-Rs485 8 Channel Relay Board-Rs485
8 Channel Relay Board-Rs485
 
Xbee X-CTU Software
Xbee X-CTU SoftwareXbee X-CTU Software
Xbee X-CTU Software
 
Digitla Vibration Sensor
Digitla Vibration SensorDigitla Vibration Sensor
Digitla Vibration Sensor
 
Thermal Printer
Thermal PrinterThermal Printer
Thermal Printer
 
Digital Soil Moisture Sensor
Digital Soil Moisture SensorDigital Soil Moisture Sensor
Digital Soil Moisture Sensor
 
Micro SD Memory Card Interface for 5V MCU
Micro SD Memory Card Interface for 5V MCUMicro SD Memory Card Interface for 5V MCU
Micro SD Memory Card Interface for 5V MCU
 
Micro SD Memory Card Interface for 3.3V MCU
Micro SD Memory Card Interface for 3.3V MCUMicro SD Memory Card Interface for 3.3V MCU
Micro SD Memory Card Interface for 3.3V MCU
 
Regulated Power Supply
Regulated Power Supply Regulated Power Supply
Regulated Power Supply
 
PIC Project Board
PIC Project BoardPIC Project Board
PIC Project Board
 
8 Channel Bi Directional Logic Level Converter
8 Channel Bi Directional Logic Level Converter8 Channel Bi Directional Logic Level Converter
8 Channel Bi Directional Logic Level Converter
 
LCD Keypad Shield
LCD Keypad ShieldLCD Keypad Shield
LCD Keypad Shield
 
L298 Motor Driver
L298 Motor DriverL298 Motor Driver
L298 Motor Driver
 
Joystick Shield
Joystick ShieldJoystick Shield
Joystick Shield
 
Force Sensor
Force SensorForce Sensor
Force Sensor
 
Plastic REED Float Switch
Plastic REED Float SwitchPlastic REED Float Switch
Plastic REED Float Switch
 
Flex Sensor
Flex SensorFlex Sensor
Flex Sensor
 
Serial EEPROM
Serial EEPROMSerial EEPROM
Serial EEPROM
 

Recently uploaded

Introducing Milvus Lite: Easy-to-Install, Easy-to-Use vector database for you...
Introducing Milvus Lite: Easy-to-Install, Easy-to-Use vector database for you...Introducing Milvus Lite: Easy-to-Install, Easy-to-Use vector database for you...
Introducing Milvus Lite: Easy-to-Install, Easy-to-Use vector database for you...
Zilliz
 
Building RAG with self-deployed Milvus vector database and Snowpark Container...
Building RAG with self-deployed Milvus vector database and Snowpark Container...Building RAG with self-deployed Milvus vector database and Snowpark Container...
Building RAG with self-deployed Milvus vector database and Snowpark Container...
Zilliz
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
Quotidiano Piemontese
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
Ana-Maria Mihalceanu
 
Removing Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software FuzzingRemoving Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software Fuzzing
Aftab Hussain
 
How to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For FlutterHow to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For Flutter
Daiki Mogmet Ito
 
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc
 
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Speck&Tech
 
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
James Anderson
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
Kari Kakkonen
 
20 Comprehensive Checklist of Designing and Developing a Website
20 Comprehensive Checklist of Designing and Developing a Website20 Comprehensive Checklist of Designing and Developing a Website
20 Comprehensive Checklist of Designing and Developing a Website
Pixlogix Infotech
 
Presentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of GermanyPresentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of Germany
innovationoecd
 
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
Neo4j
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
KatiaHIMEUR1
 
RESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for studentsRESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for students
KAMESHS29
 
Full-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalizationFull-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalization
Zilliz
 
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
SOFTTECHHUB
 
Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1
DianaGray10
 
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
Neo4j
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
Alpen-Adria-Universität
 

Recently uploaded (20)

Introducing Milvus Lite: Easy-to-Install, Easy-to-Use vector database for you...
Introducing Milvus Lite: Easy-to-Install, Easy-to-Use vector database for you...Introducing Milvus Lite: Easy-to-Install, Easy-to-Use vector database for you...
Introducing Milvus Lite: Easy-to-Install, Easy-to-Use vector database for you...
 
Building RAG with self-deployed Milvus vector database and Snowpark Container...
Building RAG with self-deployed Milvus vector database and Snowpark Container...Building RAG with self-deployed Milvus vector database and Snowpark Container...
Building RAG with self-deployed Milvus vector database and Snowpark Container...
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
 
Removing Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software FuzzingRemoving Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software Fuzzing
 
How to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For FlutterHow to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For Flutter
 
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy Survey
 
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
 
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
 
20 Comprehensive Checklist of Designing and Developing a Website
20 Comprehensive Checklist of Designing and Developing a Website20 Comprehensive Checklist of Designing and Developing a Website
20 Comprehensive Checklist of Designing and Developing a Website
 
Presentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of GermanyPresentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of Germany
 
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
 
RESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for studentsRESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for students
 
Full-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalizationFull-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalization
 
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
 
Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1
 
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
 

Atmega Mini project Board

  • 1. ATmega mini project board www.researchdesignlab.com Page 1 ATMEGA Mini Project Board
  • 2. ATmega mini project board www.researchdesignlab.com Page 2 Contents OVERVIEW.....................................................................................................................................................3 ATMEGA Mini Project Board.....................................................................................................................3 FEATURES......................................................................................................................................................3 CIRCUIT DIAGRAM ........................................................................................................................................4 PIN CONFIGURATION....................................................................................................................................5 CODES ...........................................................................................................................................................6 1. LED BLINKING....................................................................................................................................6 2. LCD ....................................................................................................................................................6 RELATED PRODUCT .......................................................................................................................................8
  • 3. ATmega mini project board www.researchdesignlab.com Page 3 OVERVIEW ATMEGA Mini Project Board If you are learning microcontrollers or want to quickly develop embedded solution based on standard AVR core, this board will help you quick start with the application by giving you access to everything required to run the Atmega16 microcontroller. With this board you can develop and prototype with any of Microchip's 40 pin AVR microcontrollers. . The boards have User button and status LED. FEATURES  Quartz crystal of 16 MHz  Reset button  Power indicating LED  External TX,RX,GND  On-board ISP Programmer
  • 4. ATmega mini project board www.researchdesignlab.com Page 4 CIRCUIT DIAGRAM
  • 5. ATmega mini project board www.researchdesignlab.com Page 5 PIN CONFIGURATION 1. TX, RX and GND is used to provide serial communication UART 2. MOSI - Master Out Slave In; MISO - Master In Slave Out; SCK - Clock signal from master to slave; SS - Slave Select signal selects salve devices. SPI is a bus and can have multiple devices on the bus. Because of a clock signal present, SPI can be operated faster than UART.
  • 6. ATmega mini project board www.researchdesignlab.com Page 6 CODES 1. LED BLINKING #define F_CPU 1000000UL // using internal 1MHZ frequency #include <avr/io.h> //initialize input output #include <util/delay.h> //initialize delay function int main(void) { DDRB = 0xFF; //Makes PORTB as Output while(1) //infinite loop { PORTB = 0xFF; //Turns ON All LEDs _delay_ms(1); //1 second delay PORTB= 0x00; //Turns OFF All LEDs _delay_ms(1); //1 second delay } } 2. LCD # define F_CPU 1000000UL #include <avr/io.h> #include <util/delay.h> #include <string.h> //initialize the string function #define LCD_PORT PORTB #define RS PC0 //initialize register select as PC0 pin #define EN PC1 //initialize enable pin as PC1 void CMD_WRT(unsigned char val) { PORTB=val; PORTC = PORTC & (~(1<<RS)); _delay_ms(1); // here we provide a delay of 1 sec PORTC = PORTC | ((1<<EN)); //make enable pin high _delay_ms(1); PORTC = PORTC & (~(1<<EN)); //make enable pin low } void DATA_WRT(unsigned char ch) { PORTB = ch; //initializing character “ch” to port B PORTC = PORTC | ((1<<RS));//make register select pin high _delay_ms(1);
  • 7. ATmega mini project board www.researchdesignlab.com Page 7 PORTC = PORTC | ((1<<EN)); //make enable pin high _delay_ms(1); PORTC = PORTC & (~(1<<EN)); //make enable pin low } void LCD_WRT( char *string) { while(*string) DATA_WRT(*string++); //will write the strings } int main(void) { //setting the display of the LCD unsigned char CMD[]= {0x38,0x01,0x0f,0x06,0x80},TEMP1,i; DDRB=0XFF; //make PORTB as output DDRC = 0xFF;//(1<<RS)|(1<<EN); //make PORTC as output _delay_ms(10); //provide the delay of 10ms for(i=0;i<5;i++) { TEMP1=CMD[i];//it will place the command in cmd array CMD_WRT(TEMP1); //it will write all the cmd that is in the cmd array } while(1) { CMD_WRT(0X01); //clear display CMD_WRT(0X80); // blink the cursor in 1st row LCD_WRT(" --RDL--");//display RDL in lcd CMD_WRT(0XC0); //to use 2nd row of lcd LCD_WRT(" LCD_DISPLAY"); //display LCD_DISPLAY in lcd _delay_ms(1000); //delay of 1sec } return 0; }
  • 8. ATmega mini project board www.researchdesignlab.com Page 8 RELATED PRODUCT Atmega16/32/64 Project Board ATMEGA 16/32/64 Development Board-USB ATmega Programmer-USB ISP Atmel Programmer