Skip to content

Pet on a ESP8266 device that can be fed carrots through the browser with NodeJS server

License

Notifications You must be signed in to change notification settings

HappyViki/esp8266-led-pet

Repository files navigation

ESP8266 LED Pet

ledpet

I used this project to learn C and about ESP8266 programming.

Watch video of it in action!

Quick Start

Prerequisites

Setup hardware from here

Software

Commands

git clone https://github.com/HappyViki/esp8266-led-pet.git

  • Config secrets-config.h with your wifi user/pass and server's network ip
  • Rename secrets-config.h -> secrets.h
  • Plug your device into the computer
cd esp8266-led-pet
npm install
pio run --target upload
node server.js

If the device is connected to the server correctly, it should start animating sad faces.

If it's not, it will just perpetually be happy.

Go to http://localhost:8080/ in your browser and click the carrot button.

You should see an eating animation on the device.

Helpful Links

About

Pet on a ESP8266 device that can be fed carrots through the browser with NodeJS server

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published