I have a project that i am planning out and buying parts, i need a list or guidance on what hardware i need for it.
I need to drive 4 linear actuators that work woth 12v dc, and need to use an accelerometer sensor to decide which ones to actuate, what do i need to achieve that? Im thinking of using these actuators: https://a.aliexpress.com/_EwFGL93
It says each draws .25 A and i would need to power all 4 at the same time
Help please i am new and very lost, i dont even know what board to use, im writting this here bc i think its the most normal one
I dont know what the esp32 is for, is it another board i can use instead of arduino? Sorry i am very new to this, i have seen tutorials saying to use an arduino with a l298n motor controller, could i use those with the accelerometer and the actuators?
yes, the ESP32 is a microcontroller - the Arduino UNO uses a ATmega328P microcontroller
have a look at Esp32 vs Arduino: The Differences
the ESP32 has more flash and SRAM than the UNO and has built in WiFi, Bluetooth Classic and BLE
I would assume the motor controller would work with the other components of the system - have a look at ESP32 with DC Motor and L298N Motor Driver and accelerometer-and-gyroscope-sensors-with-esp32
the recommended approach is to program and test each component in turn with the host microcontroller and when all are shown to work merge into the complete system
You need, 4 channel DC motor driver for the actuators, accelerometer sensor and microcontroller, that is it. One more thumb up for ESP32, it`s cheep, fast and you have BT and WiFi if needed later. In context of programming, everything is same like arduino board, maybe different libraries for sensor ...
Thx, The links are really helpful, i will try that for now and come back if anything doesnt work. I just have one question, can i use a 5$ accelerometer from aliexpress? I dont really need much precision, just detect the acceleration of a kart
That precision is good enough for me, just one last thing, we are thinking of maybe using 6 linear actuators instead, can we use 3 L298N modules or do we need a 6 motor driver?
L298N is an old chip, there are new chips (and driver modules) for dc motor drivers that are much smaller with no heatsinks. For example, look for driver modules based on DRV8871 .