Skip to main content
MM.22
Associate
July 8, 2022
Question

I'm beginner in STM32(f303re CUBE IDE) and anybody know maybe how do the implementation for sensor fs-ir02. Probably it's simple but I have no idea. How to do this with USART2 on NVIC and by simple GPIO? When is another simple way, please show me :)

  • July 8, 2022
  • 3 replies
  • 1150 views

..

This topic has been closed for replies.

3 replies

Andrew Neil
Super User
July 8, 2022

Please don't put the entire question in the title - keep it under ~ 70 characters.

Is this what you're talking about: https://www.robotshop.com/uk/gravity-liquid-level-sensor-fs-ir02.html ?

More useful info here: https://wiki.dfrobot.com/Liquid_Level_Sensor-FS-IR02_SKU__SEN0205

"I'm beginner in STM32"

Do you have any experience with any other microcontroller(s) ?

Do you have any experience with programming in general ?

Some microcontroller Getting Started basics:

https://www.avrfreaks.net/comment/1138166#comment-1138166

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
MM.22
MM.22Author
Associate
July 8, 2022

I don't have any exp in microcontrollers. Im searching. I'll be thankful if U send me some materials for education in that realm :)

Andrew Neil
Super User
July 8, 2022

https://www.avrfreaks.net/comment/2079906#comment-2079906 (which includes the one given above)

Take a look at ST's YouTube channel.

Also their "MOOC" online training:

https://www.st.com/content/st_com/en/support/learning/stm32-education/stm32-moocs.html

If you're not already familiar with C, I'd strongly suggest that you learn that on a PC or similar first - away from all the added complications of small embedded microcontrollers.

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
Pavel A.
Super User
July 8, 2022

You can find a helping hand here.