Cirkit Designer LogoCirkit DesignerYour all-in-one circuit design IDE Launch Cirkit Designer App

Nucleo 401RE Controlled Robotic Motor with Vibration Feedback and ADXL345 Accelerometer

View and Edit Project In Cirkit DesignerImage of Nucleo 401RE Controlled Robotic Motor with Vibration Feedback and ADXL345 Accelerometer

Circuit Documentation

Summary of the Circuit

This circuit is designed to interface a Nucleo 401RE microcontroller with a DC motor with an encoder, an ADXL345 accelerometer, an INA219 current sensor, an L298N DC motor driver, a vibration motor, a potentiometer, and a 12V 5Ah battery. The Nucleo 401RE is responsible for controlling the DC motor via the motor driver, reading the motor's encoder signals, and interfacing with the accelerometer and current sensor over I2C. The potentiometer is used to provide analog input to the microcontroller, and the vibration motor is directly controlled by a digital output from the Nucleo 401RE. The battery provides the power source for the motor driver and, through the driver, the DC motor.

Component List

Nucleo 401RE

DC Motor with Encoder

ADXL345

INA219

L298N DC Motor Driver

Vibration Motor

Potentiometer

12V 5Ah Battery

Wiring Details

Nucleo 401RE

DC Motor with Encoder

ADXL345

INA219

L298N DC Motor Driver

Vibration Motor

Potentiometer

12V 5Ah Battery

Documented Code

There is no code provided for the microcontroller. The documentation of the code would typically include descriptions of the functions, initialization routines, main loop, interrupt service routines, and any libraries used. Since no code is available, this section cannot be completed. If code becomes available, it should be documented here following the same structure.