Roller Shutter RFID Access Control PCB. Uses an ESP-32-C3 (Lolin C3 Mini)
The PCB has been designed to fit into ide EL161 enclosure.
In the software folder you will find two programs:
- test is a simple script for doing hardware debugging. It provides a quick way to check that the LEDs are all working, and to toggle the relay on and off
- doorlock is a submodule of another git repo: https://github.com/swanseahackspace/doorlock. This is currently incompatable with this hardware, but will be modified to support both it's original hardware and the ESP-32-C3 via a flag in the config file.
- Arduino IDE or equivalent
- Arduino Libraries:
- Adafruit Graphics
- Adafruit SSD1306 Wemos Mini OLED
- Clone git repo
git clone https://github.com/swanseahackspace/roller-shutter-controller
- Go into the doorlock directory
cd software/doorlock
- Initialise the submodule
git submodule init
- Update the submodule
git submodule update
-
Open .ino file in Arduino IDE
-
Plug the board into your machine via the USB type-C port on the ESP-32-C3
-
Check the correct port is set in the Arduino IDE (Tools -> Port)
-
Upload the code to the ESP32
Errors uploading code to ESP-32-C3 Use the following procedure:
- Hold on Button 9
- Press Button Reset
- Release Button 9 When you hear the prompt tone on usb reconnection