Hi Folks.
I'm ok with digital but analogue sometimes gives me a headache. Can someone look at this and tell me where my thoughts went wrong
I am using an AH1802 which is a hall effect switch. It has a ground, a Vcc (5v) and an output that is open collector so you need to put a 10K resistor between the Vcc and the output. The output measures 0 until a magnetic field is applied and then it goes to Vcc.
What I want to do is to create a chain of 8 of these feeding into a resistor divider so that I can get an analogue voltage out of it. This will go to a 08M2 where it will be read and the output send as a serial string.
For design sake I cannot put the picaxe on the same board as the rest of the components.
I have only shown 5 stages here and I have 8 in total.
If someone can offer some advice I'd be really grateful.
Marc
I'm ok with digital but analogue sometimes gives me a headache. Can someone look at this and tell me where my thoughts went wrong
I am using an AH1802 which is a hall effect switch. It has a ground, a Vcc (5v) and an output that is open collector so you need to put a 10K resistor between the Vcc and the output. The output measures 0 until a magnetic field is applied and then it goes to Vcc.
What I want to do is to create a chain of 8 of these feeding into a resistor divider so that I can get an analogue voltage out of it. This will go to a 08M2 where it will be read and the output send as a serial string.
For design sake I cannot put the picaxe on the same board as the rest of the components.
I have only shown 5 stages here and I have 8 in total.
If someone can offer some advice I'd be really grateful.
Marc
Attachments
-
69.6 KB Views: 68
Last edited: