Raspberry Pi is most popular SBC(Single Board Computer). We can used Raspberry Pi as an IoT device and IoT Gateway. In this article we discuss Raspberry Pi Interfaces. Interfaces used for connecting Sensors and actuators.
What is Raspberry pi ?
The Raspberry Pi is a low cost, credit-card sized computer that plugs into a computer monitor or TV, and uses a standard keyboard and mouse. It is a capable little device that enables people of all ages to explore computing, and to learn how to program in languages like Scratch and Python. It’s capable of doing everything you’d expect a desktop computer to do, from browsing the internet and playing high-definition video, to making spreadsheets, word-processing, and playing games.”
If you know about Raspberry Pi more, Visit this : Raspberry Pi Tutorials
If you have a Raspberry Pi and you want to setup for use in Headless mode, Visit This : Raspberry Pi Headless Mode Setup
Raspberry pi has Serial, SPI and I2C interfaces for data transfer.
Serial : The Serial interface on Raspberry Pi has receive (Rx) and transmit (Tx) pins for communication with serial peripherals.
SPI : Serial Peripheral Interface (SPI) is a synchronous serial data protocol used for communicating with one or more peripheral devices. in an SPI connection, there are five pins on Raspberry Pi for SPI interface :
- MISO (Master in slave out) – Master line for sending data to the peripherals.
- MOSI (Master out slave in) – Slave line for sending data to the master.
- SCK (Serial Clock) – Clock generated by master to synchronize data transmission
- CE0 (Chip Enable 0) – To enable or disable devices
- CE0 (Chip Enable 1) – To enable or disable devices
The I2C interface pins on Raspberry Pi allow you to connect hardware modules. I2C interface allows synchronous data transfer with just two pins – SDA (data line) an SCL (Clock Line).
Read my all Raspberry Pi Tutorials visit this link – RaspberryPi – IoTbyHVM ExploreTechBytes
Rrecommended : Install Mosquitto in Raspberry Pi | Mosquitto broker
I hope you like this post “Raspberry Pi Interfaces”. Do you have any questions? Leave a comment down below!
Thanks for reading. If you like this post probably you might like my next ones, so please support me by subscribing my blog.