|
|
|
|
||
|
Romania, Dolj, Craiova
Joined Sep 2007
12,677 Posts
|
Quote:
Obviously, tests were minimal, not owning the hardware. |
|
|
Latest blog entry: JRSky - birth of a dream radio
|
||
|
|
|
|
Romania, Dolj, Craiova
Joined Sep 2007
12,677 Posts
|
No need for such precision, 8 bits give you 0.4% which is "industrial" by many standards.
Precision always refer to the whole scale, if you are interested in a limited range only, like 3.5-4.2V / cell, then use a reference voltage and measure the difference with an OP-AMP. Wondering where you will easily find resistor more precise than 1% to use for the op-amp gain
|
|
Latest blog entry: JRSky - birth of a dream radio
|
|
|
|
||
|
Joined Oct 2009
29 Posts
|
Quote:
|
|
|
||
|
|
||
|
Joined Mar 2009
261 Posts
|
Quote:
Martin had got our pernit to post this docs few days ago, we just plan to open this docs of 2-way system at that time. Currently everyone can download this documents from our website. We are gathering idea from some one genius at this area like you guys(such as Bruce, Martin etc...) Really Thank you all. Meantime, we hereby would like to public, we will release our finished 2-way system, DIY module on March, our distributors are accepting pre-order. Thanks for your always attention. Have a nice day Chase Wu |
|
|
||
|
|
||
|
|
Quote:
http://www.frsky-rc.com/download/fdd...al-version.rar I made a quick video of it working on my set of Two-way system. Not the RS232 yet, just the inbuilt telemetry readings. Will post it up soonish. Martin |
|
|
||
|
|
|||||
|
|
Video of the monitor software app
Pictures work better than words, video even better (usually) so here they are.
The first shows the two AD channels and alarms in action. The second shows the signal quality channel working and the error alarm. The data is coming straight out of the FrSky TX modules serial port. The alarm beeps are generated by the modules own alarm settings. The RX again has a couple of trim pots fitted to the two analogue channels to show them working. Can somebody who has been sent these test units please try the software monitor while reading say an NMEA GPS plugged into the receiver serial input. I can, but not for a few days or so :-)
|
||||
|
|
||
|
Melbourne, Australia
Joined May 2006
6,402 Posts
|
Quote:
Code:
Stateful framing algorithm for FrSky telemetry byte-stream ========================================================== kgfly, 06 Mar 2010 Frames (fixed length = 10 octets): FF FE xx xx xx xx xx xx xx xx (where xx might include FE and FF) Concept: Wait for receipt of two valid sequential frames before entering the Synchronised state. Maintain synch by checking for the FF FE pattern at the expected octet position in every subsequent frame by keeping count of received octets. Variables: State (initialise to Idle) ByteCount (initialise to 0) State table: The state machine is driven by the arrival of a frame octet. ------------ ------------- ------------------------ State Event Next state (action) ------------ ------------- ------------------------ Idle Rx != FF Idle (ByteCount = 0) Rx == FF HdrA2 (ByteCount = 1) ------------ ------------- ------------------------ HdrA2 Rx != FE Idle (ByteCount = 0) Rx == FE BodyA (ByteCount = 2) ------------ ------------- ------------------------ BodyA ByteCount < 9 BodyA (ByteCount += 1) ByteCount == 9 HdrB1 (ByteCount = 0) ------------ ------------- ------------------------ HdrB1 Rx != FF Idle (ByteCount = 0) Rx == FF HdrB2 (ByteCount = 1) ------------ ------------- ------------------------ HdrB2 Rx != FE Idle (ByteCount = 0) Rx == FE BodyB (ByteCount = 2) ------------ ------------- ------------------------ BodyB ByteCount < 9 BodyB (ByteCount += 1) ByteCount == 9 Sync1 (ByteCount = 0) ------------ ------------- ------------------------ Sync1 Rx != FF Idle (ByteCount = 0) Rx == FF Sync2 (ByteCount = 1) ------------ ------------- ------------------------ Sync2 Rx != FE Idle (ByteCount = 0) Rx == FE Sync3 (ByteCount = 2) ------------ ------------- ------------------------ Sync3 ByteCount < 9 Sync3 (ByteCount += 1) ByteCount == 9 Sync1 (ByteCount = 0) (Process valid frame) ------------ ------------- ------------------------ |
|
|
|
|
|
Romania, Dolj, Craiova
Joined Sep 2007
12,677 Posts
|
Isn't the NMEA GPS data coming mixed with ADC data in the same stream ?
How can you maintain this sync in this case ? |
|
Latest blog entry: JRSky - birth of a dream radio
|
|
|
| Thread Tools | |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Mini-Review FrSky 2.4ghz - looking good so far! | BrumBob | Radios | 11273 | Today 06:04 AM |
| Discussion New Audio Modem Protocol For FPV Telemetry | MelihK | Video Piloting (FPV/RPV) | 138 | Dec 31, 2011 09:24 AM |
| New Product FrSky 2.4GHz radio system | jonathan-FrSky | Australia | 70 | Apr 28, 2011 04:22 PM |
| Cool TWIN 2.4GHz new RFHSS system from CZ, with or w/o Telemetry | alex.guzun | Radios | 5 | Jan 18, 2010 02:24 PM |
| Mini-Review The video for FrSky 2.4Ghz | Chase Wu | Radios | 0 | Dec 16, 2009 01:18 AM |