Any way to get this sensor working again?

Post here to discuss all things Arduino!

Moderators: Chuckt, Garth, bitfogav

Post Reply [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Lulu
newbie
newbie
Posts: 3
Joined: Fri Sep 09, 2016 6:39 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Any way to get this sensor working again?

Post by Lulu » Wed Nov 30, 2016 6:29 pm

I'm trying to build a RPM counter using arduino, and to achieve that, I choose to use a simple hall effect sensor together with a small neodymium magnet stuck on a wheel attached to a DC motor.
I'm using the L293D IC to control the movement of my motors. I've tested the hall effect sensor and the L293D separatly and everything worked just fine. Problems began when I noticed that both the IC and the sensor required a 5v power supply from the arduino, and the sensor just doesn't work whenever the IC is also connected to the 5v power supply. I've read many times that this chip draws a lot of power, and I think that maybe that's the reason for the malfunctioning of the sensor. But what should I do? There's any way to get this sensor working again while the L293D is on?

User avatar
brad
Site Admin
Site Admin
Posts: 2578
Joined: Fri Mar 26, 2010 10:30 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Any way to get this sensor working again?

Post by brad » Mon Dec 05, 2016 1:42 am

Have you tried measuring the voltage of the 5V power supply when everything is running? If the power supply can't handle the amount of current needed by the motors, then the voltage will drop down quite a bit below 5V.

Post Reply
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Who is online

Users browsing this forum: No registered users and 8 guests