Giter Club home page Giter Club logo

Comments (22)

b3nn0 avatar b3nn0 commented on August 17, 2024 1

Will be fixed in next version with proper baud auto detection.
If you read this and you are running Stratux-EU018, you can install this update file via the settings menu to have it fixed (unzip first and upload the .sh):
update-stratux-v1.6r1-eu018-74930f2240.zip

from stratux.

b3nn0 avatar b3nn0 commented on August 17, 2024

For a basic setup, you don't need to do anything special at all.
Pull out the GPS, plug in the T-Beam and you are good to go.
T-Beams often come preloaded with SoftRF - that will work fine in its default config. You can also switch to the ESP32 OGN Tracker software if you want.
BMP280 is only really needed if you don't have the AHRS module connected to your stratux already. Stratux will then, as a fallback, use the BMP280 connected to the T-Beam (with either software).

The only thing that should be configured: enter the hex ID of your T-Beam in the ownship Mode-S exclusion list, because the SDRs will receive your T-Beam signal as well and show it as traffic if not excluded

from stratux.

Michal2184 avatar Michal2184 commented on August 17, 2024

Thanks! will get it tested this afternoon and come back with results.

from stratux.

Michal2184 avatar Michal2184 commented on August 17, 2024

Just tested and no success yet. TTGO T-Beam board is newer edition with offset antenna to the right. Used correct data USB cable to connect with Pi board and TTGO has blue led and red led blinking so it has gps lock. Stratux status page:

GPS hardware: FLARM (Not communicating)
GPS solution: Disconnected

Board came with SoftRf already preinstalled but after few tries , I did flash it with current SoftRF and still no connection.
i think iam missing something in stratux config...

from stratux.

b3nn0 avatar b3nn0 commented on August 17, 2024

This indicates that Stratux has successfully detected that you connected a T-Beam. Good sign.
However, it doesn't seem to be able to receive data from it for some reason.
Have you tried

  • rebooting the Stratux with the T-Beam plugged in at boot time
  • Is the SoftRF set to output NMEA sentences (at least GNSS, potentially also Legacy)? It should be this way by default
  • NMEA output via USB, no GDL90/dump1090 output?
  • EDIT: and maybe check with a different cable..

If you know how, you could connect to the Stratux via SSH, run "stxstop" to stop the Stratux service, then cat /dev/flarm to check if NMEA is correctly arriving.

from stratux.

Michal2184 avatar Michal2184 commented on August 17, 2024

Cable is fine as i did used it with it to connect to PC directly so it works. just tried SSH
stxstop - command not found

cat /dev/flarm - after rows with signs were showing in pulsing manner until i did dissconect cable from T-Beam , looks it talks fine

from stratux.

b3nn0 avatar b3nn0 commented on August 17, 2024

You need to run "sudo -s" first to become root.
The output of cat /def/flarm should be lines starting with
$GNRMC, $GNGGA or similar. Not random gibberish. Potentially check the SoftRF web interface for the aforementioned configurations.
(and when done, run stxstart again to restart the Stratux service)

from stratux.

Michal2184 avatar Michal2184 commented on August 17, 2024

worked with sudo -s ,but just one line with nonsense

root@raspberrypi:/home/pi# cat /dev/flarm
�� � @�` ����� � �� 2 � � ����@ ��@

Also tried to log in directly onto t-beam and run app on tablet. It works and shows gps.

from stratux.

b3nn0 avatar b3nn0 commented on August 17, 2024

Ok, that is not correct. Did you try the other steps?

  • Reboot with T-Beam plugged in
  • Verify settings in SoftRF web interface, as described above

from stratux.

Michal2184 avatar Michal2184 commented on August 17, 2024

Ok just went on SoftRF web interface and in NMEA output you can choose

-off
-serial
-udp
-tcp
-bluetooth

GDL90: off
Dump1090: off

So its missing USB therefore it dont work I presume

from stratux.

Michal2184 avatar Michal2184 commented on August 17, 2024

Screenshot (17)

from stratux.

b3nn0 avatar b3nn0 commented on August 17, 2024

Ah, no. Serial is correct. Serial == USB in this case.
Did you already restart your Stratux? Again. it has to be plugged in at boot time.
I've just flashed SoftRF on my T-Beam and it works just fine in this case:
grafik

grafik

from stratux.

Michal2184 avatar Michal2184 commented on August 17, 2024

SoftRF configurations are the same and it works so kind of puzzled now.
I tried restarting in various configurations. Stratux www status shows "FLARM" when t-beam connected ,and if i pull usb out it goes to "serial port not communicating". Again if i put it back in it goes to FLARM as on pictures below.
Screenshot (21)2

After cable out:
Screenshot (21)

TTGO T-beam i have:
20200607_191219

Do you use the same board?
Do you have battery fitted to T-beam? Battery fitted didn't made a difference,
Will try new update with it. - updated to eu018
SoftRF version: 1.0-rc7
Also I did tried to restart stratux while T-beam was connected and running from 18650 battery fully charged

Also do stratux need to have added cp210x to read from usb?

from stratux.

b3nn0 avatar b3nn0 commented on August 17, 2024

Yes, it is the same device (mine is rev 0.7, yours is rev 1.0, but that shouldn't make a difference).
No, I never put a battery in there. And no, you don't need any other hardware.
How does it work with eu018? In earlier versions you had to reboot Stratux for every disconnect/reconnect of the T-Beam. This should be more robust in eu018 (you should be able to re-plug/change hardware at any time and Stratux should pick it up after a few seconds).

from stratux.

Michal2184 avatar Michal2184 commented on August 17, 2024

Updated to eu018.
I did try to reboot via stratux status "reboot option" while t-beam was connected and running, but no diffrence and still same FLARM (Not communicating) message. There must be a reason why it work on 0.7 and not on 1.0 board.
Ive noticed that cp210x driver on stratux is ver 1-1.3, i did came across cp210x ver. 1-1.5

pi@raspberrypi:~ $ dmesg | grep ttyUSB
[ 5.504806] usb 1-1.3: cp210x converter now attached to ttyUSB0

pi@raspberrypi:~ $ head -4 /dev/ttyUSB0
���� � ����� � � � ��� ��� ������ � ���� �� �� ���� � ������ ��� ���� � �� �� � �� �� �� ������� � �� � �� � ��� �� ������ � �� �� ����� � � � � � � � �� �� � � � ������� � ��� �� � � � � � �� � ��� �� �

from stratux.

b3nn0 avatar b3nn0 commented on August 17, 2024

I have the feeling that this is baud rate related..
SoftRF uses baud 38400 (which we also used to contact before eu016). For reasons, we changed that to 115200 lately - and it worked without issues here because of auto-baud. Maybe that doesn't work for you for some reason?
Can you, for testing, execute this:
stty -F /dev/flarm 38400 raw -echo
cat /dev/flarm

from stratux.

Michal2184 avatar Michal2184 commented on August 17, 2024

tried and but still same problem.

pi@raspberrypi:~ $ stty -F /dev/flarm 38400 raw -echo
pi@raspberrypi:~ $ cat /dev/flarm
���� � ������ ����� � ����� � � �������� � ����� �� �� � � � � � � �� � ������ ��� ��� � �� � ��� � ���� �� ���� � ���� �� �� � �

from stratux.

b3nn0 avatar b3nn0 commented on August 17, 2024

Sorry, do all this as root please (sudo -s first).
Basically, do every command I tell you as root :)

from stratux.

Michal2184 avatar Michal2184 commented on August 17, 2024

Screenshot (21)

Does it not suppose to show numbers that make sense instead of what it shows?

from stratux.

b3nn0 avatar b3nn0 commented on August 17, 2024

Yes.. when doing it right after pluggin in, it should look like this:
grafik

(it shows the T-Beams bootup sequence as well. Later, you will only see the $GP... lines).
There seems to be something strange going on with your T-Beam...

EDIT: I hope you are doing this while the Stratux process is stopped (stxstop), right?

from stratux.

Michal2184 avatar Michal2184 commented on August 17, 2024

Screenshot (22)

I tought it worked ,after i did run stxstart , checked status still not communicating, so i did reboot with t-beam plugged ,but sitll no joy.
Also i did pulled out both SDRs and changed settings to 1090 and UAT, just in case
Also I noticed if i connect t-beam to PC and run Arduino Serial monitor ,if bound rate is 38400 i do receive normal $GPRMC etc. , if any other boud rate it gives nonsense.

from stratux.

b3nn0 avatar b3nn0 commented on August 17, 2024

Would you mind joining the Stratux Slack group? I'll DM you there - makes it a bit simpler to communicate directly. You can invite yourself here: http://slack.stratux.me/

from stratux.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.