2. Embedded System and Microcontrollers
The Arduino
Basic Devices (LED , Buzzer , Keypad)
Sensors
My Projects
Arduino to Internet of things
Tweet using Arduino
Send sensor data to cloud server
3. MICROPROCESSORS
MICROCONTROLLERS
A microprocessor is a computer processor which incorporates the
functions of a computer’s CPU on single IC. It is a hardware that can
process logical code
A microcontroller is ‘all in one’ , the processor , ram ,rom and IO on the one chip
EMBEDDED SYSTEMS
An embedded system is some combination of computer hardware and software,
either fixed in capability or programmable, that is designed for a specific function or
for specific functions within a larger system.
4. Digital pins can read
or write 2 possible
values HIGH or LOW
(1 or 0), whereas
Analog pins can read a
value between 0 to
1023 and write a value
between 0 to 255.
5. AVR ATmega328
32KB ISP flash memory
1 KB EEPROM
2 KB SRAM
23 general purpose I/O lines
32 general purpose registers
3 program counters
1 –UART , 2SPI , 1 I2C
(digital communication peripherals)
12. Serial Peripheral Interface
It is a synchronous serial communication interface specification
used for short distance communication , primarily in
embedded systems
Offers high speed data transmission
Specifies 5 logic signals
1. SCLK
2. MOSI
3. MISO
4. SDIO
5. SS
Ex . EEPROM ,Sensors
14. ThingSpeak is an Internet ofThings (IoT) platform that lets you
collect and store sensor data in the cloud and develop
IoT applications
You can create sensor logging applications, location tracking
applications, and a social network of things with status updates.
15. TWEET USING ARDUINO
Arduino is the thingspeak client which sends HTTP request to the
thingspeak server
Register with thingspeak.com
Link your twitter account with the app thingtweet
Paste the generated api- key in your Arduino code
Connect your Arduino board to the thingspeak sending
http request
Execute a set of commands
Yee.You have tweeted from your Arduino board
16. Upload sensor data to cloud
Register yourself on thingspeak.com
Create a channel for viewing the live data that is being uploaded
Copy the write api key to your Arduino code
Connect your Arduino board to api.thingspeak.com
You will see a graphical representation of the data uploaded by
the sensor to the cloud server.