My question simply boil down to this:
How does a computer interact with something out in the real world?
Imagine we build a machine to start a light. It would look this:

This machine would start / stop by pressing the swith. I however, would like the switch pressing to be automated. So I create a second machine to do that.
it would look like this!
where the part between them extends to flip the first switch.
some of the readers already understand where I am going with this. But now I ofcourse want my second machine to be automated, so I add a third machine to start and stop the second.
it would look like this!
obviously, I would now add a fourth machine to manage the fifth, and then a sixth to manage the fifth and so on.
Following this logic, any electrical apparatus would be a infinite set of machines that continually became smaller. But this is not the case.
In my final draft, i will have IR senores connected to a motherboard containing ram and a cpu, but I expect that once I have managed to manipulate one switch, I can apply the same method on the rest of them.
Anyone who can tell me what parts I need to do this?
How does a computer interact with something out in the real world?
Imagine we build a machine to start a light. It would look this:

This machine would start / stop by pressing the swith. I however, would like the switch pressing to be automated. So I create a second machine to do that.
it would look like this!
where the part between them extends to flip the first switch.
some of the readers already understand where I am going with this. But now I ofcourse want my second machine to be automated, so I add a third machine to start and stop the second.
it would look like this!
obviously, I would now add a fourth machine to manage the fifth, and then a sixth to manage the fifth and so on.
Following this logic, any electrical apparatus would be a infinite set of machines that continually became smaller. But this is not the case.
In my final draft, i will have IR senores connected to a motherboard containing ram and a cpu, but I expect that once I have managed to manipulate one switch, I can apply the same method on the rest of them.
Anyone who can tell me what parts I need to do this?
Text version below.
imagine we build a machine to activate a lightsource.
It would consist of a battery, the light, a switch, and cables to connect it all.
The machine should be automated based on a signal (probably infra red), or the press of another switch. We could ofcours build a new machine to activate the first, but then we would need a third machine to activate the second, and so on.
This would then lead to an infinite regress of machines.
Obviously, this is not the case.
If we connect RAM to a CPU, and to a power source (the battery) we create a computer.
Computers manipulate digital signals.by having pins in the CPU represent binary addresses to locations in the RAM.
One of these addresses could then contain a program to start a mechanism that connects the lightsource and the battery. Achieving the goal of automatic regulating the light.
This program would be a series of 1s and 0s, representing a digitale signal.
To connect the battery and the lightsource we would need movement. How can this digitale signale move a cable? Every electric device would need to have this next part.
So what is it?
It would consist of a battery, the light, a switch, and cables to connect it all.
The machine should be automated based on a signal (probably infra red), or the press of another switch. We could ofcours build a new machine to activate the first, but then we would need a third machine to activate the second, and so on.
This would then lead to an infinite regress of machines.
Obviously, this is not the case.
If we connect RAM to a CPU, and to a power source (the battery) we create a computer.
Computers manipulate digital signals.by having pins in the CPU represent binary addresses to locations in the RAM.
One of these addresses could then contain a program to start a mechanism that connects the lightsource and the battery. Achieving the goal of automatic regulating the light.
This program would be a series of 1s and 0s, representing a digitale signal.
To connect the battery and the lightsource we would need movement. How can this digitale signale move a cable? Every electric device would need to have this next part.
So what is it?



