SlideShare uma empresa Scribd logo
Exploring new ways to interact
with the Internet of Things.
By Kevin Rohling and Steve Arnold
9:30 - 10:15: Intro and Setup
BREAK
10:30 - 11:15: Designing For The IoT
BREAK
11:30 - 12:15: Building A Capacitive Touch Sensor (Hardware)
BREAK
12:30 - 1:30: Writing the Touch Sensor Software
Workshop Agenda
Kevin Rohling
VP of Software Products @ emberlight
Steve Arnold
Chief Design Officer @ emberlight
@kevinrohling
kevinr@emberlight.co
@steveonwire
steve@emberlight.co
Introductions
We help to make emberlight
Workshop Description
Our goal is to develop a new way of
interacting with smart devices.
Workshop Description
To do this, we’ll learn how to turn any surface
into a touch sensor using Capacitive Touch.
Workshop Description
We will build our touch sensor using a Spark Core and aluminum foil.
And, we’ll use the emberlight API to control our lights.
Environment Setup (Part 1)
GOAL: Setup Spark Dev
STEP 1: Visit https://github.com/emberlight/mce15-workshop and download the
links in the README.
STEP 2: Log into http://spark.io/build using the username and password at your
workstation.
Environment Setup (Part 2)
GOAL: Be able to upload code to your Spark Core
STEP 4: Plug the Spark Core into one of your USB Ports
STEP 5: Select a Device from the Menu: Spark > Select device
STEP 6: Press the button to upload the code to your Spark Core.
Exploring new ways to interact
with the Internet of Things.
BREAK: 10:15-10:30
Designing for the IoT
Exploring new ways to interact
with the Internet of Things.
BREAK: 11:15-11:30
Building a Capacitive Touch Sensor
Breadboarding Intro
This thing in the middle
here is your Spark Core.
Breadboarding Intro
This big white thing with all the
holes is your breadboard
To connect something to the Spark Core first
find the pin label.
This, for example,
is the D7 pin.
Breadboarding Intro
To connect something to the Spark Core first
find the pin label.
And this is
the GND pin.
Breadboarding Intro
To connect something to a pin, insert it into
the breadboard holes next to the pin.
For example, to connect something to the
GND pin you can use either of these two
holes.
Breadboarding Intro
To connect something to a pin, insert it into
the breadboard holes next to the pin.
Or to connect something to the 3V3 pin you
can use either of these two holes.
Breadboarding Intro
Step 1: Make your touch sensor
This is quite easy. Just wrap something in aluminum foil.
Step 2: Connect your touch sensor
Connect a wire from D4 to your touch sensor.
Step 3: Connect the resistor
Connect the Resistor to pins D1 and D4 on the Spark Core.
Step 4: Connect the LED
Connect the long end of the LED to the D7 pin and the short end to GND.
The LED should turn on when you plug it in.
Step 5: Open the Spark Serial Monitor
Open Menu: Show serial monitor and connect to the Spark Core
You should see a stream of numbers coming in
Exploring new ways to interact
with the Internet of Things.
BREAK: 12:15-12:30
Writing the Touch Sensor software
Step 1: Open the MCE Workshop project
http://spark.io/build
How does the software detect a touch?
The “SEND PIN” (D1) is directly connected to the
“RECEIVE PIN” (D4) using a large resistor (~1MΩ).
How does the software detect a touch?
To determine if the sensor is being touched, our
software will increase the voltage on the SEND PIN.
Then we measure how long it takes for the
RECEIVE PIN to see the increase in voltage.
How does the software detect a touch?
When you touch the sensor, it causes the aluminum
foil to act like a capacitor and absorb charge.
This makes it take longer for the charge to travel to
the RECEIVE PIN.
Step 2: Open the Spark Dev Serial Monitor
Notice that the numbers in the console get bigger when you are touching the sensor.
Step 3: Set the touch threshold value
Based on the numbers you see in the Serial Monitor find a new
value for the touch threshold in the loop() method.
A correct value will cause the LED to toggle on and off when you
touch the sensor.
Remember to use the button to
upload your code to the Spark Core.
Step 4: Activate the emberlight connection
After the toggleLed() line add toggleEmberlight() to the next line.
Remember to use the button to
upload your code to the Spark Core.
We hope you’ve enjoyed the workshop!
@emberlightco
http://emberlight.co
Download the code: http://github.com/emberlight

Mais conteúdo relacionado

Mais procurados

#5 logic probe
#5 logic probe#5 logic probe
#5 logic probesscholle
 
Arduino to Control Bulbs using Web App
Arduino to Control Bulbs using Web AppArduino to Control Bulbs using Web App
Arduino to Control Bulbs using Web AppSanjay Kumar
 
faculty of science's python programming
faculty of science's python programmingfaculty of science's python programming
faculty of science's python programmingDineshChandwani4
 
MIT App Inventor + Arduino + Bluetooth
MIT App Inventor + Arduino + BluetoothMIT App Inventor + Arduino + Bluetooth
MIT App Inventor + Arduino + Bluetoothmike parks
 
CONTROLLING HOME APPLIANCES WITH IOT,BLYNK APP & NODE MCU
CONTROLLING HOME APPLIANCES WITH IOT,BLYNK APP & NODE MCUCONTROLLING HOME APPLIANCES WITH IOT,BLYNK APP & NODE MCU
CONTROLLING HOME APPLIANCES WITH IOT,BLYNK APP & NODE MCUVINAY KUMAR GUDELA
 
advanced low cost voice recognition based smart home automation using android
advanced low cost voice recognition based smart home automation using androidadvanced low cost voice recognition based smart home automation using android
advanced low cost voice recognition based smart home automation using androidkiranrocks
 
Home Automation System using Arduino and Android
Home Automation System using Arduino and AndroidHome Automation System using Arduino and Android
Home Automation System using Arduino and AndroidMuhammad Ayesh
 
Home automation system
Home automation systemHome automation system
Home automation systemRaadSabah
 
Social thermoregulation research: technologies
Social thermoregulation research: technologiesSocial thermoregulation research: technologies
Social thermoregulation research: technologiesRobin van Emden
 
Home automation using blynk app with fan direction control and displaying sta...
Home automation using blynk app with fan direction control and displaying sta...Home automation using blynk app with fan direction control and displaying sta...
Home automation using blynk app with fan direction control and displaying sta...Diwash Kapil Chettri
 
Home automation
Home automationHome automation
Home automationengfaz
 
How to make an interactive light display that showts how a robot is feeling
How to make an interactive light display that showts how a robot is feelingHow to make an interactive light display that showts how a robot is feeling
How to make an interactive light display that showts how a robot is feelingNeil Winterburn
 
Our Arduino Project
Our Arduino ProjectOur Arduino Project
Our Arduino ProjectMarcoPadial
 
Energy saving using pir sensor
Energy saving using pir sensorEnergy saving using pir sensor
Energy saving using pir sensorHimani Harbola
 

Mais procurados (20)

#5 logic probe
#5 logic probe#5 logic probe
#5 logic probe
 
6.4.3comparison2
6.4.3comparison26.4.3comparison2
6.4.3comparison2
 
Arduino to Control Bulbs using Web App
Arduino to Control Bulbs using Web AppArduino to Control Bulbs using Web App
Arduino to Control Bulbs using Web App
 
faculty of science's python programming
faculty of science's python programmingfaculty of science's python programming
faculty of science's python programming
 
Our arduino project
Our arduino projectOur arduino project
Our arduino project
 
MIT App Inventor + Arduino + Bluetooth
MIT App Inventor + Arduino + BluetoothMIT App Inventor + Arduino + Bluetooth
MIT App Inventor + Arduino + Bluetooth
 
CONTROLLING HOME APPLIANCES WITH IOT,BLYNK APP & NODE MCU
CONTROLLING HOME APPLIANCES WITH IOT,BLYNK APP & NODE MCUCONTROLLING HOME APPLIANCES WITH IOT,BLYNK APP & NODE MCU
CONTROLLING HOME APPLIANCES WITH IOT,BLYNK APP & NODE MCU
 
advanced low cost voice recognition based smart home automation using android
advanced low cost voice recognition based smart home automation using androidadvanced low cost voice recognition based smart home automation using android
advanced low cost voice recognition based smart home automation using android
 
Home automation
Home automationHome automation
Home automation
 
Home Automation System using Arduino and Android
Home Automation System using Arduino and AndroidHome Automation System using Arduino and Android
Home Automation System using Arduino and Android
 
Home automation system
Home automation systemHome automation system
Home automation system
 
Node wireless sensor
Node wireless sensorNode wireless sensor
Node wireless sensor
 
Social thermoregulation research: technologies
Social thermoregulation research: technologiesSocial thermoregulation research: technologies
Social thermoregulation research: technologies
 
Weekly report1
Weekly report1Weekly report1
Weekly report1
 
Rs2
Rs2Rs2
Rs2
 
Home automation using blynk app with fan direction control and displaying sta...
Home automation using blynk app with fan direction control and displaying sta...Home automation using blynk app with fan direction control and displaying sta...
Home automation using blynk app with fan direction control and displaying sta...
 
Home automation
Home automationHome automation
Home automation
 
How to make an interactive light display that showts how a robot is feeling
How to make an interactive light display that showts how a robot is feelingHow to make an interactive light display that showts how a robot is feeling
How to make an interactive light display that showts how a robot is feeling
 
Our Arduino Project
Our Arduino ProjectOur Arduino Project
Our Arduino Project
 
Energy saving using pir sensor
Energy saving using pir sensorEnergy saving using pir sensor
Energy saving using pir sensor
 

Semelhante a Exploring new ways to interact with the Internet of Things.

Intro to Arduino
Intro to ArduinoIntro to Arduino
Intro to Arduinoavikdhupar
 
NSTA 2013 Denver - ArduBlock and Arduino
NSTA 2013 Denver - ArduBlock and ArduinoNSTA 2013 Denver - ArduBlock and Arduino
NSTA 2013 Denver - ArduBlock and ArduinoBrian Huang
 
OTP Based Smart Wireless Locking System using Aurdino
OTP Based Smart Wireless Locking System using AurdinoOTP Based Smart Wireless Locking System using Aurdino
OTP Based Smart Wireless Locking System using AurdinoSwapanMandal12
 
Arduino electronics cookbook
Arduino electronics cookbookArduino electronics cookbook
Arduino electronics cookbookFelipe Belarmino
 
Ceis101 final joshua_brown
Ceis101 final joshua_brownCeis101 final joshua_brown
Ceis101 final joshua_brownJoshuaBrown233
 
Basic arduino sketch example
Basic arduino sketch exampleBasic arduino sketch example
Basic arduino sketch examplemraziff2009
 
Project 1 Tutorial 1a rev 2.pptx
Project 1 Tutorial 1a rev 2.pptxProject 1 Tutorial 1a rev 2.pptx
Project 1 Tutorial 1a rev 2.pptxazarulfahminabhamid
 
295889096 music-reactive-multicolor-led-lights
295889096 music-reactive-multicolor-led-lights295889096 music-reactive-multicolor-led-lights
295889096 music-reactive-multicolor-led-lightsMaheshSrinivasan25
 
SMART BUNK BED CHILD MONITORING SYSTEM.pdf
SMART BUNK BED CHILD MONITORING SYSTEM.pdfSMART BUNK BED CHILD MONITORING SYSTEM.pdf
SMART BUNK BED CHILD MONITORING SYSTEM.pdfUmesh chandra
 
Ardublock tutorial
Ardublock tutorialArdublock tutorial
Ardublock tutorialJakie_Li
 
Arduino Slides With Neopixels
Arduino Slides With NeopixelsArduino Slides With Neopixels
Arduino Slides With Neopixelssdcharle
 
Project_report_on_Attendance_system
 Project_report_on_Attendance_system Project_report_on_Attendance_system
Project_report_on_Attendance_systemAmi Goswami
 
Arduino Workshop (3).pptx
Arduino Workshop (3).pptxArduino Workshop (3).pptx
Arduino Workshop (3).pptxHebaEng
 
Arduino comic v0004
Arduino comic v0004Arduino comic v0004
Arduino comic v0004DO!MAKERS
 
Electronz_Chapter_2.pptx
Electronz_Chapter_2.pptxElectronz_Chapter_2.pptx
Electronz_Chapter_2.pptxMokete5
 
Getting startedwitharduino ch04
Getting startedwitharduino ch04Getting startedwitharduino ch04
Getting startedwitharduino ch04Anil Yadav
 
Learn Evothings Studio along with ESP8266
Learn Evothings Studio along with ESP8266Learn Evothings Studio along with ESP8266
Learn Evothings Studio along with ESP8266Hammad Tariq
 

Semelhante a Exploring new ways to interact with the Internet of Things. (20)

Intro to Arduino
Intro to ArduinoIntro to Arduino
Intro to Arduino
 
NSTA 2013 Denver - ArduBlock and Arduino
NSTA 2013 Denver - ArduBlock and ArduinoNSTA 2013 Denver - ArduBlock and Arduino
NSTA 2013 Denver - ArduBlock and Arduino
 
OTP Based Smart Wireless Locking System using Aurdino
OTP Based Smart Wireless Locking System using AurdinoOTP Based Smart Wireless Locking System using Aurdino
OTP Based Smart Wireless Locking System using Aurdino
 
Arduino electronics cookbook
Arduino electronics cookbookArduino electronics cookbook
Arduino electronics cookbook
 
Ceis101 final joshua_brown
Ceis101 final joshua_brownCeis101 final joshua_brown
Ceis101 final joshua_brown
 
Basic arduino sketch example
Basic arduino sketch exampleBasic arduino sketch example
Basic arduino sketch example
 
Project 1 Tutorial 1a rev 2.pptx
Project 1 Tutorial 1a rev 2.pptxProject 1 Tutorial 1a rev 2.pptx
Project 1 Tutorial 1a rev 2.pptx
 
Arduino
ArduinoArduino
Arduino
 
Beginning arduino
Beginning arduinoBeginning arduino
Beginning arduino
 
295889096 music-reactive-multicolor-led-lights
295889096 music-reactive-multicolor-led-lights295889096 music-reactive-multicolor-led-lights
295889096 music-reactive-multicolor-led-lights
 
SMART BUNK BED CHILD MONITORING SYSTEM.pdf
SMART BUNK BED CHILD MONITORING SYSTEM.pdfSMART BUNK BED CHILD MONITORING SYSTEM.pdf
SMART BUNK BED CHILD MONITORING SYSTEM.pdf
 
Ardublock tutorial
Ardublock tutorialArdublock tutorial
Ardublock tutorial
 
Arduino Slides With Neopixels
Arduino Slides With NeopixelsArduino Slides With Neopixels
Arduino Slides With Neopixels
 
Project_report_on_Attendance_system
 Project_report_on_Attendance_system Project_report_on_Attendance_system
Project_report_on_Attendance_system
 
Arduino Workshop (3).pptx
Arduino Workshop (3).pptxArduino Workshop (3).pptx
Arduino Workshop (3).pptx
 
Arduino Comic-Jody Culkin-2011
Arduino Comic-Jody Culkin-2011Arduino Comic-Jody Culkin-2011
Arduino Comic-Jody Culkin-2011
 
Arduino comic v0004
Arduino comic v0004Arduino comic v0004
Arduino comic v0004
 
Electronz_Chapter_2.pptx
Electronz_Chapter_2.pptxElectronz_Chapter_2.pptx
Electronz_Chapter_2.pptx
 
Getting startedwitharduino ch04
Getting startedwitharduino ch04Getting startedwitharduino ch04
Getting startedwitharduino ch04
 
Learn Evothings Studio along with ESP8266
Learn Evothings Studio along with ESP8266Learn Evothings Studio along with ESP8266
Learn Evothings Studio along with ESP8266
 

Último

Extensible Python: Robustness through Addition - PyCon 2024
Extensible Python: Robustness through Addition - PyCon 2024Extensible Python: Robustness through Addition - PyCon 2024
Extensible Python: Robustness through Addition - PyCon 2024Patrick Viafore
 
Structuring Teams and Portfolios for Success
Structuring Teams and Portfolios for SuccessStructuring Teams and Portfolios for Success
Structuring Teams and Portfolios for SuccessUXDXConf
 
Enterprise Knowledge Graphs - Data Summit 2024
Enterprise Knowledge Graphs - Data Summit 2024Enterprise Knowledge Graphs - Data Summit 2024
Enterprise Knowledge Graphs - Data Summit 2024Enterprise Knowledge
 
UiPath Test Automation using UiPath Test Suite series, part 1
UiPath Test Automation using UiPath Test Suite series, part 1UiPath Test Automation using UiPath Test Suite series, part 1
UiPath Test Automation using UiPath Test Suite series, part 1DianaGray10
 
Strategic AI Integration in Engineering Teams
Strategic AI Integration in Engineering TeamsStrategic AI Integration in Engineering Teams
Strategic AI Integration in Engineering TeamsUXDXConf
 
Agentic RAG What it is its types applications and implementation.pdf
Agentic RAG What it is its types applications and implementation.pdfAgentic RAG What it is its types applications and implementation.pdf
Agentic RAG What it is its types applications and implementation.pdfChristopherTHyatt
 
Optimizing NoSQL Performance Through Observability
Optimizing NoSQL Performance Through ObservabilityOptimizing NoSQL Performance Through Observability
Optimizing NoSQL Performance Through ObservabilityScyllaDB
 
PLAI - Acceleration Program for Generative A.I. Startups
PLAI - Acceleration Program for Generative A.I. StartupsPLAI - Acceleration Program for Generative A.I. Startups
PLAI - Acceleration Program for Generative A.I. StartupsStefano
 
The Metaverse: Are We There Yet?
The  Metaverse:    Are   We  There  Yet?The  Metaverse:    Are   We  There  Yet?
The Metaverse: Are We There Yet?Mark Billinghurst
 
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdfSimplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdfFIDO Alliance
 
What's New in Teams Calling, Meetings and Devices April 2024
What's New in Teams Calling, Meetings and Devices April 2024What's New in Teams Calling, Meetings and Devices April 2024
What's New in Teams Calling, Meetings and Devices April 2024Stephanie Beckett
 
SOQL 201 for Admins & Developers: Slice & Dice Your Org’s Data With Aggregate...
SOQL 201 for Admins & Developers: Slice & Dice Your Org’s Data With Aggregate...SOQL 201 for Admins & Developers: Slice & Dice Your Org’s Data With Aggregate...
SOQL 201 for Admins & Developers: Slice & Dice Your Org’s Data With Aggregate...CzechDreamin
 
Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...
Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...
Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...FIDO Alliance
 
Intro in Product Management - Коротко про професію продакт менеджера
Intro in Product Management - Коротко про професію продакт менеджераIntro in Product Management - Коротко про професію продакт менеджера
Intro in Product Management - Коротко про професію продакт менеджераMark Opanasiuk
 
ECS 2024 Teams Premium - Pretty Secure
ECS 2024   Teams Premium - Pretty SecureECS 2024   Teams Premium - Pretty Secure
ECS 2024 Teams Premium - Pretty SecureFemke de Vroome
 
Speed Wins: From Kafka to APIs in Minutes
Speed Wins: From Kafka to APIs in MinutesSpeed Wins: From Kafka to APIs in Minutes
Speed Wins: From Kafka to APIs in Minutesconfluent
 
Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)
Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)
Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)Julian Hyde
 
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptxIOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptxAbida Shariff
 
UiPath Test Automation using UiPath Test Suite series, part 2
UiPath Test Automation using UiPath Test Suite series, part 2UiPath Test Automation using UiPath Test Suite series, part 2
UiPath Test Automation using UiPath Test Suite series, part 2DianaGray10
 
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptxUnpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptxDavid Michel
 

Último (20)

Extensible Python: Robustness through Addition - PyCon 2024
Extensible Python: Robustness through Addition - PyCon 2024Extensible Python: Robustness through Addition - PyCon 2024
Extensible Python: Robustness through Addition - PyCon 2024
 
Structuring Teams and Portfolios for Success
Structuring Teams and Portfolios for SuccessStructuring Teams and Portfolios for Success
Structuring Teams and Portfolios for Success
 
Enterprise Knowledge Graphs - Data Summit 2024
Enterprise Knowledge Graphs - Data Summit 2024Enterprise Knowledge Graphs - Data Summit 2024
Enterprise Knowledge Graphs - Data Summit 2024
 
UiPath Test Automation using UiPath Test Suite series, part 1
UiPath Test Automation using UiPath Test Suite series, part 1UiPath Test Automation using UiPath Test Suite series, part 1
UiPath Test Automation using UiPath Test Suite series, part 1
 
Strategic AI Integration in Engineering Teams
Strategic AI Integration in Engineering TeamsStrategic AI Integration in Engineering Teams
Strategic AI Integration in Engineering Teams
 
Agentic RAG What it is its types applications and implementation.pdf
Agentic RAG What it is its types applications and implementation.pdfAgentic RAG What it is its types applications and implementation.pdf
Agentic RAG What it is its types applications and implementation.pdf
 
Optimizing NoSQL Performance Through Observability
Optimizing NoSQL Performance Through ObservabilityOptimizing NoSQL Performance Through Observability
Optimizing NoSQL Performance Through Observability
 
PLAI - Acceleration Program for Generative A.I. Startups
PLAI - Acceleration Program for Generative A.I. StartupsPLAI - Acceleration Program for Generative A.I. Startups
PLAI - Acceleration Program for Generative A.I. Startups
 
The Metaverse: Are We There Yet?
The  Metaverse:    Are   We  There  Yet?The  Metaverse:    Are   We  There  Yet?
The Metaverse: Are We There Yet?
 
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdfSimplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
 
What's New in Teams Calling, Meetings and Devices April 2024
What's New in Teams Calling, Meetings and Devices April 2024What's New in Teams Calling, Meetings and Devices April 2024
What's New in Teams Calling, Meetings and Devices April 2024
 
SOQL 201 for Admins & Developers: Slice & Dice Your Org’s Data With Aggregate...
SOQL 201 for Admins & Developers: Slice & Dice Your Org’s Data With Aggregate...SOQL 201 for Admins & Developers: Slice & Dice Your Org’s Data With Aggregate...
SOQL 201 for Admins & Developers: Slice & Dice Your Org’s Data With Aggregate...
 
Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...
Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...
Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...
 
Intro in Product Management - Коротко про професію продакт менеджера
Intro in Product Management - Коротко про професію продакт менеджераIntro in Product Management - Коротко про професію продакт менеджера
Intro in Product Management - Коротко про професію продакт менеджера
 
ECS 2024 Teams Premium - Pretty Secure
ECS 2024   Teams Premium - Pretty SecureECS 2024   Teams Premium - Pretty Secure
ECS 2024 Teams Premium - Pretty Secure
 
Speed Wins: From Kafka to APIs in Minutes
Speed Wins: From Kafka to APIs in MinutesSpeed Wins: From Kafka to APIs in Minutes
Speed Wins: From Kafka to APIs in Minutes
 
Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)
Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)
Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)
 
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptxIOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
 
UiPath Test Automation using UiPath Test Suite series, part 2
UiPath Test Automation using UiPath Test Suite series, part 2UiPath Test Automation using UiPath Test Suite series, part 2
UiPath Test Automation using UiPath Test Suite series, part 2
 
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptxUnpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
 

Exploring new ways to interact with the Internet of Things.

  • 1. Exploring new ways to interact with the Internet of Things. By Kevin Rohling and Steve Arnold
  • 2. 9:30 - 10:15: Intro and Setup BREAK 10:30 - 11:15: Designing For The IoT BREAK 11:30 - 12:15: Building A Capacitive Touch Sensor (Hardware) BREAK 12:30 - 1:30: Writing the Touch Sensor Software Workshop Agenda
  • 3. Kevin Rohling VP of Software Products @ emberlight Steve Arnold Chief Design Officer @ emberlight @kevinrohling kevinr@emberlight.co @steveonwire steve@emberlight.co Introductions
  • 4. We help to make emberlight
  • 5. Workshop Description Our goal is to develop a new way of interacting with smart devices.
  • 6. Workshop Description To do this, we’ll learn how to turn any surface into a touch sensor using Capacitive Touch.
  • 7. Workshop Description We will build our touch sensor using a Spark Core and aluminum foil. And, we’ll use the emberlight API to control our lights.
  • 8. Environment Setup (Part 1) GOAL: Setup Spark Dev STEP 1: Visit https://github.com/emberlight/mce15-workshop and download the links in the README. STEP 2: Log into http://spark.io/build using the username and password at your workstation.
  • 9. Environment Setup (Part 2) GOAL: Be able to upload code to your Spark Core STEP 4: Plug the Spark Core into one of your USB Ports STEP 5: Select a Device from the Menu: Spark > Select device STEP 6: Press the button to upload the code to your Spark Core.
  • 10. Exploring new ways to interact with the Internet of Things. BREAK: 10:15-10:30
  • 12. Exploring new ways to interact with the Internet of Things. BREAK: 11:15-11:30
  • 13. Building a Capacitive Touch Sensor
  • 14. Breadboarding Intro This thing in the middle here is your Spark Core.
  • 15. Breadboarding Intro This big white thing with all the holes is your breadboard
  • 16. To connect something to the Spark Core first find the pin label. This, for example, is the D7 pin. Breadboarding Intro
  • 17. To connect something to the Spark Core first find the pin label. And this is the GND pin. Breadboarding Intro
  • 18. To connect something to a pin, insert it into the breadboard holes next to the pin. For example, to connect something to the GND pin you can use either of these two holes. Breadboarding Intro
  • 19. To connect something to a pin, insert it into the breadboard holes next to the pin. Or to connect something to the 3V3 pin you can use either of these two holes. Breadboarding Intro
  • 20. Step 1: Make your touch sensor This is quite easy. Just wrap something in aluminum foil.
  • 21. Step 2: Connect your touch sensor Connect a wire from D4 to your touch sensor.
  • 22. Step 3: Connect the resistor Connect the Resistor to pins D1 and D4 on the Spark Core.
  • 23. Step 4: Connect the LED Connect the long end of the LED to the D7 pin and the short end to GND. The LED should turn on when you plug it in.
  • 24. Step 5: Open the Spark Serial Monitor Open Menu: Show serial monitor and connect to the Spark Core You should see a stream of numbers coming in
  • 25. Exploring new ways to interact with the Internet of Things. BREAK: 12:15-12:30
  • 26. Writing the Touch Sensor software
  • 27. Step 1: Open the MCE Workshop project http://spark.io/build
  • 28. How does the software detect a touch? The “SEND PIN” (D1) is directly connected to the “RECEIVE PIN” (D4) using a large resistor (~1MΩ).
  • 29. How does the software detect a touch? To determine if the sensor is being touched, our software will increase the voltage on the SEND PIN. Then we measure how long it takes for the RECEIVE PIN to see the increase in voltage.
  • 30. How does the software detect a touch? When you touch the sensor, it causes the aluminum foil to act like a capacitor and absorb charge. This makes it take longer for the charge to travel to the RECEIVE PIN.
  • 31. Step 2: Open the Spark Dev Serial Monitor Notice that the numbers in the console get bigger when you are touching the sensor.
  • 32. Step 3: Set the touch threshold value Based on the numbers you see in the Serial Monitor find a new value for the touch threshold in the loop() method. A correct value will cause the LED to toggle on and off when you touch the sensor. Remember to use the button to upload your code to the Spark Core.
  • 33. Step 4: Activate the emberlight connection After the toggleLed() line add toggleEmberlight() to the next line. Remember to use the button to upload your code to the Spark Core.
  • 34. We hope you’ve enjoyed the workshop! @emberlightco http://emberlight.co Download the code: http://github.com/emberlight