cmjDEV

  • Archive
  • RSS
  • Ask me anything
banner
Pop-upView Separately
    • #PCB
    • #Design
    • #Circuit Board
    • #Circuit Design
    • #Engineering
    • #LED
    • #Matrix
    • #Electrical Engineering
    • #Electronics
    • #DIY
  • 6 months ago
  • 2
  • Permalink
  • Share
Quick shot of the perfboard progress.
Pop-upView Separately

Quick shot of the perfboard progress.

    • #engineering
    • #electronics
    • #diy
    • #avr
    • #led matrix
    • #led
    • #programming
    • #hardware
    • #technology
    • #electrical engineering
    • #embedded design
  • 6 months ago
  • 3
  • Permalink
  • Share
I spent some time tonight laying out the first  hard ‘prototype’ of the display. I’m going to be putting it together on perfboard for now because I have all the through hole components, and doing a PCB would just be nonsense.
The IC sockets I have stand off the board about 1mm so I will be able to route all the signals underneath the chip which will keep things looking nice. I will also be running all the wire on the TOP side of the perfboard. This is a personal preference and not how most people do it.
The LED matrix will plug into a female header and cover all wiring and IC’s.
Hopefully I’ll be able to start wiring it up tomorrow.
Pop-upView Separately

I spent some time tonight laying out the first  hard ‘prototype’ of the display. I’m going to be putting it together on perfboard for now because I have all the through hole components, and doing a PCB would just be nonsense.

The IC sockets I have stand off the board about 1mm so I will be able to route all the signals underneath the chip which will keep things looking nice. I will also be running all the wire on the TOP side of the perfboard. This is a personal preference and not how most people do it.

The LED matrix will plug into a female header and cover all wiring and IC’s.

Hopefully I’ll be able to start wiring it up tomorrow.

    • #Engineering
    • #Design
    • #Tech
    • #Technology
    • #Circuit board
    • #Circuit Design
    • #perfboard
    • #Electrical Engineering
    • #electronics
    • #LED
    • #Matrix
    • #prototype
    • #programming
    • #computer science
    • #DIY
  • 6 months ago
  • 1
  • Permalink
  • Share

The library to control the screen is almost finished. If you’re looking closely, you will notice an Adafruit DS1307 development board getting ready to be used.. Once I find a suitable coin cell battery, this thing will be useful.. A clock! After this i’m going to work on creating a prototype board to package this thing up a little nicer..  I think this thing needs a Conway’s Game of Life implementation as well.. That could be the startup routine? So many options!

    • #Engineering
    • #Electrical Engineering
    • #Programming
    • #Coding
    • #Computer Science
    • #AVR
    • #Technology
    • #Embedded Design
  • 7 months ago
  • Permalink
  • Share

Creating the MatrixLED Library

When I started writing the MatrixLED library I had ZERO preconceived notions about how it should be implemented. I just started coding some stuff to get it to do some other stuff. I ended up creating a 128 byte buffer that allowed me to store and manipulate 16 ‘frames’ (8 bytes per frame * 16 frames = 128 bytes).

This worked and was very easy to implement but it was rather bloated. I would take in an ASCII string, look up the equivalent ‘frame’ for each character and write those 8 bytes to the buffer. The actual screen was mapped to the first 8 bytes of the buffer. This means I needed to keep track of how big the buffer had grown and resize my manipulations accordingly. I started thinking about how I could do this in place and realized it was possible without an external buffer. I rewrote the code and have made some decent progress.

As of right now there is an 8 byte screen buffer that is mapped directly to the matrix. There is no shifting of data into the ‘screen’ area. This frees up space and cpu cycles. I’m not convinced that I will be able to implement all of the features I want without some type of scratchpad, but at least I can add one later if I need to.

I’m going to spend some time tomorrow polishing up the marquee function, and start working on some user input.. My goal is to be able to move a pixel around the screen by the end of tomorrow.

Videos will follow.

Here is a link to the new code
Compare with the old method 

Be aware, the second link has not been tidied up.. It works completely tho so that is why it remains the master branch.

    • #AVR
    • #Electrical Engineering
    • #Programming
    • #Coding
    • #C
    • #DIY
    • #LED Matrix
  • 7 months ago
  • Permalink
  • Share

Worked on the code a bit more. Eliminated the ghosting and tidied up the buffer and display method. Decided to implement a marquee effect. For now it only rotates the active portion of the display but ill work on applying it to the full buffer. It’s kind of nice to work on a project for an hour here and there with no deadlines!

    • #Electrical Engineering
    • #AVR
    • #Programming
    • #Coding
    • #DIY
    • #8-Bit
    • #Embedded design
  • 7 months ago
  • 4
  • Permalink
  • Share
Wrote a quick and dirty Excel VBS sheet that lets me create the fonts and graphics for the display. This should quicken the tedious work and allow me to focus on algorithm instead of drawing out everything by hand and converting to machine speak.
Going to take a break from this project for a bit.. Homework is calling my name.
Pop-upView Separately

Wrote a quick and dirty Excel VBS sheet that lets me create the fonts and graphics for the display. This should quicken the tedious work and allow me to focus on algorithm instead of drawing out everything by hand and converting to machine speak.

Going to take a break from this project for a bit.. Homework is calling my name.

  • 7 months ago
  • Permalink
  • Share
Display is pretty much finalized. It’s a bit over-engineered due to the fact that I’m only using parts on hand, and I don’t want to burn up the MinimusAVR board that i’m using. If I can find a suitable shift register, I’ll implement a serial protocol but for now I’m just dumping the columns to the register. A shift register would also allow me to utilize the green LED’s as well.. Meh, more code.. One day.
I have a slight ghosting issue but the display code is so simple I don’t want to mess with it. The problem is that I’m using a 4017 to scan the rows and I haven’t implemented a way to ‘turn it off’ for the next byte of data.. Once again, more code for another day.
Pop-upView Separately

Display is pretty much finalized. It’s a bit over-engineered due to the fact that I’m only using parts on hand, and I don’t want to burn up the MinimusAVR board that i’m using. If I can find a suitable shift register, I’ll implement a serial protocol but for now I’m just dumping the columns to the register. A shift register would also allow me to utilize the green LED’s as well.. Meh, more code.. One day.

I have a slight ghosting issue but the display code is so simple I don’t want to mess with it. The problem is that I’m using a 4017 to scan the rows and I haven’t implemented a way to ‘turn it off’ for the next byte of data.. Once again, more code for another day.

    • #electrical engineering
    • #diy
    • #electronics
    • #avr
    • #matrix
    • #programming
    • #computer science
  • 7 months ago
  • 7
  • Permalink
  • Share
Slowly piecing together a new project to keep my chops up.. 8-bit gaming platform! (Taken with Instagram)
Pop-upView Separately

Slowly piecing together a new project to keep my chops up.. 8-bit gaming platform! (Taken with Instagram)

    • #electrical engineering
    • #gaming
    • #engineering
    • #computer science
    • #programming
    • #8-bit
  • 7 months ago
  • 3
  • Permalink
  • Share
Discomfort to those who ruin the curve.
    • #engineering
    • #elecrical engineering
    • #computer science
  • 7 months ago
  • 1
  • Permalink
  • Share
← Newer • Older →
Page 1 of 12
Avatar Developments of an untrained mind.

Me, Elsewhere

  • Facebook Profile
  • Linkedin Profile
  • cmjdev on github

Following

I Dig These Posts

See more →
  • Post via readyplayerone
    Ernest Cline tries out the Oculus Rift!

    image

    Ready Player One author Ernest Cline recently paid a visit to the creators of the new Oculus Rift VR...

    Post via readyplayerone
  • Video via videosofpeoplemakingthings
    Video

    A very confident welder!

    Video via videosofpeoplemakingthings
  • Video via videosofpeoplemakingthings
    Video

    A 14 year-old rebuilding a Pontiac Fiero!

    Video via videosofpeoplemakingthings
  • Video via alexanderpf
    Video

    Prisoner X - Israel

    In a painstaking investigation, this report amassed compelling evidence to finally uncover the identity of Prisoner X, sending...

    Video via alexanderpf
  • Video via engineeringisawesome
    Video

    jtotheizzoe:

    Acoustic Levitation of Liquids? What Wizardry Be This?

    High-frequency acoustic signals interfere to create a standing wave,...

    Video via engineeringisawesome
  • RSS
  • Random
  • Archive
  • Ask me anything
  • Mobile

Effector Theme by Carlo Franco.

Powered by Tumblr