- Posts: 409
Mjx Bugs 3
- C0ckpitvue 777
- Topic Author
- Offline
Please Log in or Create an account to join the conversation.
- JayDrone
- Offline
- Posts: 85
Please Log in or Create an account to join the conversation.
- C0ckpitvue 777
- Topic Author
- Offline
- Posts: 409
Please Log in or Create an account to join the conversation.
- hexfet
- Offline
- Posts: 1868
planger wrote: I've looked at the code and I'm puzzled about the need to launch the bind twice.
Please correct me if I'm wrong but it looks to me that you could be all set during the 1st bind sequence.
It would make it easier for the users since you don't need to delete all the digits of the fixed id (they are getting replaced by the latest bind) and you only have to launch 1 bind sequence to get a working model.
Pascal
Thanks Pascal. That's a good suggestion. I didn't look at simplifying the bind process after integrating mmakai's code for automatic rxid to radio_id setting.
Test build is updated (924dba7). Bind process is simplified to a) Select bugs3 protocol and click on Bind, b) Power on the receiver. The bind dialog will disappear when bind is successful. Don't edit the fixed id after binding
Please Log in or Create an account to join the conversation.
- C0ckpitvue 777
- Topic Author
- Offline
- Posts: 409
www.mediafire.com/file/r6v0pgfqvc37cbg/B...ro_Captures.zip/file
Please Log in or Create an account to join the conversation.
- hexfet
- Offline
- Posts: 1868
According to the user manual I found online there is a hardware jumper that must be added to the receiver board to allow acro mode.
Please Log in or Create an account to join the conversation.
- C0ckpitvue 777
- Topic Author
- Offline
- Posts: 409
Please Log in or Create an account to join the conversation.
- hexfet
- Offline
- Posts: 1868
The voltage telemetry will only ever read 8.4V or 6.0V because the bugs3 only sends a good/low indicator, and those are the two values I chose to represent "good" and "low". Maybe the bugs8 telemetry will be different.
Please Log in or Create an account to join the conversation.
- hexfet
- Offline
- Posts: 1868
Please Log in or Create an account to join the conversation.
- vlad_vy
- Offline
- Posts: 3333
Please Log in or Create an account to join the conversation.
- hexfet
- Offline
- Posts: 1868
Please Log in or Create an account to join the conversation.
- planger
- Offline
I've looked at the provided dumps by C0ckpitvue_777.
The acro/angle flag is in packet[5] flag 0x04.
I've added the following to multi github.com/pascallanger/DIY-Multiprotoco...tocol/Bugs_a7105.ino :
// flags packet byte 5
...
#define BUGS_FLAG_ANGLE 0x04 // angle/acro mode (set is angle mode)
...
if(bind)
{
packet[4] = change_channel | 0x80;
packet[5] = 0x02 | BUGS_arm_flags
| GET_FLAG(BUGS_CH_SW_ANGLE, BUGS_FLAG_ANGLE);
}
else
{
packet[4] = change_channel | BUGS_FLAG_MODE
| GET_FLAG(BUGS_CH_SW_FLIP, BUGS_FLAG_FLIP)
| GET_FLAG(BUGS_CH_SW_PICTURE, BUGS_FLAG_PICTURE)
| GET_FLAG(BUGS_CH_SW_VIDEO, BUGS_FLAG_VIDEO);
packet[5] = 0x02 | BUGS_arm_flags
| GET_FLAG(BUGS_CH_SW_ANGLE, BUGS_FLAG_ANGLE)
| GET_FLAG(BUGS_CH_SW_LED, BUGS_FLAG_LED);
}
Please Log in or Create an account to join the conversation.
- hexfet
- Offline
- Posts: 1868
Angle/Acro mode control is added on channel 10 in Bugs3 protocol. Change will be in the next nightly build.
Please Log in or Create an account to join the conversation.
- C0ckpitvue 777
- Topic Author
- Offline
- Posts: 409
Please Log in or Create an account to join the conversation.
- davdrone1
- Offline
- davdrone1
- Posts: 91
You guys just keep adding amazing value to the basic Bugs 3 line. Now, if you could
just add control over an add-on servo or 2, for camera adjustment, and dropping the
odd fishing line ....
Time flies like a banana
Please Log in or Create an account to join the conversation.
- davdrone1
- Offline
- davdrone1
- Posts: 91
with a hardware jumper installed on the fcb.
Is this correct?
Time flies like a banana
Please Log in or Create an account to join the conversation.
- JayDrone
- Offline
- Posts: 85
Please Log in or Create an account to join the conversation.
- hexfet
- Offline
- Posts: 1868
Please Log in or Create an account to join the conversation.
- JayDrone
- Offline
- Posts: 85
Please Log in or Create an account to join the conversation.
- C0ckpitvue 777
- Topic Author
- Offline
- Posts: 409
Please Log in or Create an account to join the conversation.
- Home
- Forum
- Development
- Protocol Development
- Mjx Bugs 3