Prototype with DC motor Brush and hall sensors

Hello,

I am looking for some hardware components to prototype an electronic system with a 3-12V DC brush motor, and two hall sensors with a buzzer.

my system will be used to activate a mechanism in two different senses, and will have to be stopped by the activation of the sensors (one for each sense).
Finally i have to activate my buzzer in specific case.

For the motor, i red that i have to use a driver to control the sense of the rotation, i saw two reference often used, the L298N, and the L297N. The L297N is simpler than the L298N,but seems to be working only with stepper motors. Is it the case, or can i use it with a classic brush motor ?

For the hall sensor, i saw that it could be used with a KY-024 module, in order to have a numeric input. Is this module mandatory , or can i plug the hall directly to the analog input in order to interpret the signal, and have a binary message (presence or not of the magnet) ?
Also, is it possible to plug on the same arduino UNO the motor and the two hall senors ?

Finally, Concerning the piezzo buzzer, i saw that i had to choose an active buzzer, and that not any additionnal eletronic component was needed to plug it. What do you think about that ?

thanks you in advance if you took the time to read until here, and even more if you can reply :slight_smile:

Interesting project but we are not a free code writing service. We will help out with your code but first you have to make an attempt to write it, post it and explain what is not working properly. If there is hardware it is always best to post links to technical information as there are many versions of the same or different items. Since we cannot see your project, my eyes are to weak, you need to post an annotated schematic (best) or a clear picture of a drawing. Pictures never hurt. Frizzing diagrams are not considered schematics here.

There is a for hire section where you can pay to have your project done.

Try using WOKWI.COM (free) to simulate your project using the parts you described.... hall sensor, buzzer, motor drivers, stepper motors, keypads, LCDs, LEDs, OLEDs, shift registers, simulate L298 motor movement with LEDs.

While in WOKWI simulation, you can find examples of devices by selecting the device and clicking the "?" button.

The world is your Arduino!

And, be careful, your teacher may be a user of this forum......

Hello,
Thanks for your help but I didn't ask for any code.
Arduino and electronic in general are not my field of competences.
If somebody have knowledge about hardware components it could avoid my company to loose money buying useless components.

Okay thank you for this tool, I will try to use it to stimulate a mounting.

You gave us a bill of materials, you can write the code, now post an annotated schematic on how how you expect to connect all of this stuff. Also consider using something then the L298 it is an old part that burns a lot of electrical energy as heat. Maybe the smart thing is to have your company hire somebody that is competent in these fields.

Hello,
I searched for various components and i made a mounting.
It is partially done with TinkerCAD, and a simple drawing software, because all the components were not available on TinkerCAD.
I added a current sensor in order to be able to detect a blocking of the motor.

The components are :

  • Arduino UNO r3
  • Hall sensor module : KY - 024 (red)
  • motor driver L293D (here is only the chip, but i will buy the hole module : Driver Shield L293D Expansion Board Module)
  • current sensor : ACS712 (blue)
  • motor bruch DC 6V

I did not write the code for the moment, but if i can have a feedback on this mounting before buying the components it could help me.
Thanks

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.