0% found this document useful (0 votes)
6 views

04 Arduino v02

04_Arduino_v02.pdf

Uploaded by

jonny herbart
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views

04 Arduino v02

04_Arduino_v02.pdf

Uploaded by

jonny herbart
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 26

Arduino

Lecture #4
What is IoT
• Physical objects (or groups of such objects) with sensors, processing
ability, software, and other technologies that connect and exchange
data with other devices and systems over the Internet or other
communications networks
• Due to development of:
• Computers
• Sensors
• Embedded systems Arduino
• Machine learning
Arduino
• An open-source hardware and software company, project, and user
community that designs and manufactures single-board
microcontrollers and microcontroller kits for building digital devices.
• Use variety of microprocessors and controllers
• Equipped with sets of digital and analog input/output (I/O) pins that
may be interfaced to various expansion boards ('shields') or
breadboards (for prototyping) and other circuits.
• Has serial communications interfaces, including Universal Serial Bus
(USB) on some models, which are also used for loading programs
• Can be programmed using Arduino language
Arduino and breadboard
Example of the use of breadboard
Arduino : Hardware and software
“Hello, world” project
Flip-flop project
Program : LED OFF or ON
Program : LED ON and OFF every 1 minute
Program : Dynamic ON and OFF
EXERCISE

What is the result ?


Using temperature sensor and record data
Use COOLTERM
or PUTTY
to record data
Combination
• Temperature sensor
• LED
• If temperature > 27 deg,
LED on. If not: off
Combination
• Temperature sensor
• LED
• If temperature > 27 deg,
LED on. If not: off
Connecting to the internet using ESP8266
Connecting to the internet using ESP8266
Connecting to the internet using ESP8266

Or go to:
https://www.youtube.com/watch?v=Tv2RMlIxBXs
Prelimary steps
• Choose board : Board manager
• Choose library : Include library
• Set preferences :
https://arduino.esp8266.com/stable/package_esp8266com_index.json
Connecting to internet
• Install Blynk
Tools ->
Manage
Library
• http://blynk.io
Connecting to internet
• Open serial monitor
Connecting to internet
• Type “AT” and send
Connecting to internet
• Type “AT+CWMODE=3” and send
Connecting to internet
• Type “AT+CWLAP” and send
Connecting to internet
• Type “AT+CWJAP="Access point name","Password"” and send

You might also like