Remix.run Logo
▲ Freak_NL 3 hours ago

This is the main issue:

> The open question is supply. Finding two good used phones is easy; finding a few hundred matching ones, with healthy batteries and predictable camera behaviour, would take more work. I feel increasingly confident that it’s possible.

RaspberryPies and such are commodity hardware. You can buy one, two, ten, twenty, a hundred, and it just scales along. All of those devices will, barring perhaps a few dead-on-arrival ones covered under warranty, just work out of the box.

A used smartphone will have issues which can vary from device to device, so scaling that would take a very dedicated refurbishing setup where the quirks are ironed out (and the unsalvageable ones discarded).

I would also expect that you are starting out at the other end of the bathtub curve: with new devices you will have a few that fail soon after unboxing and using them a bit, and then they will run fine for years until you start hitting the other end of the curve and wear-related faults pop up. With old cheap phones you would start out at that side of the curve, so if you buy one hundred of those, a bunch will fail at various points soon after deploying them.

The cost of that unpredictable behaviour seems high to me. So much so that I wonder if it wouldn't be cheaper to buy a lot of unsold stock of a certain type of budget smartphone from two or three years back. Those devices could run fine as long as they aren't connected to the internet directly.

▲bambax 2 hours ago | parent | next [-]

> RaspberryPies and such are commodity hardware. You can buy one, two, ten, twenty, a hundred, and it just scales along.

Not my experience at all. Pies are hard to find, get more expensive each week. Some are impossible to find (Pi zero).

The most fragile part of a phone is the screen. If you don't care about breaking it, then access to the battery becomes pretty easy, and therefore easy to replace.

▲setopt an hour ago | parent | next [-]

Same here. The last times I tried to get a Pi — three times in three years — the ones I wanted were completely sold out and waiting to restock.

▲MarcScott 37 minutes ago | parent | prev | next [-]

Where are you based? I just bought 25 from CPC without any issues. Delivered in two days. They aren't as cheap as they used to be, but I understand the reasons why, given how expensive RAM is. Yes, the zero is trickier, but the 2W is in stock on PiHut at the moment.

▲afgrant an hour ago | parent | prev | next [-]

It seems very regionally dependent.

▲interludead an hour ago | parent | prev [-]

I think battery replacement is only part of the problem, though. Even if you can swap batteries cheaply, you're still dealing with different firmware versions, component revisions

▲randomblock1 3 hours ago | parent | prev | next [-]

Phones are pretty robust though, meant to handle everyday use and abuse. In terms of failure, the battery is really the only thing to be concerned about. Most phones have some battery limiting option, and bypass the battery when the charger is connected. And if you're determined enough you can run without a battery.

▲cowlevel 3 hours ago | parent [-]

Just plug all the battery slots in parallel to a 4.1V power source (that's a nearly full battery voltage). You probably have to solder them to make a reliable connection.

▲randomblock1 3 hours ago | parent [-]

I'm pretty sure the third/fourth pins are used for communication to the battery. I doubt the phone would be happy it wasn't responding. I vaguely remember some phones can just use a resistor for that pin? Either way it's not quite that simple.

▲cowlevel an hour ago | parent [-]

Maybe. Try it and see. If it doesn't work it's probably just a temperature sensor (thermistor) and a resistor indeed simulates a certain temperature the same way your power supply simulates a charge state.

▲krzyk 2 hours ago | parent | prev | next [-]

Hobbyist don't usually need to scale beyond one device. Warranty is not that a big issue, if you buy a used hardware you know what are getting into, that's why they are cheaper than new devices.

▲KeplerBoy 2 hours ago | parent [-]

we are talking about embedded devices here. you dont need a second one because your web server cant serve enough requests, you need a second one because you want separate projects to have separate hardware.

▲Geezus_42 25 minutes ago | parent [-]

Then why would it matter if they are all exactly the same?

▲blauditore 2 hours ago | parent | prev | next [-]

You could go a step further and just buy low-end new phones. They are available at sub-$50, which is near the price of Raspberries.

▲Geezus_42 23 minutes ago | parent [-]

I haven't seen a new Raspberry that cost anywhere close to that in years. Assuming you aren't referring to one of the smaller, less powerful ones.

▲iberator 3 hours ago | parent | prev | next [-]

for applications like that your should remove the battery and put small cheap circuit that emulates it. then you can run such server very very safe, unlike with 100x batteries always harging.

Bot farms works that way.

▲Folcon an hour ago | parent | next [-]

This is fascinating, I never even considered this need.

Could you say more about this? What kind of setups work well? Is this really straightforward or are there any subtleties?

▲gonzalohm an hour ago | parent | prev | next [-]

Took me hours to replace the battery in a pixel. They make it almost impossible to open a phone without breaking it. I can't imagine doing that for more than 2 phones

▲Den_VR an hour ago | parent | prev [-]

What else have bot farms learned through scaling?

▲Onavo 3 hours ago | parent | prev | next [-]

The main issue with old phones are NAND Flash degradation and battery problems. As long as you fix those two issues everything else is simple. These days with AI it's almost trivial to build and flash your own ROM and even the most hardcore of binary blob drivers can be reversed so long you have enough GPUs.

It's not the dark days of android where something like CyanogenMod takes a whole team of experienced system and embedded engineers to port and you don't have to hunt for information on XDA anymore.

Oh and cooling. That's something that the Pi has an edge on.

Early Android hackers might remember something called the Android Arduino Mega ADK. I suspect nowadays if you need real time control you can probably just have smartphone control the peripherals via the ESP32 using either USB C or Bluetooth. Developing over the wire protocols is trivial since LLMs can hammer out protobuf definitions like there's no tomorrow.

▲interludead an hour ago | parent | prev [-]

[flagged]