Home Creators Posts Import Register Favorites Logout

Content

(Shhh! This is the super-secret stuff for your Patreon-eyes only :) )

Please find the code (for ESP32 or Arduino), the wiring diagram, and a folder containing all the 3D models I used at the following Google Drive link:

https://drive.google.com/drive/folders/1FgS1HGYsaXcouAs0r_i3-kldUy7KF3JT?usp=sharing

Links to purchase the exact components I used are:

ESP32https://www.banggood.com/custlink/GvmKq6b0Rt

LCD2004 with I2C backpackhttps://www.banggood.com/custlink/mG3EO6066Y

MFRC522 RFID readerhttps://www.aliexpress.com/item/1005004147866715.html

Rotary Encoderhttps://www.banggood.com/custlink/G3Gp5RPtpe

If you have any questions or comments about the code, please ask them here!

Comments

Bill Campo

Alastair, I'm really intrigued by this one and perhaps I should have picked an easier one to start my dive into this stuff. (not a programmer at all) I cannot get this to work. I've re-wired a couple of times and am now looking into the code. I've noticed the diagram has some inconsistencies to my beginner's eye. For example the ground wire coming off the rotary switch is going to the D27 pin. Also in line 49 of the code the clock pin is set to 27 but in the diagram it is 25. My LCD display shows "Launch Console Insert disc to upload file data" but thats it. RFID doesn't detect known good tags. One other thing I've noticed is my RFID tags & cards show 7 or 8 character IDs, not in the format that you show in your code. What should I be using to detect the proper ID? I'm guessing that get's put in place on lines 42, 43 and 44 of the code.

Eric Gutierrez

Thank you, this was a fun project and I was really interested to see how to program the LCD 2004. I tried changing a few things to experiment, but I had one problem that I could not figure out. I added an extra floppy disk as you commented and it worked great but I cannot get a 4th led to light up when the correct file is uploaded. I added a 4th pin to the ledpins [] line, but I have not been able to find what im doing wrong. I'm sure it is a rookie mistake, do you have a suggestion to point me in the correct direction