How to connect a Raspberry Pi to something?
High chances that you won't use the Raspberry Pi in order to connect it to electronic components (Arduino is better for that), but if you do so, you have to know how that works.
So the thing to know is that a Raspberry Pi has some ports which are dedicated to the plug of external electronic components exactly like an Arduino card, those ports are the following ones:
Then, the next thing that you need to know is that each of those ports have numbers:
Extract from: https://www.raspberrypi.org/documentation/usage/gpio/
So, at this given step, your brain probably started to get the thing if you know already a bit Arduino. So to say, this is the same system. The last thing you need to know is about which software can you use in order to pilot the ports.
Here it really depends as Raspberry Pi offer you several possibilities. Python is a nice option as it is already included within most operating systems which support the Raspberry Pi.
The video above shows a simple example you can reproduce in order to start running your Python script.
Last modified: Wednesday, 5 February 2020, 12:34 PM