Showing posts with label OLED. Show all posts
Showing posts with label OLED. Show all posts

Friday, August 24, 2018

Wireless Nextion Display You Say?

When I started tinkering with the JumboSpot and small OLED displays, it got me interested in larger and informative display options, so I quickly picked up a few Nextion style displays as covered a few months ago in the "Bigger Display for Jumbo/China/Covert" article.

Even though having a larger and more informative display to be used with the MMDVM based hot spot is great to show callsigns, name, location, IP addresse, temperature, etc, that means the hotspot can not be put where I want the hotspot for maximum RF range and still see the display.


Be sure to purchase a Nextion display and not a TJC branded one. Only the Nextion version has English development software. TJC screens are designed for the China market or those that can read Chinese software. Otherwise, they are the same thing and would work fine with any MMDVM Pi-Star Hot Spot

So, what about making the display itself remote from the actual hot spot?  Seemed like a good idea and here is what I have done to make this a reality.

Wireless Nextion Display

Getting the correct signal from the hot spot was easier than I thought after some research and decided instead of trying to send the signal over wireless serial blue-tooth connection to a remote receiver that feeds a Nextion display that using 70cm amateur radio spectrum would be just be a bit more fun to experiment with.

Silicon Labs is just one of the companies with components
that make this small data transceiver module a reality


Inexpensive HC-12 modules allow serial based communication over a wide range of speeds and can be configured to operate on a number of predefined channels set by the manufacturer or configured by the end user. Here is a great user manual I found on the Elecrow website that will fill in some of the blanks on its capabilities.

The HC-12 can be driven from from the TXD, GND and VCC pins on the duplex or semi duplex hot spot boards easily.  All I needed to add was a 1N4007 diode to drop the voltage a little in order to not over drive the HC-12 module since its sensitive to over voltage.

Since I was not interested in providing a two way wireless connection, there was no need for the RXD connection between the hotspot and HC-12.

Steve K2GOG SDR capture of MMDVM DMR audio and HC-12 pulses


After getting everything connected, crossing my fingers and apply power, I started to see pulsed signals being sent on the default HC-12 module frequency of (3) 433.400 MHz as shown on the screen capture by using an inexpensive SDR dongle sch as the NooElec Nano3 and the popular SDR# software package.

The other two signals shown is the output or transmit signal generated by my duplex hotspot that was connected to the HC-12 and was set to operate on (1) 432.525 MHz, only 875 kHz away.

The very narrow continuous unmodulated signal at (2) 433.063 MHz seems to be coming either from my cable modem or cable line, but does not seem to be an issue I can easily fix, so just ignore that.

Within the Pi-Star dashboard, I selected screen type as "Nextion", port as "Modem" and Nextion Layout as "ON7LDS L3" since that is what I use with my 4.3 Inch Nextion display that runs a modified version of one of the nice layouts found in the file section of the Nextion Ham Radio Screens Facebook Group



Connecting the HC-12 module to the Nextion display was a little more tricky to receive signals though.  I connected the RXD and GND from another HC-12 to the Nextion display and ran +5V to power up the display.

I needed an isolated power supply with another 1N4007 diode to power up the HC-12.   Everything worked on the second try!   The first try was when I accidentally forgot to use a diode to drop the voltage and "smoked" an HC-12, but that is why I ordered a few spare just in case!

On the second try I thought I had a different issue, but as it turns out the default setting of the HC-12 is pretty high transmit power and I recall the manual saying to separate modules by a few feet.

Once I moved the contraption across the room, my display was updating with users chatting away on TG 91 worldwide DMR talk group!

An Additional Future Experiment

Here is where I hope to get some people interested and assist with an extra added feature/benefit.  What about decoding the data packets that the HC-12 transmits by using the SDR?

Its possible to decode weather stations, door bells and other 433 MHz range devices with the rtl_433 application when used with an SDR dongle, so maybe someone can find a way to translate the pulses and view those on a computer or smartphone connected to an SDR?

There are likely many protocols that an HC-12 can send and receive, so why not figure out a way to add another to read what the Nextion display expects to see and render that in some sort of application.

It is easy to record and playback "spectrum" with SDR#. To play back the file related to this article, instead of  selecting your own SDR device in the menu drop down, select "IQ File (*.wav) and navigate to where the base-band recording downloaded here was saved to. Then press "Play" and be amazed! 


To get anyone (and everyone) started, I did a base-band recording that can be easily played back in SDR#. You can play back the file as if you were in real time listening to the signals sent by the Nextion. Its even possible to use DSD+ to decode the active DMR audio signal too! 

Caution:  Using DSD+ can be daunting, so look elsewhere on getting that to work.
This way you can know who is speaking to match it against the pulses sent by the HC-12. The pulses will show call sign, talk group and DMR ID to whom ever can decode it so you know what sort of information to look for in the packets.

Just 37 seconds of 2 MHz wide of spectrum took up 225MB, so I have it hosted on Google Drive.


The First HVDN Contest

If you can make some progress, share your tips in the comments below or send a private email instead via one of the HVDN contact forms.   

First maker, hacker, ham, etc to make MAJOR documented progress, Hudson Valley Digital Network will reward your efforts with an HC-12 and an RTL-SDR device, so ready.....set..... 01000111 01001111 00100001




Sunday, June 3, 2018

MMDVM JumboSPOT board: Mods you may need



This is the JumboSPOT board that was/is sold on ebay and other online places. This board along with a Rasberry Pi Zero and a SD card loaded with PiStar makes up a Digital Radio Hotspot.

Depending on when you purchased your board and for what price, you may need certain modifications. The following mods have ONLY be tested / verified on the above board. As with anything in life, you take on the risk and responsibilities of preforming these mods. If you don't know what you are doing, STOP and don't do it!

Antenna mod

If you installed the SMA connector at P3 and plan to use the included SMA external Antenna you need to remove the cap ( see A in above picture ). This removes the connection to the internal ceramic Antenna ( not shown about ) at AE1. Bottom line is that you should not run two Antenna's so removing C28 makes sure that only Antenna is P3.

Flash FW mod

Most early boards shipped with only the 10 pin connector soldered as in the above picture. This meant that you were unable to flash updates to the STM32A103 microcontroller chip. Thus the two pins in the above picture ( marked B and in the red rectangle ) need to be connected to the Rasberry Pi's GPIO pins 20 and 21 which will be right below them.
It is a direct pass through, NOT a jumper as most people assume. So you just need to add a female header to your JumboSPOT board and a male header to the Raspberry Pi. Current boards place a 10 pin female header on both sides of the JumboSpot, which will work, but only thoes two pins are needed. Once the pins are connected you will be able to use the PiStar Firmware update script to update your JumboSpot to the latest version of HS_HAT which is displayed on the PiStar admin page.

OLED display mod

If you just purchased the JumboSPOT board it most likely did not come with an OLED display. You can add one later on if you like. Just look for " 0.96" I2C IIC SPI Serial 128X64 White OLED LCD LED Display Module for ArduinoG9K " or similar. The display gets connect to the top row in the above picture ( refrence "C" ) and not the bottom row that is marked. The main issue is that the pins must match the board pins which are listed above. From left to right they are [3.3v] [GND] [SCL] [SDA] So since you solder the display so that it's facing out the screen you purchase should match that config like so:
 I was able to find this module for 450% less then the ones listed as compatible to the JumbSPOT so don't get fooled by the seller, you can use compatible modules as long as it has the correct pins and supports "I2C IIC SPI Serial". Also note that the display will NOT turn on unless you have it configured and PiStar attaches to a server on the Internet ( as in Brandmister etc ). In PiStar http://pi-star.local/admin/configure.php make sure you have it configured as in:




Adding Ethernet to your Pi Zero mod

This one requires no-soldering! Just chose the correct part from eBay or your favorite Chinese vendor. The PiStar distribution will support an Ethernet adapter out of the box. It's even smart enough to use Ethernet over WiFi and fall back to WiFi if Ethernet fails. But which one to get. If you search for "MMDVM Hotspot Ethernet Adapter" you will be paying the most you can pay. If you look for "Micro USB 2.0 to Ethernet 10/100 RJ45 Network LAN Adapter" you will find ones EIGHT TIMES less! Make sure that it supports Linux and you will be safe. Also I suggest getting one more then you need. When I ordered three, only two worked. Since I only needed two it was worth buying extra ( these parts are really REALLY cheap and cheaply made ).

What do you think?

Please leave constructive comments. If you have mods of your own please share. Like most of you out there I was attracted to this hobby because I could MOD things, make them better! So pitch in and share your knowledge!