Giter VIP home page Giter VIP logo

stm8_fun's Introduction

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:

stm8_fun's People

Contributors

abhra0897 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.