Each tile has an Adafruit Feather Huzzah (based on ESP8266) or a NodeMCU running a webserver and responding to requests over wifi from ScratchX. Individual tiles are connected to the wifi network. The number of tiles is not fixed, we've used 9 tiles in our work.
- Adafruit Feather Huzzah (uses ESP8266) or NodeMCU, one micro-processor per tile.
- TileNet currently supports 5 pin control from ScratchX (3 on/off, 2 pwm). For simplicity in the software it refers to digital pins 1, 2 and 3 (mapped to Feather Huzzah, 12, 13 and 14) and dimmable (pwm) pins 1 and 2 (mapped to Feather Huzzah 4 and 5).
- Arduino development software (www.arduino.cc)
- Feather Huzzah ESP8266 development libraries for Arduino (installed via Arduino Library Manager) https://learn.adafruit.com/adafruit-feather-huzzah-esp8266/using-arduino-ide
- Web server software downloaded onto each Feather Huzzah, using Arduino development software. Github repository https://github.com/megjlow/tiles. This uses the library: https://github.com/megjlow/httpd. Ensure you enter the ssid and password for your wifi network before compiling files.
- ScratchX Extension (http://megjlow.github.io/extension2.js
- Identifying the Feather Huzzah IP address (requires a second Feather Huzzah). It can be tricky finding the IP address of your potential tile, so the software https://github.com/megjlow/UdpReceiver when downloaded to a second Feather Huzzah looks at your network and prints out the IP address of any Feather Huzzah's running TileNet (need to use the Serial Monitor).
- Tiles can be configured to use your existing wifi network by configuring the software downloaded onto each Feather Huzzah. Its also possible to configure separate network router so that each Feather Huzzah has a dedicated IP address and name on this separate wifi network.
Other useful items for creating tiles.
- Multiple LEDs, I use LED’s that are prewired with a resistor for LED protection.
- Battery box: 3 x AA batteries or MicroUSB power bank
- IC hooks to connect tile circuitry to the Feather Huzzah.
- 3 way and 2 way jelly crimps (as used for telecom applications)
- Crimp tool - to crimp gel crimps
- box or other container to create your tile
- Felt or other material to decorate it.