Sephtor
Newbie level 2
Hello Everyone
I am currently building a vibrational component for a project of mine. Here is what im trying to do and hopefully you guys will be able to help me out.
I am trying to build a circuit in which a small DC electric motor is being powered by 2 AA batteries.
I want this motor to vibrate at 3 different frequencies and i would like a sensor to test if the frequency of the motor dropped to a certain point as the batteries deplete. If the frequency drops to a certain point then a red LED would turn on indicating that the frequency is below the threshhold frequency.
My first thought is using a microcontroller however i have not done any programming on a microcontroller before and would like to know which ones would be a best fit?
The microcontroller would only need 2 output pins (1 driving the motor at a certain frequency and 1 turning the red LED light on when it drops below threshold frequency) and 3 input pins (1 for the power supply which would be 3V..or i can attach a boost converter if i need to have it at 5V, 1 for recieving data to check if the compact electric motor dropped below a certain frequency and 1 for sensing the offset at how much the frequency dropped so that it could drive more current through it to make up for that offset when the batteries deplete)
Yes the device is going to be handheld and no its not a vibrator haha
If there are other circuit elements that can do the job the microcontroller can then please suggest them.
I would greatly appreciate your help. I am new at this and would like to know where to start.:?:
Thank You in Advance.
Best Regards
I am currently building a vibrational component for a project of mine. Here is what im trying to do and hopefully you guys will be able to help me out.
I am trying to build a circuit in which a small DC electric motor is being powered by 2 AA batteries.
I want this motor to vibrate at 3 different frequencies and i would like a sensor to test if the frequency of the motor dropped to a certain point as the batteries deplete. If the frequency drops to a certain point then a red LED would turn on indicating that the frequency is below the threshhold frequency.
My first thought is using a microcontroller however i have not done any programming on a microcontroller before and would like to know which ones would be a best fit?
The microcontroller would only need 2 output pins (1 driving the motor at a certain frequency and 1 turning the red LED light on when it drops below threshold frequency) and 3 input pins (1 for the power supply which would be 3V..or i can attach a boost converter if i need to have it at 5V, 1 for recieving data to check if the compact electric motor dropped below a certain frequency and 1 for sensing the offset at how much the frequency dropped so that it could drive more current through it to make up for that offset when the batteries deplete)
Yes the device is going to be handheld and no its not a vibrator haha
If there are other circuit elements that can do the job the microcontroller can then please suggest them.
I would greatly appreciate your help. I am new at this and would like to know where to start.:?:
Thank You in Advance.
Best Regards