Live data from Hacker News

Light Traffic

senseable.mit.edu

121–124 of 124 posts

Re: Light Traffic

#121

Earlier quoted context omitted.

OpenCV on a Raspberry does not sound like something that is reliable and easy to deploy. It‘s a long way to go from something that you hack together in the living room to something you can deploy on hundreds of traffic lights, that works in every weather, that can easily be configured for different use cases, and that can be serviced by the technicians.

It can be: https://resin.io A Raspberry Pi is a surprisingly useful and cost effective device when it comes to IOT. Most industrially hardened devices of similar capacity cost a bit north of an order of magnitude more. There are really only a couple of things that would need to be addressed, a good weather-tight case that allowed for heat dissipation, decent storage (most microSD has a short lifespan), and a good 5v…

Sone of what your saying is kind of making the point of the parent though.

Yes, you can make the software deployment go easier, and resin looks like an interesting project from that front. But that really is only a small part of the problen, and those hardware problems you described aren't trivial. The testing you described to convincingly show that your device can handle the environmental requirements isn't trivial. (And by environmental, I dont just mean weather, but also things like available power quality, vibration, etc.)

These industrial devices aren't expensive just because the suppliers aren't aware of RasPi, or are looking to gouge you. Its because they put in a lot of work to qualify these devices for their intended conditions. The RasPi, hacked up solution might actually be the WAY more expensive option over it's lifetime, if I have to roll maintenance crews every couple of months to replace SD cards or fix a flaky connector. And god forbid our code hangs in a way that makes all of the lights at an intersection green. "Oh you have a way to prevent that? Prove it." Designed to fail works fine for microservices where I can spin up a new instance rapidly, but it isn't the best match for industrial or infrastructure in most cases.

Apologies if I'm coming across overly snarky here. I genuinely love the RaspPi, and its got a great niche for prototyping, hacking up one-off projects, or even as the base for many types of connected projects. But I've also worked on industrial and infrastructure types of systems, and more than once I've seen someone say that they've got a cheaper solution to X, when really they've got something that may look cheaper if your only looking at upfront costs, but they are completely ignoring the lifetime costs of the solution.

Re: Light Traffic

#122
post #115
post #72

Earlier quoted context omitted.

It wasn't part of my driving test in Virginia, at least when I took it. I'm guessing if your state has a low number of roundabouts [0] then it's pretty unlikely you'll be tested on it. I'd be interested to hear if Marylanders (#1 in roundabouts:intersections) have it on their test. Personally, I freak out when I see a roundabout coming up, and slow down dramatically. Or, I completely avoid them. [0] https://www.cityl…

It's possible that even when slowing down the roundabout still ends up being more efficient, since you don't have as much "stop/go" action going on

This is generally how it works in the UK, except for newbies who tend to always stop completely rather than try to time the merge where possible... I've heard that this is actually taught in advanced driving in the UK (to maintain flow when possible, time merges etc). Frankly there are some roundabouts in cities at rush hour which are frightening for new drivers and you just can't join unless you have good timing and can get up to speed quickly (or get a lucky smooth merge).

Re: Light Traffic

#123

Earlier quoted context omitted.

It can be: https://resin.io A Raspberry Pi is a surprisingly useful and cost effective device when it comes to IOT. Most industrially hardened devices of similar capacity cost a bit north of an order of magnitude more. There are really only a couple of things that would need to be addressed, a good weather-tight case that allowed for heat dissipation, decent storage (most microSD has a short lifespan), and a good 5v…

Sone of what your saying is kind of making the point of the parent though. Yes, you can make the software deployment go easier, and resin looks like an interesting project from that front. But that really is only a small part of the problen, and those hardware problems you described aren't trivial. The testing you described to convincingly show that your device can handle the environmental requirements isn't trivial.…

No apologies necessary. I wasn't vehemently disagreeing with the parent so much as saying that the cost-benefit analysis is worthwhile.

I do some IIoT stuff, so I have a little experience here. Many of the lower cost PLCs and industrial edge devices have no better environmental characteristics than a Raspberry Pi. They just happen to be more expensive by comparison because they're competing in a market with much more expensive devices. In many cases, as you suggested, buying those devices is a false economy.

My point is simply that they're not that bad, and like you said, one should truly consider the lifecycle costs.

Re: Light Traffic

#124
post #26
post #17

This is a good video example of how manufacturing works in lean factories. By reducing or avoiding inventories, fetching from temporary warehouses and machining stops (traffic lights here) you can often increase the production rate significantly.

Look up "kiva warehouse robots". You'll spend an hour fascinated by modern warehousing :)

Thanks! Kiva/Amazon is a great real-time optimization challenge. Digikey logistics is a good example of how it is well done with non-machines: https://youtu.be/pYqzccJdgVY
Post reply on HN