Project Updates for 9/6/2018

So I worked on the software setup for the Hackulator so that I could perform some hardware testing. I had written a little document that outlined the steps of what I did, so I followed those and installed the battery monitor. When I ran it, I got a reading, but it appeared way off. Upon closer inspection, I had discovered that I soldered the 2 resistors in the wrong places. After swapping those I still wasn't getting a good voltage value. After looking at some data sheets, I discovered there's a few differences with the SPI communications between the MCP3008 and MCP3002. After making some adjustments (different config bits and doesn't require additional clock cycle) to the Python code, I got a fairly accurate reading that was off by just a hair, which works for me. The only big issue is that the program that displays the icon blacks out all of the screen except for the icon itself. I'll have to search for a different solution later, but we have a good circuit.

Next I tested the On button after shutting down the Pi and that was successful as well. After that I compiled my keypad program I wrote in C and pushed every button and it worked great. So that means my board design and soldering job was a success. The next steps are to continue with the assembly, which I've decided to just go with hot glue as that simplifies a lot of things and after that it will just be a matter of getting all of the various software components working.

Posted in Old Posts 06 Sep 2018