Live data from Hacker News

Ask HN: What do you do with your Raspberry Pi?

news.ycombinator.com

531–540 of 1001 posts

Re: Ask HN: What do you do with your Raspberry Pi?

#531
I'm using it to build a modern take on a "word processor", a hardware keyboard + microprocessor that only writes text to its onboard memory.

My current roadblock is getting a relatively high resolution rather wide aspect ratio screen. Hard to find, it seems.

Re: Ask HN: What do you do with your Raspberry Pi?

#533
Personally I have a Model B running Alpine and SSH to receive incoming connections at home.

I’ve also convinced the company to buy 8 3B. Each of those is connected to a 1080p display through HDMI and each one of them boots raspian with chromium-browser in kiosk mode into one specific Grafana panel or playlist. I control what URL each of them boots into from Saltstack states.

Re: Ask HN: What do you do with your Raspberry Pi?

#534

I live in an apartment with quite strict fire-protection standards. Due to the fact that I have a cat that absolutly loves to go outside, I needed to find a solution for him to get outside without a catdoor trough my door. So I installed a fire-protecion-approved door drive that is hooked to a raspberry pi. Another raspberry pi then analyzes a video stream and detects my cat. If my cat is in the frame for n amount of…

Do you have a screengrab of your cat?

Re: Ask HN: What do you do with your Raspberry Pi?

#535

I live in an apartment with quite strict fire-protection standards. Due to the fact that I have a cat that absolutly loves to go outside, I needed to find a solution for him to get outside without a catdoor trough my door. So I installed a fire-protecion-approved door drive that is hooked to a raspberry pi. Another raspberry pi then analyzes a video stream and detects my cat. If my cat is in the frame for n amount of…

Do you have a link to the "door drive" that you're using? I've had this idea for a long time and really want to build it.

Re: Ask HN: What do you do with your Raspberry Pi?

#536

I have several * Pie-hole and runs Nagios to collect information about things going on inside the network. * One running a PiDP-11 (pdp 11/70 emulator) as well as providing MOP service to boot my DEC terminal multiplexor (it provides the boot image when the mux comes up) * One is a stratum-1 time server using an Adafruit GPS module with PPS output. This because I got tired of both the reflection attacks and trying to…

> * One sits on my electronics workbench and runs OpenOCD and allows BlackMagic Probes to export GDB as a service over the network. That lets me debug from anywhere without burning a USB port or adding additional software. This sounds cool and interesting. Can you elaborate on the setup and some of the ways you've used it?

Its pretty simple really, I built OpenOCD from source on the RPi (that is just download the github repo[1] and add some libraries like libusb), when you run OpenOCD, by default it opens a gdb server on port 3333 and a telnet server on 4444.

From anywhere on the network when you start arm-none-eabi-gdb, you can type

   target extended-remote debug:3333
And poof you're connected to what ever dev board OpenOCD id debugging. Then just load your .elf file (which flashes it) and start it and you are off to the races.

Since the Black Magic Probe has its own gdb server you wrap it with nc(1) so on the Pi you run

   nc -kl 1234  /dev/ttyACM0
and now you can connect to port 1234 on the debug server. At which point you're talking to the BMP. The ports are selectable so I typically set up as many ports as I need (depends on how many sessions I might be running) and write them on a boogie board[2].

Of course I've got that particular RasPi mapped to the host name 'debug' for that reason, the one that runs the waveforms software is named 'instruments' :-)

[1] https://github.com/ntfreak/openocd.git

[2] https://myboogieboard.com/

Re: Ask HN: What do you do with your Raspberry Pi?

#537

I have an old Raspberry Pi 1 that runs headless raspbian with a set of cheap speakers plugged into it and an old usb wifi adaptor. It has only one purpose: to play a wav file of a telephone ringing for one minute. My spouse does not ever have the ringer on her cell phone. So when I am out and I need her to look at her phone, I VPN in to my home network, ssh into the pi using Terminus on my iphone, and 'aplay' the wav…

This is brilliant. I have the same problem, and an extra gen1 pi hanging around, and I'm quite excited about this solution. Thanks for posting. :-)

Re: Ask HN: What do you do with your Raspberry Pi?

#540
post #449

I discovered that my 17-month old son loves to mess with stereo controls. So I bought a few rotary encoders and neo-pixel rings - build a wooden enclosure with a plastic faceplate, and wrote some code to generate fancy light and audio effects when he turns/clicks the knobs. He loves it.

I'm thinking of doing the same for my kid. Any photos/description?
Post reply on HN