Remote Sensor Interface for IoT Martin Hutchins Nicholas O’Dell Joe Cooper
Deliverables Simple interface for digital, analog, SPI, and I2C I/O Remote access and control Solar power with battery Dual platform: Raspberry Pi – More capabilities but with more overhead and cost AVR – Fewer capabilities but cheaper and more plug- and-play
Scope Our project goal is to deliver a simple device which can be used to send and receive data remotely to and from any number of devices and sensors. This device will serve as a point in the “Internet of Things.” That is, a sensor could be connected to the device, and the data from that sensor could be read remotely. Likewise, our device could be used to remotely send signals to another connected device.
Iot device list Raspberry Pi zero Arduino AVR Atmega328 ATTINY85 PICs PIC 18F2550
Raspberry Pi Zero Cost = $5 A Broadcom BCM2835 application processor 1GHz ARM11 core (40% faster than Raspberry Pi 1) 512MB of LPDDR2 SDRAM A micro-SD card slot A mini-HDMI socket for 1080p60 video output Micro-USB sockets for data and power An unpopulated 40-pin GPIO header Identical pinout to Model A+/B+/2B
Arduino AVR ATtiny85 cost about $0.99 Uses Arduino for the programmer (which makes this a more likely choice because the IDE is free and available anywhere) But less capabilities than the Pi Zero Ex. We would need more hardware for this meaning an Arduino to start ($30) and lack of pins
ATMEGA328 High Performance, Low Power Atmel®AVR® 8-Bit Microcontroller Family Two Master/Slave SPI Serial Interface 23 Programmable I/O Lines Cost between $3 & $6
PICs More built-in capability PIC 18F2550 WiFi, Bluetooth, etc. Comparable to ATMega 328
PIC vs. AVR AVR: Cheaper development Programmable via Arduino USI to emulate I2C/SPI More online support PIC: More costly development software/hardware More capability
Outline Get RPi working with SPI, ADC, I2C Output data to webpage Transfer to RPi Zero Get Arduino working with SPI, I2C, IR Transfer to AVR Circuit design Integrate solar panel with back-up battery