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

how are things like washing machines, dish washer, microwaves

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 45
Thread images: 7

File: 322.jpg (372KB, 1280x1280px) Image search: [Google]
322.jpg
372KB, 1280x1280px
how are things like washing machines, dish washer, microwaves etc programmed ? what do they use? what languagE?
>>
Analogue.
>>
>>58278897
I imagine most are pretty simple and implement the logic direct on the circuitboard but if they really are programmed probably something like assembly
>>
>>58278897
I bet it's really easy to brush his back teeth.
>>
>>58278897
Where does someone like him even end up working? Don't tell me he's some self-starting entrepreneur.
>>
>>58278897
Pillow drool must be a real problem.
>>
>>58278897
>I'm here for the job interview
>>
>>58279048
Don't worry, he'll regret it and later be in massive debt from the short term loans h had to take out to pay for the plastic surgery in Cuba. Later the graft will get infected and he'll end up hopelessly addicted to opiates, at which point he'll let sick bastards fuck his remaining face holes for money.
>>
File: Kakihara.gif (971KB, 490x275px) Image search: [Google]
Kakihara.gif
971KB, 490x275px
>>58278897
That looks fucking retarded. But makes me think if something like this is possible.
>>
>>58279022
He won't have his back teeth for long.
>>
how does he chew food

must be disgusting
>>
>literally being a mouthbreather all the time now
that must be great for his dental hygiene
>>
File: 1481872082254.jpg (93KB, 633x758px) Image search: [Google]
1481872082254.jpg
93KB, 633x758px
>>58278897
what the fuck
>>
>>58278897
C/subset of C, depending on the IDE used.
Usually proprietary chipsets that are designed and manufactured for a specific purpose. Saves on money for debugging and potential problems if you start from scratch, or something you know inside-out.
Most of the time, the only documentation on proprietary ICs are the people who take time to reverse-engineer the IC, which isnt that terribly difficult with a set of modern tools (like digital oscilloscope, variable lab PSUs).

Large commercial companies don't use Atmel or PIC chips anymore (GM used atmel for their car's computers pre-1999), they dont have time for all the problems they bring.
>>
I have a coworker who used to write printer firmware, it was done in assembly.
>>
>>58278897
Assembly.
>>
File: russia-bear-smug.png (16KB, 500x500px) Image search: [Google]
russia-bear-smug.png
16KB, 500x500px
>>58278897
How the fuck does he drink or eat
>>
the guy is german and obligatory german health insurance would be obliged to pay to fix him up

source: am german
>>
>>58279707
Cork the holes.
>>
>>58279048
haunted house monster or circus freak
>>
>>58279720

Hitler was right
>>
File: 1469145553590.png (216KB, 600x600px) Image search: [Google]
1469145553590.png
216KB, 600x600px
>>58279729
How does he blow up a balloon or sexdoll
>>
>>58279752
>sexdoll

What do you think he is, a degenerate?
>>
File: 1481665850001.png (176KB, 634x910px) Image search: [Google]
1481665850001.png
176KB, 634x910px
>>58279762
yes
>>
>>58279720
Eh still cheaper than the mess we have here in Burgerstan.
>>
>>58279707
he said he takes small bites and sips mostly. His name is joel miggler if you want to google that shit.
>>
>>58279022
https://www.youtube.com/watch?v=iKGIdQSOL6A
>>
>>58279814
Apparently he now removed the larger holes but now got a black eye tattoo. What an idiot.
>>
>>58278897

What your talking about is known as 'embedded systems programming'.

Most will be done in C now days.

You can do it either with a 'bare metal' approach where it's just one program that executed on the chip and things like GPIO and such will need libraries for the specific chip (or raw ASM calls). Or a using a RTOS (Real Time Operating System) that is really more of a programming framework that a full OS. Although some of them have things like scheduling and protothreads (basically fake threading). FreeRTOS, Contiqi, ChibiOS, etc... There are also more beefier microprocessors/SoCs that can run a full Linux OS too.

>>58278929

IC logic is just extra design work, will cost more than slapping in a microcontroller (MC's start at like ~65c on mouser for a 8-bit/2kb/256byte 8051, but generally a better buy would be a 32bit ARM M0+ 8kb/2kb at around $1). A simple logic IC can be had for ~38c but that's going to be for like a single gate, so unless you really only need just the one you might as well slap a micro-controller in it. I guess the exception would be for high watt things like driving motors where the MC's won't output enough amps. But even then your likely to find a microcontroller driving a mosfet or some specialised dedicated controller chip.

You can also use the same chip for doing things like software debouncing of input switches and save yourself some capacitors. Or using cheaper momentary buttons instead of latching on/off style ones and doing the latching in the software.

You have specialised IC chips for things like the displays or if you need more GPIO pins. But the MC will drive that.

ASM might be needed on some smaller devices. But now days with chips like STM32's that will become rarer. And I suspect RISC-V will drive prices down dramatically.. You do of course need ASM to access the specifics of the hardware like timers, hardware interupts, GPIO's, etc... unless there is a library written for you. But C is more portable.
>>
>>58278897
8 bitters

C/Assembly
>>
>>58278897
That maximum airflow though.
>>
>>58279773
>>58279707
What's this
>>
>>58278897
People usually start sentences with a uppercase letter and have the rest lowercase.
Not the other way around.
>>
>>58278897
the old way:
-they have microcontrollers, programmed in C, asm or any similar language supported by the development software made for the mc
-they have chips made especially for that appliance. they know what to do, they have inputs and outputs for the usual controls for the device like door switch, magnetron relay, time display etc. They are considered circuits, not "computers" and usually cannot be programmed

the new way:
-same ARM SoC as in your phone, running Android because you need touch screen, wifi and botnet in general for your washin machine.
-or this, because why the fuck not: https://www.embeddedarm.com/blog/netbsd-toaster-powered-by-the-ts-7200-arm9-sbc/
>>
>>58278897
Jesus Christ that's terrifying
>>
>>58278897
>how are things like washing machines, dish washer, microwaves etc programmed ? what do they use? what languagE?
Most of these don't have a microcontroller and are implemented with simple logic.
>>
>>58280565
>will cost more than slapping in a microcontroller
Not for mass-produced washing machines, anon.
>>
>>58278897
Amazing
Out of all the stupid shit he's got on his face, the haircut is the ugliest
Jesus Christ
>>
He can suck many dicks at once
>>
File: feels heterosexual man.png (57KB, 658x714px) Image search: [Google]
feels heterosexual man.png
57KB, 658x714px
>>58283996
>>
>>58279720
lol nein
>>
>>58279538
>Large commercial companies don't use Atmel or PIC chips anymore, they dont have time for all the problems they bring.
Can you elaborate? I was under the impression that Atmels were still popular.
>>
>>58280565
>Most will be done in C now days.
Would've been done in C for years. ASM is niche and definitely not the standard any more.

>You can do it either with a 'bare metal' approach where it's just one program that executed on the chip and things like GPIO and such will need libraries for the specific chip (or raw ASM calls)
Most likely this, dishwasher and such do not require any sort of threading. Likely to be using a combination of hardware interrupts or polling to check the state. Of course now the IoT has fucked this up: https://www.theguardian.com/technology/2016/oct/12/english-man-spends-11-hours-trying-to-make-cup-of-tea-with-wi-fi-kettle

Also, the microcontrollers I've used provide with a header file for the specific device which maps all the hardware registers to C #define (usually with a #pragma so the compiler understands what it is).
So if I wanted to set bit 2 in GPIO port 3 high it would look like:
p3_2 = 1;  //generates something like BSET   2,02E4H

//Or MSP430
P3OUT |= BIT2;


>You can also use the same chip for doing things like software debouncing of input switches and save yourself some capacitors
SMT caps are dirt cheap and I do not know why you would do this. Or you could a multi input switch debouncer with interrupt capabilities if you wanted to be fancy about it (plus ESD protection): https://datasheets.maximintegrated.com/en/ds/MAX6816-MAX6818.pdf

>I guess the exception would be for high watt things like driving motors where the MC's won't output enough amps. But even then your likely to find a microcontroller driving a mosfet or some specialised dedicated controller chip.
You would never power a motor from microcontroller directly you some sort of low / high power interface even if it's just a relay.

>You do of course need ASM to access the specifics of the hardware like timers, hardware interupts, GPIO's, etc
Nope. Interrupts are usually void functions with a #pragma to tie the function to interrupt vector table.
>>
>>58285179
STMs are cheaper and way more powerful.
>>
>>58285203
Also, if it was for mass production once they've completed their firmware they would get a custom ROM made for it and buy that instead.
Thread posts: 45
Thread images: 7


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

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
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.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.