#Minty Mobile BBS

1 messages · Page 1 of 1 (latest)

indigo oasis
#

Trying to build a node that runs a small BBS service to link two unconnected meshes. The goal is for it to be battery operated and contained in an altoid mints tin case

#

I’ve just ordered a USB shim so I can plug the radio into a pi zero. We can look at proper battery UPS later on.

tacit heath
#

This is awesome!

indigo oasis
#

To be honest, I think I might have been inspired you or someone else 😆 definitely someone with a pi zero and radio.

tacit heath
#

There's a few around 😉

molten zenith
#

Forgive my ignorance, could you get it to send a message when it see's a node like "You have just passed Meshtastic9I03! See you later!" So passers by know that they have been in the vicinity of you?

indigo oasis
#

Could do, something but more passive is to set your long name. I’m reluctant to spam. Also noticed most mesh BBSes require you chat to them via DM rather than spamming the channel. I’ll probably set the long name as a hint it’s a BBS

tacit heath
#

basically watching position data to see if a node enters a particular place

#

I had ideas for a treasure hunt using it

molten zenith
tacit heath
#

Yes, we have an entire field of rabbit holes.

molten zenith
indigo oasis
#

This my favourite bit, under powered computers finding a new use as the brains for radios. I would love to do this in a Linux native form or even a custom firmware with the bbs on a mcu device.

#

I seem to think that spuds meshing around and tc2bbs have the ability to sync with other BBS nodes. That appeals to me. Especially if said nodes are linked via MQTT

tacit heath
#

there's still time for 2025 to be the Year of the Linux Node 😉

indigo oasis
#

Just got a USB shim (I would’ve bought the UPS but it lost out to the new RTL-SDR). Got an enclosure upgrade! #notabomb one of the boxes that my Heltec v3

tacit heath
#

Oh, that's a usb shim! I didn't know what that was called.

#

Honestly, I have so many adaptors I could probably connect anything to anything.

indigo oasis
#

The usb is too chunky though won’t fit the minty tin. I’ll have to see if I can do serial over the gpio. I wonder if can talk to the Meshtastic API over gpio? I suspect might need to use the serial module

tacit heath
#

It may be time to consider a hat.

indigo oasis
#

Bought a UPS hat. I think the pogos aren’t connecting well because the i2c battery monitoring isn’t working. Might try working up manually to GPIOs to verify it’s not a dodgy board. Seriously thinking about decoupling the Wio SX-1262 from the ESP there’s enough examples of pinouts in meshtasticd this would save a lot of battery usage and avoid this unseemly cable

indigo oasis
indigo oasis
#

Really need to get this sx-1262 wired up to the pi directly. When it’s used with the ESP MCU via USB it can drain a 1000 mAh in less than 3 hours. Just doing a test without it plugged in I’m about to go pass 3 hour mark and there still over 50% battery capacity. (1 cpu core and no hdmi). Those ESP are very power hungry ( this is a known fact tho)

indigo oasis
tacit heath
#

Yes. Might have something incoming soon™

indigo oasis
#

Ooo yes please. Will there be soldering involved?

tacit heath
#

Only if you want.

indigo oasis
#

I’ll give it a miss, I haven’t done it for decades. I’d like to do it again but this stuff is so small I think I’d struggle to get the on done

#

I take it this has happened because so many people keep asking which pi hat they can use?

tacit heath
#

Yes. There's not much about ATM, although I have it on good authority that there are "things in the works."

indigo oasis
#

Sweet

tacit heath
#

But yeah, I need to bang out a DIY design anyway, to scratch an itch.

indigo oasis
#

Excellent I will keep an eye out!

indigo oasis
sand zenith
#

tom has pointed me at this thread because i am about to start making a pi node :p

#

~5h on 1000mah is promising given i plan to put ~6000mah in

indigo oasis
#

Yeah my ups hat (c) looks like it’ll only take 1000 mah of you want it to fit the footprint of the pi zero. If you don’t mind a bigger battery hanging outside then you’re golden

sand zenith
#

#enclosures-discussion message so much room for activities

indigo oasis
#

Yeah I might have painted myself into a corner because I want it to fit a mint tin. I think I still can well see. If I can just use the radio rather than have an esp I can work with ~5 hours. Especially if I pair down the OS and use rust for the BBS software but that’s just yak shaving at the moment

indigo oasis
tacit heath
tacit heath
#

I have a project box that holds a huge number of business card boxes, and it's handy to be able to sort my unfinished business.

indigo oasis
#

Yeah I’m waiting for someone to do a DIY Meshtastic tracker using CM and crazy internal antenna using PCB shenanigans (probably impossible)

#

Mind you it’s always the battery that’s gonna kill your builds practicality

tacit heath
#

Idk if there's much you can squeeze out of the pi0, but 1W sounds about right.

indigo oasis
#

Yeah I need to buy a proper reader will probably do once the main build is finished. Would like to be specific

tacit heath
#

Fnirsi

#

Is a good one

indigo oasis
#

Is Femtofox is based on a micro controller rather soc? (not that I know the difference asides a pi can run an OS where as pico can do one thing). I seem to think someone has shoehorned Linux on a pico calc

tacit heath
#

The Pico calc works with a luckfox Pico not-mini

#

Although I'm not sure if Mark productionised his build

indigo oasis
#

Noticed that the radio USB connection kept dropping (the radio has its own MCU so appear active) . This meant the BBS stopped working. Turns out one of the USB cables must be causing electro magnetic interference (EMI). I’m blaming USB cable charging the UPS (plugged into yet another Pi). I’ve switched the USB cable to a dedicated socket on my extension cable and also stuck the Pi back in its travelling box. Never seen this before. I’ll have to find out the best way to shield the pi because once the Pi’s hub disconnects the device you can only resolve using a reboot.

spice dew
#

Setup a watchdog to reboot if PID is lost

#

Or if tty lost

indigo oasis
#

Good idea thanks!

indigo oasis
#

Getting a little epaper screen today and more importantly some m/f jumper leads. Hoping to wire up the sx-1262 directly to the Pi (well via a bread board) this should hopefully mean a longer battery life.

indigo oasis
#

After a bit of jiggery poker I got my epaper display to work! Now time to write some helper to make it easier to display things on it. This is the demo app

indigo oasis
#

Minty Mobile BBS

#

Spent the afternoon wrassling with pillow (pil’s successor). The mesh related stuff in place holder text but the rest is coming from the pi. I think I might need one of those IDE cables because the height of the pi plus ups and display hats is pretty tall now. Also need to wire the radio! That USB cable is causing all kinds of EMI.

#

I’m gonna make a sleep screen so when the pi has been shutdown it’s on display with a QR contact or something.

sand zenith
#

nice!

indigo oasis
#

Thanks I love this ePaper/ink display especially since it stays on even when the pi is off !

spice dew
#

I got one of these somewhere

indigo oasis
tacit heath
#

50s? Oof....

sand zenith
#

huh? monochrome eink refresh is usually pretty quick

#

and their table says 2s refresh

sand zenith
#

oof i'm seeing about 350mA on my pi zero 2 now with wifi up

indigo oasis
#

You can expect between 100 mA idling to 500 mA when all four cores are running. I really should’ve got that usb metre to get real readings. Pretty certain my UPS gives various power readings I know it tells me volts 😂

sand zenith
#

that was battery current off ina, so probably a bit lower 5v current

#

maxcpus didn't seem to really change it, though, so not sure

indigo oasis
#

But as I’ve found out stuff can sometimes act weird on one core (MeshBBS needs at least 2 cores)

spice dew
#

So it can play doom? Or Tetris could be played at tea time 🫖

indigo oasis
#

Yeah I’m pretty certain someone has run doom on it. And made a minty box version

#

Ah no it was the pico 🤣

indigo oasis
#

Need to wire this up to run before shutdown

indigo oasis
#

Not a mint box per se but I think it’s of a similar size. Time to see if it fits. I’m hoping I can do something clever with the display like sticking it on the lid. Need access to the pins for the radio otherwise I’d have left it as is

tacit heath
#

Remember a raspi is only 2mm wider than a standard business card

indigo oasis
#

Just a quick fit test nothing actually wired up. The screen or the UPS have to be detached a wired differently non hat or pogo pins. But it “fits”

#

It will close if I remove either the display or ups. I could
Dremel the tin lid to make space for the display but it feels like cheating

indigo oasis
#

Really need a proper usb meter but according to the ina219 on ups hat I’m drawing 891 mAh irrespective of if I’m on 1 or 4 cores on the pi zero 2. I suspect Jeff’s measurements are way more accurate. The seed xiao is drawing over 500 mAh on top of just the pi.

#

The ina219 is telling porkies cause I’m getting at least 2 hours with the radio on

tacit heath
indigo oasis
sand zenith
#

are you reading it yourself or from meshtastic

#

schematic says 0.01R, which is 10 mohm

tacit heath
#

Oof

#

Yeah, 90 mA sounds better than 900

#

And 60 Vs 600

indigo oasis
#

Reading it myself using the i2c python script provided by wave share

#

I’ll know who’s tell porkies when I get that meter. I like the rust interface cause it auto converts from Ah to mAh but both (rust and python) scripts are giving different current readings so taking it with a pinch of salt

sand zenith
#

mA (instantaneous current) or mAh (which is a charge unit) ?

#

the python script looks sensible

indigo oasis
#

Cool thanks, still finding my way around this stuff

indigo oasis
#

Okay time to stop fannying around and try wiring up this Wio sx-1262 from my seeed xiao kit to the pi. Took a photo of the underside of the board I’m assuming these are the pin assignments. I’ll find the recommended meshtasticd configs that were suggested in #meshtasticd

#

Immediately distracted but I think I can use this cable that came with my display to reposition my e-Paper display! There’s an alternate port I’m assuming for non 30 pin raspberry pies

indigo oasis
#

Damn I think I might have fried my display. My gpio hat go plugged in off by one. I’m assuming I might have exposed the odd pins for the hat to 5v (which is on the even pins on the pi)

indigo oasis
tacit heath
indigo oasis
#

lol nothing like a bit of random

#

Well random to me, bleeding obvious to a electrical engineer

#

As an eternal optometrist gonna try the 8 cable connector. In the hope that I only burnt out the gpio hat side 🤣

tacit heath
#

Not good news?

indigo oasis
#

Fraid not

tacit heath
#

Oh dear.

indigo oasis
#

It wasn’t very expensive just annoyed first time I’ve fried something

sand zenith
#

yeah i fried one of my brand new radio hats plugging it in wrong while it was on >_>

indigo oasis
#

Oof

#

Also something I learnt about my ups is that you want to keep it off (it’s got a proper off switch) so there’s no way power can come through. I think plugging in a hat is enough to wake a shutdown pi if you’ve got the ups / battery pack plugged in. Still error on my part for plugging in wrong, but having your pi go on randomly as you’re plugging in stuff is probably not good

indigo oasis
#

If you’re using Debian you know how old some version of software can get (unless you’re on testing). Useful repo with useful tools especially for raspberry pis https://packages.azlux.fr/

spice dew
indigo oasis
#

Ooo no that’s a new one on me!

indigo oasis
#

Egads that took a long time to get round to doing. Testing a “watchdog” script to shutdown the BBS if we’re about to run out of juice. It’ll eventually send out a message on the channels it’s watching and be wrapped up as a systemd service

#

lol I really should rewrite the code to use the python libs, but I really love standalone binaries. Doesn’t make sense if you’re wrapping them in a python subprocess

tacit heath
indigo oasis
#

Kinda want the bbs to be the sole systemd service should make it easier to install

spice dew
#

Assembly writers feel the same about Borland logo_ukpython

indigo oasis
#

I like to strike wires to push bits around the pi

#

I think turbo pascal was my first compiler. Everything else was interpreted before then

indigo oasis
#

So my new kit arrived the usb dongle thing is a male (needed a female to connect my xiao s3 lora) and the usb-c uart (on the gpio) does want to play nice with my usb-c cable. I think this might be a seeedio xiao issue though

#

I only needed one of them to work

tacit heath
indigo oasis
#

I just stacked the usb-c connector so I could have them in the same shot. Id prefer to use the usb one which looks like it reroutes the pi usb mini data to the other side cause it keeps the stack height low.

tacit heath
#

What are the different adaptors? Serial to usb?

indigo oasis
#
The Pi Hut

Here's another super handy add-on for your Raspberry Pi computer, perfect for 'head-less' setups! The PiUART adds a USB Type-C to serial connection so you can use any serial port software to connect to the Pi's console. It plugs in and is fast and easy to add whenever you need to connect to your Pi. Two LEDs connect to RX and TX on the serial co...

#

I’m just looking to not have a big usb (plus usb mini shim) sticking out of the side which make it’s impossible to fit in a mint box.

sand zenith
#

ooh

#

i made one of those myself 😂

indigo oasis
#

Yeah other device is just too chunky and gets in the way of the ups. Oh well. Gonna just need to go for a slightly bigger case. Might be able to get a flat or L shape usb to usb c data cable to reduce the protrusion. But to be honest I just need a bigger case. Here’s the other dongle https://thepihut.com/products/solderless-zero-dongle-for-raspberry-pi-zero

The Pi Hut

Connect your Raspberry Pi Zero directly to your computer for use as a USB Gadget device (USB Ethernet / Serial / Ethernet+Serial / etc.) or just for power without any soldering!

tacit heath
#

There's really no easy way to hook up a pi, is there?

indigo oasis
#

This is the best I can do for now. Might go for a long cable so I can get a proper antenna on the side of the box . Yeah not unless it’s custom jobby

tacit heath
#

I've got an expander board that turns a pi zero into a pi4 layout

#

Quite nifty

#

The micro usb annoys me more than I remember

#

I didn't used to mind them, but I've been spoiled with decent connectors.

indigo oasis
#

It definitely annoys a lot of people I’ve seen lots of designs to replace the data port with a full sized usb lol

#

I love the pi zero form factor I think you’re golden if you can either use pogo pins and the gpio. It gets ugly when you have to use those infernal usb ports

tacit heath
#

Will it run ok off 3.3v?

#

Just doing some mental arithmetic.

indigo oasis
#

Is the pi? TBH honest I’m not sure. The ups hat’s pogo pins covers the first 6 pins so that could be 3.3 or 5v. I really do like that use of the pins though. Keeps your gpios free for one more board like a fried epaper display 😭

indigo oasis
#

Rev 1 - ups hat (1000 mah battery, seeed xiao lora starter kit and stubby from a heltec v3 (which is my base node that got a recent antenna upgrade).

indigo oasis
#

Good news I didn’t fry my paper display. I think installing MeshtasticD may have clobbered the existing SPI bindings. I had to start with a new OS as part of the troubleshooting process with waveshare and that’s when I worked out what happened