Skip to content

Internet of Things Workshop

Internet of Things Workshop

Details

Learn how to connect your embedded devices (Arduino, Spark Core, Raspberry Pi, etc) together, over an Ethernet network, using the Multi-Queue-Telemetry-Transport (MQTT) protocol, to form your own IoT. Connect sensors (light switches, temperature sensors, etc) to actuators (relays, garage doors, thermostats, etc), allowing your devices and appliances to communicate and collaborate intelligently. Control your actuators over the internet through web pages or with your phone.

The Microsoft NERD center requires a photo ID to sign into the building. (Only have room for 24 people) Location/Parking details (http://microsoftnewengland.com/content/community-space-usage-guidelines)

This meetup is intended to be a workshop where you can:

  • bring your own hardware
  • build your own IoT client
  • connect your client to an IoT hub
  • communicate with other people's clients.

You're welcome to just come and listen, but I'd like for people to be able to follow along on your own hardware.

The minimal client hardware requirement:

  • Arduino
  • Ethernet or WiFi shield
  • Ethernet cable
  • laptop + USB cable to program the Arduino
  • small breadboard and jumper wires
  • led and 220 Ohm resistor
  • SPST (momentary, normally open) switch

If you also want to build your own MQTT Broker as well:

  • Raspberry Pi with SD memory card
  • Ethernet cable or WiFi adapter
  • Raspberry Pi USB power supply
  • laptop and SD card reader

Alternate client hardware options:

  • any micro-controller that has Ethernet capability and available MQTT libraries
  • any sensor (temperature, light, sound, RFID reader, etc)
  • any actuator (relay, motor, electric door strike, etc)

I'll assist people with the following procedures:

Set up a simple MQTT Broker

  • Install Raspbian on the Raspberry Pi
  • Install MQTT on the Raspberry Pi
  • Test subscribing and publishing to the MQTT broker

Set up an Arduino MQTT Client

  • Wire up a circuit with a button and an LED
  • Write a sketch that will allow the button to control the LED
  • Modify the sketch to publish to MQTT when the button is pressed
  • Modify the sketch to subscribe the LED control to MQTT

http://photos2.meetupstatic.com/photos/event/1/e/8/f/600_438547823.jpeg

Interface to the MQTT Broker from the internet:

  • Install Apache on the Raspberry Pi
  • Install node.js on the Raspberry Pi
  • Install socket.io to allow real-time web communication
  • Write a web page that will communicate to the MQTT broker through socket.io & node.js

http://photos4.meetupstatic.com/photos/event/4/3/0/5/600_438077157.jpeg

http://photos4.meetupstatic.com/photos/event/1/f/3/0/600_438547984.jpeg

This capability would be really great for any Arduino user group. It means that everyone can build their own projects, and then we can use this IoT backbone to network everyone's projects together.

Tutorials:
Creating you own Internet of Things (http://embeddedtek.blogspot.com/2015/06/creating-your-own-internet-of-things.html)
Real-Time Web Interface using Node.js and Socket.io (http://embeddedtek.blogspot.com/2015/06/real-time-web-interface-to-mqtt-using.html)

http://photos2.meetupstatic.com/photos/event/b/4/b/5/600_438586261.jpeg

Photo of The Boston Arduino Users Group group
The Boston Arduino Users Group
See more events
NERD
1 Memorial Drive · Cambridge, MA