Pages: [1]   Go Down
Author Topic: POV for Beginners.  (Read 843 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Full Member
***
Karma: 1
Posts: 209
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi Every buddy...

I looking for a Little help. I have ran  all the example files I could find on the basics of the Arduino.

I would now like to move on to something a bit harder  like POV.

I have found a few links with information on how to build one. And I even built a 7 LED wound one using the code provided.

That brings me to my question.

Can some on point me in the right direction on what I need to learn to make my own POV. I know that may sound a bit vague. But what I need to know is where in the learning path should I start. Please keep in mind I have very little knowledge on coding with the Arduion.  I have found a lot of POV code. But know explaining  the code and such.

I am not asking for the code to be done for me. I need help starting.

Thank you in advanced for any help given.
Logged

Morecambe, UK
Offline Offline
Jr. Member
**
Karma: 1
Posts: 52
Laptop Shrimping and Free public Arduino workshops in Morecambe, UK
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I've been running workshops with people to build POV specifically, working with 11-14 year olds making the electronics, and also designing their own icons like this...



I'd say first of all get the idea of how to write a sketch which flashes LEDs, like Blink

Then move onto blinking an LED with non-blocking timing, like BlinkWithoutDelay. This will turn out to be important later on when you want to, for example, include a tilt switch to control the flashing sequence, though you don't need this to begin with.

Next, understand how bytes are made out of bits. This will be important when trying to record the pixels which make up your font in an efficient way.

In my case, for an 8-led column I use a single byte to represent each column of lights, with each bit of the byte determining whether that pixel is on or off in the specific column. I use variable size characters, so that an exclamation mark can be represented in a single byte, whereas a 'W' character is made of many columns. I therefore need to not only record the bytes in a big byte array, but keep track of which characters start at which point in the array.

You can see the data structures I use at...
http://shrimping.it/shrimp/project/pov/font/fonts.h
...and how I did it at...
http://stackoverflow.com/questions/12988915/how-to-extract-bitmap-data-from-ttf-bitmap-typeface-for-a-pov-display
...with more up-to-date source for font extraction and encoding at...
http://shrimping.it/shrimp/project/pov/font/

There's a step-by-step build for Blink based on our @ShrimpingIt circuit - a minimal Arduino compatible which you can build in minutes on breadboard - at
http://shrimping.it/workshops/madlab/pov/teacher_guide.pdf
...which leads you towards this circuit, which just has an extra 7 LEDs...
http://shrimping.it/workshops/madlab/pov/pov.svg

The handout we use at...
http://shrimping.it/workshops/madlab/pov/student_guide.pdf
...has some general information including a page at the back, covering the task of designing your own characters for the POV and encoding them in binary.

I know you didn't want it, but there's code at http://shrimping.it/shrimp/project/pov/shrimPov.zip which works with the circuit at http://shrimping.it/shrimp/project/pov/pov.pdf

If you need to translate between Shrimp world and Arduino world then take a look at http://arduino.cc/en/Hacking/PinMapping

Good luck.
Logged


Offline Offline
Full Member
***
Karma: 1
Posts: 209
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

cefn, Thank you very much.
Logged

Pages: [1]   Go Up
Jump to: