Skip to content

Place for research, docs, logs and things to help plan the next steps ahead

Notifications You must be signed in to change notification settings

radio3-network/operations

Repository files navigation

This document give a larger view of the expected hardware and software functions, along side with the experiments and research.

Radio3.network is a set of software and hardware for creating autonomous networks where people and device can connect to exchange data on their own.

At the moment it is heavily based on ESP32 and LoRa network because of the affordable price and long range communication range. In the end you can think about this as the walkie-talkie for data instead of voice.

A radio station/receiver that is free and provides the following features:

  • Email (internal, external)
  • Chat (with contact list)
  • Local Twitter
  • Forum
  • Blog
  • Radio
  • Telephone
  • Directory (people, places, orgs)
  • Sharing of files, images, and recordings
  • Map of relevant locations
  • Local news/events
  • Local market (where to buy vegetables, services, volunteering, etc.)
  • Local temperature/humidity
  • Make payments with cryptocurrencies (monero, beam tokens, LN)
  • Web pages with templates (to showcase local communities in the area)
    • Individual profile
    • House profile
    • Community/orgs profile
    • Include other contacts (phone, address, coordinates, etc.)
  • Library (books, manuals, movies by topics)

Integrations:

  • Regular web (through radio3.network)
  • Telegram
  • Facebook?
  • Twitter?
  • Mastodon?
  • Nostr (preferred)

Characteristics

Material cost at maximum of 100 euros

Technical Part

Connections

  • LoRa + Arduino
  • Internet
  • Equipment

Repeater station

Equipment

Home box

These are the equivalent of an Alexa, except they are disconnected from Amazon servers and you know what is running inside. The intention is to provide a larger box that stays in the living room connected to energy (USB or solar) and provides updates on the screen about what is happening on the region or across the news. Should also provide info about temperature and other metrics.

The preferred screen is ePaper to keep the information visible 24/7 without disturbing with light emission or using unnecessary energy. These home boxes are not intended to so actively used as for example the handheld, where you can even play games. The boxes are intended as home assistants. One possible expansion in the future is to accept voice commands customized by users. In ideal scenario this box replaces the local radion and Alexa assistants for everyday household talks while also giving information about what is happening around the house/region.

  • Touch screen
  • TFT display initially
    • E-ink preference
  • Wooden box
  • Rechargeable AA batteries (x4)
  • Network cable to connect antenna/power
    • when antennas are at long distance (e.g. rooftop)
  • Speaker
  • Microphone
  • Play radio, music
    • web radio
    • local music collection

Solar gateway

These are the main antennas that connect different devices within a local area up to 8 kilometers of range.

Solar panels power the gateway with an included battery that permits to function up to three days without recharges. The antennas are ceramic-based about the size of an arm (40 centimeters) to achieve longer distances.

Each gateway should be placed at a high position (e.g. top of a building, tree or tower) that is above the visibility line of other obstacles. Attention should be placed on the permission from other parties to install a gateway and to prevent theft of the gateway. When other gateways are at reach then it will act as a repeater to extend the range. The antenna reach is aggravated by climate conditions such as rain and fog. When connecting gateway repeaters, they should be placed at least one kilometer before the max reach of each other.

Pictures are taken by the gateway at 1 hour periodic intervals and made available for receivers. The image includes information such as local time, temperature, solar exposition and humidity values. This is useful for weather tracking/predicting purposes.

Given the antenna high-sensitivity and 24/7 operation then it might be possible to receive LoRa signals from satellites in orbit through https://github.com/G4lile0/tinyGS and this possibility will be investigated.

Features:

  • Long-range external antenna
  • Solar panel
  • GPS module
  • Measurement of temperature/humidity
  • MPTT with USB output
    • As this is expensive, a small circuit is more cost-effective
  • Camera to take local photos of nature/view
  • Battery for 3 days without sun
  • Measurement of temperature, humidity, solar exposure
  • Thunderstorm detection (optional)
  • Satellite receiver/relay

Handheld

This device is carried by end-users. It is intended as a swiss-digital knife for the outdoors. On the first iteration it is not possible to make it as rugged and waterproof as preferred but shall nevertheless be packed with useful features for those who connect with autonomous networks on the outdoors. The device uses normal AAA batteries that can be replaced and recharged easily. Features a solar panel for recharging when there is no access to a power bank. In addition to hardware sensors with specific functionality, it permits to install apps, play games, send emails, read news and talk with other people across the world.

Characteristics:

  • Printed in wood+plastic combination
  • Transparent plastic to protect screen
  • push buttons also in wood
  • powered by two AA rechargeable batteries
    • possibly three AAA to provide 4.5 V
  • e-Ink display
    • with backlight
    • initially TFT (cheaper cost)
  • Solar panel
    • enough to charge the two batteries
    • protected by transparent plastic

Front lights/sensors

  • flashlight (programable multi-color led)

  • uvc led (germ sterilization)

  • infrared receiver/emitter (for TV control)

  • led laser pointer

  • PIR Motion Sensor

  • night vision camera

    • price goes over 100 EUR budget
  • lightning detector?

    • price is around 25 EUR, users can choose
  • microphone

  • speaker with loud speaker mode

  • piezo buzzer

  • neodimium magnets (attach phone to surfaces)

  • NFC read/write

  • wifi / bluetooth

  • usb-c for charging

  • aim for visually impaired support

    • voice recognition and text to voice
  • vibration motor for notifications

  • vibration sensor x super-capacitor as backup battery

  • temperature sensor

Expansion ports

  • extension port available (molex with DAC)
  • external connection pins available
    • possibly reuse USB connector
    • or make available 3 pins (1 clock, 2 for voltage)
    • expand to other devices

Outside handheld shell

  • 3d printed
  • outside faces made of wood/plastic
  • middle face with plastic that shines in dark
  • metal screws for opening and closening
  • transparent plastic for scratch protection
    • protect display, solar panel, lights
  • lid for water protection on usb charger

Handheld Keyboard

  • direction keys
  • OK / back buttons
  • power on/off
  • gameboy style

Apps (core)

App: Launcher

  • GUI to launch apps
  • default app when starting
  • similar to Android devices
  • permit to choose background
  • permits customized themes/colors

App: Installer

  • similar to apt-get and Android Play store
  • common text files and tutorials
    • available from the gateway
  • HTML-based documents
    • include text
    • include images/animations
  • choose regions/favorites
  • Install/update/remove apps
  • Can install from 3rd party
  • command line version available

App: Settings

  • configure settings
  • choose language/region/time fuse
  • define privacy permissions
    • e.g. visible to others/contacts
  • define password
  • customize sounds/themes/actions
  • change power settings
    • e.g. disable Wifi/Bluetooth modules
  • option to act as gateway repeater
    • battery intensive option

App: Files

  • can read/write text files
    • optionally simple excel/csv files
  • Play media files (images, music)
  • Share files with nearby contacts
  • Synchronize selected files/folders
    • with contacts

App: Walkie-talkie

  • choose a contact
  • press the OK button to talk
  • records a voice message and sends

App: Navigator

  • See people/devices nearby
    • lists distance to contacts nearby
  • Places nearby
    • uses curated list of places on region
  • show distance and orientation
    • initially not realtime

App: Email

  • worldwide coverage
  • relayed by other gateways
  • hosted on device itself
  • limit to 20 MB
  • similar to winlink.org

App: Chat

  • Chat with nearby/available users
    • group chats
    • notifications
  • communicate offline to other messengers at reach
    • without LoRaWan gateway when not available/desired
    • prefers direct link when contacts are at reach
  • send/share files/folders through chat

App: Media player

  • play music from SD card (e.g. mp3)
  • see pictures, small videos

App: NFC

  • NFC functionality
  • share cards with contacts
  • card feature (accept/deny access (to events, places)
  • add icons/description to cards
  • add time limit for shared cards
  • QR code reader/writer

App: Backup

  • backup apps/docs/preferences to region server
  • data encrypted on server by user-defined password
  • periodic/scheduled
  • when moving to new device
  • synchronize preferences on multi-device

App: Wifi

  • Hotspot
    • share files through wifi
    • web browser with region services
    • chat
    • news
  • use local wifi to reach gateway
    • useful when away from LoRa network
    • preference to LoRa when available
    • auto-connect to known wifis
    • global wifi login functionality

App: Radio

  • listen to FM radio
    • automatically search and add list with RDS
  • listen to LoRa radio stations
    • fixed channel emission

App: TV remote

  • create TV remotes
    • learn IR buttons
    • play IR buttons

App: Automation

  • macro functions
    • press remote control button from TV
    • perform specific action
    • e.g. send message on specific chat
    • play a music playlist
    • turn off lights
  • shake phone
    • activate button or action
  • motion detection with IR receiver/sender
  • make device speak specific texts

App: Console

  • run linux-like commands from CLI
  • launch CLI apps, see output
  • permit remote session (e.g. telenet)
  • text files with scripting language
  • use available sensors
    • either directly from pin output
    • or using alias for defined sensors

Apps (goodies)

App: Screenshot

  • take screenshots of screen
  • optionally make animated videos
  • hotkey to start/pause recording
  • can include pictures from camera

App: Geocaching

  • submit geocaching places to discover
    • include description/difficulty
    • update status (active, inactive)
  • log discovery by user
  • give score
  • add comments

App: News

  • see news from contacts and region
  • twitter-like announcements, comments and votes
  • submit events
    • set reminders (for day/hour)
    • rate event
    • permit recurring periodic events
    • add ratings/comments

App: Podcast

  • hear podcasts
    • from contacts, topics, regions
  • editor for creating podcasts
    • can include start/ending sequence
    • include sound effects while recording
    • can include summary before intro sound
    • image cover for screenshot
  • Whisper on gateway-level
    • create subtitles/text version
    • create translations
  • include tags (region, date, topics, age level)
  • add feedback (likes, #plays, comments)
  • set time limits (e.g. 5 minutes)
    • visualize time progress

App: Games

  • Snake
  • Bantumi
  • Chess (1v1 and alone)
  • Memory (Simon)
  • Slay
  • Gameboy emulator
  • Piano teacher/player
  • Cards (patience, blackjack)

App: Wallet

  • Monero and Bitcoin wallet
  • Possibly other coins
  • synchronizes to region server
  • Receive payments
    • generate QR code on screen
    • connect through NFC
    • show equivalent in local fiat currency
  • Make payments
    • through NFC contact
    • through chat message

App: Weather

  • temperature on nearby stations
  • weather prediction next days/hours
  • graphs of rain/temperature

App: Timer

  • Time of the day
  • Countdown and stopwatch timers
  • Wake up Alarm
  • Synchronized timer
    • synchronize with selected contacts
    • joint warning/notifications

App: Extras

  • Laser pointer
  • UVC germicide
  • Flashlight
  • Multicolor RGB/pattern
  • Dog whistle (using piezo buzzer)
  • Mosquito/Roedent repellent (using piezo buzzer)
  • Human approaching alarm

App: Third-party hardware integration

  • Garmin
    • Send map location to Garmin
    • receive text notifications on Garmin

App: Third-party software integration

  • Telegram (read/write messages)
  • IRC (read/write messages)
    • keep-alive, auto-register/login
  • email (read/write messages)
    • based on IMAP
  • nostr, twitter and mastodon instances
    • read/write/fav/retweet posts

App: Chatbot

  • Connect to chatGPT
  • answer to voice questions from user
  • translate text
  • send reply as text message

App: Wallpaper

  • show time, temperature average
  • when sun sets/raises
  • people nearby
  • notifications from news/chats/etc
  • configurable by user

App: Birthdays

  • visualize contact birthdays
  • not including birth year
  • notify 3 days before
  • notify on same day
  • send greeting message/voice
  • view greetings from past years

App: Marketplace

  • sell local products/services
  • connect farmers to buyers
  • remote payment with crypto currency

App: Oscilloscope

  • use the expansion port
  • visualize the frequencies
  • detect type of component (diode, resistor, diode)
    • display value of diode, voltage received

ESP32 software available today

Network

LoraWan standalone server

ESP32 as LoRaWan gateway

Sub-gHz antenna modulation

ESP32 walkie-talkie with data

Sat transceiver

Autonomous network

USB host

Development

Arduino simulator

Updates OTA for ESP32

Flash Arduino using Java

Running .NET on ESP32

Graphics

Menu library for Arduino/RTos

LVGL menus and operating system

Displays

Creating VGA signal by cable

Control VGA/HDMI devices (power, brightness)

Creating TV signal by cable (good for games)

More recent TV signal method:

Broadcasting TV signal

Teletext

HDMI adapter for ESP32

Radio

AM radio transmitter (no extra hardware)

VHF/UHF transceiver

Costs ~100 EUR

Bluetooth

Infrared

Electronic tools

Oscilloscope

Multimeter

OBD2 car diagnostics

Emulators

Emulate DOS/FreeDOS on ESP32

ESP32 8-bit game arcade

ESP32 play Doom

Internal compilers and scripts

Compile/script C code to run on ESP32

Compile Java code to run on arduino

Boot and binary loaders

Virtualization

Virtual Machines for ESP32

Generic virtual machines emulators

Scripting languages

Operating system for ESP32

Bash environment on ESP

Kernel features

ExFat support on ESP32

SSH server/client in ESP32

Cybersec

ESP32 deauther

ESP32 create spam wireless lans (and send random wifi packets)

VNC and multi-environment

Wireguard

Multiple offensive tools

Offline projects

GPS and offline maps

Other links

Cryptocurrencies

Voice

Voice recording/playback

Voice recognition/assistant

Home automation

Whistle recognition

Energy harvest (battery free)

Games

Donkey kong, Pac-man, Galapa

Misc

SD reader with ESP32 glueds

Anti-teenager sound (entertainment)

Morse code learning

Web browsing examples

Partners

Device designation

  • each device model starts with one specific letter
  • defines CPU architecture
  • OS uses X.Y numbering
  • libraries/apps use semver
  • device codename is separated from software

Types of device models

  • M = mobile handheld
    • MM = mobile minimal
    • ME = mobile e-paper
    • MW = mobile wrist
  • H = home/house
  • A = Auto/wheels
    • AUTO = cars
    • AM = motorbikes
    • AB = bikes
  • A = airplane/flying
    • AIR = airplane
    • AD = drone
  • N = nautic
    • NV = vessel
    • NS = submarine
  • G = gateway/repeater
  • S = server/bridge
  • B = beacon
  • S = space-related
  • SGS = ground station
  • SAT = satellite

Examples

  • Radio3 MM-1.0
  • Radio3 ME-1.0

Feedback

Feedback collected from people around the internet about this kind of device.

"The glaring problem, sadly, is that there's nothing you can actually do with it. There were no games of any quality, and the mesh networking would only work over a short range and if somebody else had one, which meant that feature was useless in the suburbs."

"This was my first big purchase in life, when I was 12. When i brought it to school, I would discover the 2 other students who also had a cybiko through its wireless network, and chat and play games with them. It was really cool and a special club to be in."

"That was something I was hoping we will get on Apple Watch walkie-talkie feature. Unfortunately the features depends on having a stable internet connection and never worked for me reliably. The world needs more P2P."

"It's amazing how P2P basically doesn't exist anywhere. Open source got taken over completely by federated/self hosted, or Blockchain. We have really good long range Bluetooth and LoRa and yet there is not one decent affordable alternative to decades old analog FRS after all this time."

"It is like a crime against all of technology that there is no equivalent of this today. We have smartphones, but battery life sucks and they have no real local mesh support, and no expansion port. We have lots of dev boards, but no real finished products without exposed PCBs, and with a proper app-capable OS. And the ones that are reasonably polished are far too expensive for a semi-novelty. The closest is maybe... pwnagotchi? A graphing calc?

"I just want like, a little ESP32 handheld, with an m.2 slot or something in the traditional place for cartridges, and the ability to run apps from files on SD cards(Even if they're just MicroPythons). But somehow all the "Hacker's handhelds" and the like seem to go nowhere, and are basically just an Arduino with a screen, meanwhile phones never get the expansion pack and local mesh capabilities the cybiko had. Cybiko was a lot of fun. It would have been better with some AAA games, but it was still awesome."

Links to feedback

Hardware research

Feedback

  • 2023-02-24: TFT kit arrived and worked as expected. The kit model is ESP32-2432S028R from https://www.aliexpress.com/item/1005004913471113.html for 15,29€ that includes shipping. Software is difficult to obtain and poorly documented but was collected on the radio3 repositories.

  • 2023-01-27: ePaper kit was experimented, but the screen refresh rate was not satisfactory for usage with LVGL. Alternative is using a TFT based screen which is cheaper (~15 euros) and comes with an LVGL demo by default (fit for purpose)

Combo kits

These are sets that already contain ESP32 + Screen + Touchscreen. On these cases it is only necessary to add the LoRa module to have a working handheld. Reduces complexity, size and costs when compared to buy them separately. At a later point might be possible to order kits with the LoRa and GPS modules built inside.

Candidates

71.34€ for the three basic modules

Screens

Possible screens to adopt from en ePaper perspective. Unfortunately they have slow update rate, which makes them poorly responsive to GUI applications. They are nevertheless good base stations in the living room to show data 24/7.

Candidates

Solar panels

Each handheld should be equipped with a solar panel large enough to provide a realistic power charge. Not all countries enjoy multiple hours of sunlight across the year, nevertheless we make this option available as secondary charger method when a stable power source is not available. The current configuration is based between two or three AA/AAA batteries to provide around 3 to 4.5 volts of power. These solar panels are placed on the back side of the handheld device.

Using a "joule thief" circuit and solar battery chargers is possible to deeply extract the energy inside these batteries. The solar charger is maximized in terms of usability. A 60 minutes charge in the sun should provide, at minimum, 20 minutes of non-intensive usage (e.g. exchange LoRa messages or GPS position). The handheld needs to support the scenario of staying several hours exposed to the sun.

Candidates

Sensors / peripherics

The handheld device goes beyond the normal functionality expected by a communication device. It should be the electronic equivalent of a swiss-knife in your pocket and contain as much hardware functions as we are able to include within the available budget of 100 euros.

For this reason are investigated the usage of PIR leds, NFC, laser beams and other related hardware. It is likely that not all of these circuits find their way to the handheld due to size and pin limitations.

Candidates

About

Place for research, docs, logs and things to help plan the next steps ahead

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published