mictronics / pluto-gps-sim Goto Github PK
View Code? Open in Web Editor NEWPLUTO-GPS-SIM generates a GPS baseband signal IQ data stream, which is then transmitted by the software-defined radio (SDR) platform ADALM-Pluto.
License: MIT License
PLUTO-GPS-SIM generates a GPS baseband signal IQ data stream, which is then transmitted by the software-defined radio (SDR) platform ADALM-Pluto.
License: MIT License
Hello,
I have done some "time" testing.
The test consists of compare the PPS (pulse per second) generate by a receiver with real Sats signal vs a PPS generated by a receiver with signal generated by Pluto simulator.
I measured the time between both PPS signals and the result is that PPS generated by Pluto is delayed about 10 microsec every second.
I try to explain me:
t0: both PPS pulses are at same time
t1 (1 second later from t0): Pluto PPS is delayed 10 microsec from real PPS
t2 (1 second later from t1): Pluto PPS is delayed 20 microsec from real PPS
t3 (1 second later from t2): Pluto PPS is delayed 30 microsec from real PPS
...
So, at 100 seconds from t0, Pluto PPS is delayed 1000 microsec from real PPS.
Do you know what could be the delay cause?
frames length?
time between messages?
Could you help me to fix it?
Thank you so much
Hi, i'm still playing with pluto-gps-sim.
I can see the time in GPS receiver is delayed respect to the PC's time which is running the code.
It is independent if i use "-T now" or "-t yy/mm/dd,hh:mm:ss" options, showed time in the receiver always is delayed around 20 sec.
Why is it?
How can I sincronize the received time in GPS with PC's time?
~$ git clone https://github.com/mictronics/pluto-gps-sim
Cloning into 'pluto-gps-sim'...
remote: Enumerating objects: 88, done.
remote: Total 88 (delta 0), reused 0 (delta 0), pack-reused 88
Unpacking objects: 100% (88/88), done.
~$ cd pluto-gps-sim/
~/pluto-gps-sim$ make all
cc -std=c11 -O2 -g -W -Wall -D_GNU_SOURCE -I/usr/local/include -c plutogpssim.c -o plutogpssim.o
plutogpssim.c:22:10: fatal error: curl/curl.h: Nincs ilyen fájl vagy könyvtár
#include <curl/curl.h>
^~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:10: plutogpssim.o] Error 1
what can be the problem?
hi, one curious question,
how hard or even possible could be to run the pluto-gps-sim inside the pluto arm board?.
I think it creates the code and transmit it via Adalm-Pluto. The terminal is like in the picture. I cannot change my position in Google Maps, also in Apple Maps. I am not using any DC block and attenuator. I think the problem is this. Can you please give more information about how to do connections with these equipments. I mean I do not know how to connect DC block and the attenuator to Adalm-Pluto. Also, some guys are using gps receiver. I only use an antenna connected directly to the Adalm-Pluto. Should I use a GPS receiver, also?
It would be really appreciated if you reply. Thank you.
Best regards.
Akif
Hi,
I have installed pluto-gps-sim in a laptop and works very fine.
Now I tried to run it on a Rasperry Pi 4 (and Pi 3 also) then apparently works but my ublox GPS receiver never fix (never gets a SAT in green), It seems like messages (or RF signal) are not continuous.
Any idea?
Thank you.
The README.md suggests downloading the daily GPS ephemeris data from NASA's FTP server. This service is ending on October 31, 2020 as per their website. Please update the README to go suggest visiting the new HTTPS instead.
When launching pluto-gps-sim (compiled fine, as well as other dependencies), either with -N pluto.local (pinging the pluto is OK) or with -U usb:1.6.5 (from iio_info -s), I get the following error :
'Using static location mode.
Gain: -30.0dB
RINEX date = 20200630 13:02:
Start time = 2020/06/30,12:00:00 (2112:216000)
PRN Az El Range Iono
10 131.7 35.4 22497854.6 2.4
Error opening PLUTOSDR TX device: No such file or directory'
Output of iio_info -s :
Library version: 0.21 (git tag: 565bf68) Compiled with backends: local xml ip usb serial Available contexts: 0: ... [local:] 1: 0456:b673 (Analog Devices Inc. PlutoSDR (ADALM-PLUTO)), serial=1044735411960006f2ff340008241XXXXX [usb:1.6.5]
When I do a iio_info -n pluto.local, I can grab all the information about the pluto :
Library version: 0.21 (git tag: 565bf68) Compiled with backends: local xml ip usb IIO context created with network backend. Backend version: 0.18 (git tag: v0.18 ) Backend description string: 192.168.2.1 Linux (none) 4.14.0-42540-g387d584 #301 SMP PREEMPT Wed Jul 3 15:06:53 CEST 2019 armv7l IIO context has 9 attributes: hw_model: Analog Devices PlutoSDR Rev.B (Z7010-AD9364) hw_model_variant: 0 hw_serial: 1044735411960006f2ff34000824XXXXXX fw_version: v0.31 ad9361-phy,xo_correction: 40000000 ad9361-phy,model: ad9364 local,kernel: 4.14.0-42540-g387d584 ip,ip-addr: 192.168.2.1 uri: ip:pluto.local IIO context has 5 devices: (...) iio:device3: cf-ad9361-dds-core-lpc (buffer capable) 6 channels found: voltage0: (output, index: 0, format: le:S16/16>>0) 4 channel-specific attributes found: attr 0: calibphase value: 0.000000 attr 1: calibscale value: 1.000000 attr 2: sampling_frequency value: 2083998 attr 3: sampling_frequency_available value: 2083998 260499 voltage1: (output, index: 1, format: le:S16/16>>0) 4 channel-specific attributes found: attr 0: calibphase value: 0.000000 attr 1: calibscale value: 1.000000 attr 2: sampling_frequency value: 2083998 attr 3: sampling_frequency_available value: 2083998 260499 altvoltage3: TX1_Q_F2 (output) 5 channel-specific attributes found: attr 0: frequency value: 403443 attr 1: phase value: 0 attr 2: raw value: 1 attr 3: sampling_frequency value: 2083998 attr 4: scale value: 0.000000 (...)
Line 1662, the code seems to look for the string "cf-ad9361-dds-core-lpc", which exists in the iio_info output, so I don't get it, if anyone has encountered that or has an idea ;-)
I just tried to generate a Spoofing signal via
./pluto-gps-sim -e brdc3250.19n -l 39.028225,125.751300,100 -U usb:1.4.5
The GPS-Connection of my mobile phone just drops but i don't get a new location.
What did I do wrong?
Dear Mictronics,
I did many tests with your pluto-gps-sim software but it can't fix the location.
I'm using pluto-gps-sim in a Ubuntu PC, a Pluto SDR and a uBlox M8-T GPS receiver.
The uBlox receives the simulated signals but it can't fix the location.
I know that a strong signal received can be a problem, so i tried from -80 to -150dBm at the uBlox receiver input ( 70dB attenuator plus the pluto-sdr-sim Att.)
I also tried with bandwith from 2 to 5MHz, but the results are always the same: No fix location.
Attached you can find an analyzer and ublox-center images.
As you can see in the images, it is not much time with 12 satellites in green, then they go to blue. And this situation repeats all over again.
Could you help me?
I will be very grateful with any idea.
hello,
my pluto device is connected with an usb to ethernet adapter to my network and the command iio_info -u ip:172.31.110.221 answer correctly with all the device information(also the -n option).
but the command ./pluto-gps-sim -e brdc3540.14n -u ip:172.31.110.221 doesn't. it says:
ERROR: Unable to find host: Name or service not known
Failed creating IIO context: No such file or directory
what I'm doing wrong?.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.