Raspberry Pi a small computer which is designed by Raspberry Pi Foundation.
Using Raspbian OS on Raspberry Pi
Using WiringPi Library written in C to access GPIO on Raspberry Pi.
GPIO (General Purpose Input Output) is pin on any integrated circuit. It is either input or output in behavior. Raspberry Pi has GPIO (General Purpose Input Output) pins through which it can talk I/O devices. They are used to control lights and motors, reading sensors, switches etc.
PWM (Pulse Width Modulation) is a modulation technique for generating an analog signal by using digital source. PWM is generally used to control the intensity of LED, speed of DC motor or servo motor.
Raspberry Pi has In-built UART which can be used for serial communication with other devices like computer, GSM, GPS modules, etc.
Raspberry Pi has Broadcom Serial Controller (BSC) bus which is proprietary bus compliant with the Philips I2C bus. I2C (Inter Integrated Circuit) is a multi-master, multi-slave serial protocol which is used to communicate with devices like EEPROM, RTC, Microcontrollers, some modules like Gyroscope, Magnetometer etc.
Basic information about Raspberry I2C functions written in Python.
MPU6050 is a combination of 3-axis Gyroscope, 3-axis Accelerometer and Temperature sensor with on-board Digital Motion Processor (DMP). It is used in mobile devices, motion enabled games, 3D mice, Gesture (motion command) technology etc.
Magnetometer HMC5883L is developed by Honeywell which gives heading directions. Magnetometer is used as Digital Compass in Mobiles Phones, Navigation systems in vehicles to indicate directions.
Interface a single wire DHT11 digital humidity and temperature sensor with Raspberry Pi. Then, print or display relative humidity in percentage and temperature in degree Celsius on a window.
PIR motion sensor sense the Infrared signal radiated from moving human or animal body. It is generally used to detect the motions of human or animal.
Nokia5110 is 48x84 dot LCD display with Serial Peripheral Interface (SPI). It was designed for cell phones, and is also used in embedded applications.
Interfaced GPS receiver module with Raspberry Pi and display the Time, Latitude and Longitude info on the output window. Raspberry Pi read the data serially from GPS receiver using Python and C language.
Interface Stepper motor with Raspberry Pi and rotate it in clockwise and counterclockwise directions alternately. Here, Keyboard key is used to change the direction of a stepper motor.
Raspberry Pi 3 has on-board Bluetooth feature. Here, we will see how to set up the on-board Bluetooth and use it for communication.
As Raspberry Pi need external display, we can use Laptop’s Display to access Raspberry Pi Home Screen using LAN (Ethernet Port).
PiCamera is a serial camera which can directly connect to the Raspberry Pi. We can use Pi Camera to capture images and video.
As Raspberry Pi need external display, we can access Raspberry Pi locally on our Laptop screen by using Laptop’s Wi-Fi.