Live data from Hacker News

Ask HN: Share Your Raspberry Pi Project

news.ycombinator.com

81–90 of 160 posts

Re: Ask HN: Share Your Raspberry Pi Project

#81

Is anyone using this to sense water levels (or just the presence of water)? I'd like to implement a doohickey that monitors water levels in a water storage tank which is not easily accessible. So it must be very reliable, and install-and-forget, as access is a pain in the ass.

I am going to try that this next week. I live in a third world country, and here most days there's no water coming from the pipes.

So I am going to try and monitor the water levels in my house.

What I bought to do that: A ESP8266 board (it's like an WiFi arduino), and an ultrasound distance sensor.

My plan is to point the sensor vertically towards the water. It emits sound and then measures the time it takes for that sound to bounce back. I think I can use to measure the level of water.

Then the results will be sent (using MQTT) to my Raspberry Pi that is running Home Assistant.

Re: Ask HN: Share Your Raspberry Pi Project

#82
a post on hackaday.com led me to a lightning sensor breakout board that connects at 3.3V which is perfect for a rpi. since I live in florida I jumped at it. just got it hooked up the other day, unfortunately NOAA's lightning strike database is a few days behind so in a day or two I'll be able to check the accuracy of it. it's my first electronics project with the rpi and I have definitely learned a lot already

Re: Ask HN: Share Your Raspberry Pi Project

#84
post #74
post #63

Earlier quoted context omitted.

What language did you end up using to access the sensors? I've been ~hoping~ to use Go to access the GPIO pins, but haven't had much success - any suggestions?

Check out https://periph.io/ , which makes GPIO access easy :)

Thanks for the suggestion! Any affiliation :) ?

Re: Ask HN: Share Your Raspberry Pi Project

#85
I built a microtonal keyboard: http://jsnow.bootlegether.net/jik/keyboard.html

The keys have pressure sensitive film underneath that causes a voltage drop when you press on them. There's a wire from under each key that goes to an input on an MCP3008 ADC. There are 20 of those, each with 8 inputs, all connected on a SPI bus running at 2mhz. Effectively, this acts as a 160 channel digital voltmeter. The Pi can scan all the ADCs about 90 times per second, and it converts key pressure into midi commands that can be sent to an external synth or I can run a software synth locally on the Pi.

Re: Ask HN: Share Your Raspberry Pi Project

#86
post #37
post #25

Although not strictly a Raspberry Pi project, I have a couple C.H.I.P. boards[1] scattered throughout my apartment collecting temperature and humidity readings (using a HIH8120 sensor[2]) and feeding it to my Raspberry Pi which runs InfluxDB and Chronograf[3] to store and display a simple dashboard. The end result looks like this: http://i.imgur.com/cIrhSUq.png [1]: https://getchip.com/ [2]: https://sensing.honeywell…

This is really cool! I've been thinking about a similar idea lately and this seems like a great way of doing it. Do you by chance have any material on how you got the honeywell sensor working with the C.H.I.P. board? (This would be my first electronics project)

I'm currently prototyping an alternate approach - using an nrf52 to send readings beacons, and then gathering those beacons with a raspberry pi

This has the added benefits of being able to be powered with a solar panel.

Re: Ask HN: Share Your Raspberry Pi Project

#87
I used it to built a working prototype of Spot [1], a Raspberry-Pi powered chatbot that helps people find a parking spot. As a test, the RPI3 was mounted on the lightpost, the Camera Module [2] was used to capture images, so we can count number of empty spots.

[1]: https://github.com/tzano/spotFinder

[2]: https://www.raspberrypi.org/products/camera-module-v2/

Re: Ask HN: Share Your Raspberry Pi Project

#89
I put retropie on one, then added a Picade hat to easily connect some real arcade buttons and joystick to play mame games on. I put it inside of an old restored Defender cabinet.

I'm also in the process of building a "magic mirror" which will have some home automation and Google assistant built in.

Re: Ask HN: Share Your Raspberry Pi Project

#90

a post on hackaday.com led me to a lightning sensor breakout board that connects at 3.3V which is perfect for a rpi. since I live in florida I jumped at it. just got it hooked up the other day, unfortunately NOAA's lightning strike database is a few days behind so in a day or two I'll be able to check the accuracy of it. it's my first electronics project with the rpi and I have definitely learned a lot already

Nice! I've been trying to do this but I haven't been able to find a lightning sensor breakout board that doesn't cost an arm and a leg. Can you link me to the one you purchased?
Post reply on HN