P25RX Arduino/Teensy Display project

Status
Not open for further replies.

shirsch101

Member
Premium Subscriber
Joined
Jan 29, 2012
Messages
309
Location
West Chester, PA
So I finally received the battery and terminal and had everything working. A little confused on what the buttons and joystick are switching.

Thanks

Steve
 

goldmyne99

Member
Joined
Jul 23, 2018
Messages
274
So I finally received the battery and terminal and had everything working. A little confused on what the buttons and joystick are switching.

Joystick:

Support for up to 8 frequencies stored in the P25RX roaming flash area:

Left - Change to previous frequency in the roaming flash table

Right - Change to the next frequency in the roaming flash table

Press - Clear and redraw screen

Top Buttons:

Left - Follow/Hold on current talk group.

Middle - Switch demodulation modes

Right - Skip current talk group for xxx seconds.
 

consys

Member
Premium Subscriber
Joined
Jan 2, 2004
Messages
212
Location
Carmichael, CA
I joined the club. Getting the WIO configured and running was as easy as advertised. Thank you Todd for the demo program and goldmyne99 for the quick start guide!!!
Looking forward to the API and customization- as one who can't leave things alone... I've done one fairly
complex Arduino project in the past.

I had this stand on hand and it's OK for a start. Did a little trimming with a dremel for the joystick and the rear power cable.


IMG_8590.jpg
 

consys

Member
Premium Subscriber
Joined
Jan 2, 2004
Messages
212
Location
Carmichael, CA
My apologies to Todd (btt) for for messing up his name. He has been incredibly helpful in all respects and has communicated directly with me. Don't know where my brain was last night... Or this morning. It was the "zones question" post where I got it wrong. Don't know how to cancel this reply and move it there.
 
Last edited:
  • Like
Reactions: btt

btt

Jew lover
Banned
Joined
Mar 11, 2020
Messages
2,585
Location
Wa State
...Looking forward to the API and customization- as one who can't leave things alone... I've done one fairly
complex Arduino project in the past.
email me if you want to play with the source for the Wio demo. The interface will change significantly after the protocol is defined and the source isn't commented heavily, but I have no problem sharing it as is.
My apologies to Todd (btt) for for messing up his name. He has been incredibly helpful in all respects and has communicated directly with me. Don't know where my brain was last night... Or this morning. It was the "zones question" post where I got it wrong. Don't know how to cancel this reply and move it there.
No worries! It didn't bother me a bit. Love your Wio-stand project.
 

raidamation

Member
Joined
Mar 5, 2019
Messages
11
It will be interesting to see what everyone does with the Wio. I am learning just need some stare and compare to get a better understanding of programming.
 

goldmyne99

Member
Joined
Jul 23, 2018
Messages
274
I had an offline question regarding if the Wio Display screen could be rotated by 90 degrees. For those interested, here is a simple example of the P25RX info displayed in a "portrait" orientation. The blank areas of the screen all can be used to display more info as desired.

vert.png
 

goldmyne99

Member
Joined
Jul 23, 2018
Messages
274
A few days ago @btt posted some sample ACARS data in another thread. Here is one of the ACARS messages he posted:

RX_IDX: 119, rssi -96 dBm
ACARS mesg len: 233,
ACARS mode: 2,
message label: H1
Aircraft reg: .N315AS,
flight id: AS0826
Block id: 49,
msg. no: D19A
Message content:-
#DFB
00#
315#.200322.23320100000826.KGEG.KSEA.CR.3700.22936.8818-#
N47.6428.W118.3946.202330.#21265.-30.7.308.044.CL#
N47.6468.W118.4406.202330.#21926.-32.5.309.048.CL#
N47.6507.W118.4873.202331.#21998.-3
ACARS mesg len: 23,
ACARS mode: 2,
message label: _
Aircraft reg: .N315AS,
flight id: AS082
Block id: 51,
msg. no: S40A
Message content:-
(ping. no message.)

It has GPS data. I had some free time today to work on a very rough Wio Sketch. Here is a sample P25RX Wio Display Screen showing the Aircraft GPS tracks in RED from all of his posted ACARS data sample. It needs more work, but shows another use of the Wio Display with the P25RX.

acars.png
 

goldmyne99

Member
Joined
Jul 23, 2018
Messages
274
Sweet! @goldmyne99 is Wio connected to WiFi for the map?

No WiFi, everything is being done on the Wio Terminal.

I have not tested the Wio Terminal's internal WiFi or Bluetooth modules. If you wanted to connect the Wio (and the attached P25RX) online you could.

In my ACARS example, the 18 gps data points are added in 'real-time' on the Wio Display.

The static background image is a bitmap file saved on the WIO's internal micro SD card.

The Wio micro SD card can also be used to save P25RX log files, etc.
 

NYG

Member
Joined
Jun 9, 2006
Messages
266
I just got one of the Wio Terminals delivered a couple of days ago. Is the latest code available that you folks are working with?
 

goldmyne99

Member
Joined
Jul 23, 2018
Messages
274
I just got one of the Wio Terminals delivered a couple of days ago. Is the latest code available that you folks are working with?
Great to hear you have a WIO. The demo UF2 file at the below link is the working demo. When a new API is finished, more code examples will be created.

Edit: If you are asking about the Arduino Sketch for the demo, that has not been posted due to the changing data interface.


Wio Demo
 
Last edited:

goldmyne99

Member
Joined
Jul 23, 2018
Messages
274
As a Proof of Concept, I tested the Wio Terminal's internal WiFi module.

Here is the @btt Wio Demo with some added WiFi "websockets" arduino code that sends data to a web page.

wio_wifi.jpg
The Wio Terminal is connected to my WiFi router.
The Wio acts as a web server that creates a web page with the P25RX data in real time with the Wio display. My Windows 10 machine is displaying the Wio Terminal web page. I plan to write this up in more detail for others to explore WiFi.

Hopefully, others with much more network and html programming skills will be able to create some interesting P25RX WiFi projects with the Wio Terminal.
 

goldmyne99

Member
Joined
Jul 23, 2018
Messages
274
Question: Could the Wio Terminal be used to send the p25rx usb binary data and audio over WIFI to your BTCONFIG software for remote control over WIFI?

In simple terms, the idea is to use the Wio Terminal as a wireless TCP/IP connection to BTCONFIG software.

I haven't looked at that yet, so I'll let @goldmyne99 answer that, but I'm pretty sure the answer is going to be yes. Pretty exciting stuff. Once I get the recent software changes somewhat settled, I will document the new binary data stream. I will also certainly be interested in helping with development on something like that. I plan on playing with the Wio terminal more in the near future.

@FreqNout I have added Skip, Hold, and Demod buttons to my WiFi test web page show above. I am able to send those commands over WiFi to the Wio Terminal to control the P25RX.

I have very limited network skills. However, I believe my simple tests show that full remote control of the P25RX over WiFi would work using the Wio Terminal. Of course, more code will need be to written and tested. As @btt said this is exciting.
 

vince48

Member
Premium Subscriber
Joined
May 13, 2001
Messages
1,167
Location
Central Valley, CA.
@FreqNout I have added Skip, Hold, and Demod buttons to my WiFi test web page show above. I am able to send those commands over WiFi to the Wio Terminal to control the P25RX.

I have very limited network skills. However, I believe my simple tests show that full remote control of the P25RX over WiFi would work using the Wio Terminal. Of course, more code will need be to written and tested. As @btt said this is exciting.
Please, Please continue your terrific work goldmune99!!!!!!!
 

goldmyne99

Member
Joined
Jul 23, 2018
Messages
274
For those interested in more Wio Terminal WiFi testing:

I wanted to see if I could connect to BTConfig over WiFi.
The answer is: Yes -- as a concept.
However, a real workable solution will require much more work to be done.

Currently, BTConfig only connects to the P25RX via usb serial com port. The Wifi network data is transfered on TCP. I found a trial version of a "TCP to Com port bridge" Windows program that does the TCP to Serial connection.

Here is the data flow:
P25rx > Wio Wifi > My Wifi Router > Windows 10 PC Wifi > TCP-Com bridge > btconfig.

The Wio Terminal Wifi is setup as tcp server on 192.168.0.17 port 2525
The TCP Com bridge program connects to port 2525 and passes the P25RX data to virtual serial com port 4. Btconfig connects to com port 4.

Here is a screen shot of Btconfig connected to the virtual com port 4 and reading the p25rx info over WiFi. Todd quickly created a custom version of BTConfig that allowed me to select com port 4 via command line for this testing.
wifibtconfig.JPG

It completes reading the sys config, reading the roaming info, and begins reading talkgroups from the P25RX before it stops.

Here is another screenshot showing a terminal program connected to the virtual com port sending and receiving data from the WiFi connected P25RX.

wifiterm.JPG
I see this as very positive testing showing what could be done in the future with the Wio Terminal and the P25RX models.

As always, more work (and fun) to be done :)

A big Thank You to @btt for the P25RX hardware and software!!
 
Last edited:

vince48

Member
Premium Subscriber
Joined
May 13, 2001
Messages
1,167
Location
Central Valley, CA.
For those interested in more Wio Terminal WiFi testing:

I wanted to see if I could connect to BTConfig over WiFi.
The answer is: Yes -- as a concept.
However, a real workable solution will require much more work to be done.

Currently, BTConfig only connects to the P25RX via usb serial com port. The Wifi network data is transfered on TCP. I found a trial version of a "TCP to Com port bridge" Windows program that does the TCP to Serial connection.

Here is the data flow:
P25rx > Wio Wifi > My Wifi Router > Windows 10 PC Wifi > TCP-Com bridge > btconfig.

The Wio Terminal Wifi is setup as tcp server on 192.168.0.17 port 2525
The TCP Com bridge program connects to port 2525 and passes the P25RX data to virtual serial com port 4. Btconfig connects to com port 4.

Here is a screen shot of Btconfig connected to the virtual com port 4 and reading the p25rx info over WiFi. Todd quickly created a custom version of BTConfig that allowed me to select com port 4 via command line for this testing.
View attachment 120173

It completes reading the sys config, reading the roaming info, and begins reading talkgroups from the P25RX before it stops.

Here is another screenshot showing a terminal program connected to the virtual com port sending and receiving data from the WiFi connected P25RX.

View attachment 120174
I see this as very positive testing showing what could be done in the future with the Wio Terminal and the P25RX models.

As always, more work (and fun) to be done :)

A big Thank You to @btt for the P25RX hardware and software!!
goldmyne99,
this is fantastic work by you. Please continue your testing and hoping you can design a kit that can be offered to the P25RX community, or perhaps you and Todd can collaborate together to offer a built option, maybe a P25RX Wi-Fi
 
Status
Not open for further replies.
Top