Source code examples used in my presention on Prototyping products for the Internet of Things using JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
display
nfc
.editorconfig
.gitignore
LICENSE
README.md
package-lock.json
package.json

README.md

Prototyping products for the Internet of Things using JavaScript

Source code examples used in my presention on Prototyping products for the Internet of Things using JavaScript

NFC Card Reader Example

This example uses an the Adafruit PN532 NFC/RFID controller breakout board.

Connect SCL on the reader to the B6 pin of the Espruino.
Connect SDA on the reader to the B7 pin of the Espruino.
Connect 5V on the reader to the 5V pin of the Espruino (left of the 3.3V).
Connect GND next to the SCL pin on the reader to the GND pin of the Espruino.

NFC wiring

Display Example

The example uses three Adafruit Mini 8x8 LED Matrix w/I2C Backpack.

They are hooked in parallel:

Display Wiring

The second display has the A0 jumper soldered (so it has the address 0x71), The third display has the A1 jumper soldered (so it has the address 0x72).

I use a free MQTT broker from cloudmqtt.com, copy the file ./display/cloudmqtt.com/.env.dist to ./display/cloudmqtt.com/.env and enter your details.

Now you can run node client.js in the ./display/cloudmqtt.com folder.