SlideShare a Scribd company logo
1 of 23
Course Outcomes
Course Outcomes
CO1
Understand general concepts of Internet of Things (IoT), the
working of Raspberry Pi and its features.
CO2
Recognize various components, sensors, actuators, devices and
their applications.
CO3 Analyze various python programs to interface with sensors, actuators,
LED’s, cloud and camera using Raspberry pi.
CO4 Measure physical parameters using sensors.
CO5
Demonstrate the ability to transmit data wirelessly between
different devices to build simple IoT systems using Raspberry Pi.
CO6
Create IoT devices and systems through a variety of interfaces,
including web apps and mobile apps.
Interfacing 16X2 LCD Module with Raspberry pi Pico with
and without I2C
Liquid Crystal Display (LCDs)
 The liquid crystal display are normally used in different embedded projects due to its low cost, easy access
and flexibility to get programmed.
There is a type of liquid display that has sixteen column and two rows so it is known as 16 x 2 LCD modules.
LCD also available in different arrangements like (8 x 1), (10 x 2), (16 x 1), but the 16 x 2 liquid crystal is
normally used in embedded projects.
 In this liquid crystal display, there are thirty-two characters and each of them consists of 5 x 8 pixels.
Pinout of 16x2 LCD Module
 These are the main pinouts of 16 x 2 LCD that are described here with the detailed
LCD functions – displaying text
 The LCD is connected to the Pico using 4 data wires (D4 – D7) and 2 control wires (E and R/S).
 The connections between the LCD and Pico are as follows:
Interfacing 16X2 LCD Module with Raspberry pi Pico
without I2C
Interfacing 16X2 LCD Module with Raspberry pi Pico with I2C
I2C
 Communication over I2C takes place on two wires: a clock (usually marked as SCL) and a data channel (usually
marked SDA)
The pinout for Raspberry Pi Pico
16X2 I2C LCD Display
This display incorporates an I2C interface that requires only 2 pins on a microcontroller to the interface.
 The I2C interface is a daughter board attached to the back of the LCD module.
The I2C address for these displays is either 0x3F or 0x27.
Circuit diagram
 The LCD module VCC and GND are powered from VBUS(pin40) and GND (pin38) pins of Raspberry
pi Pico board respectively.
 The data pins of LCD module SDA and SCL are connected to GP8(pin11) and GP9(pin12) of Pico
board
Interfacing 16X2 LCD Module with Raspberry pi Pico
with I2C
 LCD display I2C requires few pre coded libraries
lcd_api.py
pico_i2c_lcd.py
Interfacing 16X2 LCD Module with Raspberry pi Pico
with I2C
OLED
OLED (organic light-emitting diode) displays are low-power consumption output devices able to show
text and images by controlling every single pixel.
The most common size is 128×64 pixels (0.96 inches), but also the 128×32 pixels (0.91 inches) is
available from e-shops.
Their screens are usually mono-colour or bi-colour. The mono-colour ones are made of blue or white
pixels, while the bi-colour models usually have an upper part yellow and the lower one blue.
SSD1306 OLED Pinout
There are four pins in this display. Imprinted as VCC, GND, SCL, and SDA respectively.
The VCC and GND pins will power the OLED display and will be connected with the Raspberry Pi Pico
board’s power supply pins as they require a driving voltage of 3.3-5V.
The SCL and SDA pins are necessary for generating the clock signal and in the transmission of data
respectively. Both of these pins will be connected with the I2C pins of the Raspberry Pi Pico.
SSD1306 OLED Pinout
The I2C version pins are defined according to the following
table:
Interfacing SSD1306 OLED Display with Raspberry
Pi Pico
The SSD1306 Oled display module VCC and GND pins are connected with the Raspberry Pi Pico board 3.3V and GND
pins.
 The SCL and SDA pins of the SSD1306 Oled Display module are connected with GP17 and GP16 pins of the Pico
Board.
Installing the SSD1306.py Library
The programming here is divided into two main parts:
1. SSD1306.py
2. Main.py
SSD1306 I2C Library:
This is because the OLED Display requires an SSD1306 Driver Code first.
 We have to write the code for the SSD1306 Driver first. After uploading the SSD1306 Code, we can then run
the main.py code.
Raspberry Pi Pico SSD1306 Library Installation:
Step 1: Click on tools Menu and this time click on manage packages.
Raspberry Pi Pico SSD1306 Library Installation:
Step 2: In the manage packages window, write SSD1306 in the text box and click on the search button.
Raspberry Pi Pico SSD1306 Library Installation:
Step 3: Then click on the first micropython-ssd1306.
Raspberry Pi Pico SSD1306 Library Installation:
Step 4: Then click on the install button, and wait for the installation process to complete
SSD1306 Oled Display with Raspberry Pi Pico:
SSD1306 Oled Display with Raspberry Pi Pico:

More Related Content

Similar to LECTURE - 6_Respberrypico.pptx

Monitoring Temperature Room With Display LCD and Data Recording
Monitoring Temperature Room With Display LCD and Data RecordingMonitoring Temperature Room With Display LCD and Data Recording
Monitoring Temperature Room With Display LCD and Data RecordingMR Selamet
 
Monitoring temperature rumah dengan display lcd dan recording
Monitoring temperature rumah dengan display lcd dan recordingMonitoring temperature rumah dengan display lcd dan recording
Monitoring temperature rumah dengan display lcd dan recordingMR Selamet
 
Monitoring temperature ruangan dengan display lcd
Monitoring temperature ruangan dengan display lcdMonitoring temperature ruangan dengan display lcd
Monitoring temperature ruangan dengan display lcdsiti_haryani
 
Monitoring temperature rumah dengan display lcd dan recording
Monitoring temperature rumah dengan display lcd dan recordingMonitoring temperature rumah dengan display lcd dan recording
Monitoring temperature rumah dengan display lcd dan recordingYuda Wardiana
 
Advanced View Pic Microcontroller Projects List _ PIC Microcontroller.pdf
Advanced View Pic Microcontroller Projects List _ PIC Microcontroller.pdfAdvanced View Pic Microcontroller Projects List _ PIC Microcontroller.pdf
Advanced View Pic Microcontroller Projects List _ PIC Microcontroller.pdfWiseNaeem
 
Pic16f877a microcontroller based projects list _ PIC Microcontroller.pdf
Pic16f877a microcontroller based projects list _ PIC Microcontroller.pdfPic16f877a microcontroller based projects list _ PIC Microcontroller.pdf
Pic16f877a microcontroller based projects list _ PIC Microcontroller.pdfIsmailkhan77481
 
Advanced view pic microcontroller projects list pic microcontroller
Advanced view pic microcontroller projects list   pic microcontrollerAdvanced view pic microcontroller projects list   pic microcontroller
Advanced view pic microcontroller projects list pic microcontrollerWiseNaeem
 
Attendance system using MYSQL with Raspberry pi and RFID-RC522
Attendance system using MYSQL with Raspberry pi and RFID-RC522Attendance system using MYSQL with Raspberry pi and RFID-RC522
Attendance system using MYSQL with Raspberry pi and RFID-RC522Sanjay Kumar
 
Advanced view pic microcontroller projects list pic microcontroller
Advanced view pic microcontroller projects list   pic microcontrollerAdvanced view pic microcontroller projects list   pic microcontroller
Advanced view pic microcontroller projects list pic microcontrollerWiseNaeem
 
Programming with PIC microcontroller
Programming with PIC microcontroller Programming with PIC microcontroller
Programming with PIC microcontroller Raghav Shetty
 
Microcontroladores: Programación con microcontrolador PIC
Microcontroladores: Programación con microcontrolador PICMicrocontroladores: Programación con microcontrolador PIC
Microcontroladores: Programación con microcontrolador PICSANTIAGO PABLO ALBERTO
 
Advanced View Pic Microcontroller Projects List _ PIC Microcontroller.pdf
Advanced View Pic Microcontroller Projects List _ PIC Microcontroller.pdfAdvanced View Pic Microcontroller Projects List _ PIC Microcontroller.pdf
Advanced View Pic Microcontroller Projects List _ PIC Microcontroller.pdfIsmailkhan77481
 
OV7670 Camera interfacing-with-arduino-microcontroller
OV7670 Camera interfacing-with-arduino-microcontrollerOV7670 Camera interfacing-with-arduino-microcontroller
OV7670 Camera interfacing-with-arduino-microcontrollerSomnath Sharma
 
Pic18f4550 microcontroller based projects _ PIC Microcontroller.pdf
Pic18f4550 microcontroller based projects _ PIC Microcontroller.pdfPic18f4550 microcontroller based projects _ PIC Microcontroller.pdf
Pic18f4550 microcontroller based projects _ PIC Microcontroller.pdfIsmailkhan77481
 
Advanced View Arduino Projects List - Use Arduino for Projects (4).pdf
Advanced View Arduino Projects List - Use Arduino for Projects (4).pdfAdvanced View Arduino Projects List - Use Arduino for Projects (4).pdf
Advanced View Arduino Projects List - Use Arduino for Projects (4).pdfIsmailkhan77481
 
Advanced View Arduino Projects List - Use Arduino for Projects {4}.pdf
Advanced View Arduino Projects List - Use Arduino for Projects {4}.pdfAdvanced View Arduino Projects List - Use Arduino for Projects {4}.pdf
Advanced View Arduino Projects List - Use Arduino for Projects {4}.pdfIsmailkhan77481
 
Smart_Car_Parking_Using_IoT.pptx
Smart_Car_Parking_Using_IoT.pptxSmart_Car_Parking_Using_IoT.pptx
Smart_Car_Parking_Using_IoT.pptxSnowflake08
 
Interfacing Of PIC 18F252 Microcontroller with Real Time Clock via I2C Protocol
Interfacing Of PIC 18F252 Microcontroller with Real Time Clock via I2C ProtocolInterfacing Of PIC 18F252 Microcontroller with Real Time Clock via I2C Protocol
Interfacing Of PIC 18F252 Microcontroller with Real Time Clock via I2C ProtocolIJERA Editor
 

Similar to LECTURE - 6_Respberrypico.pptx (20)

Monitoring Temperature Room With Display LCD and Data Recording
Monitoring Temperature Room With Display LCD and Data RecordingMonitoring Temperature Room With Display LCD and Data Recording
Monitoring Temperature Room With Display LCD and Data Recording
 
Monitoring temperature rumah dengan display lcd dan recording
Monitoring temperature rumah dengan display lcd dan recordingMonitoring temperature rumah dengan display lcd dan recording
Monitoring temperature rumah dengan display lcd dan recording
 
Monitoring temperature ruangan dengan display lcd
Monitoring temperature ruangan dengan display lcdMonitoring temperature ruangan dengan display lcd
Monitoring temperature ruangan dengan display lcd
 
Monitoring temperature rumah dengan display lcd dan recording
Monitoring temperature rumah dengan display lcd dan recordingMonitoring temperature rumah dengan display lcd dan recording
Monitoring temperature rumah dengan display lcd dan recording
 
Advanced View Pic Microcontroller Projects List _ PIC Microcontroller.pdf
Advanced View Pic Microcontroller Projects List _ PIC Microcontroller.pdfAdvanced View Pic Microcontroller Projects List _ PIC Microcontroller.pdf
Advanced View Pic Microcontroller Projects List _ PIC Microcontroller.pdf
 
An hemmanur
An hemmanurAn hemmanur
An hemmanur
 
Pic16f877a microcontroller based projects list _ PIC Microcontroller.pdf
Pic16f877a microcontroller based projects list _ PIC Microcontroller.pdfPic16f877a microcontroller based projects list _ PIC Microcontroller.pdf
Pic16f877a microcontroller based projects list _ PIC Microcontroller.pdf
 
Advanced view pic microcontroller projects list pic microcontroller
Advanced view pic microcontroller projects list   pic microcontrollerAdvanced view pic microcontroller projects list   pic microcontroller
Advanced view pic microcontroller projects list pic microcontroller
 
Attendance system using MYSQL with Raspberry pi and RFID-RC522
Attendance system using MYSQL with Raspberry pi and RFID-RC522Attendance system using MYSQL with Raspberry pi and RFID-RC522
Attendance system using MYSQL with Raspberry pi and RFID-RC522
 
Advanced view pic microcontroller projects list pic microcontroller
Advanced view pic microcontroller projects list   pic microcontrollerAdvanced view pic microcontroller projects list   pic microcontroller
Advanced view pic microcontroller projects list pic microcontroller
 
Programming with PIC microcontroller
Programming with PIC microcontroller Programming with PIC microcontroller
Programming with PIC microcontroller
 
Microcontroladores: Programación con microcontrolador PIC
Microcontroladores: Programación con microcontrolador PICMicrocontroladores: Programación con microcontrolador PIC
Microcontroladores: Programación con microcontrolador PIC
 
Advanced View Pic Microcontroller Projects List _ PIC Microcontroller.pdf
Advanced View Pic Microcontroller Projects List _ PIC Microcontroller.pdfAdvanced View Pic Microcontroller Projects List _ PIC Microcontroller.pdf
Advanced View Pic Microcontroller Projects List _ PIC Microcontroller.pdf
 
OV7670 Camera interfacing-with-arduino-microcontroller
OV7670 Camera interfacing-with-arduino-microcontrollerOV7670 Camera interfacing-with-arduino-microcontroller
OV7670 Camera interfacing-with-arduino-microcontroller
 
Pic18f4550 microcontroller based projects _ PIC Microcontroller.pdf
Pic18f4550 microcontroller based projects _ PIC Microcontroller.pdfPic18f4550 microcontroller based projects _ PIC Microcontroller.pdf
Pic18f4550 microcontroller based projects _ PIC Microcontroller.pdf
 
Raspberry Pi
Raspberry Pi Raspberry Pi
Raspberry Pi
 
Advanced View Arduino Projects List - Use Arduino for Projects (4).pdf
Advanced View Arduino Projects List - Use Arduino for Projects (4).pdfAdvanced View Arduino Projects List - Use Arduino for Projects (4).pdf
Advanced View Arduino Projects List - Use Arduino for Projects (4).pdf
 
Advanced View Arduino Projects List - Use Arduino for Projects {4}.pdf
Advanced View Arduino Projects List - Use Arduino for Projects {4}.pdfAdvanced View Arduino Projects List - Use Arduino for Projects {4}.pdf
Advanced View Arduino Projects List - Use Arduino for Projects {4}.pdf
 
Smart_Car_Parking_Using_IoT.pptx
Smart_Car_Parking_Using_IoT.pptxSmart_Car_Parking_Using_IoT.pptx
Smart_Car_Parking_Using_IoT.pptx
 
Interfacing Of PIC 18F252 Microcontroller with Real Time Clock via I2C Protocol
Interfacing Of PIC 18F252 Microcontroller with Real Time Clock via I2C ProtocolInterfacing Of PIC 18F252 Microcontroller with Real Time Clock via I2C Protocol
Interfacing Of PIC 18F252 Microcontroller with Real Time Clock via I2C Protocol
 

Recently uploaded

Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...Call Girls in Nagpur High Profile
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfJiananWang21
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTbhaskargani46
 
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSISrknatarajan
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Christo Ananth
 
Unit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfUnit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfRagavanV2
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxAsutosh Ranjan
 
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...SUHANI PANDEY
 
UNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICS
UNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICSUNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICS
UNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICSrknatarajan
 
Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01KreezheaRecto
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Call Girls in Nagpur High Profile
 
Vivazz, Mieres Social Housing Design Spain
Vivazz, Mieres Social Housing Design SpainVivazz, Mieres Social Housing Design Spain
Vivazz, Mieres Social Housing Design Spaintimesproduction05
 
Intze Overhead Water Tank Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank  Design by Working Stress - IS Method.pdfIntze Overhead Water Tank  Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank Design by Working Stress - IS Method.pdfSuman Jyoti
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...ranjana rawat
 
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)simmis5
 
UNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular ConduitsUNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular Conduitsrknatarajan
 

Recently uploaded (20)

Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdf
 
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
 
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSIS
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
 
Unit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfUnit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdf
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
 
Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024
 
UNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICS
UNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICSUNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICS
UNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICS
 
Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
 
Vivazz, Mieres Social Housing Design Spain
Vivazz, Mieres Social Housing Design SpainVivazz, Mieres Social Housing Design Spain
Vivazz, Mieres Social Housing Design Spain
 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
Intze Overhead Water Tank Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank  Design by Working Stress - IS Method.pdfIntze Overhead Water Tank  Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank Design by Working Stress - IS Method.pdf
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)
 
UNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular ConduitsUNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular Conduits
 
NFPA 5000 2024 standard .
NFPA 5000 2024 standard                                  .NFPA 5000 2024 standard                                  .
NFPA 5000 2024 standard .
 

LECTURE - 6_Respberrypico.pptx

  • 1. Course Outcomes Course Outcomes CO1 Understand general concepts of Internet of Things (IoT), the working of Raspberry Pi and its features. CO2 Recognize various components, sensors, actuators, devices and their applications. CO3 Analyze various python programs to interface with sensors, actuators, LED’s, cloud and camera using Raspberry pi. CO4 Measure physical parameters using sensors. CO5 Demonstrate the ability to transmit data wirelessly between different devices to build simple IoT systems using Raspberry Pi. CO6 Create IoT devices and systems through a variety of interfaces, including web apps and mobile apps.
  • 2. Interfacing 16X2 LCD Module with Raspberry pi Pico with and without I2C
  • 3. Liquid Crystal Display (LCDs)  The liquid crystal display are normally used in different embedded projects due to its low cost, easy access and flexibility to get programmed. There is a type of liquid display that has sixteen column and two rows so it is known as 16 x 2 LCD modules. LCD also available in different arrangements like (8 x 1), (10 x 2), (16 x 1), but the 16 x 2 liquid crystal is normally used in embedded projects.  In this liquid crystal display, there are thirty-two characters and each of them consists of 5 x 8 pixels.
  • 4. Pinout of 16x2 LCD Module  These are the main pinouts of 16 x 2 LCD that are described here with the detailed
  • 5. LCD functions – displaying text  The LCD is connected to the Pico using 4 data wires (D4 – D7) and 2 control wires (E and R/S).  The connections between the LCD and Pico are as follows:
  • 6. Interfacing 16X2 LCD Module with Raspberry pi Pico without I2C
  • 7. Interfacing 16X2 LCD Module with Raspberry pi Pico with I2C
  • 8. I2C  Communication over I2C takes place on two wires: a clock (usually marked as SCL) and a data channel (usually marked SDA) The pinout for Raspberry Pi Pico
  • 9. 16X2 I2C LCD Display This display incorporates an I2C interface that requires only 2 pins on a microcontroller to the interface.  The I2C interface is a daughter board attached to the back of the LCD module. The I2C address for these displays is either 0x3F or 0x27.
  • 10. Circuit diagram  The LCD module VCC and GND are powered from VBUS(pin40) and GND (pin38) pins of Raspberry pi Pico board respectively.  The data pins of LCD module SDA and SCL are connected to GP8(pin11) and GP9(pin12) of Pico board
  • 11. Interfacing 16X2 LCD Module with Raspberry pi Pico with I2C  LCD display I2C requires few pre coded libraries lcd_api.py pico_i2c_lcd.py
  • 12. Interfacing 16X2 LCD Module with Raspberry pi Pico with I2C
  • 13. OLED OLED (organic light-emitting diode) displays are low-power consumption output devices able to show text and images by controlling every single pixel. The most common size is 128×64 pixels (0.96 inches), but also the 128×32 pixels (0.91 inches) is available from e-shops. Their screens are usually mono-colour or bi-colour. The mono-colour ones are made of blue or white pixels, while the bi-colour models usually have an upper part yellow and the lower one blue.
  • 14. SSD1306 OLED Pinout There are four pins in this display. Imprinted as VCC, GND, SCL, and SDA respectively. The VCC and GND pins will power the OLED display and will be connected with the Raspberry Pi Pico board’s power supply pins as they require a driving voltage of 3.3-5V. The SCL and SDA pins are necessary for generating the clock signal and in the transmission of data respectively. Both of these pins will be connected with the I2C pins of the Raspberry Pi Pico.
  • 15. SSD1306 OLED Pinout The I2C version pins are defined according to the following table:
  • 16. Interfacing SSD1306 OLED Display with Raspberry Pi Pico The SSD1306 Oled display module VCC and GND pins are connected with the Raspberry Pi Pico board 3.3V and GND pins.  The SCL and SDA pins of the SSD1306 Oled Display module are connected with GP17 and GP16 pins of the Pico Board.
  • 17. Installing the SSD1306.py Library The programming here is divided into two main parts: 1. SSD1306.py 2. Main.py SSD1306 I2C Library: This is because the OLED Display requires an SSD1306 Driver Code first.  We have to write the code for the SSD1306 Driver first. After uploading the SSD1306 Code, we can then run the main.py code.
  • 18. Raspberry Pi Pico SSD1306 Library Installation: Step 1: Click on tools Menu and this time click on manage packages.
  • 19. Raspberry Pi Pico SSD1306 Library Installation: Step 2: In the manage packages window, write SSD1306 in the text box and click on the search button.
  • 20. Raspberry Pi Pico SSD1306 Library Installation: Step 3: Then click on the first micropython-ssd1306.
  • 21. Raspberry Pi Pico SSD1306 Library Installation: Step 4: Then click on the install button, and wait for the installation process to complete
  • 22. SSD1306 Oled Display with Raspberry Pi Pico:
  • 23. SSD1306 Oled Display with Raspberry Pi Pico: