STM32 Nucleo F303RE Based Current Monitoring System with LCD Display
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
The circuit in question appears to be a sensor monitoring and display system. It includes a power source, a microcontroller, a current sensor, resistors, an NTC (thermistor), and an LCD screen with an I2C interface. The microcontroller used is an STM32 Nucleo F303RE, which is responsible for processing sensor data and controlling the LCD display. The current sensor is used to measure the current from the battery, and the NTC is likely used for temperature measurements. The resistors are used for various purposes, including voltage division and current limiting. The LCD screen displays the processed data from the microcontroller.
Component List
Set Battery (7V)
- Description: A 7V battery set providing power to the circuit.
- Pins:
+,-
STM32H7
- Description: A high-performance STM32 microcontroller with a wide range of GPIO pins.
- Pins: Multiple GPIO pins including
PC11,PC10,PD2,PC12,VDD,E5V,BT0,GND, etc.
Current Sensor 5A
- Description: A sensor capable of measuring up to 5A of current.
- Pins:
1,2,GND,OUT,VCC
imax
- Description: A component with unspecified functionality, possibly a power regulator or a connector.
- Pins:
out +ve,Out negative
Resistor (56k Ohms)
- Description: A resistor with a resistance of 56k Ohms.
- Pins:
pin1,pin2
Resistor (43k Ohms)
- Description: A resistor with a resistance of 43k Ohms.
- Pins:
pin1,pin2
Resistor (120 Ohms)
- Description: A resistor with a resistance of 120 Ohms.
- Pins:
pin1,pin2
STM32 Nucleo F303RE
- Description: A microcontroller board based on the STM32F303RE MCU.
- Pins: Multiple GPIO pins including
PC8,PC9,PC6,PB8,PC5,U5V,NC, etc.
NTC (Thermistor)
- Description: A thermistor used for temperature sensing.
- Pins:
A0,A1
LCD Screen 16x2 I2C
- Description: A 16x2 character LCD display with an I2C interface.
- Pins:
SCL,SDA,VCC,GND
Wiring Details
Set Battery (7V)
+connected to Current Sensor 5A pin2and Resistor (56k Ohms) pinpin1-connected to Current Sensor 5A pin1and Resistor (43k Ohms) pinpin1
STM32H7
- No specific wiring details provided.
Current Sensor 5A
2connected to Set Battery (7V) pin+1connected to Set Battery (7V) pin-GNDconnected to STM32 Nucleo F303RE pinGNDand LCD Screen 16x2 I2C pinGNDOUTconnected to STM32 Nucleo F303RE pinA1VCCconnected to NTC pinA1, Resistor (120 Ohms) pinpin1, and STM32 Nucleo F303RE pin+3V3
imax
out +veconnected to Set Battery (7V) pin+Out negativeconnected to Set Battery (7V) pin-
Resistor (56k Ohms)
pin1connected to Set Battery (7V) pin+pin2connected to Resistor (56k Ohms) pinpin2
Resistor (43k Ohms)
pin1connected to Set Battery (7V) pin-pin2connected to NTC pinA0
Resistor (120 Ohms)
pin1connected to Current Sensor 5A pinVCCpin2connected to STM32 Nucleo F303RE pinA2
STM32 Nucleo F303RE
GNDconnected to Current Sensor 5A pinGNDand NTC pinA0A1connected to Current Sensor 5A pinOUT+3V3connected to Current Sensor 5A pinVCCA0connected to Resistor (120 Ohms) pinpin2D15connected to LCD Screen 16x2 I2C pinSCLD14connected to LCD Screen 16x2 I2C pinSDA+5Vconnected to LCD Screen 16x2 I2C pinVCC
NTC (Thermistor)
A1connected to Current Sensor 5A pinVCCA0connected to STM32 Nucleo F303RE pinGND
LCD Screen 16x2 I2C
SCLconnected to STM32 Nucleo F303RE pinD15SDAconnected to STM32 Nucleo F303RE pinD14VCCconnected to STM32 Nucleo F303RE pin+5VGNDconnected to Current Sensor 5A pinGND
Documented Code
No code has been provided for the microcontrollers in the circuit. Typically, the code would be responsible for initializing the peripherals (such as the I2C interface for the LCD and the ADC for the current sensor and NTC), reading sensor data, processing the data, and displaying the results on the LCD screen. Without the code, we cannot document the specific functionalities implemented in the microcontrollers.