The limit of Two telemetry ports on PixHawk limits the number of devices that require telemetry port use.
Is this due to Electronics design limitations or is it possible to externally add more telemetry ports if needed? Has anyone experimented with this so far?
Any ideas or solutions comes to your mind?
Thanks for your help…
That depends on your needs, read-only devices can read stream from the same port, and once you run an onboard computer, MAVProxy will give you nearly unlimited number of serial, and IP ports.
@Andre-K - My need is as follows;
- ADSB - Supposed to be plugged into TELEMETRY 2 - a.k.a Serial 2
- Minimum OSD - Supposed to be only Plugged into TELEMETRY 2 - a.ka. Serial 2
- RFD 900X modem - Suppose to be only plugged into TELEMETRY 2 - a.k.a Serial 2
- GPS - Dedicated port - a.k.a Serial 3.
- LIDAR - e.g… We can use Serial 4 for that one.
Serial 4/5 - Serial 4 is for second GPS and Serial 5 is for debugging.
So as you can see, I am short on ports.
One idea I had was to design a serial break out board for PixHawk, however I don’t have the;
- PixHawk Complete Circuit Diagram.
- I don’t think a breakout board can be plugged in externally, unless I completely redeisgn the PixHawk PCB??
- Over all processing capacity of the micro processor to understand limitations as far as how many serial ports simultaneously can be supported. May be consider a higher power processor?
I see a need for much more serial ports on Pixhawk down the road with embedded OSD for sure.
If I want to get into such development, what is the process to get the community involved as long I am doing all the funding? Any suggestions…
Thanks David…I am aware of that page. See my message below to Andre-K
if 5 serial/s isn’t enough, use CAN, there’s a bunch of CAN peripheral/s available now. Also, you can put at least one of your GPS’s on CAN 9 if u insist on having 2 ), and your OSD can share a serial port with the telemetry radio under most circumstances, and you absolutely don’t have to leave “serial 5” for debugging, it’s fine to use it as a normal serial port too. Finally, I’ll mention that UC4H is 'UAV-CAN-FOR-HOBBIYISTS" and I hear that the UC4H “General Node” can allow u to attach all sorts of things to the CAN bus that would normally use serial or i2c or gpio’s. http://store.jdrones.com/uavcan_electronics_jdrones_s/314.htm
@DavidBuzz - Thanks!. I will check out UC4H. Is there a compiled list available for all the CAN supported PixHawk Peripherals out there somewhere?
When you said share OSD with telemetry on the same serial port, little confused. You mean physically wired both devices pins (Tx, Rx, GND and Vcc)?
In the Ardu pilot documentation it enforces that ADSB, OSD and telemetry all should be Serial 2 due to some power constraints. is that a typo “or” just a recommendation?
Adsb on telem2, tx shared with OSD
Rf900, preferably not powered by pixhawk/cube on telem1
GPS on serial3
If you use I2C for LiDAR, you even have serial4 to free.
No problem at all.
So if I understand you correctly;
- Direct connect ADS-B to Telemetry 2, (all wires).
- Only Connect OSD, GND, +VCC, and Just the TX wire to Telemetry 2. Are we sure this will not violate any TTL circuit law?
- RFD 900 to Telemetry one, but use a BEC or something to power the RFD 900. (Due to power limitations on Telemetry 1)
- GPS 1 to original GPS port (Serial 3) and 2nd cable to I2C.
- LIDAR either on Serial 4 or find a LIDAR that works off I2C.
I can give that a shot.
One more question. the I2C expansion board typically gives you 4 x I2C ports. Can we use two boards cascaded to gain 8 x I2C ports? What is the limitation as far as I2C ports that can be cascaded?
Thanks for your help.
Pixhawks TX pin to OSDs RX pin, yes.
No TTL problems.
And I2C maximum limits is a complex topic, the total length, topology, shielding, choice of cable, where the termination is, all affect the maximums… Still, usually one is limited by addresses and practical need for sensors/devices rather than electrical properties, as long one make neat and functional network.
@Andre-K - Thanks. I am an electronics Engineer, so I can handle the electronic complexities. To me I2C is nothing more than the good old RS485 (master/Slave protocol). One device can be active at time.
I found a good source https://i2c.info/
Any other recommendations?
By the way where can I find detailed schematic of PixHawk and complete write up of how it works. Are there any detailed engineering documents available? It’s open source but I just can’t find one central depository.