Close

The Next Part

A project log for modHCI Panel - The Ultimate CPU Control Panel

"Modular Human Computer Interface Panel" - An easy open source control panel for anyone and everyone - and it fits on a desk!

E. GramesE. Grames 08/23/2018 at 09:341 Comment

So I know this log has been a long time coming, and that is entirely my own fault. I tend to be a little overambitious on my time estimates, and there were other things I had to do before I could get back to this.

Side note for any of my long-time followers on Instructables: Part of the delay was because I finally ordered a 3D printer! Yay! we can expect whole tons of new projects from this development!

Anyhow, back to the topic. This log will be primarily discussing the wiring of this project and how I'm going to go about it. 

I have 3 panels, each will have their own Micro. 

The Left panel has 8 buttons and 8 corresponding LEDs. I have 12 I/O pins (well technically there's more but I'm in a habit of leaving the TX and RX pins open) and 6 Analog pins. 

There would be a total of 16 pins needed for this configuration. now, I could reduce that to 8 by using a matrix. Problem is, it's really hard to use a matrix as a sensor grid at the same time as using it for an LED display. So, I'll wire it the traditional way.

The Center (or Centre for our friends in Britland) Panel has 16 buttons, a 5-way switch, and EL wire. I was going to add NeoPixels, but it's a bit too much to try and handle that as well. 

Since I don't need a display matrix, I can go ahead and wire the buttons in an 8 pin matrix. The 5-way switch and the EL wire will populate the analog pins.

For the EL wire, I think I need to use a transistor (it has a button-activated circuit) but I might be able to get away with rewiring it into the 5V from the Arduino and then just pulling a pin High/low with the common ground allowing it to work like a button. I did actually mod my power supply previously, it use to have one of those circuits where you press the button to cycle through modes. I since removed that chip, added a jumper where it used to be, and changed the button out for a switch.  Now the EL wire is a solid On/Off deal.

For the right panel, I'm not going to bother until I finish the other two, because the RFID and LCD are just such a pain to wire correctly, and then I still have to compile the libraries and write what will end up being an insanely long code to get a "menu" of sorts going... Yeah, I'm just going to forget about that for now. I'll see if anyone else has published a code for something similar to draw some tips. 

Anyway, Ill get to it, and I'll publish another log with the results soon.

Discussions

E. Grames wrote 08/27/2018 at 14:12 point

I just realized after writing this that I forgot about the LEDs next to the function buttons. Which threw my matrix idea to scrap. Oh well, we'll give it another go on a different project. 

  Are you sure? yes | no