this post was submitted on 06 Aug 2023
366 points (99.5% liked)

Selfhosted

40023 readers
1178 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

Title says most of it. Spin electric scooters exited the Seattle market and abandoned their scooters all over the city and apparently they have a pi 4 in them!

you are viewing a single comment's thread
view the rest of the comments
[–] Meltbox@lemmy.world 105 points 1 year ago (4 children)

This is such a terrible application. These things would drain their battery just running the pi and electronics. Why such a high power platform for such basic functionality?

This screams of free money flooding startups. Amateur hour.

[–] Faceman2K23@discuss.tchncs.de 32 points 1 year ago

putting prototypes straight into production is the "tech startup" way!

[–] potatopotato@sh.itjust.works 28 points 1 year ago (1 children)

I'm not intimately familiar with the BCM2711 but I believe it's a reasonable, albeit somewhat overpowered, processor for the application. It can be put into a variety of low power states and probably pulled out of sleep by various events like the GSM chip sending packets or accelerometer motion (frequently the peripheral chips have dedicated "wakeup" pins that you can wire to interrupts). It's not the most cost effective option by far, there are sub $5 microcontrollers with multiple cores for handling communications and real time motor control concurrently but you'd need to hire someone like me for a few months @$200/hr to write the low level drivers and design the boards. The rpi lets random web-only devs fumble their way through hardware development using whatever GitHub Python libraries they can find. If you only need a hundred scooters it makes more sense to just yolo it and buy up the remaining supply of rpis to start your grift.

[–] pinkfootedgoose@sh.itjust.works 11 points 1 year ago

Great explanation. I'd be one of those web Devs.

[–] i_am_not_a_robot@discuss.tchncs.de 27 points 1 year ago (1 children)

Surely the drive motors use far more energy than the computer, and the computer doesn't need to be fully powered on all the time.

[–] Meltbox@lemmy.world 1 points 1 year ago

Yeah they do. The device current issue is one of time. If they coded it properly they could keep the pi asleep at almost all times, but seeing as they used one in the first place I have my doubts.

Essentially it would make the scooter drain from just sitting vs being able to sit for weeks until a rider hops on.

[–] Godort@lemm.ee 22 points 1 year ago (1 children)

It's a lot cheaper than getting an EE to design you a more efficient bespoke solution.

[–] MangoPenguin@lemmy.blahaj.zone 12 points 1 year ago (1 children)

Could just buy an ESP32 board instead, at least that doesn't suck down power and need to boot Linux to function.

[–] Meowoem@sh.itjust.works 3 points 1 year ago

They probably could have used a Pico, certainly a zero instead of a 4