Raspberry Pi 4B and mlx90614 Infrared Thermometer with Logic Level Conversion
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
The circuit in question is designed to interface a Raspberry Pi 4B with an MLX90614 infrared temperature sensor through an Adafruit 4-channel I2C-safe Bi-directional Logic Level Converter. The purpose of the level converter is to safely step down the 5V I2C signals from the Raspberry Pi to the 3.3V level required by the MLX90614 sensor, ensuring compatibility and preventing damage to the sensor.
Component List
Adafruit 4-channel I2C-safe Bi-directional Logic Level Converter
- Description: A device that safely steps up or down signals from different voltage levels, specifically designed for I2C buses.
- Pins: GND, A4, A3, A2, A1, LV, B4, B3, B2, B1, HV
Raspberry Pi 4B
- Description: A small, powerful computer capable of running various operating systems and interfacing with electronic components.
- Pins: 3V3, 5V, GPIO2, GPIO3, GND, GPIO4, and many others for various functions.
MLX90614 Infrared Temperature Sensor
- Description: A sensor that measures temperature without contact by detecting infrared radiation.
- Pins: SDA, SCL, GND, VIN
Wiring Details
Adafruit 4-channel I2C-safe Bi-directional Logic Level Converter
- GND connected to Raspberry Pi 4B GND and MLX90614 GND
- A2 connected to Raspberry Pi 4B GPIO3
- A1 connected to Raspberry Pi 4B GPIO2
- LV connected to Raspberry Pi 4B 3V3
- B2 connected to MLX90614 SCL
- B1 connected to MLX90614 SDA
- HV connected to Raspberry Pi 4B 5V and MLX90614 VIN
Raspberry Pi 4B
- 3V3 connected to Adafruit Logic Level Converter LV
- 5V connected to Adafruit Logic Level Converter HV and MLX90614 VIN
- GND connected to Adafruit Logic Level Converter GND and MLX90614 GND
- GPIO2 connected to Adafruit Logic Level Converter A1
- GPIO3 connected to Adafruit Logic Level Converter A2
MLX90614 Infrared Temperature Sensor
- SDA connected to Adafruit Logic Level Converter B1
- SCL connected to Adafruit Logic Level Converter B2
- GND connected to Adafruit Logic Level Converter GND and Raspberry Pi 4B GND
- VIN connected to Adafruit Logic Level Converter HV and Raspberry Pi 4B 5V
Documented Code
No code has been provided for the microcontrollers in the circuit. Typically, this section would include the embedded code for the microcontroller, along with comments explaining the functionality of the code and how it interacts with the components in the circuit. Since no code is available, this section is left blank. If code becomes available, it should be documented here with appropriate explanations and comments.