Git Product home page Git Product logo

sevensegment-over-serial's Introduction

Seven Segment over Serial (SSoS)

A device consisting of 7-segment display units, controllable via a serial link (with Arduino sketch and LEGO enclosure).

See a videos of the device in action.

video video

logo

SSoS for LEGO

Connected to the hub

Introduction

I stumbled on this module Seven Segment for micro:bit. I immediately thought that such a thing would be a nice external display for the new LEGO Mindstorms Robot Inventor - it does not have a display - at least not one that can display bigger numbers. But I want it smaller to better fit LEGO.

Later I found that sparkfun has something similar. This board is also a bit too wide to my liking, and retired.

Font

There is a python script to generate font tables. I designed two fonts, one LookAlike7s with characters that are as close as possible to the real thing. The second font Unique7s maps each character to a unique pattern on the 7-segment display.

Electronics

Design of the electronics: the power architecture, display control, wiring (used pins), schematics, and finally PCB with IDC socket. My project on EasyEDA is public.

ISR model

Modeling the interrupt service routine (ISR). The ISR needs to support brightness control and blinking. The model is made in Python, but in the end, the ISR is the central part of the ATmega firmware, driving the 7-segments.

Firmware

The firmware for the Arduino Nano, the controller on the SSoS board. First some proof of concept sketches (using SFRs for ports, timer, ISR), finally the end-product.

User manual

There is an extensive user manual with examples (as implemented by the firmware).

LEGO enclosure

I 3D-printed an enclosure so that I can use SSoS with LEGO Mindstorms.

LEGO demo

See the LEGO code for some examples of how to use the SSoS device with LEGO.

Generation 2: Seven Segment over Serial Small

The (LEGO) enclosure we made is 4ร—8 LEGO units (studs). But LEGO Technic components usually have an odd length. So I set out to miniaturize making a Seven Segment over Serial Small (SSoSS). Target is 3ร—7. To achieve this, I made a single PCB, combining both the "Nano" and the 7-segment units.

pcb2

Section electronics2 shows the schematics and the unexpected firmware flashing problems.

Section enclosure2 shows the new enclosure, 3D printed via JLCPCB.

(end)

sevensegment-over-serial's People

Contributors

maarten-pennings avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

a10036gt

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.