ESP32 Codelock With Touchscreen

Introduction: ESP32 Codelock With Touchscreen

A lot of people asked me for a very simple code example for ArduiTouch to test their work and also as starting point for own developments. This very simple codelock will demonstrate the basic functions of Arduitouch without any bells and whistles and can be extended with additional features of your choice...

Step 1: Tools & Materials

Materials:

Tools:

  • Soldering iron
  • Side cutting pliers
  • Needle nose pliers
  • Medium cross slot screwdriver
  • thin solder wire

Software:

  • Arduino IDE

Step 2: Assembly of Arduitouch

Please follow the attached assembly instruction for the assembly of the ArduiTouch kit.

Step 3: Installation of Additional Libraries

Install the following libraries through Arduino Library Manager

You can also download the library also directly as ZIP file and uncompress the folder under yourarduinosketchfolder/libraries/

After installing the Adafruit libraries, restart the Arduino IDE.

Step 4: Source Code

You will find the latest version of the source code on Github

In the source code you can set the code number :
#define codenum 42

(of course 42 is the answer for everything, but you can change this to any number between 0 and 999999.)

Step 5: Run the Demo

Please open this sample in the Arduino IDE. After compilation and upload you will see the keypad. Now you can enter a code number and confirm with „OK“ button.

Be the First to Share

    Recommendations

    • Toys & Games Contest

      Toys & Games Contest
    • Big vs Small Challenge

      Big vs Small Challenge
    • Fix It Challenge

      Fix It Challenge

    4 Comments

    0
    MarcelS9
    MarcelS9

    Reply 1 year ago

    I'm not critizing you I'm only trying to bring awareness to the fact that there are so many unofficial/cloned/fake "NodeMCU" boards out there. Much of what happens in China will remain forever foggy for us.
    The official spec sheet http://wiki.ai-thinker.com/_media/esp32/docs/nodemcu-32s_product_specification.pdf uses the NodeMCU logo and name. However, whether that is a pretty brazen copyright violation or whether they obtained usage rights is unclear.

    0
    Zihatec
    Zihatec

    Reply 1 year ago

    hi,
    thx for this information. it was new for me that "NodeMCU" is a brand. I was thinking this is only a description for ESP8266 and ESP32 modules in the same form factor...
    (because so many modules called "NodeMCU" are on the market ;-)

    BR
    Hartmut