The Primary Repository for the Systems Workshop SP-26 (Build your own Simon Says with ESP32 and learn to use the ESP platform)
Please follow the shared setup document from the email to install. Same is also available in the repository. Steps are condensed into the following phases
-
Arduino IDE install
-
Libraries install
-
USB Driver Install CP2102 (Link to download driver: https://www.silabs.com/software-and-tools/usb-to-uart-bridge-vcp-drivers?tab=downloads) Do let us know if you face any troubles here!
-
AWS console login verification
Adafruit GFX: https://github.com/adafruit/Adafruit-GFX-Library
Adafruit SSD 1306: https://github.com/adafruit/Adafruit_SSD1306
Adafruit Bus IO: https://github.com/adafruit/Adafruit_BusIO
Arduino MQTT: https://github.com/256dpi/arduino-mqtt
Arduino JSON: Goto Sketch > Include Libraries > Manage Libraries > Search for "Arduino JSON" > Install 0.2.0 version
Goto Boards Manager > Search for ESP32 by Espressif Systems (not the arduino one) > Install boards
Please note that to upload code to the board, if it doesnt upload and keeps timing out, Please press the EN button at time oon the ESP32 if that doesnt work hold the BOOT button when it attempts to upload (just the boot button not the EN and BOOT both at once)
Here's a great resource that you can use to learn version management with git!
https://www.w3schools.com/git/default.asp?remote=github
Channels: simon/game simon/response
Press a button for Simon says 'A' { "round": 1, "simon_says": 1, "button": "A" }
Press a button but not Simon Says lets say 'B' { "round": 1, "simon_says": 0, "button": "A" }
Round number is just for cosmetic tracking, Simon says 1 means true and simon asks you to do it 0 means simon didnt say to do it. Buttons can be 'A', 'B', 'C', 'D'.