Is there a guide for adding support for new boards to Meshcore?
▲ 10 r/meshcore+1 crossposts

Is there a guide for adding support for new boards to Meshcore?

I've been searching for the past couple of days for a guide on how to add support for a new Arduino board to Meshcore. Would be nice if it contained every step from cloning the git Meshcore repo, setting up Visual Studio Code, and then explaining how to add a new variant (I think) and how to create a new build task for the new board. Does something like this already exist and I just haven't found it?

The particular board I'm trying to add is the Adafruit RP2040 Lora. I think I need to make a variant based on the rpi_picow variant, but I'm not absolutely sure about that. I'd like to build the repeater firmware for it.

Thanks for any help.

u/MattAtDoomsdayBrunch — 11 hours ago

Need to design a simple part

Hi, 3D people. I need to design a simple piece that can sit underneath a mousetrap, ideally just snapping to it. The trap is about 4" x 1.75" and has curved corners. The piece needs to be tall enough for a standard Feather Arduino board and a small LiPo battery. So its basically a 5 sided box.

What modeling software would you recommend for such a simple design that runs on macOS or Linux? Should I just try Blender as the FAQ mentions?

Thanks for your help.

u/MattAtDoomsdayBrunch — 14 days ago

5% CPU usage on Raspberry Pi Zero waiting for button press

I have this python script that waits for a button to be pressed:

#!/usr/bin/python
from gpiozero import Button
import subprocess
from signal import pause


def handle_button_pressed(channel):
    print(f"Button pressed.")
    subprocess.run("./command.sh")

def handle_button_released(channel):
    print(f"Button released.")


button = Button(17, bounce_time=0.5)
button.when_pressed = handle_button_pressed
button.when_released = handle_button_released

print(f"Waiting for events...")
pause()

Sitting there doing nothing the python process is consuming 5% CPU as watched with top.

Is there anything I can do to get this closer to 0%? Is there a more efficient library that I could use?

I previously wrote a script that uses a loop to check for continuity between two GPIO pins, but I thought this was going to be simpler and not use nearly this much CPU. Any thoughts or suggestions?

reddit.com
u/MattAtDoomsdayBrunch — 2 months ago
▲ 0 r/PleX

Plex is Dolby 5.1 no longer playing music in left rear

I have a set of files from The Flaming Lips album Yoshimi Battles the Pink Robots. This album previously played beautifully on my 5.1 setup.

AppleTV -> HDMI -> Denon -> HDMI -> Panasonic flatscreen (video doesn't matter, I just want the audio to play)

Now I'm trying to play it and the audio from the left rear speaker is muffled and not clear like all the other speakers. 5.1 audio from movies plays fine in Plex and with other apps like Netflix. Again, there are no speaker connection issues or other hardware problems. Seems like Plex just isn't decoding or playing the left rear as it should. Yes, I've swapped LR and RR speakers and the problem persists in whichever speaker is connected to left rear wires. Unfortunately I don't have any other 5.1 music to test this with.

I have no idea what could have changed within software to cause this. Has anyone else seen this happen and know what could fix it?

UPDATE: Sorry for the noise. Turns out I had bad files that in fact contained junk data for the left rear channel. I figured this out by using ffmpeg to rip out just that track and played it back on my laptop. Same muffled problem occured.

In case it helps someone in the future:

ffmpeg -i input.flac -filter_complex "channelsplit=channel_layout=5.1:channels=BL[OUT]" -map "[OUT]" ~/back_left.wav

reddit.com
u/MattAtDoomsdayBrunch — 2 months ago
▲ 1 r/Rouvy

Improvement request: use regular universal remote

I have a universal remote that works with my Apple TV and all of the other apps on it. Why does Rouvy force me to use an Apple remote? In my case my iPhone works for this, but it ruins the point of having a universal remote.

reddit.com
u/MattAtDoomsdayBrunch — 3 months ago

It would be great if my companion Heltec T114 would just pop up a notification on my iPhone when paired and its battery is getting low. It would be nice to not need to monitor the battery manually.

reddit.com
u/MattAtDoomsdayBrunch — 4 months ago