[chbot] Hall Effect Sensor

jimmy allen jimmy1248 at gmail.com
Thu Jul 16 09:47:00 BST 2009


didn't write it clear
what is wanting was some code for a uP and how to interface them

On 7/16/09, Andrew Errington <a.errington at lancaster.ac.uk> wrote:
> On Thu, July 16, 2009 16:18, jimmy allen wrote:
>> for a project i am thinking about using a HES i have ordered one (a
>> UGN3503U) and i am not too sure how to program one.
>> so i was looking for a piece of sample code if anyone has worked with the
>> before.
>
> Umm... it's not programmable.  It is an analog device.  I suggest you
> download the datasheet and have a quick look at the pinout, then hook it
> up to an ADC module somewhere.  It looks like the output sits midway
> between the rails, and then moves up or down depending on the strength and
> polarity of an applied magnetic field.
>
> Once you have an ADC giving you a continuous stream of incoming values you
> can do some interesting maths to figure out what's happening outside.
> Actually, rudimentary maths are probably sufficient to do something
> useful.
>
> Have fun!
>
> Andrew
>
> PS if you have a scope, use that for instant gratification.  If not,
> stream your ADC to an RS232 port for the slightly less instant version.
>
>
> _______________________________________________
> Chchrobotics mailing list Chchrobotics at lists.linuxnut.co.nz
> http://lists.ourshack.com/mailman/listinfo/chchrobotics
> web site: http://kiwibots.org
> When replying, please edit your Subject line to reflect new content.
>



More information about the Chchrobotics mailing list