this post was submitted on 06 Aug 2023
468 points (98.8% liked)

Selfhosted

40415 readers
358 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 2 years 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
[–] potatopotato 47 points 1 year ago (2 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 12 points 1 year ago

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

[–] [email protected] 2 points 1 year ago (1 children)

But why not an ESP32 or something that’s really well supported but better matched to their use case? Rpi screams ‘I read an article on how to connect my leds to Wi-Fi once’ levels of competence.

But I suppose if it was a half baked grift of sorts then it checks out haha. Even if that grift was more of an egotistical and not intentionally sourced grift.

[–] potatopotato 4 points 1 year ago (1 children)

Yeah, that's the issue ultimately. The ESP32 chips are nice and easy to use but still pale in comparison to getting things working on a pi for the average developer without embedded experience. These devs may not even know they exist to be completely honest.

[–] [email protected] 3 points 1 year ago* (last edited 1 year ago) (1 children)

I was working with a buddy on a "startup" that was more of a hobby than anything (and didn't go anywhere). The early prototypes were controlled by Arduino and Pis early on -- ease of software development was key as we experimented with and dialed in the hardware. The later prototypes used an ESP32 though, because we're aren't idiots.

I'm a hobbyist at best: it kills me that there are well paid "professional embedded software engineers" out there that can't work with actual embedded hardware. All I could think of was this article on electrical engineers that can't solder. The complete lack of real world, hands on experience with the hardware blows my mind.

[–] [email protected] 2 points 1 year ago

Yup. This is really the worst part. I am a village idiot. So if i do it at home that’s fine.

But then again the shit I see at work sometimes…