Arduino Labs Introduction


Published on

This explains about arduino labs and is intro to arduino labs.

Published in: Self Improvement
  • Be the first to comment

  • Be the first to like this

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

Arduino Labs Introduction

  1. 1. Arduino Labs Arduino Labs V4 Dated June 10,2011
  2. 2. Why Arduino It is low cost - Just Rs 500/- gets you started. It is easy - 1 hours on PC and you are confident. It is open source - nothing is hidden. It is multi platform - Windows, Linux, Apple Mac OSX It can create complex applications/ products.
  3. 3. Simple Labs Lab 1 deals with just one LED, start with a simple blinker to code that says SOS or SMS (morse code) Lab 2 deals with serial port or interface computer with Arduino Port Lab 3 onwards there are little more complex devices ranging from Numeric displays to GSM/GPS devices.
  4. 4. What will you learn Basic Grammer, Simple commands Communication between 2 devices (computer and embedded unit) Communication between 3 devices (complex embedded unit, simple embedded unit and computer)
  5. 5. What Next Interface simple other devices - Alpha numeric devices - Key board and Digital Display - Real Time Clock - Relay and Opto couplers - Temprature, Current, Voltage - DTMF Signals
  6. 6. After That Integrate Multiple Devices Add user interface / sequence Create a real life application that inspires you.
  7. 7. Material Required Computer with Linux/Windows/MAC OS with RS232 port Arduino Board with pre-programmed ic with boot loader +12V Power Supply RS232 Cable Arduino Circuit and pin out details
  8. 8. Installation Download and Install latest version of Arduino software. Connect Arduino board with power supply and RS232 port. Note the mcu on Arduino and Serial port of computer Run ARDUINO. Select board and port from tool menu.
  9. 9. Arduino Pin Numbers Arduino board has 20 I/O lines. Numbered from 0 to 19 All are general purpose I/O Some has additional functions Pin 13 is LED on Board. It glows when pin is HIGH and off when LOW. Others will be discussed later
  10. 10. Some Common Words Sketch - Program that runs on the arduino boards. Digital - Only two values 1(HIGH) or 0(LOW). Analog - Multiple values (like volume, light intensity) Usually has a range from 0 to 255. Pin - input or output connected to something like switch or led.
  11. 11. More Common Words Port - Serial port on which arduino is connected for uploading the program (sketch). Bootlaoder - Like OS. A program that starts first. Wait for new user program. If nothing received then start the existing user’s program. Upload - A process done at computer that sends the user program via serial
  12. 12. Just Remember Select proper com port (Tools | Serial port) Select proper board (Tools | Boards). For version 1 it is Arduino NG or Older with ATMEGA168 (some may have ATMEGA8) When uploading ensure that Hyperteminal is disconnected or close.
  13. 13. ICSP LED14 (POWER) JP4 00 0 D2 D3 D1 1 2 3 4 5 ANALOG IN DC1 LED1(Rx) LED0(Tx) C1 C2 C3 R3 R2 R1 R4 R5 R6 R7 R8 AREF 0V 13 12 11 10 9 8 7 6 5 4 3 2 1 0 PWM (PWM-AT168) T1 T2 C7C6 C8 PIN 13 9V5V NC RST SCL SDA POWER C5 L1 S1 R9 R10 R11 C9 JP0 TX RX SERIAL ENABLE PIN 0/1 GND REF PIN 2(TxD) PIN 3(RxD) PIN 4(DSR) PIN 5(GND) 16MHz AUTORESET C4 MISO SV MOSI GND SCK RST 12V GND RESET 14 15 16 17 18 19 DIGITAL
  14. 14. Pin Mapping Analog 0-5 are also Digital 14-19
  15. 15. Common Queries I am doing MCA. I have no Idea about elecronics. - That’s okay. - There is no electronics more than you have in PC. - In PC you connect key board, mouse, pen driver, external HDD/CDROM, modem or Monitor. - Here also you may connect some boards like GPS or GSM or Display.
  16. 16. Common Queries This is too simple. I plan to work on sound analysis or TCP/IP protocols - That’s okay. - Inital labs deal with leds and serial port. - Very soon you will be able to connect to a server via TCP protocols or connet to ethernet or control a complete elevator with this board. - By the way the speed of this board is more than 3X of that of IBM/PC - first popular computer that you may remember
  17. 17. Common Queries This is only for hobby - Yes, this is for hobby. - And at the same time, it is used for commercial and power ful application. - Some application that we have installed are remote monitoring of Mobile Phone Towers and Traffic Timers. - Check on web, you may be able to find lot more serious application than hobby applications
  18. 18. Common Queries This version is with RS232 and only for Desktop - This is an entry level model costing Rs 500/- - Next model with USB connectivity is also available. - More models with memory upto 128kb and I/Os upto 50 are available. - They of course cost more. Yet the same programs will work on them as it is.
  19. 19. Common Queries Do I have to buy boards from you. - The complete details including PCB design, circuit diagram are available from - All parts as well as complete boards are available in local markets in India. We recommend - On line training is open and free. - Personal training is paid. There is nothing extra that is not on website.
  20. 20. Contact Have more ideas, queries, suggestions? Contact me at - Vinay Chaddha email : SMS : 9811074026 know more about me at gvc3065
  21. 21. Check us online Join our facebook page at Buy products from open.embedded
  22. 22. Spread the knowledge This training is at zero cost to you We request you to explain the process and give demo to 20 more students. Update their names, college name, course name, semster, email id and mobile number to trainees