I was thinking that a Raspberry PI with a sensor could be used to control an electro magnet to make a globe or some object float.
I was thinking that a Raspberry PI with a sensor could be used to control an electro magnet to make a globe or some object float.
Hi all, you could take MK's idea a step further: You could use a STM32 disco, because it has two D/A convertors. http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/PF259090 Runs bare metal, freeRTOS or uclinux.
If you could get a sensor that produced a voltage analog of position, you could send it to the inputs of two comparators. The other (reference) inputs are driven by the D/As. The outputs of the comparators feed a flip flop that drive a power switch that energizes the magnet. The flip/flop output, or a submultiple, can interrupt the uP, if desired.
This does decentralize the processor, somewhat.
Comparators and F/Fs can be much faster than uP.
Hi all, you could take MK's idea a step further: You could use a STM32 disco, because it has two D/A convertors. http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/PF259090 Runs bare metal, freeRTOS or uclinux.
If you could get a sensor that produced a voltage analog of position, you could send it to the inputs of two comparators. The other (reference) inputs are driven by the D/As. The outputs of the comparators feed a flip flop that drive a power switch that energizes the magnet. The flip/flop output, or a submultiple, can interrupt the uP, if desired.
This does decentralize the processor, somewhat.
Comparators and F/Fs can be much faster than uP.