Tested the reworked protoboard tonight. Turns out I missed a line I was supposed to connect, so I had to put that in. After that I was able to test all the 5v and ground pins were working. To test the signal pins, I decided to wire it all up so far and test it out.
So far, the buttons and switches are working excellently. The joysticks initially seemed as though they were working better than ever, but closer inspection of the output revealed that although they calibrate well (they report the full 0-1023 range and report the correct midpoint value), I'm getting very strange results. When the joystick is all the way up, Y and Z report minimum values. When it's all the way down, X reports a minimum value. Very strange. I'll have to have a closer look at the board to make sure there's no crosstalk.
Once I get that straightened out, the next step is to finish up the updated() and toJSON() methods for the classes. If I can get that working, I can do my first full test and actually launch a damn rocket.
I did some brainstorming on how to work with the 24 LED barograph I'm planning on ordering. I looked over the library to see what I can (and can't) do with it. I'm thinking I'll have a relatively simple resource display. x/24 bars lit for the resource; light in green above 50%, yellow above 20%, red below 20%; highlight the estimated usage for the next 5 seconds in the next color. This will work for most resources, but I'm not sure how I want to implement the electrical charge/draw graph. Maybe I'll implement it as a two bar system, charge in green and draw in red. Where they cancel out will be yellow. Now that I'm thinking about it though, it doesn't look like Telemachus provides charge/draw data, so I may just have one "delta" figure. In which case, maybe it just makes sense to map it directly onto the electrical charge graph the same as the rest...something to think about.
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.