Skip to content

Latest commit

 

History

History
78 lines (55 loc) · 2.5 KB

File metadata and controls

78 lines (55 loc) · 2.5 KB

Table of Contents

Introduction

Roller Shutter RFID Access Control PCB. Uses an ESP-32-C3 (Lolin C3 Mini)

Hardware

Enclosure

The PCB has been designed to fit into ide EL161 enclosure.

KiCad Renders

Top down 3D view Bottom up 3D View

Assembly Render

Assembly render

Software

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.

Requirements

  • Arduino IDE or equivalent
  • Arduino Libraries:
    • Adafruit Graphics
    • Adafruit SSD1306 Wemos Mini OLED

Installation

  1. Clone git repo
git clone https://github.com/swanseahackspace/roller-shutter-controller
  1. Go into the doorlock directory
cd software/doorlock
  1. Initialise the submodule
git submodule init
  1. Update the submodule
git submodule update
  1. Open .ino file in Arduino IDE

  2. Follow the Wemos/Lolin C3 Mini Arduino development guide

  3. Plug the board into your machine via the USB type-C port on the ESP-32-C3

  4. Check the correct port is set in the Arduino IDE (Tools -> Port)

  5. Upload the code to the ESP32

Troubleshooting

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