Extra information for the 'Making Things Smart' book by Gordon Williams (available from O'Reilly and Amazon)
This code is designed for Espruino JavaScript Microcontroller boards
An introduction to the book.
How is a microcontroller different to a normal PC? What is an ARM, some history of microcontrollers, and how is it different to 8 bit AVR microcontrollers used in many Arduino boards?
How to get your Espruino board up and running and issue your first commands.
An introduction to JavaScript for readers with experience of other languages.
Making motors, and controlling stepper motors.
Connecting a PC fan to an Espruino, and lighting the fan at exactly the same point at every revolution.
Using the PC fan with more markers to create a low-resolution TV.
- Experiment 9 Part 1
- Experiment 9 Part 2
- Experiment 9 Part 3
- Experiment 9 Part 4
- Experiment 10 Part 1
- Experiment 10 Part 2
Make a robot using two continuous-rotation servo motors and a piece of breadboard.
Using two servo motors, create a simple pen plotter.
With two servo motors and a light sensor, create a low-resolution camera.
Create a printer with a cardboard tube, threaded bar, and servo motors.
The oscilloscope used in this chapter is available from:
- Try it out: https://espruino.github.io/webaudio-oscilloscope/
- Source code: https://github.com/espruino/webaudio-oscilloscope
Using a web page and some simple hardware to decode infrared remote control signals with the headphone jack and control Dweet and IFTTT.
Using a 315Mhz/433Mhz receiver - also conected to the headphone jack - to decode radio signals, and then sending radio signals from an Espruino board.
Adding ESP8266 WiFi to an Espruino Pico, sending and getting data from the internet, and creating a web server to control things.
Using Puck.js to count the number of times a door has opened and transmit it over Bluetooth Low Energy.
- Experiment 34 Espruino JavaScript
- Experiment 34 HTML
- Experiment 35
- Experiment 36 Espruino JavaScript
- Experiment 36 HTML
Note: Google has shut down some features that were used for Experiment 35:
- Eddystone notifications are now disabled because of abuse by advertisers, so Eddystone devices will no longer appear as Android Notifications.
- The goo.gl URL shortener is shutting down so you'll need to use something like bit.ly instead.
Building a pen plotter with stepper motors so get much more accurate positioning.
- Experiment 38 Part 1
- Experiment 38 Part 2
- Experiment 38 Part 3 HTML
- Experiment 38 Part 4 HTML
- Experiment 38 Part 5
Connecting the pen plotter from Chapter 17 to the internet.
Ideas about what to do next.
Where to find/buy the materials used in this book.
A description of common Espruino JavaScript commands.
Writing ARM Thumb assembly code with Espruino
Where to find some of the component parts used in the book.
... to come soon.