Giter Club home page Giter Club logo

op_25_oled_display's Introduction

OP_25_Oled_Display

This project Displays the OP25 Alfa Tags on a OLED Display

drawing

This is a Work in Progress, as you can see from my code, I am a beginner and I welcome changes, this could be a fun project!!!

For more information, check out Radio Reference: https://forums.radioreference.com/threads/op25-boatbod-update.430476/#post-3562825

special thanks must be given to “BoatBod, KA1RBI and many others for the work they have done on the project.

Who is this project intended for?

Raspberry Pi owners who like to experiment on connecting different hardware devices up to their Pi and using software like “VScode” or “Thonny” to make them work.

Here are the steps:

It’s best to practice the installation on a spare micro SD card with a working OP25, liquid soap. So you are able to open up a VLC player and listen to the audio and see the alfa tags on the upper left hand corner. (my setup was using rx.py) I haven’t tried it on the other types.

Step 1:

Wire up your display (i2c) to your raspberry Pi, 4 wires +3, GND, SCL, SCK

Install Luma.oled drivers :

https://luma-oled.readthedocs.io/en/latest/hardware.html

after you have finished it’s time to install the samples:

https://github.com/rm-hull/luma.examples

And run them!!!! some are pretty cool And run them in Thonny!
(Hint for Thonny, use the Program arguments for the command line ) I used -d sh1106 (might work without it.)

Here are the steps:

It’s best to practice the installation on a spare micro SD card with a working OP25 with liquid soap. So you are able to open up a VLC player and listen to the audio and see the alfa tags on the upper left hand corner. (my setup was using rx.py) I haven’t tried it on the other types. Step 1: Wire up your display (i2c) to your raspberry Pi, 4 wires +3, GND, SCL, SCK Install Luma.oled drivers :

https://luma-oled.readthedocs.io/en/latest/hardware.html

after you have finished, it’s time to install the samples,

https://github.com/rm-hull/luma.examples

And run them!!!! And run them in Thonny!
(Hint for Thonny, use the Program arguments for the command line ) I used -d sh1106 (might work without it.)

look at my meta config, made a change their, identify and do the same.

Now here is the most important part. In the python file icemeta.py Notice the lines of code I added:

Line 23 import socket

Line 31 UDP_IP = "127.0.0.1"

Line 32 UDP_PORT = 28003

Line 33 sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)

Line 92 sock.sendto(metatext, (UDP_IP, UDP_PORT))

Save the changes

Also make sure you put the font file in the same directory as Tag "display type of file".py just put it in the same dir as icemeta.py

If all goes well, start op25 with liquidsoap, open Thonny, open and run the tag oled display file, and wait for a call to display, you can make changes to the tag display file without restarting op25.

Very important!!!!

Delete the icemeta.pyc file, a new one will be created next run time.

If a new .pyc file was not created look at the error output file to see what went wrong, this will hel you troubleshoot.

NOTES: the display drivers were a real pain at first..

Todo list: import more information, i'd like to show Frequency error.

hopefully i didn"t forget anything...lol Good Luck

op_25_oled_display's People

Contributors

hdphilip avatar

Stargazers

Dan Williams avatar  avatar Mike avatar Off Grid Tech Club avatar  avatar

Watchers

 avatar Off Grid Tech Club avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.