Wednesday, November 22, 2023

Convert flysky from 6 ch to 10 ch.


NOTES

1. Tutorial to do this

https://www.youtube.com/watch?v=t1zBxB1FJaQ

2. Important to follow this. 

Firmware Version Number won't show + "Device is not connected"

 https://github.com/benb0jangles/FlySky-i6-Mod-/issues/102



STEP-BY-STEP

Step 1.


Step 2.

Connect wiring like this

Important to Remove the ATMEGA CHIP !!




Step 3.

Make sure to have every cables connected, then connect arduino uno to the laptop

Step 4.

Make sure Port is detected in Device Manager. Change the port to 1 - 8, in advanced mode.

Step 5.

Open Exe.

Step 6. 

Open Port.

Step 7.

Program.

Finish.










Tuesday, November 21, 2023

Ardupilot - Middle Throttle Stick.

Credit to this instruction

If you have a center sprung throttle stick, you want PILOT_THR_BHV set for a value of 7. Also set MOT_HOVER_LEARN to a value of 2, for learn and save. Your hover throttle will be set automatically while hovering.

And this will only work for Alt Hold and Loiter Flight Mode.

Monday, November 20, 2023

Ardupilot - Arming Switch

 


Config > Full Parameter Tree > RC7_option > Set to 153 > Save parametes\rs

Optical Flow Setup with Ardupilot

 

This is a video that can be used to setup optical flow.

Optical flow that is use is like this.

Optical Flow V1.3



Until last progress 20/11/2023:
Do the work for 2 days.

Setup:
There will be a problem about the driver of the opt flow, when you connect the opt flow directly to the computer using USB Cable. Therefore, please make sure:

1) The opt flow is connected to the pixhawk flight controller to i2c.

2) Then power up the pixhawk normally using Lipo Battery.

3) The driver issue will be solved after 12v battery connected

Result:

1) Images is detected by the Optical Flow ok.
2) Focus Image is ok.
3) Mounting to the drone is ok. 

Problem:

1) Already test flight and cannot hover in place maintaining position.
 
2) The sonar is not showing any value, so i am using the lidar a that time, but the lidar seem to have problem, up and down, maybe the lidar were broken.

Info:

1) Height estimation need to be used before the pixhawk can be armed.

Documentation:
At this time, I only follow step 1.
Due to time constraint, didn't go to step 2.