Programming with Arduinos and Rapsberry Pi Ignacio Ramirez ignacio@adicu.com
This workshop The Arduino and its components Programming with Arduinos Practice Microcomputers(Raspberry Pi) vs Arduino Introduction and set-up Programming
This workshop We will post the slides on Facebook Go to the following link to download the Arduino IDE: https://www.arduino.cc/en/Main/Software
Arduino Microcontroller. An open-source electronics platform that allows you to receive information of the surroundings and control your hardware They have pins to receive input and give output (in the form of voltage) Connected to a computer to ”receive” the software program Shields: Boards that extend the Arduino’s capabilities Program Arduinos using C++
Arduino
Arduino IDE
Arduino Shields Xbee: Allows for wireless communication Motor Control: for DC motors
Arduino Operating/Input voltage of 5V Processor is slower than most microcomputers 32kb of Flash memory 2kb of RAM Not ideal for large programs
Programming with Arduinos Download the IDE: https://www.arduino.cc/en/Main/Software
Programming with Arduinos Connect the Arduino to a USB port and launch the IDE Go to Tools-Board and check the model of your Arduino Tools-Serial Port: Select the USB port (usbmodem) Sketch: An Arduino program
Programming with Arduinos Lets write the first program!!
Programming with Arduinos
Programming with Arduinos
Programming with Arduinos
Microcomputers A microcomputer is a small, relatively inexpensive computer with a microprocessor as its central processing unit (CPU). It includes a microprocessor, memory, and input/output (I/O) facilities. Raspberry Pi Qualcomm Dragonboard/Snapdragon Intel Galileo
Microcomputers Connected to a keyboard, mouse and monitor, but still run without them! Can be powered to the wall or a battery More memory and processing power than an Arduino
Microcomputers First, install the OS. Most come with Linux installed Raspberry Pi comes with an SD card that allows you to choose the OS at set-up. Raspbian Jessie is the most complete You are taken to the desktop. You have a new computer!
Microcomputers Microcomputers can connect to Wifi and Bluetooth. They have a File Manager, a Terminal and a Browser
Microcomputers The GPIO Library: Allows you to control the output pins of the board
Microcomputers The GPIO Library: Allows you to control the output pins of the board
Microcomputers (Qualcomm Dragonboard 410) Pre-loaded with Debian Linux Connect to Wifi using: This opens a GUI that allows you to connect to Wifi networks
Microcomputers (Qualcomm Dragonboard 410)
Microcomputers (Qualcomm Dragonboard 410) Access the GPIO’s Give yourself super-access:
Microcomputers (Qualcomm Dragonboard 410) Access the GPIO’s
Microcomputers (Qualcomm Dragonboard 410)
Resources https://developer.qualcomm.com/download/db410c/mlh-quick-start- guide.pdf
Thanks for coming!