|
It is currently Sun 24. Nov 2024 11:32:44
|
View unanswered posts | View active topics
Author |
Message |
jjuk
|
Posted: Sun 08. Oct 2017 11:17:34 |
|
Joined: Thu 05. Oct 2017 20:06:35 Posts: 306
|
To connect the spirit to an s.port, is it a direct connection of signal and ground, or is a resistor required?
I use just signal and ground for all my quads from the flight controller to s.port on the xsr or xsr (pinless) and want to do the same for my helis.
I know you sell a cable, but I can solder just fine and would like to make my own.
|
|
Top |
|
|
ZeXx86
|
Posted: Sun 08. Oct 2017 11:54:25 |
|
|
Site Admin |
Joined: Mon 29. Apr 2013 16:06:44 Posts: 12442
|
Hello,
to make it work you will need the FrSky integration cable in any way. Since there are more than 6 SMD parts (including chips) inside, it is not easy to solder it at home. There are bi-directional invertors for allowing the integration. So it is not just as a telemetry where it is enough to receive data.
_________________ Spirit System developer
|
|
Top |
|
|
jjuk
|
Posted: Sun 08. Oct 2017 16:57:35 |
|
Joined: Thu 05. Oct 2017 20:06:35 Posts: 306
|
Can you not do the inversion in software? All quad flight controllers use a serial port to talk to the s.port as it's just serial comms.
|
|
Top |
|
|
ZeXx86
|
Posted: Sun 08. Oct 2017 19:07:36 |
|
|
Site Admin |
Joined: Mon 29. Apr 2013 16:06:44 Posts: 12442
|
Unfortunately it is not usual UART / COM communication. It is completely inverted logic which is unsupported by the most processors. So it must be emulated by software bit by bit which is possible but is adding much more load to the processor. Quad copters very likely not support also integration in same manner as Spirit so communication is quite limited. Doing it by hardware is much more efficient.
_________________ Spirit System developer
|
|
Top |
|
|
jjuk
|
Posted: Mon 09. Oct 2017 20:17:11 |
|
Joined: Thu 05. Oct 2017 20:06:35 Posts: 306
|
What processor are you using? Most have serial inversion on the serial ports. Bit banging serial comms is processor intensive and would detract from the core business of stabilising the heli.
If you are bit banging, then inverting the signal is totally possible in software!
Are you using a serial port or bit banging?
|
|
Top |
|
|
ZeXx86
|
Posted: Mon 09. Oct 2017 20:28:03 |
|
|
Site Admin |
Joined: Mon 29. Apr 2013 16:06:44 Posts: 12442
|
Don't worry, we are using the best possible way. Hardware serial inversion is possible only on a few selected MCUs as I have said. Unfortunately the most have not this possibility. We are using STM32F4.
You really can't help with this issue, all is already solved.
_________________ Spirit System developer
|
|
Top |
|
|
jjuk
|
Posted: Tue 10. Oct 2017 12:36:50 |
|
Joined: Thu 05. Oct 2017 20:06:35 Posts: 306
|
Does the WIFI module transmit RPM to the spirit phone app?
Last edited by jjuk on Tue 10. Oct 2017 13:09:22, edited 1 time in total.
|
|
Top |
|
|
ZeXx86
|
Posted: Tue 10. Oct 2017 12:40:54 |
|
|
Site Admin |
Joined: Mon 29. Apr 2013 16:06:44 Posts: 12442
|
You can see RPM in the software if a RPM sensor is connected to the unit in the General - Throttle/Governor window. But telemetry variables are not displayed there.
_________________ Spirit System developer
|
|
Top |
|
|
jjuk
|
Posted: Tue 10. Oct 2017 13:09:03 |
|
Joined: Thu 05. Oct 2017 20:06:35 Posts: 306
|
Where are they displayed? (in the app)
|
|
Top |
|
|
ZeXx86
|
Posted: Tue 10. Oct 2017 13:10:43 |
|
|
Site Admin |
Joined: Mon 29. Apr 2013 16:06:44 Posts: 12442
|
In the General - Throttle/Governor window.
_________________ Spirit System developer
|
|
Top |
|
|
|
Who is online |
|
Users browsing this forum: No registered users and 36 guests |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|