I'm coming down to the wire, literally, for my Think-a-Tron 2020 project. The anticipation is killing me but I have a couple of small problems. For one I'm a pin short. I thought I was OK based on the documentation I had on hand. This was my plan.
ESP32-CAM PIN | Think-a-Tron 2020 Connection |
GPIO 0 | Not Available Camera XCLK |
GPIO 1 | Trigger Sound Effect |
GPIO 2 | Player 1 Answer Buttons (ADC) |
GPIO 3 | NeoPixels (all 45 of them) |
GPIO 4 | Camera LED |
GPIO 12 | Score Counters SDI |
GPIO 13 | Score Counters SCLK |
GPIO 14 | Player 2 Answer Buttons (ADC) |
GPIO 15 | Score Counters LOAD |
GPIO 16 | ? Button *** |
The problem is that GPIO 16 is in fact used by the Camera although this is not documented anywhere I could find. Any use of GPIO 16 causes the camera to crash when capturing an image (sigh).
The other issue is that the analog readings that I am getting from the player inputs suck. Even averaging multiple analog reads sometimes results in the wrong button being "selected".
So I have ordered a 16 bit high precision 4 channel I2C IIC Analog-to-Digital Converter based on the ADS1115 PGA ADC converter chip (Amazon).
So in a couple of days I'll see if I can convert two pins for an I2C bus into 3 inputs: Player1, Player2, and ? buttons. Hopefully I can kill two problems with one piece of silicon.
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.