![]() It would need to be able to do this, preferably for every frame of data sent by KSP, or the ball might end up jittery. The DAC values are sent over I2C to the DAC chips. The polarity values are just digital out pins being high or low. The three lookup table values and the three polarity values would be output. The actual value sent to the DAC would be absolute (stripped of sign) (rather than an actual sine value, it might be easiest to just store the DAC attenuation values in the lookup table, aka, figure out the results of the multiplication and just store that, to avoid the multiply)Ī sign check would be need to be performed to determine what polarity the switch output of each of the three "sine" outputs is. I imagine a lookup table would possibly be the most efficient route to go with that. Then it would need to take those three numbers and find (I think) the *sine value for them. If the two results are > than 360, then subtract 360. Store that number, then add 120 and 240 to it. Read the correct number out of the data packet sent to it Coding should be easier, by separating tasks so each individual controller only has a somewhat singular task to perform. ![]() I will have dedicated microcontrollers for each general sub-system. The only difference in their program would be which number they read from the packet, but otherwise, the three controllers would almost identical software. I think I'd run a single Arduino or Teensy per each axis (three axes, three controllers). I need to work out the required waveforms for driving an axis of the FDAI. If you're really willing to help out with the programming aspects, then I would be quite grateful. I am very happy to have learned KiCAD, as it means doing the Navball controller more easily. ![]() My biggest issue, is I need the time to sit down and play with the stuff, but by the time I'm done with work (been working full days, even though I'm only supposed to be part time, and have another job on top of that). I worry that would need far more custom firmware that I have no idea how to make. If I ever set aside the time to do it, I could probably get my mail keyboard working, but I have no idea how to do the hot swapping number pad. Soon ™ There are firmware packages that are supposed to be easily modded to conform to your custom layout, but my issue is I need an I2C port expander chip to be hot swappable, for my keyboard's unique features to work. My old keyboard is actually starting to go, so I need to get my mechanical keyboard programmed as well, first even. Honestly, I've gone nearly a year without major advances. I have not worked out the programming side of things. Might not even be noticeable! I still have no idea what happened to my large toner transfer drum, but worst case scenario, there are MANY smooth round things in the world to use to laminate the filter layers Have you gotten the C programming worked out? Because if not, I'd be more than happy to lend a hand. It does mean I might get a dimmer overall per segment brightness when more segments are lit, but since most of the resistance is per segment, it shouldn't be bad. Annoying as it might be, it'll be a huge pain to refit all the individual resistors, so I'll probably just tack a low value resistor, capable of handling the power requirements of all segments, to the cathode of each LED display. I'm not happy with the current draw, and I suspect I don't need the brightness to be that intense. I think I want to adjust the resistors on the LEDs. While not particularly exciting, I've definitely thought about driving the diode ROMs. Thankfully, I leaned to use KiCAD in that time, which will greatly benefit the FDAI controller build. I still can't belive it's been about a year since I did the diode ROMs. So, ranting aside, I've thought about little details and stuff over the past year. At least right now, the people I work with these days are pretty awesome. Thing is, it's hard to argue with the incredible security of the position, or the good coworkers. I'm burning out there, and they are absolutely taking advantage of the fact that I know it's the most secure thing I've ever had in my entire life. It's stressful, it kills ALL my time, and I know they are definitely taking advantage of me. Long story short, I'm so worn out at my job.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |