SlideShare a Scribd company logo
INTRDOUCTION OF
DEPARTMENT OF ECE
PRESENTED BY:
CONTENTS
INTRODUCTION
HISTORY
EVOLUTION
ARDUINO
WHY ARDUINO
ARDUINO PINOUT
ARDUINO
SPECIFICATION
NODE-MCU
NODE-MCU PINOUT
NODE-MCU
SPECIFICATION
PROGRAMING
PRACTICAL SESSION
SIMULATION
SOFTWARE
APPLICATION
COMPARISON
FUTURE
SCOPE
CONCLUSION
REFERENCE
IOT
INTRODUCTION A microcontroller is an electronic system which
consists of a processing element, a small
memory (RAM, ROM, EPROM), I/O ports, etc.
on a single chip.
MANUFACTURING COMPANY’S:
1. ATMEL CORPORATION – CALIFORNIA
2. TEXAS INSTRUMENTS – UNITED STATES
3. MICROCHIP – UNITED STATES
4. INTEL CORPORATION – UNITED STATES
MICROCONTROLLER
HISTORY
In 2005, a project was initiated to make a device for controlling
student-built interactive design projects that was less
expensive than other prototyping systems available at the time.
Founders Massimo Banzi and David Cuartielles named the
project after Arduin of Ivrea and began producing boards in a
small factory located in Ivrea.
Interaction Design Institute
Ivrea (IDII) in Ivrea, Italy.
Massimo Banzi
Co-founder, Chairman & CMO
David Cuartielles
Co-founder & Content Lead
EVOLUTION
introduction of arduino and node mcu
ARDUINO
Arduino is a microcontroller board, that
contains
on-board
power supply
USB port to communicate with PC
Atmel microcontroller chip
Arduino is an open-source
electronics prototyping
platform based on flexible, easy-to-use
hardware and software.
It simplifies the process of creating any
embedded system with a standard board
that can be easily and in a user-friendly
way.
 It is Open Source, both in terms of Hardware and Software.
 It can communicate with a computer via a serial connection over
USB.
 It can be powered by USB or standalone DC power.
 It can run standalone from a computer (the chip is programmable),and
it has memory.
 It can work with both digital and analogue electronic signals.
Sensors and actuators.
 You can build robots, drones, home automation, IoT applications,
farm management system with Arduino.
WHY ARDUINO ?
ARDUINO PINOUT
Interfacing cable
USB A – USB B
TXD and RXD pins are used for serial communication. The
TXD is used for transmitting the data, and RXD is used for
receiving the data. It also represents the successful flow of
data.
TXD & RXD PINS
DIGITAL I/O PINS
The Arduino UNO board has 14 digital I/O pins, 6 of which
provide PWM output. This pins can be used to read/write
digital values like “0 or 1”. The pins labeled “~” can be
used to generate PWM.
PWM is used to ranging from communications to power
control and conversion. For example, the PWM is
commonly used to control the speed of electric motors, the
brightness of lights, in ultrasonic cleaning applications, and
many more.
ANALOG PINS
The Arduino UNO board has six analog input pins A0 through
A5. These pins can read the signal from an analog sensor like
the humidity sensor or temperature sensor and convert it into a
digital value that can be read by the microprocessor.
COMMUNICATIONS
UART
SPI
I2C
Universal Asynchronous Reception and
Transmission
inter-integrated-circuit
serial peripheral interface
MCU ATmega328P
ARCHITECTURE AVR
OPERATING VOLTAGE 5V
INPUT VOLTAGE 6V – 20V (limit)
7V – 12V (recommended)
CLOCK SPEED 16 MHz
FLASH MEMORY 32 KB (2 KB of this used by bootloader)
SRAM 2 KB
EEPROM 1 KB
DIGITAL IO PINS 24 (of which 6 can produce PWM)
ANALOG INPUT PINS 6
COST Around Rs.400
SPECIFICATION
introduction of arduino and node mcu
introduction of arduino and node mcu
NODE MCU
The NodeMCU (Node Microcontroller
Unit) is an open-source software and
hardware development environment
that is built around a very inexpensive
System-on-a-Chip(SOC) called the
ESP8266.
 An Arduino-like device
 Main component: ESP8266 With
 programmable pins And built-in Wi-Fi
 Power via USB
 Low cost
WE CAN DO WITH IT
 Program it via C or LUA
 Access it via Wi-Fi (ex. HTTP)
 Connect pins to any device
 (in or out)
 Access the internet
 Access the server
NODE MCU PINOUT
Interfacing cable
USB A – MICRO USB
introduction of arduino and node mcu
Microcontroller ESP-8266 32-bit
Clock Speed 80-160 MHz
USB Connector Micro USB
Operating Voltage 3.3V
Input Voltage 4.5V-10V
Flash Memory/SRAM 4 MB / 128 KB
GPIO Pins 17
Digital I/O Pins 11
Analog In Pins 1
PWM Pins 4
ADC Range 0-3.3V
UART/SPI/I2C 2 / 1 / 1
WiFi Built-In 802.11 b/g/n
Temperature Range -40C – 125C
Cost Rs. 350
SPECIFICATION
introduction of arduino and node mcu
ARDUINO IDE
introduction of arduino and node mcu
pinMode(pin, mode): set a digital pin to input or output mode (INPUT or
OUTPUT).
digitalRead(pin): returns the value of a digital pin, either LOW or HIGH
digitalWrite(pin, value): writes LOW or HIGH to a digital pin.
analogRead(pin): returns the value of an analog input (from O to 1023).
analogWrite(pin, value): writes an analog value (PWM wave) to a digital pin
that supports it (pins 3, 5, 6, 9, IO, and 11); value should be from O (always
Off) to 255 (always on).
delay(time in milliseconds): pauses the code for time in milliseconds
(1 second = 1000 milliseconds)
BASIC SYNTAX
introduction of arduino and node mcu
LED BLINKING
int ledPin = 7;
void setup()
{
pinMode(ledPin, OUTPUT);
}
void loop()
{ digitalWrite(ledPin, HIGH);
delay(1000);
digitalWrite(ledPin, LOW);
delay(1000);
}
PROGRAM
IR SENSOR INTERFACING
int IRSensor = 9;
int LED = 13;
void setup()
{
Serial.begin(9600);
pinMode(IRSensor, INPUT);
pinMode(LED, OUTPUT);
}
void loop()
{
int sensorStatus = digitalRead(IRSensor);
if (sensorStatus == 1)
{
digitalWrite(LED, LOW);
}
else
{
digitalWrite(LED, HIGH);
}
}
CIRCUIT DIAGRAM PROGRAM
IOT PLATFORMS
IOT CONTROL LED USING MOBILE THROUGH IOT
MOBILE NODE MCU
BLYNK
SERVER
INTERNET
CIRCUIT DIAGRAM
WORKING
#define BLYNK_PRINT Serial
#define BLYNK_TEMPLATE_ID "TMPLtYPT9XZa"
#define BLYNK_TEMPLATE_NAME "HASANAUTOMATION"
#defineBLYNK_AUTH_TOKEN"JvZcHDC3F1j2Mwh5yvTKDNCeSfN6TK4"
#include <ESP8266WiFi.h>
#include <BlynkSimpleEsp8266.h>
char auth[] = "JvZcHDC3F1j2Mwh5yvTKDNCeSfN6TK4a";
char ssid[] = "OPPO Reno7 5G";
char pass[] = "hasan2412";
void setup()
{
Serial.begin(9600);
Blynk.begin(auth, ssid, pass);
}
void loop()
{
Blynk.run();
}
RELAY 5V
Its an electronic control
switch
SIMULATION SOFTWARE’S
Parameters Arduino Nodemcu
Microcontroller ATmega328p ESP8266
No of bits 8 bit 32 bit
Digital pins 14 16
Analog pins 6 1
Digital pin with PWM 6 16
Operating Voltage 5v 3.3v
Current Consumptions 45 mA – 80 mA 15 µA – 400 mA
Current consumption in Deep Sleep
mode
35 mA 0.5 µA
Clock Speed 16 MHz 80 MHz
WIFI Absent Present
SPI 1 2
I2C 1 1
UART 1 1
EEPROM 1024 bytes 512 bytes
SRAM 2 KB 64KB
Flash Memory 32 KB 4MB
ARDUINO VS NODEMCU
APPLICATIONS
 Robotics and automation
 Internet of Things (IoT) devices
 Control systems
 Home automation systems
 Data loggers
 Musical instruments and light shows
 Prototyping and testing electronic circuits
 Automated gardening systems
 Measuring and monitoring systems
 Educational purposes for teaching electronics
and programming.
FUTURE SCOPE
The future scope of Arduino is vast, and it is constantly evolving.
Here are some of the future possibilities for Arduino:
1. Integration with AI: Arduino can be integrated with machine learning and artificial
intelligence, which can enable the development of intelligent systems.
2. Wearable technology: Arduino can be used to develop wearable technology, such as
smartwatches and fitness trackers, which are becoming increasingly popular.
3. Automation: Arduino can be used to develop automation systems, such as home
automation systems, industrial control systems, and smart agriculture systems.
4. Education: Arduino is a popular tool for teaching electronics and programming, and it
has the potential to play a significant role in the future of education.
5. Robotics: Arduino can be used to develop robotics projects, including drones, humanoid
robots, and robotic arms.
UPCOMMING ARDUINO’S
CONCLUSION
Arduino and NodeMCU are popular open-source platforms for building
electronics projects, each with their own strengths and weaknesses.
Arduino is better suited for simple projects, while NodeMCU is better
for IoT applications that require advanced connectivity and internet
access.
Overall, the choice between Arduino and NodeMCU depends on the
specific needs of the project. Arduino is better suited for simple
projects that do not require advanced connectivity, while NodeMCU
is a better choice for IoT applications that require advanced
connectivity and internet access.
REFERENCE
https://chat.openai.com/chat
https://www.arduino.cc/en/Guide
https://circuitdigest.com/article/top-
10-best-arduino-projects
https://www.tutorialspoint.com/ar
duino/arduino_blinking_led.htm
https://github.com/blynkkk/bly
nk-library/releases
https://www.instructables.com/Getti
ng-Started-with-Arduino-3/
https://www.youtube.com/@HowtoElectronics
https://www.youtube.com/@ViralScience
THANK YOU
!

More Related Content

What's hot (20)

Washing machine
Washing machine
Eng Eng
 
Code conversion using verilog code VHDL
Code conversion using verilog code VHDL
Bharti Airtel Ltd.
 
Vhdl
Vhdl
vandanamalode
 
Arduino based health monitoring system
Arduino based health monitoring system
Yousuf Shaikh
 
Finite state machines
Finite state machines
dennis gookyi
 
Gsm library for proteus the engineering projects
Gsm library for proteus the engineering projects
ZerihunDemere
 
Vlsi lab viva question with answers
Vlsi lab viva question with answers
Ayesha Ambreen
 
Chapter 8 Embedded Hardware Design and Development (third portion)
Chapter 8 Embedded Hardware Design and Development (third portion)
Moe Moe Myint
 
Wireless E-Notice Board Using Bluetooth Report.docx
Wireless E-Notice Board Using Bluetooth Report.docx
AbhishekGM10
 
PIC Microcontrollers
PIC Microcontrollers
Abdullah Saghir Ahmad
 
wireless E notice board
wireless E notice board
Ganesh Gani
 
18CS44-MODULE3-PPT.pptx
18CS44-MODULE3-PPT.pptx
Sudeep35
 
Interfacing external memory in 8051
Interfacing external memory in 8051
ssuser3a47cb
 
Intellectual property in vlsi
Intellectual property in vlsi
Saransh Choudhary
 
L8 understanding-atmega328 p-1
L8 understanding-atmega328 p-1
rsamurti
 
Serial Communication Interfaces
Serial Communication Interfaces
anishgoel
 
A Computers Architecture project on Barrel shifters
A Computers Architecture project on Barrel shifters
svrohith 9
 
Vhdl programming
Vhdl programming
Yogesh Mashalkar
 
FPGA TECHNOLOGY AND FAMILIES
FPGA TECHNOLOGY AND FAMILIES
revathilakshmi2
 
8085 interrupts
8085 interrupts
deval patel
 
Washing machine
Washing machine
Eng Eng
 
Code conversion using verilog code VHDL
Code conversion using verilog code VHDL
Bharti Airtel Ltd.
 
Arduino based health monitoring system
Arduino based health monitoring system
Yousuf Shaikh
 
Finite state machines
Finite state machines
dennis gookyi
 
Gsm library for proteus the engineering projects
Gsm library for proteus the engineering projects
ZerihunDemere
 
Vlsi lab viva question with answers
Vlsi lab viva question with answers
Ayesha Ambreen
 
Chapter 8 Embedded Hardware Design and Development (third portion)
Chapter 8 Embedded Hardware Design and Development (third portion)
Moe Moe Myint
 
Wireless E-Notice Board Using Bluetooth Report.docx
Wireless E-Notice Board Using Bluetooth Report.docx
AbhishekGM10
 
wireless E notice board
wireless E notice board
Ganesh Gani
 
18CS44-MODULE3-PPT.pptx
18CS44-MODULE3-PPT.pptx
Sudeep35
 
Interfacing external memory in 8051
Interfacing external memory in 8051
ssuser3a47cb
 
Intellectual property in vlsi
Intellectual property in vlsi
Saransh Choudhary
 
L8 understanding-atmega328 p-1
L8 understanding-atmega328 p-1
rsamurti
 
Serial Communication Interfaces
Serial Communication Interfaces
anishgoel
 
A Computers Architecture project on Barrel shifters
A Computers Architecture project on Barrel shifters
svrohith 9
 
FPGA TECHNOLOGY AND FAMILIES
FPGA TECHNOLOGY AND FAMILIES
revathilakshmi2
 

Similar to introduction of arduino and node mcu (20)

How to use an Arduino
How to use an Arduino
AntonAndreev13
 
Introduction to arduino ppt main
Introduction to arduino ppt main
eddy royappa
 
arduino and its introduction deep dive ppt.pptx
arduino and its introduction deep dive ppt.pptx
SruSru1
 
Arduino Microcontroller
Arduino Microcontroller
Shyam Mohan
 
Arduino comic v0004
Arduino comic v0004
DO!MAKERS
 
Arduino Comic-Jody Culkin-2011
Arduino Comic-Jody Culkin-2011
ΚΔΑΠ Δήμου Θέρμης
 
Arduino embedded systems and advanced robotics
Arduino embedded systems and advanced robotics
Shubham Bhattacharya
 
PEQUEÑO CURSO DE ARDUINO DESDE SEÑALES HASTA PROGRAMACIÓN
PEQUEÑO CURSO DE ARDUINO DESDE SEÑALES HASTA PROGRAMACIÓN
yrosascunam
 
Introduction of Arduino Uno
Introduction of Arduino Uno
Md. Nahidul Islam
 
Arduino_Beginner.pptx
Arduino_Beginner.pptx
shivagoud45
 
Internet of Things prescribed by University
Internet of Things prescribed by University
Sanjay Kumar
 
Arduino A Technical Reference A Handbook For Technicians Engineers And Makers...
Arduino A Technical Reference A Handbook For Technicians Engineers And Makers...
ozoezenesli
 
Intro to Arduino Revision #2
Intro to Arduino Revision #2
Qtechknow
 
02 Sensors and Actuators Understand .pdf
02 Sensors and Actuators Understand .pdf
engsharaf2025
 
embedded_in_Arduino_with_basic_embedded.pptx
embedded_in_Arduino_with_basic_embedded.pptx
acloudinfo2023
 
ARUDINO UNO and RasberryPi with Python
ARUDINO UNO and RasberryPi with Python
Jayanthi Kannan MK
 
ARDUINO OVERVIEW HARDWARE SOFTWARE AND INSTALLATION.pptx
ARDUINO OVERVIEW HARDWARE SOFTWARE AND INSTALLATION.pptx
menchc1207
 
IoT Basics with few Embedded System Connections for sensors
IoT Basics with few Embedded System Connections for sensors
saritasapkal
 
Introduction to Arduino - Basics programming
Introduction to Arduino - Basics programming
KishoreKumarKAsstPro
 
IOT and embaded_Internship final Report-2.pdf
IOT and embaded_Internship final Report-2.pdf
chandanml127
 
Introduction to arduino ppt main
Introduction to arduino ppt main
eddy royappa
 
arduino and its introduction deep dive ppt.pptx
arduino and its introduction deep dive ppt.pptx
SruSru1
 
Arduino Microcontroller
Arduino Microcontroller
Shyam Mohan
 
Arduino comic v0004
Arduino comic v0004
DO!MAKERS
 
Arduino embedded systems and advanced robotics
Arduino embedded systems and advanced robotics
Shubham Bhattacharya
 
PEQUEÑO CURSO DE ARDUINO DESDE SEÑALES HASTA PROGRAMACIÓN
PEQUEÑO CURSO DE ARDUINO DESDE SEÑALES HASTA PROGRAMACIÓN
yrosascunam
 
Arduino_Beginner.pptx
Arduino_Beginner.pptx
shivagoud45
 
Internet of Things prescribed by University
Internet of Things prescribed by University
Sanjay Kumar
 
Arduino A Technical Reference A Handbook For Technicians Engineers And Makers...
Arduino A Technical Reference A Handbook For Technicians Engineers And Makers...
ozoezenesli
 
Intro to Arduino Revision #2
Intro to Arduino Revision #2
Qtechknow
 
02 Sensors and Actuators Understand .pdf
02 Sensors and Actuators Understand .pdf
engsharaf2025
 
embedded_in_Arduino_with_basic_embedded.pptx
embedded_in_Arduino_with_basic_embedded.pptx
acloudinfo2023
 
ARUDINO UNO and RasberryPi with Python
ARUDINO UNO and RasberryPi with Python
Jayanthi Kannan MK
 
ARDUINO OVERVIEW HARDWARE SOFTWARE AND INSTALLATION.pptx
ARDUINO OVERVIEW HARDWARE SOFTWARE AND INSTALLATION.pptx
menchc1207
 
IoT Basics with few Embedded System Connections for sensors
IoT Basics with few Embedded System Connections for sensors
saritasapkal
 
Introduction to Arduino - Basics programming
Introduction to Arduino - Basics programming
KishoreKumarKAsstPro
 
IOT and embaded_Internship final Report-2.pdf
IOT and embaded_Internship final Report-2.pdf
chandanml127
 
Ad

Recently uploaded (20)

最新版美国圣莫尼卡学院毕业证(SMC毕业证书)原版定制
最新版美国圣莫尼卡学院毕业证(SMC毕业证书)原版定制
Taqyea
 
362 Alec Data Center Solutions-Slysium Data Center-AUH-Adaptaflex.pdf
362 Alec Data Center Solutions-Slysium Data Center-AUH-Adaptaflex.pdf
djiceramil
 
SEW make Brake BE05 – BE30 Brake – Repair Kit
SEW make Brake BE05 – BE30 Brake – Repair Kit
projectultramechanix
 
Universal Human Values and professional ethics Quantum AKTU BVE401
Universal Human Values and professional ethics Quantum AKTU BVE401
Unknown
 
NALCO Green Anode Plant,Compositions of CPC,Pitch
NALCO Green Anode Plant,Compositions of CPC,Pitch
arpitprachi123
 
Fundamentals of Digital Design_Class_12th April.pptx
Fundamentals of Digital Design_Class_12th April.pptx
drdebarshi1993
 
operationg systemsdocumentmemorymanagement
operationg systemsdocumentmemorymanagement
SNIGDHAAPPANABHOTLA
 
grade 9 science q1 quiz.pptx science quiz
grade 9 science q1 quiz.pptx science quiz
norfapangolima
 
A Comprehensive Investigation into the Accuracy of Soft Computing Tools for D...
A Comprehensive Investigation into the Accuracy of Soft Computing Tools for D...
Journal of Soft Computing in Civil Engineering
 
362 Alec Data Center Solutions-Slysium Data Center-AUH-ABB Furse.pdf
362 Alec Data Center Solutions-Slysium Data Center-AUH-ABB Furse.pdf
djiceramil
 
Présentation_gestion[1] [Autosaved].pptx
Présentation_gestion[1] [Autosaved].pptx
KHADIJAESSAKET
 
362 Alec Data Center Solutions-Slysium Data Center-AUH-Adaptaflex.pdf
362 Alec Data Center Solutions-Slysium Data Center-AUH-Adaptaflex.pdf
djiceramil
 
22PCOAM16 _ML_Unit 3 Notes & Question bank
22PCOAM16 _ML_Unit 3 Notes & Question bank
Guru Nanak Technical Institutions
 
Water demand - Types , variations and WDS
Water demand - Types , variations and WDS
dhanashree78
 
362 Alec Data Center Solutions-Slysium Data Center-AUH-Glands & Lugs, Simplex...
362 Alec Data Center Solutions-Slysium Data Center-AUH-Glands & Lugs, Simplex...
djiceramil
 
Fundamentals of Digital Design_Class_21st May - Copy.pptx
Fundamentals of Digital Design_Class_21st May - Copy.pptx
drdebarshi1993
 
4th International Conference on Computer Science and Information Technology (...
4th International Conference on Computer Science and Information Technology (...
ijait
 
Engineering Mechanics Introduction and its Application
Engineering Mechanics Introduction and its Application
Sakthivel M
 
Rigor, ethics, wellbeing and resilience in the ICT doctoral journey
Rigor, ethics, wellbeing and resilience in the ICT doctoral journey
Yannis
 
02 - Ethics & Professionalism - BEM, IEM, MySET.PPT
02 - Ethics & Professionalism - BEM, IEM, MySET.PPT
SharinAbGhani1
 
最新版美国圣莫尼卡学院毕业证(SMC毕业证书)原版定制
最新版美国圣莫尼卡学院毕业证(SMC毕业证书)原版定制
Taqyea
 
362 Alec Data Center Solutions-Slysium Data Center-AUH-Adaptaflex.pdf
362 Alec Data Center Solutions-Slysium Data Center-AUH-Adaptaflex.pdf
djiceramil
 
SEW make Brake BE05 – BE30 Brake – Repair Kit
SEW make Brake BE05 – BE30 Brake – Repair Kit
projectultramechanix
 
Universal Human Values and professional ethics Quantum AKTU BVE401
Universal Human Values and professional ethics Quantum AKTU BVE401
Unknown
 
NALCO Green Anode Plant,Compositions of CPC,Pitch
NALCO Green Anode Plant,Compositions of CPC,Pitch
arpitprachi123
 
Fundamentals of Digital Design_Class_12th April.pptx
Fundamentals of Digital Design_Class_12th April.pptx
drdebarshi1993
 
operationg systemsdocumentmemorymanagement
operationg systemsdocumentmemorymanagement
SNIGDHAAPPANABHOTLA
 
grade 9 science q1 quiz.pptx science quiz
grade 9 science q1 quiz.pptx science quiz
norfapangolima
 
362 Alec Data Center Solutions-Slysium Data Center-AUH-ABB Furse.pdf
362 Alec Data Center Solutions-Slysium Data Center-AUH-ABB Furse.pdf
djiceramil
 
Présentation_gestion[1] [Autosaved].pptx
Présentation_gestion[1] [Autosaved].pptx
KHADIJAESSAKET
 
362 Alec Data Center Solutions-Slysium Data Center-AUH-Adaptaflex.pdf
362 Alec Data Center Solutions-Slysium Data Center-AUH-Adaptaflex.pdf
djiceramil
 
Water demand - Types , variations and WDS
Water demand - Types , variations and WDS
dhanashree78
 
362 Alec Data Center Solutions-Slysium Data Center-AUH-Glands & Lugs, Simplex...
362 Alec Data Center Solutions-Slysium Data Center-AUH-Glands & Lugs, Simplex...
djiceramil
 
Fundamentals of Digital Design_Class_21st May - Copy.pptx
Fundamentals of Digital Design_Class_21st May - Copy.pptx
drdebarshi1993
 
4th International Conference on Computer Science and Information Technology (...
4th International Conference on Computer Science and Information Technology (...
ijait
 
Engineering Mechanics Introduction and its Application
Engineering Mechanics Introduction and its Application
Sakthivel M
 
Rigor, ethics, wellbeing and resilience in the ICT doctoral journey
Rigor, ethics, wellbeing and resilience in the ICT doctoral journey
Yannis
 
02 - Ethics & Professionalism - BEM, IEM, MySET.PPT
02 - Ethics & Professionalism - BEM, IEM, MySET.PPT
SharinAbGhani1
 
Ad

introduction of arduino and node mcu

  • 1. INTRDOUCTION OF DEPARTMENT OF ECE PRESENTED BY:
  • 2. CONTENTS INTRODUCTION HISTORY EVOLUTION ARDUINO WHY ARDUINO ARDUINO PINOUT ARDUINO SPECIFICATION NODE-MCU NODE-MCU PINOUT NODE-MCU SPECIFICATION PROGRAMING PRACTICAL SESSION SIMULATION SOFTWARE APPLICATION COMPARISON FUTURE SCOPE CONCLUSION REFERENCE IOT
  • 3. INTRODUCTION A microcontroller is an electronic system which consists of a processing element, a small memory (RAM, ROM, EPROM), I/O ports, etc. on a single chip. MANUFACTURING COMPANY’S: 1. ATMEL CORPORATION – CALIFORNIA 2. TEXAS INSTRUMENTS – UNITED STATES 3. MICROCHIP – UNITED STATES 4. INTEL CORPORATION – UNITED STATES MICROCONTROLLER
  • 4. HISTORY In 2005, a project was initiated to make a device for controlling student-built interactive design projects that was less expensive than other prototyping systems available at the time. Founders Massimo Banzi and David Cuartielles named the project after Arduin of Ivrea and began producing boards in a small factory located in Ivrea. Interaction Design Institute Ivrea (IDII) in Ivrea, Italy. Massimo Banzi Co-founder, Chairman & CMO David Cuartielles Co-founder & Content Lead
  • 7. ARDUINO Arduino is a microcontroller board, that contains on-board power supply USB port to communicate with PC Atmel microcontroller chip Arduino is an open-source electronics prototyping platform based on flexible, easy-to-use hardware and software. It simplifies the process of creating any embedded system with a standard board that can be easily and in a user-friendly way.
  • 8.  It is Open Source, both in terms of Hardware and Software.  It can communicate with a computer via a serial connection over USB.  It can be powered by USB or standalone DC power.  It can run standalone from a computer (the chip is programmable),and it has memory.  It can work with both digital and analogue electronic signals. Sensors and actuators.  You can build robots, drones, home automation, IoT applications, farm management system with Arduino. WHY ARDUINO ?
  • 10. TXD and RXD pins are used for serial communication. The TXD is used for transmitting the data, and RXD is used for receiving the data. It also represents the successful flow of data. TXD & RXD PINS DIGITAL I/O PINS The Arduino UNO board has 14 digital I/O pins, 6 of which provide PWM output. This pins can be used to read/write digital values like “0 or 1”. The pins labeled “~” can be used to generate PWM. PWM is used to ranging from communications to power control and conversion. For example, the PWM is commonly used to control the speed of electric motors, the brightness of lights, in ultrasonic cleaning applications, and many more.
  • 11. ANALOG PINS The Arduino UNO board has six analog input pins A0 through A5. These pins can read the signal from an analog sensor like the humidity sensor or temperature sensor and convert it into a digital value that can be read by the microprocessor. COMMUNICATIONS UART SPI I2C Universal Asynchronous Reception and Transmission inter-integrated-circuit serial peripheral interface
  • 12. MCU ATmega328P ARCHITECTURE AVR OPERATING VOLTAGE 5V INPUT VOLTAGE 6V – 20V (limit) 7V – 12V (recommended) CLOCK SPEED 16 MHz FLASH MEMORY 32 KB (2 KB of this used by bootloader) SRAM 2 KB EEPROM 1 KB DIGITAL IO PINS 24 (of which 6 can produce PWM) ANALOG INPUT PINS 6 COST Around Rs.400 SPECIFICATION
  • 15. NODE MCU The NodeMCU (Node Microcontroller Unit) is an open-source software and hardware development environment that is built around a very inexpensive System-on-a-Chip(SOC) called the ESP8266.  An Arduino-like device  Main component: ESP8266 With  programmable pins And built-in Wi-Fi  Power via USB  Low cost
  • 16. WE CAN DO WITH IT  Program it via C or LUA  Access it via Wi-Fi (ex. HTTP)  Connect pins to any device  (in or out)  Access the internet  Access the server
  • 17. NODE MCU PINOUT Interfacing cable USB A – MICRO USB
  • 19. Microcontroller ESP-8266 32-bit Clock Speed 80-160 MHz USB Connector Micro USB Operating Voltage 3.3V Input Voltage 4.5V-10V Flash Memory/SRAM 4 MB / 128 KB GPIO Pins 17 Digital I/O Pins 11 Analog In Pins 1 PWM Pins 4 ADC Range 0-3.3V UART/SPI/I2C 2 / 1 / 1 WiFi Built-In 802.11 b/g/n Temperature Range -40C – 125C Cost Rs. 350 SPECIFICATION
  • 23. pinMode(pin, mode): set a digital pin to input or output mode (INPUT or OUTPUT). digitalRead(pin): returns the value of a digital pin, either LOW or HIGH digitalWrite(pin, value): writes LOW or HIGH to a digital pin. analogRead(pin): returns the value of an analog input (from O to 1023). analogWrite(pin, value): writes an analog value (PWM wave) to a digital pin that supports it (pins 3, 5, 6, 9, IO, and 11); value should be from O (always Off) to 255 (always on). delay(time in milliseconds): pauses the code for time in milliseconds (1 second = 1000 milliseconds) BASIC SYNTAX
  • 25. LED BLINKING int ledPin = 7; void setup() { pinMode(ledPin, OUTPUT); } void loop() { digitalWrite(ledPin, HIGH); delay(1000); digitalWrite(ledPin, LOW); delay(1000); } PROGRAM
  • 27. int IRSensor = 9; int LED = 13; void setup() { Serial.begin(9600); pinMode(IRSensor, INPUT); pinMode(LED, OUTPUT); } void loop() { int sensorStatus = digitalRead(IRSensor); if (sensorStatus == 1) { digitalWrite(LED, LOW); } else { digitalWrite(LED, HIGH); } } CIRCUIT DIAGRAM PROGRAM
  • 29. IOT CONTROL LED USING MOBILE THROUGH IOT MOBILE NODE MCU BLYNK SERVER INTERNET CIRCUIT DIAGRAM WORKING
  • 30. #define BLYNK_PRINT Serial #define BLYNK_TEMPLATE_ID "TMPLtYPT9XZa" #define BLYNK_TEMPLATE_NAME "HASANAUTOMATION" #defineBLYNK_AUTH_TOKEN"JvZcHDC3F1j2Mwh5yvTKDNCeSfN6TK4" #include <ESP8266WiFi.h> #include <BlynkSimpleEsp8266.h> char auth[] = "JvZcHDC3F1j2Mwh5yvTKDNCeSfN6TK4a"; char ssid[] = "OPPO Reno7 5G"; char pass[] = "hasan2412"; void setup() { Serial.begin(9600); Blynk.begin(auth, ssid, pass); } void loop() { Blynk.run(); } RELAY 5V Its an electronic control switch
  • 32. Parameters Arduino Nodemcu Microcontroller ATmega328p ESP8266 No of bits 8 bit 32 bit Digital pins 14 16 Analog pins 6 1 Digital pin with PWM 6 16 Operating Voltage 5v 3.3v Current Consumptions 45 mA – 80 mA 15 µA – 400 mA Current consumption in Deep Sleep mode 35 mA 0.5 µA Clock Speed 16 MHz 80 MHz WIFI Absent Present SPI 1 2 I2C 1 1 UART 1 1 EEPROM 1024 bytes 512 bytes SRAM 2 KB 64KB Flash Memory 32 KB 4MB ARDUINO VS NODEMCU
  • 33. APPLICATIONS  Robotics and automation  Internet of Things (IoT) devices  Control systems  Home automation systems  Data loggers  Musical instruments and light shows  Prototyping and testing electronic circuits  Automated gardening systems  Measuring and monitoring systems  Educational purposes for teaching electronics and programming.
  • 34. FUTURE SCOPE The future scope of Arduino is vast, and it is constantly evolving. Here are some of the future possibilities for Arduino: 1. Integration with AI: Arduino can be integrated with machine learning and artificial intelligence, which can enable the development of intelligent systems. 2. Wearable technology: Arduino can be used to develop wearable technology, such as smartwatches and fitness trackers, which are becoming increasingly popular. 3. Automation: Arduino can be used to develop automation systems, such as home automation systems, industrial control systems, and smart agriculture systems. 4. Education: Arduino is a popular tool for teaching electronics and programming, and it has the potential to play a significant role in the future of education. 5. Robotics: Arduino can be used to develop robotics projects, including drones, humanoid robots, and robotic arms.
  • 36. CONCLUSION Arduino and NodeMCU are popular open-source platforms for building electronics projects, each with their own strengths and weaknesses. Arduino is better suited for simple projects, while NodeMCU is better for IoT applications that require advanced connectivity and internet access. Overall, the choice between Arduino and NodeMCU depends on the specific needs of the project. Arduino is better suited for simple projects that do not require advanced connectivity, while NodeMCU is a better choice for IoT applications that require advanced connectivity and internet access.