[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y ] [Home]
4chanarchives logo
Do vending machines run on an OS?
Images are sometimes not shown due to bandwidth/network limitations. Refreshing the page usually helps.

You are currently reading a thread in /g/ - Technology

Thread replies: 62
Thread images: 5
File: bank-of-vending-machines.jpg (97 KB, 750x442) Image search: [Google]
bank-of-vending-machines.jpg
97 KB, 750x442
Do vending machines run on an OS?
>>
Some do, some don't.
>>
yes flash.
>>
>>55397248
Maybe in Japan.

Western vending machines still don't accept Apple pay which is totally ridiculous.
>>
Depends.
A coin fed soda machine probably doesn't.
A tap your metro card to pay, LCD touch screen snack machine probably does.
>>
>>55397248
I'm certain the embedded computer in the machine is too underpowered with too little RAM to use an OS.
>>
No, we won't help you """"""hack"""""" them for free food.
>>
>>55397248
95% use microcontrollers, so no OS.
Others might use android or other java derived OS.
>>
>>55397272
They accept s pay
>>
Most vending machines are just plc's running simple ladder logic
>>
>>55397349
Plcs not microcontrollers
>>
>>55397426
>automatic vending machines
>PLC's
Ahah no. That would be totally overkill.
They use microcontrollers with some kind of relay based board to interact with the mechanisms that open the doors/prepare coffee/whatever.
>>
>>55397460
>overkill
You do realize plc's come in all shapes and sizes right?

Look up koyo click plc's
>>
>>55397248
Most have cylinder locks, learn to pick those.
>>
>>55397504
Overkill in terms of price. Even the smaller ones are far more expensive than a microcontroller and dedicated circuits.
>>
>>55397523
I mean Tubular locks.
>>
Hax the Doritos!
>>
>>55397525
It might, but you have to remember that a PLC is a microcontroller, with an executive and hardware that deals with many of the imperfections of the real world, like contact bounce, horrendous lead dress, noise and general cruft. This makes it much more stable, easier to apply and bulletproof.
>>
>>55397594
I know, I work with PLC's daily.
But if you're designing a machine like this and use a more expensive product only because it's easier on the development (when the truth is, it isn't that much easier), you're just being a retard, wasting money.

A microcontroller with, as I said, cextra circuitry to deal with those drawbacks like contact bounce and whatnot, is miles better than a PLC.

Of course, it's only my opinion.
>>
>>55397248
yes. every electronic device which has a CPU needs to execute some instructions. this means that every electronic device has some kind of operating system.
>>
>>55397653
im pretty sure my lamp doesn't have an operating system...
>>
>>55397689
Yes it does. The botnet is everywhere my bruddah
>>
File: 1467581047957.jpg (3 KB, 119x126) Image search: [Google]
1467581047957.jpg
3 KB, 119x126
>>55397272
> Being this openly homosexual
>>
>>55397248
yes, they have to process information
>>
>>55397689
"every electronic device which has a CPU"

lamp do not have a cpu. i thought its pretty straight information, this is technology board, right?
>>
>>55397653
That's not the operating system he meant, smartass. Do us a favor and go back to >>>/reddit/
>>
>>55397653
top b8
>>
>>55397734
lamp is a vacuum tube cpu
>>
>>55397737
he asked about OS. he did not specify what exactly he means. i just answered the question, what the hell triggers you
>>
>>55397332
this Is the only reason I enter this thread.
>>
>>55397248
Probably not in any traditional kind of sense. Of course there's some kind of CPU in it which runs a program, but calling that program an OS would probably not really do the term OS justice.
>>
>>55397297
Nah man, many OSes can be run on anything. For example FreeRTOS runs on most 8-bit microcontrollers and uses just a few hundred bytes of RAM.
>>
>>55397771
>what the hell triggers you
Someone who thinks they know what they're talking about when they really don't
>>
>>55397832
stop talking then, simple as that
>>
>>55397349
>95% use microcontrollers, so no OS
Is this what /g/ has come to?
>>
>>55397938
I'm sorry sweetie, microcontrollers without bootloaders run injected code in a loop.
Is that an OS?
>>
Windows CE
>>
>>55397272
Yeah, I really don't get why vending companies don't spend millions on updating their machines just so they accept the latest but not the most popular payment method, it's humiliating having to carry old school coins with me.
>>
>>55397981
operating system is software that menages the hardware so yes.
>>
I wonder what it runs
>>
>>55398033
Java.
>>
>>55398033
Something like that will only have 8kb of embedded memory at best.
Literally all it needs to do is light up the menu and only squirt out a pre-determined amount of whichever option is chosen.
Nothing complex there, no need for even 2kb of memory I bet.
>>
>>55398033
most probably some custom made os written just for purpose of this machine.
>>
one time I was using redbox and it crashed and gave me an old looking Windows prompt
>>
>>55397905
>being this retarded
You can't make this shit up
>>
>>55398074
im 100% serious. you either start talking with sense or shut up.
>>
For what it's worth, the automated starbucks coffee dispensing machines that some offices have in their break rooms run Linux. You can see it on the screen when they break sometimes.
>>
>>55398029
What you defined is firmware. Operating systems have a kernel and use interrupts. Not all embedded systems have either
>>
>>55397653
If you believe that then you don't know what constitutes an operating system
>>
File: 16190-2735113.jpg (177 KB, 1377x1052) Image search: [Google]
16190-2735113.jpg
177 KB, 1377x1052
>>55397248
EE here. For the majority of machines that do not dispense coffee are actually purely discrete. The payment module is an off the shelf part that will have a MCU to check coins and notes, in the case of ones that also accept cards you enter the world of EFPOS which use full blown computers.

The point is none of this is part of the actual vending operation, whats used is a discrete circuit that converts the keypad matrix into a relay, a common cam timer(pic related) that spins the hooks for a certain time, unlocks the door, etc then returns to zero. With units that have a screen of some kind its where the cam timer and discrete logic have been replaced with a PIC relay board.

Coffee machines are a completely different beast, they often run Java(kek) on a full blown single board computer(x86 too) as they need highly complex temperature, metering, sequencing and have multiple execution paths depending on the coffee requested or options(i.e. flat white just dump the milk in with the brew, but for anything with a head you need to start steaming before you brew) that would be a pain in the dick to do on an MCU.
>>
>>55398220
Fuck me

That's some cool shit
>>
>>55398281
the cam timer? yeah, they're a bit rare now but most commercial kitchen equipment still use them since you can buy ones that run for a few seconds to hours at a time just based on the gearing.

they're also what run old traffic light installs
>>
ITT: people that don't know what an OS is.
>>
File: 3168684-nagato+uzumaki+funy.jpg (18 KB, 500x281) Image search: [Google]
3168684-nagato+uzumaki+funy.jpg
18 KB, 500x281
>>55398138
this
>>
>>55398138
Windows uses interrupts.
Linux actually is based around polling.
>>
>>55398391
can i run a vending machine on temple OS?
>>
>>55399675
Only if it dispenses Bibles
>>
>>55399370
linux uses interrupts.

tldp.org/LDP/tlk/dd/interrupts.html
>>
>>55397272
>being this un-american

ISHYGDDT
>>
>>55397297
Many ATMs run on XP Embedded
>>
A operation system is used
>>
>>55398067
if it's running something Java based I'm sure it has at least 16GB
Thread replies: 62
Thread images: 5

banner
banner
[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y] [Home]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com, send takedown notices to them.
This is a 4chan archive - all of the content originated from them. If you need IP information for a Poster - you need to contact them. This website shows only archived content.