It is currently Sun 24. Nov 2024 12:00:37

All times are UTC + 1 hour





Post new topic Reply to topic  [ 12 posts ]  Go to page 1, 2  Next
  Print view Previous topic | Next topic 
Author Message
PostPosted: Sun 08. Oct 2017 11:17:34 
Offline

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
 Profile  
 
PostPosted: Sun 08. Oct 2017 11:54:25 
Offline
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
 Profile  
 
PostPosted: Sun 08. Oct 2017 16:57:35 
Offline

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
 Profile  
 
PostPosted: Sun 08. Oct 2017 19:07:36 
Offline
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
 Profile  
 
PostPosted: Mon 09. Oct 2017 20:17:11 
Offline

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
 Profile  
 
PostPosted: Mon 09. Oct 2017 20:28:03 
Offline
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
 Profile  
 
PostPosted: Tue 10. Oct 2017 12:36:50 
Offline

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
 Profile  
 
PostPosted: Tue 10. Oct 2017 12:40:54 
Offline
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
 Profile  
 
PostPosted: Tue 10. Oct 2017 13:09:03 
Offline

Joined: Thu 05. Oct 2017 20:06:35
Posts: 306
Where are they displayed? (in the app)


Top
 Profile  
 
PostPosted: Tue 10. Oct 2017 13:10:43 
Offline
Site Admin

Joined: Mon 29. Apr 2013 16:06:44
Posts: 12442
In the General - Throttle/Governor window.

_________________
Spirit System developer


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 12 posts ]  Go to page 1, 2  Next

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 56 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

Search for:
Jump to:  



Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
skymiles_red v1.0.1 designed by Team -Programming forum-سيارات للبيع .