Keyboard Shortcuts
Likes
- Direwolf
- Messages
Search
Re: High School Radio Club with Telemetry Setup Question
David Ranch
开云体育Hello Timothy, ? It's more a matter of not having enough space in the APRS packet payload.? With that said, you can do anything with the CBEACON payload you want.? As long as your software can decode it, then more power to you!? This is the power of being a HAM!
You're saying all the right things an I fully imagine there are available experimental frequencies in the digital portion of your local bandplan that will work.
That depends on several factors but for #1, assuming that each transmitter has a GPS signal with the PPS signal to ensure very accurate time AND you can come up with a schedule to have each of these eight stations interleaving their packets in a given minute, it might work.? Now, since you're also using SMARTBEACON, I don't think you'll have very consistent and deterministic beacon timing.? As some point, I bet you'll start to see packet collisions.? APRS, using unacknowledged AX.25 UI frames, will just "loose" those packets.? I'm assuming that you plan on also recording all of these packets to an onboard storage device so after the race, you can fill in any possible gaps.? For #2, this reduces the collision risk but then you also need another dedicated receiver for that frequency.? That does make things a bit more complicated though sometimes maybe using an SDR can keep at least the hardware complexity down. Ultimately, you need to review why you really need "near real time".? For a race that takes almost an hour, I would think that getting data from the car every minute or even half-minute would be perfectly fine. --David KI6ZHD |
Re: High School Radio Club with Telemetry Setup Question
David, Thank you again for your reply. You are right, I am not afraid of Linux, just not as strong in it as I would like to be. (Basically anything using grep makes almost zero sense but that is a different issue). The programmer in me has zero problems using method calls as parameters into other methods, but I guess the idea (and practice) of using separate programs/scripts as arguments to a program was were my mind was blocking. I was hoping to use TBEACON with embedded telemetry in the same way that telem-balloon.conf uses PBEACON (see lines 38-40). If I understood your reply correctly it just isn't supported, and would be better implemented as separate TBEACON for position only and CBEACONs for the telemetry data. With the rate that car club wants to see this data my plan was to stay far away from 144.390 . I know I will end up monopolizing whatever frequency I end up on, but it will only be for an hour or so on only a few days out of the entire year. I am working with local hams that are more experienced than I to find the best frequencies, and goal is always to use the lowest power possible. No one wants to be that guy. Looks like I have some more testing ahead of me. (Just finished a python script to read data from the serial port in a way it could be called/passed as a parameter into infocmd=") In your opinion would it be best to start a new discussion with my next question, or continue this thread? The question(s) would be: If placing a Tracker w/ telemetry unit on each of 6-8 cars with the goal of being able to receive data from these cars in? as close to real-time as possible. What would be the better design: Option 1: All cars on the same frequency (not 144.39) Option 2: Each car on it's own frequency. There are obviously pro's and con's to each set-up, but this post is already getting too long. So I'll stop here for tonight and await your next reply. Again, thank you for your support. Quoting your first email this is a really cool project! Tim... |
Re: High School Radio Club with Telemetry Setup Question
David Ranch
开云体育Hello Timothy, ? Ok...
No.. it only sends fixed telemetry but I think you're overlooking a key point.? Different Direwolf beacons run all independently.? This means that you can have PBEACONS, OBEACONS, TBEACONS, and CBEACONS all running at the same time at different intervals sending different data.? Per the APRS_Telemetry doc, it's example sends: The command "direwolf -c telem-volts.conf" would send out the following beacons on their specific schedule: -- MYCALL-9>APDW13,WIDE2-1::MYCALL-9 :PARM.Supply MYCALL-9>APDW13,WIDE2-1::MYCALL-9 :UNIT.Volts MYCALL-9>APDW13,WIDE2-1:T#1,4.808 MYCALL-9>APDW13,WIDE2-1:T#2,4.797 MYCALL-9>APDW13,WIDE2-1:T#3,4.808 MYCALL-9>APDW13,WIDE2-1:T#4,4.802 MYCALL-9>APDW13,WIDE2-1:T#5,4.807 -- If you look in that conf file, you'll see the various beacons.? The first two lines are the EQNS lines to define what the future telemetry data represents.? These simple text lines are sent every minute (an extremely fast rate for APRS so that should be on one of the alternative APRS frequencies in your area to not clog up the national 144.390 frequency. -- CBEACON delay=0:10 every=1:00 via=WIDE2-1 infocmd="telem-parm.pl MYCALL-9 Supply" CBEACON delay=0:11 every=1:00 via=WIDE2-1 infocmd="telem-unit.pl MYCALL-9 Volts" -- The next CBEACON is actually getting the A2D data via the Python script.. then running that output through Perl script to put it into the required APRS Telemetry format.? It does this every 10 seconds.? For your application, you might do this every second or so. -- CBEACON delay=0:15 every=0:10 via=WIDE2-1 infocmd="telem-data.pl `telem-seq.sh` `PYTHONPATH=~/Adafruit-Raspberry-Pi-Python-Code/Adafruit_ADS1x15 telem-volts.py`" --
? The only slight difference here is that the "SMARTBEACON" parameter changes the transmission rate of the TBEACONS (tracker beacons) which shows your location.? Again, the TBEACONS (which has the modified transmission times per the SMARTBEACON parameter), CBEACONS, etc. all run in parallel!
It seems you're not the familiar with Linux.? Let me translate for you:?? infocmd="telem-data.pl `telem-seq.sh` `PYTHONPATH=~/Adafruit-Raspberry-Pi-Python-Code/Adafruit_ADS1x15 telem-volts.py`" Run the program "telem-data.pl" perl script but as part of it's TWO command line arguments: ?? Argument #1 - run the telem-seq.sh script and use it's output as the argument ?? Argument #2 - Giving a Python path for various Python libraries first, now run the telem-volts.py" script and use it's output as the second argument In this example, this CBEACON runs four times and it creates the output: ??? T#1,4.808 ??? T#2,4.797 ??? T#3,4.808 ??? T#4,4.802 ??? T#5,4.807 Which stands for: ?? Telemetry packet : sequence #1 : voltage: 4.808v ?? Telemetry packet : sequence #2 : voltage: 4.797v ?? Telemetry packet : sequence #3 : voltage: 4.808v ?? Telemetry packet : sequence #4 : voltage: 4.802v ?? Telemetry packet : sequence #5 : voltage: 4.807v Make sense?
Sure.. go ahead and write it and submit it to John WB2OSZ for inclusion in Direwolf.? That's what OpenSource is all about.? I think why this was done this way is that John didn't write the Python A2D code.. the people at Adafruit did.? He's simply demonstrating the power of Linux being able to mix and mash different programs together to make it work. --David KI6ZHD |
Re: RPi iGate next step.
David Ranch
开云体育It's worth mentioning that getting the N7NIX DanTracker going is a bit a of a bear.? I need to update my docs (from Rasbian Wheezy) to try and see if the the newest versions of the Node.JS plugins are compatible (they weren't in the past) but here they are: ?? --David KI6ZHD |
Re: High School Radio Club with Telemetry Setup Question
David and others ...
Sorry for the scatter shot of my last message. Developing at the speed of the mind of high school student is dizzying sometimes. Background on the project is as follows... Our school has a super mileage vehicle club (SMV) that build high endurance "cars" and races them for fuel efficiency. ? last year one of there cars averaged over 100 mpg. In the spring they race their cars at Road America a large race track. They have always wanted to get "real-time" status of their cars to better game the race.? The SMV advisor saw that the radio club was able to send/receive data at distances greater than 5 miles and asked us to take on a joint project.? Project goals: 1. Near real-time reporting of GPS position data -- (we have this already working using a TBEACON and GPSD. 2. Send telemetry data (battery voltage and current draw) from the car's on-board cycle analyst via a serial connection to the raspberry pi. -- Here is where our questions really lie. Does the TBEACON support the COMMENTCMD? Does this still all work with SMARTBEACONING? The examples show perl, python, and bash script but doesn't really give clear guidance on what each does.? It looks like telem-data.pl just concatenates the arguments that are passed to it. ? and telem-volts.conf line 27 just calls?telem-data.pl with a shell script (telem-seq.sh) and a Python script.? Could calling three different systems be made more efficient by using just one script that ends up echoing what the combination of all of them do?? Hope this helps to focus what we are looking for thank you to everyone for your help. Timothy |
Re: High School Radio Club with Telemetry Setup Question
David Ranch
开云体育Hello Timothy, ? Cool project!
You're a bit all over the place here.? Can you tell us what you're trying to do?? I would think that the TBEACON examples in the Raspberry-Pi-APRS-Tracker.pdf document would be sufficient.? No?
What would be in this CBEACON that isn't covered in say the TBEACON? If CBEACON is what you want, have you reviewed the telemetry-toolkit/telem-volts.conf example configuration file? --David KI6ZHD |
High School Radio Club with Telemetry Setup Question
Good day All,? Name here is Timothy (KD9DBG) and the high school radio club that I advise (KD9DCS) is trying to build GPS and telemetry beacons for our school's super mileage vehicles. Our question lies in the script(s) needed to send the telemetry data to direwolf. ? We have read many times both the user guide and the telemetry tool kit guide and examples. Have come to the conclusion that we need to use CBEACON and INFOCMD or COMMENTCMD (if embedding the data in a position report) The GPS data is correctly coming in through GPSD (does the COMMENTCMD work with TBEACON?) In the tool kit there are both perl and python scripts.? It seems that the perl script is called by direwollf and the python script is called by the perl script? when looking at the perl script it apears to just bring everything together as a string and echo it back.? I guess the question comes down to could we just use one perl or python or other language script to grab the serial data, put it in the right order/format? CBEACON delay=0:15 every=0:05 via=WIDE2-1 infocmd="" I think that is it for now, there will be more questions in the future (like the adviser for the car club just saw our prototype and asked us to expand the system from 1 car to 8 cars) Thank you for your time and assistance,? Timothy KD9DBG |
Re: Transmitter stays keyed too long. T/R Delay rime
John KD8DVR
I have a dry sense of humor too. Love the Watts comment :)
toggle quoted message
Show quoted text
-------- Original Message --------
From: Dana Myers dana.myers@... [direwolf_packet] Sent: Monday, Dec 5, 2016 5:13 PM EST To: direwolf_packet@... Subject: [direwolf_packet] Transmitter stays keyed too long. T/R Delay rime On 12/5/2016 1:41 PM, John KD8DVR kd8dvr@... [direwolf_packet] wrote: Yeah... after I replied, I realized that. I stayed silent to avoid my face turning a deeper shade of red. I apologize - it was meant as a dry bit of humor, perhaps it was a bit too dry. A bit like the time I drily asked someone on Usenet if they were measuring metric or Imperial Watts. |
Re: Transmitter stays keyed too long. T/R Delay rime
David Ranch
开云体育Hello John,Curious, what device are you using?? Even with Echolink, a keydown delay of 1.5sec is really way to slow. --David KI6ZHD On 12/05/2016 01:46 PM, John KD8DVR
kd8dvr@... [direwolf_packet] wrote:
? |
Re: Transmitter stays keyed too long. T/R Delay rime
开云体育On 12/5/2016 1:41 PM, John KD8DVR
kd8dvr@... [direwolf_packet] wrote:
?I apologize - it was meant as a dry bit of humor, perhaps it was a bit too dry. A bit like the time I drily asked someone on Usenet if they were measuring metric or Imperial Watts. 73, Dana? K6JQ |
Re: Transmitter stays keyed too long. T/R Delay rime
John KD8DVR
The device was designed specifically for Echolink. This lack of an
toggle quoted message
Show quoted text
adjustable T/R delay was intentional. They sell another device that is identical, except the T/R delay is adjustable. Of course, I read this later. My Rigblaster should have no issue with DW. I need to get all set up again. My move to Windows 10 and other stuff has me rebuilding. I was mostly just tinkering with that HT adapter on applications other than Echolink, that it was designed for. -------- Original Message --------
From: David Ranch dranch@... [direwolf_packet] Sent: Sunday, Dec 4, 2016 8:24 PM EST To: direwolf_packet@... Subject: [direwolf_packet] Transmitter stays keyed too long. T/R Delay rime I would agree.... 1500ms is terrible and I can't think of a reason why someone would design in such a huge delay into their product! |
Re: Transmitter stays keyed too long. T/R Delay rime
John KD8DVR
Yeah... after I replied, I realized that. I stayed silent to avoid my
toggle quoted message
Show quoted text
face turning a deeper shade of red. -------- Original Message --------
From: Dana Myers dana.myers@... [direwolf_packet] Sent: Sunday, Dec 4, 2016 5:18 PM EST To: direwolf_packet@... Subject: [direwolf_packet] Transmitter stays keyed too long. T/R Delay rime On 12/4/2016 2:13 PM, John KD8DVR kd8dvr@... [direwolf_packet] wrote: Hmmm... never tried... It's an idea. I was being facetious :-) |
Re: Transmitter stays keyed too long. T/R Delay rime
David Ranch
开云体育I would agree.... 1500ms is terrible and I can't think of a reason why someone would design in such a huge delay into their product! --David KI6ZHD On 12/04/2016 05:15 PM, Doug Kingston
dpk@... [direwolf_packet] wrote:
? |
Re: Transmitter stays keyed too long. T/R Delay rime
1.5 seconds is an eternity.? Even lousy HTs can T/R switch faster than that.? I would investigate getting that shortened. -Doug- On Sun, Dec 4, 2016 at 2:11 PM, John KD8DVR kd8dvr@... [direwolf_packet] <direwolf_packet@...> wrote:
|
Re: Transmitter stays keyed too long. T/R Delay rime
开云体育On 12/4/2016 2:13 PM, John KD8DVR
kd8dvr@... [direwolf_packet] wrote:
? I was being facetious :-) 73, Dana? K6JQ |
Re: Transmitter stays keyed too long. T/R Delay rime
John KD8DVR
Hmmm... never tried... It's an idea.
toggle quoted message
Show quoted text
-------- Original Message --------
From: Dana Myers dana.myers@... [direwolf_packet] Sent: Sunday, Dec 4, 2016 2:05 PM EST To: direwolf_packet@... Subject: [direwolf_packet] Transmitter stays keyed too long. T/R Delay rime On 12/4/2016 8:57 AM, John KD8DVR kd8dvr@... [direwolf_packet] wrote: Disregard.... my device has a built in T/R delay that is hard coded. |
Re: Transmitter stays keyed too long. T/R Delay rime
John KD8DVR
Thanks.. I'll give that a shot and see.... my adapter, though, looks
toggle quoted message
Show quoted text
like it has a TX to RX delay that's set to 1.5 seconds. The RX to TX time is good. I *can* also use my Rigblaster Nomic with my IC-2200H, (which I actually do all the rest of the time) so there is a definite way for me to be on packet. I'm just playing with HTs. -------- Original Message --------
From: David Ranch dranch@... [direwolf_packet] Sent: Sunday, Dec 4, 2016 12:26 PM EST To: direwolf_packet@... Subject: [direwolf_packet] Transmitter stays keyed too long. T/R Delay rime Hello John, Which HT are you using? Though HTs will work, their TX keyup times can be pretty slow (250ms+). Settings in the direwolf.conf file for TXDELAY (time Direwolf waits after the PTT signal has been given before it starts playing the AFSK packet sounds) and TXTAIL (the delay after the AFSK sounds are complete before it PTT signal is removed). |