[chbot] Hall Effect Sensor

jimmy allen jimmy1248 at gmail.com
Fri Jul 17 02:51:13 BST 2009


i am going to try and use it to get angles.i am going to attach the
sensor to the bottom of a pendulum and have a mounted magnet bellow it
and get the sensor to give out read proportional to distance and the i
will be able to calculate the angle


On 7/17/09, Charles Manning <manningc2 at actrix.gen.nz> wrote:
> Apart from setting up the ADC (which is hardware dependent) there's nothing
> much to it. Just read the ADC.
>
> What are you trying to do with this? Unless you need an analogue measurement
> it is way easier to interface to a switch type hall effect sensor eg.
> http://www.sicom.co.nz/xurl/PageID/2214/function/viewprd/prd_id/172816/pmm_id/0/hall-effect-switch-3-pin-sil.html
>
> -- CHarles
>
>
> On Friday 17 July 2009 13:30:51 jimmy allen wrote:
>> i have ordered a part from brightsparks part code UGN3503U
>> which i think is an analog one
>> i am planning to use it with a propeller but i can understand some basic
>> AVR C so that would be fine(comments would be even more useful) but just
>> long as i can understand it it will be fine
>>
>> cheers
>>
>> On 7/17/09, Charles Manning <manningc2 at actrix.gen.nz> wrote:
>> > On Thursday 16 July 2009 19:18:27 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.
>> >
>> > It depends on the sensor you use. South Island component centre has a
>> > selection.
>> >
>> > There are basically three main types:
>> > * Analogue: Attach to an ADC pin and make an ADC reading.
>> > * Unipolar Switch: Open collector. It looks like a switch to ground that
>> > turns
>> > on when the magnet is close (polarity sensitive - only reacts to North
>> > or
>> > South, I forget which). Turns off when the magnet goes away. You just
>> > hook this up to an input pin with a pull-up (like a touch switch etc). *
>> > Bipolar switch: Like Unipolar switch, but needs to be actively turned
>> > off.
>> >
>> > Turns on with North and turns off with South (or vice versa, I forget
>> > which).
>> >
>> >
>> > If you want code, you'll need to say what micro you're using.
>> >
>> > -- CHarles
>> >
>> >
>> >
>> >
>> > _______________________________________________
>> > 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.
>>
>> _______________________________________________
>> 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.
>
>
>
> _______________________________________________
> 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