arduino sketch for cat-signal at layerze.ro
Go to file
forest 2fe0ac61be Update ReadMe.md 2024-01-24 08:03:43 +00:00
ReadMe.md Update ReadMe.md 2024-01-24 08:03:43 +00:00
cat-signal.jpg reupload 2023-06-23 22:20:26 -05:00
cat-signal.png reupload 2023-06-23 22:20:26 -05:00
cat_signal_arduino_sketch.txt reupload 2023-06-23 22:20:26 -05:00
upload.jpg reupload 2023-06-23 22:20:26 -05:00

ReadMe.md

cat-signal 🐱☎️

cat-signal hardware with blue light

screenshot of the cat-signal bot posting in matrix

The cat-signal runs on an ESP8266 microcontroller that has Wifi and support for HTTP built in.

The cat-signal will contact a service called layerzero-status hosted on beet.layerze.ro. layerzero-status is the one who posts to matrix.

layerzero-status source code

cat-signal build & deploy

NOTE: As far as I know, cat-signal has always been programmed by the arduino IDE running on the raspberry pi that is installed inside Polly Bass. However if you are brave, you should be able to program it from any computer.

Steps to upload the arduino sketch to the microcontroller:

See: how-to-install-esp8266-board-arduino-ide

  1. install the arduino IDE
  2. open the 'cat_signal_arduino_sketch.txt' file
  3. plug in the microcontroller to your computer via USB
  4. In your Arduino IDE, go to File > Preferences
  5. Enter http://arduino.esp8266.com/stable/package_esp8266com_index.json into the “Additional Boards Manager URLs” field
    • Note: if you already have the ESP32 boards URL, you can separate the URLs with a comma.
  6. Open the Boards Manager. Go to Tools > Board > Boards Manager...
  7. Search for ESP8266 and press install button for the “ESP8266 by ESP8266 Community“:
  8. Go to Tools > Board > ESP8266 Boards > Generic ESP8266 Module to select the correct board profile.
  9. Click the upload button, you should see something like this:
  • Uploading... 55%... Uploading 74%...