Alright, I must not be getting something right.The cap charges just fine. I get around 318 V peak and then it starts to go down about 0.2 V a second or so after that. It was a bit hard getting to the cap leads to measure the voltage so I took the 3D printed mount off and was able to hold on to it to measure. One time, I must have had my fingers on the leads of my Fluke while trying to hold them steady and got a pretty hefty shock. Yeah, that one hurt!
1. Flip switch on for 3 seconds
2. After 3 seconds, bring switch low
3. Cap is charged and ready to cycle
4. Then it says to pull S_on or S_off high using the channel 7 or 8 switch. However, the code only supports on/neutral/off via a single channel so you can't pull either one on or off. That is, unless after you pull it low, you're supposed to go to the neutral position and then choose either on/off using the up/down switch position of a 3 position switch. It's just not clear.
In code speak, 1-4 is as follows from what I understand from the code online for ArduCopter:
1. Set S_on high, S_off low for at least 3 seconds
2. S
et S_on low, S_off high after 3 seconds,3. Cap is ready
4. At this point, S_off is already high and S_on is low. All you can do is flip the switch to set S_on high and S_off low.
For me, it seems there is a disconnect between the manual, the ArduCopter code, and what I wrote in Arduino that's not working.
I found that the latest iteration of what I'm doing seems to at least do something close to right as each time I turn it on/off, I hear something turning on, which could be my BEC going under load temporarily. The voltage will spike back to 317 V at that point but after that, it just drops.
I'm really confused at this point and am not sure what else I can do with it.
I attached the latest version of the code I'm using in Arduino but at this point, I'm stuck and can't think of anything else.
Thanks.
Oh, and that shock really hurt! I'm not sure what I touched but it would be nice to confirm where NOT to touch while it's charged.
Also, how long does it take to discharge? I'm hesitant to pick it up now to move it because I don't want another shock!