Live data from Hacker News

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

news.ycombinator.com

541–550 of 1001 posts

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

#542
post #112

Using several Raspberry Pis to monitor CO2 levels in my house. Each Raspberry Pi has a CO2 sensor - wrote a little Python script to retrieve data from sensor and upload it to a server Which is also a Raspberry Pi.

What sensor did you use? All the ones I’ve seen tend to be pretty expensive

You can get cheap NDIR based sensors from aliexpress (around $20) such as MH-Z14A, which I've used with a Pi, via the UART interface. I just hooked it up to the 5V line on the Pi pin header and then used the Pis UART lines for the data, as that runs at 3.3V.

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

#543

Earlier quoted context omitted.

I could actually use exactly that. Do you have a blog outlining how you did it, or the code on github by any chance?

No sadly not. I'd love to write about it but my English is just not good enough to write a compelling story. Writing it in German and then having it translated is always a bit of a hassle. But I may consider it. At the moment I have an offer of the door drive manufacturer for doing a "home story" about the solution. If that will happen, it will definitely be released in English. I will open source everything once I'm…

For what it's worth, I didn't have any clue that English wasn't your first language until you said it.

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

#546
I used to turn my pi into low power consumption devices and donate them to the solar berry project [0]. Side loaded with rachelpi [1] software that brings the better part of the internet to kids in dark regions of Africa.

[0]: https://turingtrust.co.uk/home/our_work/solarberry/

[1]: http://rachelfriends.org/

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

#547
Tor relay with Display-O-Tron Hat to visualize the tx/rx speeds.

Wardriving rig with GPS puck that runs kismet, airbash, and bettercap to steal PMKIDs and also 4-way handshakes from nearby networks for offline cracking and data visualization. Also has UPS supply for backup power.

An aborted project to make a Hindustani raga time-of-day player, based on a Pi Zero W with a 128GB SD card, that would stream a continuous loop of music appropriate to the specific time of day (8 distinct periods), via a network interface such as Plex. But it was too complicated.

I've also used an RPi3 as a node in https://github.com/lennartkoopmann/nzyme.

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

#549
post #112

Using several Raspberry Pis to monitor CO2 levels in my house. Each Raspberry Pi has a CO2 sensor - wrote a little Python script to retrieve data from sensor and upload it to a server Which is also a Raspberry Pi.

I think CO is more dangerous than CO2! Why not CO?

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

#550
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?

It's actually quite a bit louder than this now. Also, the lights aren't quite as infant-retina-searingly-bright as the camera would have you believe.

https://www.youtube.com/watch?v=xtE8oE9GOsM

Currently it's still running my test code, which just lets him mess with volume/pan/pitch. I need to get around to writing something a bit fancier.

Tech deets: It's just a RPi3 with most of the stuff written in Python. I tried to get a bunch of Python audio libs working, but gave up and wrote my own C++ module for sample mixing. The NeoPixel rings are driven via the SPI output, and the rotary encoders/switches are just hooked up to random GPIOs.

Post reply on HN