How does a software code makes big machines move?

759 views

I’m in networking and still can’t wrap my head around this. How does changing some bits manages to physically move a hardware, be it small or big?

In: Technology

6 Answers

Anonymous 0 Comments

They have to be wired up that way. The machine probably contains a microcontroller – or several – which is a small computer designed for this purpose. The microcontroller has a bunch of spare wires which the machine designer can use for any purpose, and the microcontroller’s software can tell it to turn them on or off.

So, “pin A3” may be connected to a circuit that makes the elevator go up. When the microcontroller gets to an instruction that says “turn on pin A3” then it does that and the elevator goes up.

Keyword: GPIO = General Purpose Input/Output

You are viewing 1 out of 6 answers, click here to view all answers.