Comments (22)
There was some issues with IBUS types and also lat/lon were swapped. Fixed with f0f213d
Please try latest code and check if the problem persists
from msrc.
If still doesn't work, change type to IBUS_TYPE_S16:
sensorIbusP = new SensorIbus(AFHDS2A_ID_GPS_LAT, IBUS_TYPE_S16, gps->latP(), gps);
addSensor(sensorIbusP);
sensorIbusP = new SensorIbus(AFHDS2A_ID_GPS_LON, IBUS_TYPE_S16, gps->lonP(), gps);
addSensor(sensorIbusP);
sensorIbusP = new SensorIbus(AFHDS2A_ID_GPS_ALT, IBUS_TYPE_S16, gps->altP(), gps);
from msrc.
I tried with 2 GPS to be sure.
With the modification f0f213d, same result. All values sensors are frozen at 0.
By modifying S32 by S16, the sensors work but for the GPS I have as before:
LAT, LON and SPE at 0. COG and ALT work.
I also have a compilation error (see photo).
I had tested another code some time ago. All GPS data uploaded correctly in my remote control.
(https://create.arduino.cc/projecthub/yvesmorele/low-cost-telemetry-and-data-logger-flysky-turnigy-8491d1)
from msrc.
I've implemented AC packets to be able to send AFHDS2A_ID_GPS_FULL packet. Commit 924d1e6
Please try updated code
from msrc.
speed, cog and voltage are set to zero. Lat, Lon, Alt data are displayed but with inconsistent values
from msrc.
Please comment lines 297 and 298 in ibus.cpp and check if cog, spd and voltage works:
//sensorIbusP = new SensorIbusGps(AFHDS2A_ID_GPS_FULL, IBUS_TYPE_GPS, gps->latP(), gps->lonP(), gps->altP(), gps);
//addSensor(sensorIbusP);
from msrc.
I will try.
Thank you
from msrc.
Lat, Lon, Alt data are displayed but with inconsistent values
Please post the correct values
from msrc.
cog and voltage values are ok. speed never worked.
the actual values should be:
alt 202m
43.37
-0.35
from msrc.
This will be trial error. It is not clear the format for the multi packet for GPS
I've modified the GPS packet format.
Please flash the updated code. But this time do not connect your GPS to pin Rx, instead enable SIM_SENSORS in config.h. It will be easier for me the check the values if needed
from msrc.
I will try tomorrow.
from msrc.
With the last code and SIM_sensors. GPS was unplugged.
from msrc.
There was an issue in the definition of AC packets. Most likely is fixed now. Please try updated code
from msrc.
With the last code, I have the GPS values at 0. The voltage sensor is missing.
In order to confirm the hardware, I tested the other code( https://create.arduino.cc/projecthub/yvesmorele/low-cost-telemetry-and-data-logger-flysky-turnigy-8491d1). There is just a problem with the speed which must be multiplied by 100 (I tested with my car)
from msrc.
With SIM_SENSORS, it is the same result. GPS values at 0 and the voltage, speed, cog sensors have also disappeared.
PS: MRSC_gui win does not generate lines for rpm pinion, teeth...
from msrc.
Please try updated code. Should be ok now
from msrc.
PS: MRSC_gui win does not generate lines for rpm pinion, teeth...
Binaries updated. Fixed
from msrc.
I'm not at home. I will test tomorrow evening. Thank you
from msrc.
Great!!
Values are going up nicely. There is just an adjustment to be made with the GPS speed which is divided by 200 (0.2km/h instead of 40km/h).
So I will soon be able to test the BMP280 sensor (-;
Thanks again for your project.
from msrc.
There is just an adjustment to be made with the GPS speed which is divided by 200 (0.2km/h instead of 40km/h).
Speed multiplier fixed.
I've also added the number of sats for GPS.
from msrc.
Perfect.
The speed data is correct.
If I can, I test the BMP280 this afternoon.
(Do you know if there is a LUA script or a widget that would allow to have a graphic feedback on the TX16S as in the photo?)
from msrc.
There are several scripts lua scripts in this link
from msrc.
Related Issues (20)
- read gas engine rpm from cdi to my radio by RP2040 HOT 1
- Jeti EX Bus GPS not working HOT 8
- Jeti - How to give the sensor a name
- Futaba SBUS - BMP280 variometer bug HOT 5
- About RP2040 Indicators are not blinking HOT 1
- Hall effect RPM sensor HOT 2
- FS Ibus problem
- Some detailed info for readme... HOT 2
- debugging HOT 5
- FrySky R9MM Support? HOT 2
- XBUS Transistor HOT 2
- RP whit BMP problem HOT 1
- Improper Pathing in .vscode HOT 1
- Jeti issues HOT 4
- blheli_32 telemetry support?
- HobbyWing Platinum V5 telemetry support? HOT 1
- Hobbywing with Ethos Voltage Sensor > 50 Volt HOT 1
- No GPS on iBUS HOT 2
- having a similar problem to closed issue XBUS-Connection to AR8020T-Receiver #95 HOT 2
- possible support for Flysky SBUS HOT 1
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 msrc.