- Oct 11, 1999
- 7,804
- 1
- 0
Hello folks,
I'm interested in implementing a feedback control system on a microcontroller, but I have some questions.
I haven't done something like this before, as most of my microcontroller work has been done on a Motorola 68k on a propertiery development board with all the inputs/ouputs already there.
However, for the purposes of this project, we don't have those dev boards.
The project is to essentially control the height of a leviated object. The control system will be using a Hall sensor to detect the position of the object (this will be the 'feedback') and will manipulate the electromagnet accordingly to reduce variance between the expected height and the actual height.
Now for this, we need to give input to the microcontroller/control system what the expected height should be.
Initially, we are thinking of using the keyboard of a computer to be the input, but we are not sure how to tie it in to the microcontroller.
I've been researching using the Atmel AVR-series of microcontollers. They seem to be pretty decent and versatile.
the second question is, has anyone done this before? I'm unsure how to connect Hall sensors to the microcontroller, i'm assuming I'd need some circuitry in the middle to make sure the output of the Hall sensors matches the input impedance/max voltage of the microntroller. I would also think the output of the Hall sensor would have to go through the ADC of the microcontroller? Unless there are Hall sensors which give a digital output.
Sorry for the long winded post, I'm essentially asking if anyone has done something like this before and if they have any advice they would like to share.
Thanks
I'm interested in implementing a feedback control system on a microcontroller, but I have some questions.
I haven't done something like this before, as most of my microcontroller work has been done on a Motorola 68k on a propertiery development board with all the inputs/ouputs already there.
However, for the purposes of this project, we don't have those dev boards.
The project is to essentially control the height of a leviated object. The control system will be using a Hall sensor to detect the position of the object (this will be the 'feedback') and will manipulate the electromagnet accordingly to reduce variance between the expected height and the actual height.
Now for this, we need to give input to the microcontroller/control system what the expected height should be.
Initially, we are thinking of using the keyboard of a computer to be the input, but we are not sure how to tie it in to the microcontroller.
I've been researching using the Atmel AVR-series of microcontollers. They seem to be pretty decent and versatile.
the second question is, has anyone done this before? I'm unsure how to connect Hall sensors to the microcontroller, i'm assuming I'd need some circuitry in the middle to make sure the output of the Hall sensors matches the input impedance/max voltage of the microntroller. I would also think the output of the Hall sensor would have to go through the ADC of the microcontroller? Unless there are Hall sensors which give a digital output.
Sorry for the long winded post, I'm essentially asking if anyone has done something like this before and if they have any advice they would like to share.
Thanks