You always have to bare in mind, which pin numbering you are using! Those numbers on pins are reffered to as BOARD numbering, numbers mentioned in labels reffer to BCM numbering. You might have noticed, that each pin has a number, but also a label, which in GPIO’s case also contains number different from the actual pin number. In reverse, if you set GPIO to INPUT mode, you can set it to HIGH, which means the pin will be source of 3.3V or to LOW, which means it will give you 0V. 1 or 0) values on the pin depending if you brings 3.3V voltage on it for HIGH, respectively 0V for LOW. In OUTPUT mode you can read HIGH or LOW (eg. These pins - GPIO in short - can be set to OUTPUT or INPUT mode. If you are going to control something with your Raspberry or read data from a sensor lets say, you will need a general purpose input/output to conect it to. Let’s have a look at them! RPi B revision 1Ĭredits for images go to RaspberryPi Spy GPIO Each A, B and the rest have different layout of their pins, so there are 3 variations in total. Namely version A & B have 26 pinouts and all others have 40. There are more versions of Raspberry (A, B, A and B in revision 2.0, A+,B+,2B,3B and som) and they vary in number and placement of their pinouts. If you are going to connect some electronics to your Raspberry, no matter if to power them, control them or read dat from them, you will need to use Raspberry’s pinouts, which are those small wires going out of the raspberry in the corner.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |