by Sayanee for General Assembly Singapore
Follow along the slides at talks.sayan.ee/web-sensors
Refer to sample code
Prepare before workshop: software and hardware
use ➡️ ⬅️ keys to navigate
GA@Spacemobtalks.sayan.ee/web-sensorsgithub.com/sayanee/talks/tree/gh-pages/web-sensors/code| Computing layers | Examples | What changed? |
|---|---|---|
| App | your ideas | fast to prototype! |
| Framework | browser api, javascript libraries | now available |
| Programming | v8 on ARM, Lua JIT, Arduino | language support |
| Operating System | Raspbian, Android | embedded linux |
| Integrated Circuits | hardware platforms | more functionality |
| Physics | physical sensors | cheaper |
We learnt from our primary school science teachers
Any sufficiently advanced technology is indistinguishable from magic
~ Arthur C. Clarke
| johnny-five | laptop |
| firmata.js | laptop |
| serial-port | laptop |
| firmata program | arduino uno |
| arduino library | arduino uno |
| ATmega328p | arduino uno |
StandardFirmataPlus
Verify
Upload
iot1-blink.js with sample code
npm i johnny-fivenode 1-blink.js
sample code folder ~ 1 hour
Create a tiny project in pairs with the sensor values: example
| Electronics | Web |
|---|---|
| LED, Button, Temperature, Proximity, Servo, Buzzer, Humidity, Light, Accelerometer and other examples | CSS3 Animations, DOM, Mouse events, Web Audio, Unsplash / Flickr / IFTTT / Github APIs, WebRTC, SVG, Canvas |