Keyboard Shortcuts
Likes
- Direwolf
- Messages
Search
Re: Question about RAW packets from IF to Internet
David Ranch
开云体育Hello Koval, ? Ok.. you're making a few jumps here and this really doesn't have anything to do with Direwolf per se.? Regardless, I've filled in some of the blanks: ?? - your station is UR3PHP-10
According to this aprsdirect.com page, your UR3PHP-10 station has heard the UR5KSH-0 station 919 times (last heard 12/7/16) - but per APRS.fi, there are only 14 packets - (look at the bottom).? I've personally never heard of aprsdirect and though the site looks pretty impressive, I don't know how reliable it's data is.
Yes.. this is the same on aprsdirect.com as as well as aprs.fi.
Which "UR5KSH" are you expecting this from? The -0 SSID?? Per Aprs.fi
Your direwolf config file would have ZERO impact on what different APRS comment strings.?? If you're confident UR5KSH is sending a different comment string, I would first look closer at what the aprsdirect.com site is doing.
Per , your station hasn't directly heard UR6KSH-0 ever.? Are you sure it's an RF transmitter and not just an RX-only Igate?
If you look here, the only station that has heard UR5KSH-3 is UR5KSH-0: ? (look at the very bottom) the only station that's heard UR5KSH-3 ( ) two stations and only 14 packets.? I imagine this station is transmitting at a very low power into a poor antenna:
--David KI6ZHD |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Question about RAW packets from IF to Internet
Hello! I've installed program. Here my station https://www.aprsdirect.com/details/main/sid/456583 According to statistics tab I've received 919 packet from UR5KSH. According to RAW data I send information about my position only. "08.12.2016 05:53:10+01:00: UR3PHP-10>APDW13,qAR,UR3PHP-10:!5045.33NR02521.80E&RaspberryPi + RTL-SDR". But normally there should be some data from UR5KSH. Something like "08.12.2016 05:53:10+01:00: UR3PHP-10>APDW13,qAR,UR5KSH-10:!5045.33NR02521.80E&Digipeater". My question is. Is it a problem of aprsdirect site or it's a problem of my config file? Why aprs.fi site http://aprs.fi/info/a/UR3PHP-10 doesn't show UR5KSH station ? I am really confused. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Re: RasPi+Direwolf hangs after 5 min
The Pi is about 2.5 months old, and the wall power supply give 5 volts @ 2.5 amps and the battery pack will do a little more On Thu, Dec 8, 2016 at 11:08 AM, MIKE DURKIN Patriot121@... [direwolf_packet] <direwolf_packet@yahoogroups.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Re: RasPi+Direwolf hangs after 5 min
David Ranch
开云体育Hello Tim,
A few thoughts here: 1. Direwolf is known to be somehwhat temperamental with some cheap USB sound cards.? I recommend to splurge and by a $7 Syba unit 2. Direwolf is known to not like having the USB sound card behind a USB hub.? Make sure yours is directly connected to the Rpi itself 3. RFI from your radio can cause all kinds of weird issues.? As an experiment, try unconfiguring PTT in the direwolf.conf file (makes Direwolf think your using VOX) and see if things work longer that 5minutes.? If it DOES work longer, you probably have an RFI issue.? You'll want to install various ferrite chokes, shielded cables, etc. to resolve this
Oh.. so no RF transmitter is involved in this test?? Even then, you could be getting voltage differentials across the grounds.? Btw, I assume you installed decoupling capacitors between the microphone jack on one sound card going into the speaker jack of the other sound card?? This is VERY important or you can potentially fry BOTH soundcards if they have a microphone bias voltage but don't include a decoupling cap.
You might want to read this thread which I found by simply Googling your error above: ? ? Is your Rpi running the newest version of Raspbian: ?? sudo apt-get update ?? sudo apt-get upgrade ?? sudo apt-get dist-upgrade ?? sudo apt-get install rpi-update ?? sudo rpi-update Once everything goes well, then do: ?? sudo reboot If those are new steps to you, I encourage you to read: ??
I don't know what the Arduino device is or how much power it consumes but I would encourage you have: ? - a quality 5.1v (not 5.0volt power supply) : yes, 5.1v supplies are available ? - put other USB devices behind a POWERED USB hub - don't assume the Rpi can properly power all USB devices (it can't) --David KI6ZHD |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Re: RasPi+Direwolf hangs after 5 min
开云体育Im sorry .. the Pi with the problem .. how long have you been using it? Does the 5v source provide 3A ?
is where i seen a heating issue .... makes me think the output is DC coupled .. maybe nothing to do with what your having.
I use Ebay listing 272378452099 .. its cheap from china and takes a slow boat around the planet it seemed ... mind you .. it has no case. Its not a potted CM-108 -- though iv not been able to use the GPIO's yet.
From: direwolf_packet@... on behalf of Timothy Overocker overrocking@... [direwolf_packet]
Sent: Thursday, December 8, 2016 8:20 AM To: direwolf_packet@... Subject: Re: [direwolf_packet] RasPi+Direwolf hangs after 5 min ?
?
Mike,
Thank you for your comments and questions please see below for responses...
?...
On Thu, Dec 8, 2016 at 9:30 AM, MIKE DURKIN
Patriot121@... [direwolf_packet] <direwolf_packet@...> wrote:
The behavior happens whether the Pi is plugged in to the wall or on an external battery.?
Relatively inexperienced with Linux ... what log do you recommend to check and where do I find it? ??
Everything was plugged directly into the Pi with no external hub. ?
?Interesting .. another Cm-108 variant .. CM-108AH --- is that what dmesg reports?
Unknown I'll read the log more closely?
Could you provide a link or a search term to find more info.
What about a card recommendation?
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Re: RasPi+Direwolf hangs after 5 min
Mike, Thank you for your comments and questions please see below for responses... ?... On Thu, Dec 8, 2016 at 9:30 AM, MIKE DURKIN Patriot121@... [direwolf_packet] <direwolf_packet@...> wrote:
The behavior happens whether the Pi is plugged in to the wall or on an external battery.?
Relatively inexperienced with Linux ... what log do you recommend to check and where do I find it? ??
Everything was plugged directly into the Pi with no external hub. ?
?Interesting .. another Cm-108 variant .. CM-108AH --- is that what dmesg reports? Unknown I'll read the log more closely?
Could you provide a link or a search term to find more info. What about a card recommendation?
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Re: RasPi+Direwolf hangs after 5 min
开云体育How long has this Pi been running ... might be a voltage problem.
look back through the log .... was the C-media on the same buss? Bus 001 Device 005
or did it disappear and and come back?
Interesting .. another Cm-108 variant .. CM-108AH --- is that what dmesg reports? Iv seen reports that this soundcard can heat up due to a manufacturing error ... From: direwolf_packet@... on behalf of overrocking@... [direwolf_packet]
Sent: Thursday, December 8, 2016 6:01 AM To: direwolf_packet@... Subject: [direwolf_packet] RasPi+Direwolf hangs after 5 min ?
?
All of you guys were such a great help on getting telemetry setup I thought I would come here with my new problem.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
RasPi+Direwolf hangs after 5 min
All of you guys were such a great help on getting telemetry setup I thought I would come here with my new problem.
Machine 1: Raspberry Pi 3 with latest firmware updates Sound Card: USB CableCreation (Cheap off of Amazon) Within 5 minutes of stating Direwolf hangs with: [0L] KD9DCS-5>APDW13,WIDE2-1:T#275,1,a,9,9,3 [0L] KD9DCS-5>APDW13,WIDE2-1:T#276,10,a,9,9,3 Audio input device 0 error: Input/output error As you can see it sent 276 packets and then nothing ... The command in the config file is: CBEACON delay=0:02 every=0:01 via=WIDE2-1? infocmd="telem-data.pl `telem-seq.sh` `./ex1.py`" The original packets are being decoded correctly on another machine connected via audio patch cable KD9DCS-5 audio level = 49(26/25)?? [NONE]?? _|||||||_ [0.4] KD9DCS-5>APDW13,WIDE2-1:T#275,1,a,9,9,3 Found fewer than expected number of telemetry data values. Telemetry, Yacht? <= the original primar, DireWolf, WB2OSZ Seq=275, A1=1, A2=0, A3=9, A4=9, A5=3 From various runs all I can say is that the behavior is repeatable regardless of: beacon rate? (just ends up taking a little longer to fail) audio sample rate (no change in behavior) changed Pi to console only (slight increase in run time) Other information: direwolf config for audio device: ADEVICE? plughw:1,0 dmesg shows an error: [? 689.867115] Transfer to device 5 endpoint 0x2 frame 1757 failed - FIQ timed out. Data may have been lost. [? 695.741100] cdc_acm 1-1.5:1.0: failed to set dtr/rts [? 728.387504] cdc_acm 1-1.5:1.0: failed to set dtr/rts lsusb shows that device 5 is the usb audio card: pi@raspberrypi:~ $ lsusb Bus 001 Device 004: ID 2341:0042 Arduino SA Mega 2560 R3 (CDC ACM) Bus 001 Device 005: ID 0d8c:0014 C-Media Electronics, Inc. Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub My current assumption is something with the USB subsystem on the raspberry pi. I have no idea were to start except maybe a different USB sound card? Any Sugesstions... Tim KD9DCS |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
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. |