Skip to content

abhra0897/stm8_fun

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Status: Incomplete

[Proper README will be written later]

Trying to make a POV display using stm8 mcu as I'm learning stm8. But for now, just having some fun with it. I may even change my goal and make something else rather than a pov display.

The stm8 is connected to a 4Mbit Adesto spi standard flash where images/animations might be stored. Currently both the flash driver and ws2812 driver work, but yet to decide what type of led will be used finally.

Setup Guide:

  1. Download and install SDCC compiler (https://sourceforge.net/projects/sdcc/files/)
  2. Build stm8flash for uploading binary to stm8 mcu (https://github.com/vdudouyt/stm8flash)
  3. Compile using make command (Optionally, clean using make clean before this step)
  4. Upload using make burn command

Some Demo:

demo gif

Done:

  • AT25SF041 flash driver
  • WS2812 / WS2811 driver

Problems:

  • Biggest one: slip ring and brush based power transfer is not reliably working. I suck at mechanical designs.
  • WS2812 is too slow for POV.

TO DO:

  • Load data to flash using UART from PC (images/ animation)
  • Read the loaded data from the flash
  • Make the circuit in KiCAD
  • Select what LED to use (WS2812? or normal LED with serial LED-driver IC?)
  • Read from flash and drive LEDs based on that data
  • And lots of other works related to the motor selection/body design/power transfer (slip ring or wireless?) etc..

Important Resources: