HELP! Need to spoof receiver values with arduino
« on: January 21, 2018, 05:28:09 am »
Hi! We've been through hours of documentation and code, and are just about to pull out our hair and give up. We are at a hackathon with about 9 hours left to build our project, and are stuck.


We are trying to emulate a receiver with an arduino using the servo library to send microsecond PWM values to a CC3D chip. However, we have no idea what to do with the configurations for input.


Is there a way to use the arduino to control the drone while the CC3D chip does stabilization?


f5soh

  • *****
  • 4572
    • LibrePilot
Re: HELP! Need to spoof receiver values with arduino
« Reply #1 on: January 21, 2018, 11:01:18 am »
Hi,

Not sure if a arduino Uno can output 4 accurate PWM signals at same time.

Try the config file attached. cc3d_settings_bob.uav
According to the Input configuration you need to connect :
Throttle to first signal wire
Roll to second signal wire
Pitch to third signal wire
Yaw to the fifth signal wire


Be sure the outputs are wired correctly, according to this picture.
Output1 go to the NW motor, etc..


Calibrate neutrals in Output tab, using the "test outputs" checkbox.

At end when all is fine you need to set the Input > Arming Settings to Always Armed.