Comments (22)
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.
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.
Thanks! will get it tested this afternoon and come back with results.
from stratux.
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.
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.
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.
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.
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.
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.
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.
from stratux.
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:
from stratux.
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.
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.
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.
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.
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.
tried and but still same problem.
pi@raspberrypi:~ $ stty -F /dev/flarm 38400 raw -echo
pi@raspberrypi:~ $ cat /dev/flarm
���� � ������ ����� � ����� � � �������� � ����� �� �� � � � � � � �� � ������ ��� ��� � �� � ��� � ���� �� ���� � ���� �� �� � �
from stratux.
Sorry, do all this as root please (sudo -s first).
Basically, do every command I tell you as root :)
from stratux.
Does it not suppose to show numbers that make sense instead of what it shows?
from stratux.
Yes.. when doing it right after pluggin in, it should look like this:
(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.
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.
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)
- GDL39 HOT 2
- no OGN receiption HOT 6
- no FLARM traffic on ForeFlight HOT 4
- No network on LAN when using AP+Client settings HOT 4
- Feature Request - ICARUS protocol HOT 6
- Support of BMP390 pressure sensor HOT 7
- dump1090 not using dev branch
- uAvionix Ping USB support HOT 2
- Unable to find documentation for AHRS Report (4c:45:01) message HOT 1
- configuring serial ( /dev/ttyAMA0 ) gps device HOT 5
- Customizing raspberry to output audio
- Run SoftRf on the raspi as a stratux child process (feature proposal) HOT 4
- Serial interfaces not recognized
- Feature Add: Set ADSB Antenna Gain HOT 1
- Add u-blox M7 Power mode setting UBX_CFG_PMS HOT 4
- Support for OGN-Tracker on T-BEAM with AXP2101 PMC HOT 2
- Change OGN Tracker settings not possible HOT 20
- Major problem with T-Motion and GDL90 HOT 3
- No USB devices recognized on Rasberry Pi 3B HOT 3
- No WLAN when setting a secure (password protected) WLAN network in AP+Client mode HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stratux.