Final Project. Page 5

Improving Visual result

Tuesday, 16th June 2015

Array LED

Charlieplexing

According to wikipedia:
Charlieplexing is a technique for driving a multiplexed display in which relatively few I/O pins on a microcontroller are used to drive an array of LEDs.  

The method uses the tri-state logic capabilities of microcontrollers in order to gain efficiency over traditional multiplexing. Although it is more efficient in its use of I/O, there are issues that cause it to be more complicated to design and render it impractical for larger displays. These issues include duty cycle, current requirements and the forward voltages of the LEDs.

Charlieplexing method help to manage many LEDs with few microcontroller pins

Designing PCB

Tuesday, 16th June 2015

Starting from Array LED2 output assignment

List of needs for this PCB:
- Digital input.
- LED array

In this case, I have used Kokopelli to design the PCB. I've added a input signal.


Script will be explained on the next section.

Download c code, cad and make file here

Milling and soldering array LED

Tuesday, 16th June 2015

First problem (heart disease)

Wow... yes!

I want that background of led array be black, because of contrast, in other hand, I am making the final project at Fab Lab Sitges and... there is no EPOXY for the second layer.

(This PCB have 2 layers, the isulation from 2 layers is a layer of epoxy)

Well, I have no EPOXY, so I decided to try it with vinyl, so I designed and cutted the layer.

This is a nightmare!

I advise everyone to NOT use vinyl as an insulating layer. Every solder is a olimpic final. If I stay more than 1 second, vinyl start to burn, so I have to soldering "bee sting style". No way...

Debugging  LED array

Tuesday, 16th June 2015

After finish... no all of LEDs are working

Debugging mode "on"

Let's debug all traces, leds, voltaje, ...

Microscope

Looking for some short cut, loose wire....

Soldering out

Soldering out some and come back again.

Still some LEDs are not working

Checking after any action, but still don't work.

May be is the microcontroller?

Relationship between pins and led... and...

YES!!! I GOT IT! Is pin number PA3, it's not working.

One option is to change the microcontroller, but PA5 is free now, I want to check if I change PA3 for PA5 it will work.

Let's try.

You can see a little red cable between PA5 and PA3. I put a piece of vinyl under the cable in order to avoid contact.

After that...I have to change the script, now PA5 is PA3.

Embedded programming LED array

Friday, 19th June 2015

Now it is working!


I want to show a message in a slide window, let's work on it.  Make all the steps that have to do the slide and script them one by one. At this video you can see a demostration.


Download the c script

After all that documentation is difficult to have a general view of all interactions and communications in my final projects. I have made this video to explain them.

Enjoy!

>