[ 3 / biz / cgl / ck / diy / fa / ic / jp / lit / sci / vr / vt ] [ index / top / reports ] [ become a patron ] [ status ]
2023-11: Warosu is now out of extended maintenance.

/diy/ - Do It Yourself

Search:


View post   

>> No.1001979 [View]
File: 9 KB, 977x282, cuber_01a.png [View same] [iqdb] [saucenao] [google]
1001979

>>1000893
>My original thought was to have a touch zone for each "button" I would need (Which would be every face, corner, and edge so a total of 26 inputs that way). Then I figured I could instead make a touch zone for each needed area, but send them back to an OR gate/IC or whatever they're actually called and send signals back to just 6 inputs.
>ie. I touch the front face, and it goes through the OR gate and the pin it's connected to will read high.
The problem I see with this is that you might have issues if you want to be able to signal 2 or 3 sides (by pressing them) as opposed to signaling one edge.
If you made all the faces + edges + corners button areas--then that would avoid the issue, but then you'd need to drive 26 different capacitive buttons. (pic related)
That sounds like a lot, but there are little I2C breakout boards for driving 12 capacitive buttons--look for a "MPR121" breakout board.

>Also the cheapo Uno that fucked up my board backfed through the USB connection when I attached an external power supply to the Vin but was still watching the serial monitor
I have seen where if I have an arduino project that uses external power, it may not run properly when hooked up to a PC at all.
I have to unplug the USB cable, and then power down all the external power supplies for a few seconds before turning them back on to test-run the arduino.
The main issue I've seen related to this is with the TFT resistive touch-screens. After a couple sketch uploads, the touch-sensitive part simply stops sending all on its own.
Everything ELSE works, just the touch-screen function stops.....
After several days of frustration, I found that I have to disconnect the USB and do the power-off-on thing to get it to work again.

Navigation
View posts[+24][+48][+96]