Comments (17)
Some Raspberry Pi Compute Module 4 (CM4) boards come with a built-in eMMC flash chip for storing nonvolatile data. This chip replaces the need for a separate SD card, which can be useful if you want to avoid the use of SD cards.
from openmower.
You can use small m2 type ssds.
from openmower.
As far as I know the OS is still Raspbian with ROS installed. The Problem with the SD-card is writing and in Raspbian there is a option to not write to SD. If that is selected it writes only to the RAM so if there is a power loss the system is set back to the point the option was selected.
Hope it helps
from openmower.
This might be a problem indeed, since I'm using Ubuntu on the Pi. I haven't gotten ROS to work with Raspbian in a stable way. But @Schaumi19 is right, there is an option which just writes to RAM and does not modify the SD. I haven't used it yet, though since I'm working on the software and therefore need write access to the SD
from openmower.
from openmower.
I got bored and read up on this problem, so I'm no expert.
This article suggests the problem has been resolved and may have been due to bad rpi hardware or cheap sd cards.
I've used 3 or 4 pi's over the past few years starting with a Pi B, and I've never had an issue.
I've always Used genuine samdisk cards, not sure if it helps.
That said the overlay fs/ read only sd card mode is handled at the os level in raspbian so might be an option.
from openmower.
from openmower.
It is true that you have less problems with genuine sdcards whatever brand, but it is also a fakt that the life time of an sd card is limited tue to the write cycles(up to 10k some sources say 100k). Thats why the problem is not the normal usage. But if there is something like a log file that gets written every second you are done afer a few days. Or if the file gets writen less the problem occurs afer a longer period of time what could be worse.
from openmower.
Just boot from a small ssd via usb. They last much longer than sdcards or emmc.
from openmower.
i am not sure if adding an ssd inside the smal case of a mower.
from openmower.
I did open this issue because I had a (as far as I can tell) genuine Samsung 64GB SD card go bad in a Pi that a personal project ran on.
I would agree that a CM4-based mower sounds like a good idea, given the onboard eMMC flash, and that it is intended with use in industrial settings in mind. Of course, that would mean sacrificing USB 3.0 connectivity, but as far as I can see, that's not really used here.
The CM4 DOES have a USB 2.0 interface, so no USB controller on the board would be necessary.
from openmower.
At end of day we want machine to be 100% reliable.. with ..a failover etc...(line replacable)
maybe an SD raid ? or ssd RAID ?
as @JoeKae mentions, the m2 ssd's could be useful.. but expensive..
or a stpuid raid..
https://hackaday.com/2018/02/12/worlds-stupidest-solid-state-disk-drive-hack/
from openmower.
ssds last longer but have the same problem. So just dont write do the ssd/sd or only write every few days. I don't think it is a real problem, that it gets reset a few days if the battery dies.
from openmower.
I've been using Log2Ram, and endurance type SD cards. None of them have failed yet, in other applications like RPi dash cams and power monitoring.
from openmower.
We're working on having the software as docker images, so that we can use Raspbian as base system. This would allow us to use the overlayfs setting in raspi-config which should fix the sd corruption problem without much work.
from openmower.
I would recommend looking at Tinycore Linux for Rasperry Pi. This is a minimal ramdisk only distribution with no automatic writing to sdcard which i have used in the past. A new package for openmower has to be created.
Configuration changes can be written to sdcard instantly.
http://www.tinycorelinux.net/ports.html
from openmower.
@plopaur I could not find any information if ROS runs on TinyCore. If it does and it is stable that may be a way to do it
@vguttmann @pedromorgan I am planning to build my mower based on a CM4 w/ emmc and this adapter - It has a M.2 2230/42 slot too but I think a ssd is an overkill
It will take some time cause I accidentally ordered a CM4 w/o wifi so I am returning it and need to wait until my desired variant is available again.
Also I plan to take a look around the OS side of the project
Stay tuned 🤗
from openmower.
Related Issues (20)
- Q6 needs a voltage divider on the gate HOT 2
- My openmower
- Deprecate speaker in favor of buzzer HOT 2
- Update IMU docs for new LSM6DSOTR
- Question about porting it to Rust?
- rain sensor always powered
- Lidl releasing 2x Mowers
- Discord link expired HOT 1
- Build availability? HOT 1
- Sharing of this project
- Work with bad WiFi coverage ? HOT 1
- Improving the ADC
- Voltage drop during charging and charger improvements HOT 1
- To be able to adjust LIFT_EMERGENCY_MILLIS
- Remove copper below CC/CV module on Dock PCB HOT 1
- Last main board pinout HOT 1
- Rotate terminal silkscreen on dock board
- Test for and fix overvoltage conditions HOT 3
- Model 500B (via Aldi Discounter) uses _two_ lift hall sensors per wheel / different connectors HOT 1
- Classic 500B - UI-Board should match better if LEDs are shifted by about 1.27mm
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openmower.