![]() This class will not dive deep into electrical concepts but instead, will define terms that you are directly applying. If you want your Raspberry Pi to have the ability to sense the world around and react to it, you will need to get comfortable with building circuits. Never connect or disconnect anything from the pins while the Pi is powered. These two states can be represented three different ways in programming and computing:Ī word of caution: the pins are fragile, so be careful while handling the board and avoid touching the pins themselves. In other words, it can only have two states (binary). A digital signal is either at 0 volts or at the highest voltage the RPi can provide, which is 3.3v or 5v. In this lesson, you will be using two of these pins to control an LED (output) and one to read a switch (input), both using digital electrical signals. The pins labeled GPIO can be programmed to support different kinds of sensors and devices. For this project, it does not matter which one you use. The Raspberry Pi can provide low voltage DC power from several of it's pins. Four of these supply power (3.3 volts and 5 volts) and eight of them supply ground (which is the same as 0 volts). It's the way your Raspberry Pi senses and interacts with the world. The GPIO pins are what you connect sensors and actuators to. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |