To view this discussion on the web, visit https://groups.google.com/d/msgid/reading-hackspace/AM0PR03MB499438CD0D153A079FBE40ABF0BF0%40AM0PR03MB4994.eurprd03.prod.outlook.com.
--
To view this discussion on the web, visit https://groups.google.com/d/msgid/reading-hackspace/63B46B5D-40C3-44B5-8777-8A554D097C42%40btinternet.com.
Do you have a link to a reverse engineered protocol specification or a working version of receiver source code?
I guess the first thing you need to do is to work out how to bind with the transmitter. As you say even before that you need to understand well how the frequency hopping over the 135 RF channels works. Once you know what frequency you are working on you could check the RSSi to see if you are getting the signal from the transmitter before demodulation.
Why do you want to control the A7105 direct when the full receivers are low cost? You might just interface to the i-bus of a receiver.
To view this discussion on the web, visit https://groups.google.com/d/msgid/reading-hackspace/CAJ4NLMeyZ9F7TA07UqQxzYP6qJbUwmqWz6HjAmpX2HFWAi8sYQ%40mail.gmail.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/reading-hackspace/003a01d56109%24f1511340%24d3f339c0%24%40btinternet.com.
This looks like a receiver implementation for the PIC http://thierry.pebayle.free.fr/RX_A7105/Banggood_micro_receiver/banggood_micro_receiver_sangyue.c
This appears to be valid description for AFHDS 2 https://github.com/DeviationTX/deviation/blob/master/doc/Flysky.txt
And this an implementation of a transmitter https://github.com/DeviationTX/deviation/blob/master/src/protocol/flysky_afhds2a_a7105.c
The first thing to understand is the frequency tables and hopping. What frequency and channel are you listening on to begin with?
The transmitter code appears to generate 16 random and distributed channels, though the receiver code looks like it uses pre-set channels. The transmitter sends the channels to the receiver during the bind process. The bind process seems to alternate between two pre-set channels, “A7105_WriteData(packet, 38, packet_count%2 ? 0x0d : 0x8c);”, 0x0d and 0x8c.
To view this discussion on the web, visit https://groups.google.com/d/msgid/reading-hackspace/CAJ4NLMd_V8r8kCARTzuLVsKiiboLxDEFNf3-i4bu8tfkGX5G0w%40mail.gmail.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/reading-hackspace/004301d56118%2456b8d200%24042a7600%24%40btinternet.com.
The most understandable code for a receiver I found here. https://os.mbed.com/users/pebayle/code/A7105_FLYSKY_RX/
It uses SDO on GPIO1 and the wait signal on GPIO2. I assume you have the GPIO pins too.
It seems to look for a bind on channel 0 as you describe, which means the transmitter must be sending on channel 1 because the IF frequency is equal to the channel spacing. This should be on a frequency of 2400.501MHz from my interpretation of the configuration. I have a Turnigy Evolution radio which is AFHDS 2A I think. I will try to find time tomorrow to hook it up to the spectrum analyser or SDR to check the frequencies it is using.
After “bind” it may be best to look on the channels in the channel number table, but don’t forget to subtract 1 to get the Rx channel number from the Tx Channel number due to the IH offset
If you wish we can take this topic off the Google group. Or unless others are interested to keep it here.
Richard
From: reading-...@googlegroups.com <reading-...@googlegroups.com> On Behalf Of Mark Robson
Sent: Monday, September 2, 2019 9:35 AM
To: reading-...@googlegroups.com
Subject: Re: [RDG-Hack] Chinese radio chip A7105
I am currently trying to get it to receive *anything* - all the rx implementations I've seen listen on channel 0 during the binding process, which doesn't use channel hopping.
So I've got it on channel 0. However, I'm receiving nothing so either I'm programming the chip incorrectly, missing something, or the radio frequencies are all messed up. Obviously I've tried putting the transmitter into bind mode (transmitter is tested and working with a commercial receiver).
I currently don't have the GIO1 pin wired up, so I'm going to try to get that set up, because it's possible that there is a small window to read a valid packet which my code is somehow missing.
The chip starts up and receives nothing for a while, then starts receiving huge amounts of random invalid data (with the error flags set) into the receive buffer Actually it's behaving like quite a good random number generator :)
I guess if I come to the hackspace I can possibly check that the clock is running at the right speed by enabling the clockout pin (which isn't broken out in the break-out module, so I will need to solder a fine wire to a pin, joy!)
Mark
On Sun, 1 Sep 2019 at 22:55, 'Richard Ibbotson' via rLab / Reading's Hackspace <reading-...@googlegroups.com> wrote:
This looks like a receiver implementation for the PIC http://thierry.pebayle.free.fr/RX_A7105/Banggood_micro_receiver/banggood_micro_receiver_sangyue.c
This appears to be valid description for AFHDS 2 https://github.com/DeviationTX/deviation/blob/master/doc/Flysky.txt
And this an implementation of a transmitter https://github.com/DeviationTX/deviation/blob/master/src/protocol/flysky_afhds2a_a7105.c
The first thing to understand is the frequency tables and hopping. What frequency and channel are you listening on to begin with?
The transmitter code appears to generate 16 random and distributed channels, though the receiver code looks like it uses pre-set channels. The transmitter sends the channels to the receiver during the bind process. The bind process seems to alternate between two pre-set channels, “A7105_WriteData(packet, 38, packet_count%2 ? 0x0d : 0x8c);”, 0x0d and 0x8c.
From: reading-...@googlegroups.com <reading-...@googlegroups.com> On Behalf Of Mark Robson
Sent: Sunday, September 1, 2019 10:21 PM
To: reading-...@googlegroups.com
Subject: Re: [RDG-Hack] Chinese radio chip A7105
The RXs are low cost. Yes. I've interfaced with them by i-bus already; that works. I'm trying to make a more integrated / smaller package to go into very, very small robots :)
A working receiver implementation is apparently here:
--
You received this message because you are subscribed to the Google Groups "rLab / Reading's Hackspace" group.
To unsubscribe from this group and stop receiving emails from it, send an email to reading-hacksp...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/reading-hackspace/004301d56118%2456b8d200%24042a7600%24%40btinternet.com.
--
You received this message because you are subscribed to the Google Groups "rLab / Reading's Hackspace" group.
To unsubscribe from this group and stop receiving emails from it, send an email to reading-hacksp...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/reading-hackspace/CAJ4NLMcdSoqy49NrfYSRw7z%3DBuGPLqW8Q%2Bdi6L_gPfbJXOm78A%40mail.gmail.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/reading-hackspace/006501d561db%240b186d60%2421494820%24%40btinternet.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/reading-hackspace/006501d561db%240b186d60%2421494820%24%40btinternet.com.
--
You received this message because you are subscribed to the Google Groups "rLab / Reading's Hackspace" group.
To unsubscribe from this group and stop receiving emails from it, send an email to reading-hacksp...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/reading-hackspace/0fe1421e-de07-482d-8d1c-2fd2347fd7eb%40googlegroups.com.
Hi Mark,
Thanks for the update.
Are you looking at signal during bind or in s-Bus operation?
When you say channel 0x0C do you mean the channel you set the Rx to ( this would be the Tx Channel -1 due to the IF offset)? If you get the bind messages, then they contain both the transmitter Id and the channels to be used subsequently in the message.
I did not look at the calibration part but can help measure any offsets you have.
Good to hear progress.
Richard
From: reading-...@googlegroups.com <reading-...@googlegroups.com> On Behalf Of Mark Robson
Sent: Sunday, September 8, 2019 3:55 PM
To: reading-...@googlegroups.com
Subject: Re: [RDG-Hack] Chinese radio chip A7105
Hi,
To view this discussion on the web, visit https://groups.google.com/d/msgid/reading-hackspace/CAJ4NLMd0YQfbJz%3DTp158MT29%2BC%2BhZ78voKmHQbrumzeHfFpPQA%40mail.gmail.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/reading-hackspace/000a01d56658%24d95f8a10%248c1e9e30%24%40btinternet.com.
--
You received this message because you are subscribed to the Google Groups "rLab / Reading's Hackspace" group.
To unsubscribe from this group and stop receiving emails from it, send an email to reading-hacksp...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/reading-hackspace/45483006-A24B-421C-961D-D45AD6A7C85C%40btinternet.com.