Skip to content

dadul96/STM32F411_Digital_Linear_Scale_Decoder

Repository files navigation

STM32F411_Digital_Linear_Scale_Decoder

Decoder for digital linear scale (Shahe SH2205A0633). Position values are converted to mm and displayed via serial USB prints.

picture of test_setup picture of protocol picture of console_printout

Folder Structure

--STM32F411CE_WeAct_Blackpill_USB_CDC_Serial
  |
  |--lib
  |  |
  |  |--usb_serial_lib
  |     |
  |     |- delay.c
  |     |- delay.h
  |     |- usb_serial.c
  |     |- usb_serial.h
  |     |- usbcdc.c
  |     |- usbcdc.h
  |
  |--src
  |   |
  |   |- main.c
  |
  |- platformio.ini

Code Dependency

            [main.c]
               |
               +------------+
               |            |
         [usb_serial.*]     |
               |            |
               |            |
      +---------------------+
      |                     |
      |                     |
  [usbcdc.*]            [delay.*]

Built With

  • PlatformIO IDE - IDE used for programming
  • libopencm3 - Open-source low-level hardware library for ARM Cortex-M microcontrollers

Author

Daniel Duller - dadul96

License

This project is licensed under the GPL-3.0 License - see the LICENSE file for details

Based on my existing USB CDC serial project for the STM32F411CE WeAct Blackpill Board:

STM32F411CE_WeAct_Blackpill_USB_CDC_Serial

About

Decoder for digital linear scale (Shahe SH2205A0633). Position values are converted to mm and displayed via serial USB prints.

Topics

Resources

License

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Contributors

Languages