This is an example of the Wifigotchi running on the JavaScript runtime Espruino on an ESP8266 based board, the Adafruit Feather HUZZAH.
- Adafruit Feather HUZZAH1 or any ESP12 based ESP8266 boards
- 8x8 LED Matrix Any color, as long as it has the
- Breadboard
- Breadboarding wire
- Flasher.js (To installer/flash Espruino on your ESP8266 board)
- Node.js / npm
Make sure you've flashed the Espruino runtime using the one-click flasher utility, Flasher.js. You only need to do this once.
Clone or download the project.
$ git clone https://github.com/thingsSDK/wifigotchi-example.git
Install the dependancies.
$ npm install
Modify devices.json
with your COM/serial port. Replace COM7
to your port.
Rename credentials.example.json
to credentials.json
and modify with your wifi connectivity settings.
{
"SSID": "PASSWORD",
"ANOTHER_SSID": "THAT_OTHER_PASSWORD"
}
For example, if your home wifi network was NETGEAR52
and your password was LetMeIn
change the code to this.
{
"NETGEAR52": "LetMeIn"
}
If you wanted your device to connect to your work network WORK
aswell, you can add another entry to the credentials.
{
"NETGEAR52": "LetMeIn",
"WORK": "dadada"
}
When you're done run the push command to deploy it to your device.
$ npm run push
Then visit http://wifigotchi.com and click a face and watch your internet enabled Wifigotchi change it's face!