- Make your curtains smartPosted 16 hours ago
- Configuring an ESP8266 for Battery PowerPosted 4 days ago
- Creating a Telegram Bot for ESP32Posted 5 days ago
- Mini Course on BlynkPosted 6 days ago
- Creating a Unique Electronic Musical Instrument: The Sound WallPosted 1 week ago
- Building a Laser MicroscopePosted 1 week ago
- Grand Piano Keys with ArduinoPosted 2 weeks ago
- Wireless Power TransferPosted 2 weeks ago
- Robot Punchers with ArduinoPosted 2 weeks ago
- A minimal 3D-printed scalePosted 2 weeks ago
Raspberry Pi GPIO Pinout: Learn How to Make Them Work
Tomshardware.com recently posted an interesting Raspberry Pi GPIO Pinout guide for everyone that is not so familiar with raspberry pi or electronics.
Every Pi model since the Raspberry Pi B+ has had 40 GPIO pins and they clearly explain what each kind of pin can do, by grouping them into different categories.
Let’s see together a short description of each category:
- I2C – Inter-Integrated Circuit: I2C is a low speed two wire serial protocol to connect devices using the I2C standard. Devices using the I2C standard have a master slave relationship. I2C is a quick and easy way to add many different components, such as LCD / OLED screens, temperature sensors and analog to digital converters for use with photoresistors etc to you project.
- SPI – Serial Peripheral Interface: SPI is another protocol for connecting compatible devices to your Raspberry Pi. It is similar to I2C in that there is a master slave relationship between the Raspberry Pi and the devices connected to it. Typically SPI is used to send data over short distances between microcontrollers and components such as shift registers, sensors and even an SD card.
- UART – Universal Asynchronous Receiver / Transmitter: Commonly known as “Serial,” the UART pins (Transmit GPIO14, Receive GPIO15) provide a console / terminal login for headless setup, which means connecting to the Pi without a keyboard or pointing device. Normally, the easiest way to do a headless Raspberry Pi setup is simply to control the Pi over a network or direct USB connection (in the case of Pi Zero).
- Ground (gnd): Ground is commonly referred to as GND, gnd or – but they all mean the same thing. GND is where all voltages can be measured from and it also completes an electrical circuit. When building circuits it is always wise to make your ground connections first before applying any power as it will prevent any issues with sensitive components.
- 5v: The 5v pins give direct access to the 5v supply coming from your mains adaptor, less power than used by the Raspberry Pi itself. A Pi can be powered directly from these pins, and it can also power other 5v devices.
- 3v3: The 3v pin is there to offer a stable 3.3v supply to power components and to test LEDs. In reality, it will be rare that you factor this pin into a build.
Jump on tomshardware.com to find out more information about it.