Giter Site home page Giter Site logo

clearcore-dm49c04's Introduction

Clearcore-DM49C04

This is a sample sketch to get the Teknic Clearcore working with the DM49C04 serial display. It will likely work with other Arduinos with little modification.

This program reads an encoder and sends the position over serial and formats to display correctly on the DM49C04 display.
The encoder is a 5-pin rotary type with A and B connected to the fast inputs (DI6 and DI7) on the ClearCore. And the encoder switch is attached to DI8. The clearcore encoder card is not neccessary. The DM49C04 Display is connected to the COM port via three pins. Clearcore COM Pins 4 (gnd to GND), 5(TX to RXD) and 6 (5v to VCC). The other COM pins are not used.

This inexpensive 4-digit, 7-segment display can be found online for about $1USD. The display recognizes other characters other than numbers for input. Many of them are decoded in the DM49C04 Display Map.jpg image.

The display has a 5 character input buffer. However, it can only display 4 characters. Remember this, because if you intend on sending it, say 8 characters, it will not rollover to display the last four, but will wrap around and you'll get gunk. It doesn't seem that special characters are counted against the input buffer.

There are three special characters you can input (without quotes) into the serial buffer and it will cause special behavior:

"%" will display as an empty character (a space), but so will just using the space character.

"*" will activate decimal (.) between the numbers.

"#" will clear the screen buffer. I suggest you send this before every string. A plain # without following characters will turn the display off.

clearcore-dm49c04's People

Contributors

buzzysale avatar

Watchers

 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.