4 ms·
I use one of the first batches to control a few sensors around my front door. Movement detection, reed switch door opening sensor and it controls the siren and
by geek_at 6y ago
I use one of the first batches to control a few sensors around my front door. Movement detection, reed switch door opening sensor and it controls the siren and the light at the front door.
I burnt through sooo many SD cards until I started using Alpine Linux which runs perfectly on the Pi and runs from a RAM disk. No more dead SD cards for me
- elaus 6y agoThat's interesting. I have a Pi 1B running non-stop since 2013 with the default Raspian image and the SD card still seems to be fine. Maybe I've just been lucky till now…
- geek_at 6y agoIt only dies when it's powered down unexpectedly. (while writing)
- 542458 6y agoOh Alpine sounds cool - I’ll have to look into that. I’ve always just kludged raspibian into running read-only, but it’s fiddly. Your solution sounds much nicer.
- geek_at 6y agoI did the same before discovering alpine. I am much happier now :D
- forty 6y agoI put u-boot on the SD card, then set the SD card R/O using the hardware switch on the SD card (i don't know if it's a standard thing, but mine have one). Then I put the OS on USB and boot from there. SD cards stopped dying :)
- rasz 6y agofun fact: read only switch on SDcards is a dummy piece of plastic, it just flips a real switch in the card slot letting the controller know your wish. https://www.remosoftware.com/info/wp-content/uploads/2017/06/featured-image-disable-sd-card-write-protection.jpg https://www.remosoftware.com/info/wp-content/uploads/2017/06...