Download presentation
Published byElliot Bobbett Modified over 9 years ago
1
Arduino & Raspberry Pi Special Interest Group Presents…
Platforms March 5, 2015
2
Designer: Dan Simpson, AE7IH Designer: Chuck Zappala, KE7SA
Arduino Platform Designer: Dan Simpson, AE7IH Designer: Chuck Zappala, KE7SA
3
The Arduino Platform Micro-controller Many types, scalable
Programmable, IDE - Integrated Development Environment Analog & Digital I/O I/O add on components Add on circuit boards (Shields) Open source hardware and software Low cost, typically less than $40 Available through many outlets
4
Arduino Types and Sizes
5
Arduino Uno Version 3
6
Very Large Assortment of Sensors
7
Many Development Kits
8
An Arduino Shield (add on board) adding Bluetooth Wireless Capability
9
Shields and Modules are Stackable
10
Interactive Development Environment
11
Standard Libraries EEPROM - reading and writing to "permanent" storage
Ethernet - for connecting to the internet using the Arduino Ethernet Shield Firmata - for communicating with applications on the computer using a standard serial protocol. GSM - for connecting to a GSM/GRPS network with the GSM shield. LiquidCrystal - for controlling liquid crystal displays (LCDs) SD - for reading and writing SD cards Servo - for controlling servo motors SPI - for communicating with devices using the Serial Peripheral Interface (SPI) Bus SoftwareSerial - for serial communication on any digital pins. Version 1.0 and later of Arduino incorporate Mikal Hart's NewSoftSerial library as SoftwareSerial. Stepper - for controlling stepper motors TFT - for drawing text , images, and shapes on the Arduino TFT screen WiFi - for connecting to the internet using the Arduino WiFi shield Wire - Two Wire Interface (TWI/I2C) for sending and receiving data over a net of devices or sensors.
12
Controlling a Stepper Motor
Fritzing Diagram
13
C++ Code is called a “Sketch”
// Controlling a servo position using a potentiometer (variable resistor) // by Michal Rinott < #include <Servo.h> Servo myservo; // create servo object to control a servo int potpin = 0; // analog pin used to connect the potentiometer int val; // variable to read the value from the analog pin void setup() { myservo.attach(9); // attaches the servo on pin 9 to the servo object } void loop() val = analogRead(potpin); // reads the value of the potentiometer (value between 0 and 1023) val = map(val, 0, 1023, 0, 179); // scale it to use it with the servo (value between 0 and 180) myservo.write(val); // sets the servo position according to the scaled value delay(15); // waits for the servo to get there
14
Parts and Resources Adafruit.com arduino.cc Yourduino.com
tronixstuff.com opensourcehardwaregroup.com
15
Designer: Russ Sherwin, AD6ZL
Arduino in action Designer: Russ Sherwin, AD6ZL
16
Demonstrating a Few Ideas for Arduino
Two Arduinos, one passing data to the other Use of various color displays Implementation of a touchscreen display How Arduino and custom PCB can be stacked Use of interrupts; the dual function generator is entirely interrupt driven. The LOOP statement is empty An optically isolated (to 500v) RS-232 link Using Arduino to pass data to PC USB port Using PC to display data in lieu of or in addition to the small color displays.
17
Function Generators, Two Versions
Top: Dual Function Generator with touchscreen based on Arduino Mega Bottom: Early single output version, LCD screen using Arduino UNO.
18
Arduino-based Function Generator
Based on an Arduino Mega, this incorporates a touch screen front panel to control two separate function generators, each capable of sine, square, triangle wave generation from sub-Hz to about 13 Mhz. Two custom designed PCBs are used for the frequency generation; the Arduino does all of the touch screen work. Since the generators are completely independent, one can be used to modulate the other in either AM or FM mode. In addition, it has external inputs that can be used to measure and display frequency.
19
Function Generator, Inside view
Board stack: Arduino Mega left; two sig gen boards, then touchscreen display board.
20
Solar Monitor Display Based on a 5” 800 x 480 pixel display, this system uses two “Ardweeny” modules, one for measurement and the other for display management linked by RS232
21
Solar Monitoring System A/D & Amps
This is the measurement end. It does the A/D conversion and ships the result over to the display end via RS-232. It’s optically coupled for isolation.
22
Solar Monitoring System Display
The display end showing the back of the display driver board and the display logic PCB with the “Ardweeny” in the lower right.
23
Solar Monitoring System, PC Display
This is more or less the same display running on a PC using Processing 2 language, similar to Visual Basic. The Ardweeny passes data to the PC via USB. Both displays can run simultaneously and output data to an Excel file.
24
Designer: Tom Azlin, W7SUA
Raspberry Pi Platform Designer: Tom Azlin, W7SUA
25
The Raspberry Pi Platform
Low cost credit-card sized computer Uses various Linux based kernel OS, on board, GUI Uses ARM1176JZF-S (ARMv6k) 700 MHz CPU, system on a chip 256 MB up to 512 MB Uses an external computer monitor, keyboard and mouse Needs a 5 volt micro USB power supply Uses the Scratch, Python, C, C++, Java, and Ruby languages Does just about everything a full PC does Driver APIs for expandability Costs typically less than $40 Widely available through many outlets
26
The Raspberry PI Model B+ Board
27
The Raspberry PI Model A Board
28
The Raspberry PI Compute Module
29
Connections
30
I/O Pins
31
Demos R-Pi Digital Voice Hotspot using DV Adapter
10miliwatt UHF transceiver AMBE VOCODER not needed Works with 1600 ircDDB and US Trust repeaters R-Pi DVB-T GNU VHF-UHF Receiver and Spectrum Display (show) R-Pi Digital Modes Terminal with fldigi (show) Used either USB SignaLink or Sound daughter card R-Pi Digital Voice MODEM (show) AMBE Daughter Card
32
R-Pi based D-STAR Hotspot
33
Software Defined Receiver!!!
34
…and it works!!!
35
Smaller Version
36
R-Pi Links for Further Reading
– Main Site - R-Pi optimized Debian - Information on R-Pi - Plug in radios ml/raspiberry.html - using radios getting an R-PI - R-Pi ham radio apps - R-Pi based IRLP node EchoLink R-Pi node using DVB-T dongle for a Pi Radio - APRS
37
Thanks for attending our presentation
Thanks for attending our presentation! Stop by at our demo table to see our projects up close and ask questions. The SIG is welcoming new members to help you get started and share information and ideas.
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.