1 / 10

Introduction Arduino

Introduction Arduino. Ballooning Bundle. What is a Microcontroller?. Small computer with a processor core, memory and programmable input/output Continuously repeats software commands Example: Arduino. Arduino UNO. Digital Pins. USB Connector. Battery Connector. Analog Pins.

raisie
Télécharger la présentation

Introduction Arduino

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Introduction Arduino Ballooning Bundle

  2. What is a Microcontroller? • Small computer with a processor core, memory and programmable input/output • Continuously repeats software commands • Example: Arduino

  3. Arduino UNO Digital Pins USB Connector Battery Connector Analog Pins Power Pins

  4. Arduino MEGA Digital Pins Serial Pins USB Connector Battery Connector Power Pins Analog Pins

  5. Introduction to Software • Arduino has its own software development tool • Can be downloaded for free • Comparable to C language • All programs must have setup and loop functions • Many things have off the shelf software prewritten • Look online for example code and tutorials

  6. BareMinimum void setup() { // put your setup code here, to run once: } void loop() { // put your main code here, to run repeatedly: }

  7. Serial Communication • Transmit and Receive (TX and RX pins) • Arduino – Computer • GPS – Aduino

  8. Specialized Pins: SPI • Serial Peripheral Interface • Is a synchronous serial data protocol • Used by microSD shield, and MicroMagnetometer

  9. Specialized Pins: I2C Bus • Inter-Integrated Circuit • Uses two pins for communication • SDA: Serial Data Line • SCL: Serial Clock Line • On an Uno, pins A4 and A5 are used for I2C • Used by real time clock

  10. 1-Wire Digital Bus • Similar to I2C, only 1 digital pin used (1 wire) • Can support multiple sensors • Wire must be powered using 5V and a pull-up resistor to work • Used by digital temperature sensor

More Related