- Posts: 2631
The New Hubsans
- goebish
- Offline
- I Void Warranties
Please Log in or Create an account to join the conversation.
- thearne3
- Offline
- Posts: 36
Please Log in or Create an account to join the conversation.
- goebish
- Offline
- I Void Warranties
- Posts: 2631
You can also try this one, it's my current working branch, nightly + afhds 2a protocol: www.dropbox.com/s/srnp2oux23htjh0/deviat...0.0-e541061.zip?dl=1
Please Log in or Create an account to join the conversation.
- HappyHarry
- Offline
- Posts: 1136
Please Log in or Create an account to join the conversation.
- thearne3
- Offline
- Posts: 36
Will do some more testing, but binding seem to occur on both 107 and 501. Plane is in 'stabilized' mode. Need a way to switch to 'Manual'. Will try the LED channel to see if that has the same effect.
Thanks for your patience!
Please Log in or Create an account to join the conversation.
- mwm
- Offline
This is not true of the 7E and some of the newer video Tx's.
Do not ask me questions via PM. Ask in the forums, where I'll answer if I can.
My remotely piloted vehicle ("drone") is a yacht.
Please Log in or Create an account to join the conversation.
- doctortim
- Offline
- Posts: 15
thanks.
Please Log in or Create an account to join the conversation.
- thearne3
- Offline
- Posts: 36
I got the Analyzer and hooked it up to the Hubsan h301s Tx as shown in attached pictures of the PCB and 7105 module. I need guidance on setting up the Saleae software. I've added a screen shot of the inputs: Sample rates, duration,etc.
1. What parameters for the Logic 4? (is four connections enough? or do we do all 8?)
2. What tests do you need?
Also, I'm using the Logic 1.2.10 software - is that OK?
Thanks!
Tom
Please Log in or Create an account to join the conversation.
- goebish
- Offline
- I Void Warranties
- Posts: 2631
4 wires are required:
- GND
- SDIO
- SCK
- SCS
Use 16 Msamples / second, 5-10 seconds duration is fine usually, but it depends what you're capturing.
First try to bind it using H501 format. Does the H301 has a bind sequence (as the H501), or is it autobind (as H107) ?
edit: according to the manual, you've to bind manually, so select H501 format option in Deviation then press Bind, then connect the battery to the airplane.
@doctortim: I only have a H502 FC (nice FC, I'm pretty sure it could run Cleanflight ), it seems to bind with the H501 protocol format option. This has to be confirmed with an actual quad.
Please Log in or Create an account to join the conversation.
- thearne3
- Offline
- Posts: 36
GND - pin 1 on A7105
CH1 - pin 3 " - SCS
CH2 - pin 4 " - SDIO
CH3 - Pin 2 " - SCK
Here is a screen shot of the Channels. Does it look right? Tx on, no bind.
Strange: Plane binds with EITHER 501 or 107 options under Hubsan.
Thanks!
Please Log in or Create an account to join the conversation.
- goebish
- Offline
- I Void Warranties
- Posts: 2631
Some machines can bind with both protocol format, that's normal.
But what's the problem if the H301s already binds ? Controls don't work ? Missing features ?
Please Log in or Create an account to join the conversation.
- thearne3
- Offline
- Posts: 36
The Spy Hawk H301s has Stabilized and Manual modes, as well as RTH, LED on/off and Video ON/Off (no stills). Minimal safe flying would include control of RTH. If control is lost, it will enter RTH automatically and come back to Home - but not land. The operator must switch RTH off and land. Unlike the 501, there is no Follow Me, of course.
In addition, It would be great to have control of Stabilized/Manual, LED and Video switches.
Finally, the GPS information is important to me.
Any suggestions for getting SCS and SDIO corrected? Can you refer me to a screen shot or file that shows 'normal'? I looked at the H501s files on page 5 of this thread and noticed that Channel 2/ SDIO has no activity at all. Is that normal?
Thanks!
Please Log in or Create an account to join the conversation.
- goebish
- Offline
- I Void Warranties
- Posts: 2631
Please Log in or Create an account to join the conversation.
- thearne3
- Offline
- Posts: 36
Thanks!
www.dropbox.com/s/6c5snbi3cfavcef/H301s%...D.logicdata.zip?dl=0
Please Log in or Create an account to join the conversation.
- goebish
- Offline
- I Void Warranties
- Posts: 2631
Can you show how you connected the analyzer ?.
Please Log in or Create an account to join the conversation.
- thearne3
- Offline
- Posts: 36
A7105......................Analyzer
Pin 1.......Black........GND
Pin2 .......White........CH2
Pin3 .......Grey..........CH3
Pin4 .......Purple.......CH1
Seems to be showing changes in MOSI and MISO now.
www.dropbox.com/s/4s9hbrp654er0mo/Photo%...0%2024%20PM.jpg?dl=0 Analyzer pic
www.dropbox.com/s/d20zapzy5vfpndf/Photo%...0%2006%20PM.jpg?dl=0 TX pic
www.dropbox.com/s/qb3h4vx5amflcia/H301s%...D.logicdata.zip?dl=0
Command sequence: ON/Bind, RTH Flip ON, RTH Flip OFF, LED Flip ON, LED Flip OFF, Video Button Press (ON), Video Button Press (OFF), Stab/Man Button Press (Switches to Manual), Stab/Man Button Press (Switches back to Stabilized).
Please Log in or Create an account to join the conversation.
- goebish
- Offline
- I Void Warranties
- Posts: 2631
(your MISO line is SCS actually)
I'll need a few more info:
- if you change txid, does it still bind with H107 format ?
- can you make 1 capture file per command please ?
Note that I may not have the time to work on that right now, but I'll try my best
Please Log in or Create an account to join the conversation.
- thearne3
- Offline
- Posts: 36
I changed the TXiD and it still binds on H107.
So should I swap white and purple? CH1 and CH2?
I will set up the following separate commands:
On/Bind
LED (on from off, which is default)
RTH (on from off, which is default)
STAB/Manual (Manual from Stabilized, which is default)
Video (on from off, which is default)
Thanks!
Please Log in or Create an account to join the conversation.
- goebish
- Offline
- I Void Warranties
- Posts: 2631
Please Log in or Create an account to join the conversation.
- thearne3
- Offline
- Posts: 36
I've created five command files for the H301s:
On/Bind
LED (on from off, which is default) and back/off
RTH (on from off, which is default) and back/off
STAB/Manual (Manual from Stabilized, which is default) and back to Stab
Video (on from off, which is default) and back/off
www.dropbox.com/sh/2dxpc3xi7ym8pui/AAABS...23t08AXEuVziEUa?dl=0
Please Log in or Create an account to join the conversation.
- Home
- Forum
- Development
- Protocol Development
- The New Hubsans