Hi, beholder,
Ok, here's some notes that might help you too. I reviewed the voltage divider issue with an electrical engineer friend, and suggested that R1 and R2 be 47 kilo ohms and 18 kilo ohms, respectively. With 7 volts in, the output is right at 5.02 volts.
((NOTE!- THE RESISTOR VALUES IN THE LINE ABOVE ARE NOT CORRECT: They disregard the normal working range at A1 on the arduino, which is 0-1.1volts. See the reply below from Sean...))
I set it up on the bench, and it does work. Here's a video of the test:
Bench test of pypilot with IBT_2 mcu
If I monitor the voltage on the output of the divider, I mostly see 5.5volts there as the motor pulses.
Do you have your current and thermal sensors reporting back to pypilot from the imu correctly? Mine are not working yet. If you modify your motor.ino, please let me know, and I'll check it against this set up.
Thanks again for your notes! They've been a huge help.
Elliott
Ok, here's some notes that might help you too. I reviewed the voltage divider issue with an electrical engineer friend, and suggested that R1 and R2 be 47 kilo ohms and 18 kilo ohms, respectively. With 7 volts in, the output is right at 5.02 volts.
((NOTE!- THE RESISTOR VALUES IN THE LINE ABOVE ARE NOT CORRECT: They disregard the normal working range at A1 on the arduino, which is 0-1.1volts. See the reply below from Sean...))
I set it up on the bench, and it does work. Here's a video of the test:
Bench test of pypilot with IBT_2 mcu
If I monitor the voltage on the output of the divider, I mostly see 5.5volts there as the motor pulses.
Do you have your current and thermal sensors reporting back to pypilot from the imu correctly? Mine are not working yet. If you modify your motor.ino, please let me know, and I'll check it against this set up.
Thanks again for your notes! They've been a huge help.
Elliott