cancel
Showing results for 
Search instead for 
Did you mean: 

help for an optical sensor project

mathieu mezec
Associate
Posted on June 01, 2017 at 13:10

Hi

I am a new ingineer (still student in ingineering school) and I need to test the possibility to use some optical fiber sensor in order to mesure a mouvement (inside a black cavity or by reading a black and white ruler) and try a few other things. To do so I plan to use a Stm32  F411RE (provided by the school) and an electronic card that I create (in link below).

first question : does my card could work or not (I manly use the PC but without real thinking because i don't know the question i need to ask myself)?

Is there tutorial/already existing code in order to use an LCD display?

Is there tutorial/

already existing code

in order to use the potentiometer?

And the same for the utilisation of sensor in all or nothing mode 

thanks in advance for your advice

Mathieu Mezec

#sensor #help. #student-projects #stm32-f #optical-fiber
1 REPLY 1
AvaTar
Lead
Posted on June 01, 2017 at 15:25

Is there tutorial/already existing code in order to use an LCD display?

Is there tutorial/

already existing code

in order to use the potentiometer?

Sure, there are plenty of examples. You might need to be more specific about the display type...

But generally, I would strongly suggest to redesign your board for 3.3V instead 5V.

There are no 5V variants of the STM32, and interfacing that many 5V signals with 3.3V pins will become troublesome.

And the same for the utilisation of sensor in all or nothing mode 

I guess that means your black and white ruler.

Not sure how this is supposed to work, but I would suggest some linear variant of a 'rotary encoder', with several parallel and phase-shifted markings.