Uniden Remote Head Project

mancow

Member
Database Admin
Joined
Feb 19, 2003
Messages
6,908
Location
N.E. Kansas
So apparently I'm now learning Python and what ever else.
Great...
Any interest beyond attaboy clicks? Maybe crowd push this into something useful for the masses? Obviously Uniden is MIA with no additional development. Maybe start a groups.io for it? A repository for info. I have lots of **** strewn across gigs of hard drives; drawings, schematics, photos of notes, hours of nicotine and frustration.

I'll go start one.... will report back when done once I figure it out.


I'm thinking a base coding group with guys to work on special fonts [there are a few of them], hardware guys that get serial and USB stuff, Python guys, that guy that said he had a way to custom cut housings with a laser or water (I have 65+ of the gray ABS ones in my garage right now my wife is stacking vegetables on, no BS I would like to get them out of here and so would she). I know there are some 3D printer guys that can draw up some nice housings. Let's do it.

At this point there are several tracks. The original OP that diappeared unforunately, the Adfruit graphics board, Nextion and 4DSystems Arduino / Linux. If there was enough effort we explore them to see what is best but it seems the Linux Armadillo is the newest to explore and likely the most bang for the buck.
 
Last edited:

JSTARS03

Monitor
Joined
Jun 10, 2003
Messages
159
Location
Sunny Florida
These may help you get started in Python at least looking in the right direction:

[/URL]




I wish I could be of some help. I have always wanted to teach myself Python but working full time with two part-time jobs and going to school for my Masters., I barely have time for sleep. So I understand your position.
The first two have always interested me. On my list to do when I get some time.
 

eorange

♦RF Enabled Member♦
Joined
Aug 20, 2003
Messages
3,028
Location
Cleveland, OH
At this point there are several tracks. The original OP that diappeared unforunately, the Adfruit graphics board, Nextion and 4DSystems Arduino / Linux. If there was enough effort we explore them to see what is best but it seems the Linux Armadillo is the newest to explore and likely the most bang for the buck.
My thoughts on architecture choices. This is by no means exhaustive or comprehensive; these are introductory high-level concepts:

Microcontroller-based (Arduino & similar controllers)
Pro
  • No operating system overhead
  • Straightforward implementation
  • Better performance
Con
  • Less language support for helper libraries
  • Monolithic solution (i.e. 1 big file) impedes collaboration
  • Limited memory for software; could be an issue for complex solution
Operating System-based (Raspberry Pi)
Pro
  • Full Support for Python and similar languages = easier to develop & collaborate (github)
  • Virtually unlimited storage compared to microcontrollers (think logging, etc)
  • Easy hardware support (filesystems, wifi, BT)
Con
  • Operating system know-how (updates & patches, installing packages, file permissions)
  • Yanking power without graceful shutdown can cause problems
All that said, I agree the Armadillo is the next best step. The issue of smart displays (Nextion with the ability to do easily crank out UIs at the expense of RFI due to more processing on the board) vs dumb displays (simple bit-mapped which requires more code but requires less processing and therefore less RFI) is also a factor.

The only thing that is a potential gotcha for the Armadillo is touch-screen support at a programming level. IF you go with Python and IF you choose to use PyGame as your UI library...there's a longstanding issue where PyGame cannot accurately report the (x,y) of the touch. See this post by me: Uniden Remote Head Project

I'll have to check which version if PyGame I'm running, and if it's fixed in PyGame 2.0. That would be great.

PyGame is a solid library for graphics and games (collision detection, cameras, scrolling, etc), but honestly it's overkill for a remote head application. It would be nice if there was a simpler graphics library for Python that supported touchscreen, fonts, and simple graphics.
 

Tinkerwave

Member
Joined
Nov 22, 2019
Messages
39
Con
  • Operating system know-how (updates & patches, installing packages, file permissions)
  • Yanking power without graceful shutdown can cause problems
I believe managing power of OS-based devices like Raspberry Pi can easily be done. This project is one approach:

Another is using Geekworm Raspberry Pi shields and kits, such as their X708:
For $46 it has:
- safe shutdown software. Can shut down automatically based on temperature, available battery power battery power
- fan
- auto power on to RPi
- 5.1V 8A power

Other units and kits include variable speed fan(s), RTC, heat sink(s), case, display, etc. Additional specs about Geekworm's items are here:
And are also available here:
 

eorange

♦RF Enabled Member♦
Joined
Aug 20, 2003
Messages
3,028
Location
Cleveland, OH
Right. But this discussion is currently leaning towards the 4D Armadillo, which is an integrated solution and wouldn't be able to accomodate additional hardware.
 

mancow

Member
Database Admin
Joined
Feb 19, 2003
Messages
6,908
Location
N.E. Kansas
As for the armadillo, I just ran across a post on their forum saying it's being discontinued. Of course I see this now after I ordered. They have another that is made to adapt to Pi's with a header board and what not. It is the GEN4-4DPI-43T. Can someone take a look and see what you think about that one?

God points above. I'm still conflicted as to what to go with though. Stay with their HMI stuff or move to Pi based? The Pi is more complicated but Pi W is tiny and really powerful, but is it overkill?
 
Last edited:

Tinkerwave

Member
Joined
Nov 22, 2019
Messages
39
They're cancelling the Armadillo? Damn that sucks. Sorry to hear that. Maybe, given that it's RPi-based, it's still an effective low cost test bed? And if you stick with Pi with touchscreens, and additional capabilities are needed down the road, it'll almost certainly be able to handle them.
I was concerned about Pi boot times, and read articles showing tips to keep it under 5 seconds. And I found a few more power management hardware to automate graceful startup and shutdown, that aren't bound to the Geekworm framework... They're all small, extremely low power usage, and have auto graceful on/off software, so radio can be powered on and off via the 4D. Just for reference, for later on
$30. Includes 5000mAh battery

$15. Add batteries and charger.

$45. Add batteries and charger.
 

Tinkerwave

Member
Joined
Nov 22, 2019
Messages
39
It's true that the Armadillo is an integrated device, but section 4.3 of their manual "Armadillo-43T Datasheet" says:
4.3. Powering Up The Armadillo can be powered up in 3 different ways. It features a DC Barrel Jack, a microUSB socket, and power pins on the H1 header (2.54mm / 0.1” pitch header). Any of these can be used to power the Armadillo-43T. The DC Barrel Jack is designed for a fine pitch DC Jack, 2.35mm in diameter, with a centre hole of 0.7mm, and barrel length of 8mm or more. A suitable 1 Amp 5.0V DC Adaptor is available from the 4D Systems website.

The devices I mentioned supply power via the micro USB and the H1 header, and can auto power-up when the turns on, and can gracefully shut down the unit when the car is off; at least one of them can monitor the temperature, and turn it off gracefully when it's too hot.
 

Tinkerwave

Member
Joined
Nov 22, 2019
Messages
39
Protection against hard shutdowns, high temperatures, shock, etc can also be done in the microSD card. Here's an 8GB for $9 (SanDisk SDSDQAF3-008G-I) that has ECC, wear leveling, and protection from shock, high/low temps, etc.
$9. "SanDisk Industrial MLC MicroSD SDHC UHS-I Class 10 SDSDQAF3-008G-I with SanDisk Adapter (8GB)"

A lot more to chose from:
This 8GB SanDisk for $15 says it has SLC but I can't verify:
 

mancow

Member
Database Admin
Joined
Feb 19, 2003
Messages
6,908
Location
N.E. Kansas
I've been reading a lot trying to get my head around the 4D way of doing things. I bought the pro license to see what that adds as well. It doesn't seem to be as flexible as nextion although of course they claim it is. I realize some is the fact it's just a different way of doing things. The image quality is good. I uploaded a file photo of an IC-7300 display and I couldn't tell the difference from the real thing.

One thing I haven't yet understood is how to edit fonts to make custom glyphs.
 

mancow

Member
Database Admin
Joined
Feb 19, 2003
Messages
6,908
Location
N.E. Kansas
Just now checked, zero deficiencies with GPS and nothing much shown on other bands while sweeping with an Airspy and antenna on the back while using Spectrumspy.
 

eorange

♦RF Enabled Member♦
Joined
Aug 20, 2003
Messages
3,028
Location
Cleveland, OH
That's good news. I assume the 4D is like the Nextion where you design the UI with a separate tool and send commands to update the display.

Is the real estate on the screen roughly the same? Would you be able to fit your Nextion design?
 

mancow

Member
Database Admin
Joined
Feb 19, 2003
Messages
6,908
Location
N.E. Kansas
Yes just a different way to achieve the same thing. I have one of the 4.3" Diablo displays. It's the same 480x272 resolution.
 

eorange

♦RF Enabled Member♦
Joined
Aug 20, 2003
Messages
3,028
Location
Cleveland, OH
Good, hopefully it won't be a huge amount of work to retrofit. BE SURE to save a copy of your original code! Your future self will thank you.
 

mancow

Member
Database Admin
Joined
Feb 19, 2003
Messages
6,908
Location
N.E. Kansas
Good, hopefully it won't be a huge amount of work to retrofit. BE SURE to save a copy of your original code! Your future self will thank you.


Oh, it's going to be an enormous amount of work. So far I'm not really sold on the 4D way of doing things but it's not like I have a choice. It's probably going to look closer to the original display but scaled down. The way the text and buttons and fields interact I'm not sure I can do the overlay thing like I did before. The touch areas want to make the changeable text disappear if touched. I need to play around with it more to be sure though. I will definitely save it multiple places.
 
Top