My first prototype of a POV

MiniPOV4 and previous versions

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
fr3d-
 
Posts: 9
Joined: Tue Feb 21, 2006 4:14 pm

My first prototype of a POV

Post by fr3d- »

I did this in 3 days staring for zero.

I just saw the pictures of this toy at 'hackaday page' and i decided to do one too.

Now I know this is working, I´ll reduce the size for about 25% and use led´s more powerful ( I´m thinking use blue leds)

Powered by a pic16f84A (just 4 a little while) at 4Mhz


(the pictures I taked moving the camera, not the POV, but the inverse works too :p )

Image
Image

More pictures, take a look..
http://www.maxtour.com.br/pics/pov-01.jpg
http://www.maxtour.com.br/pics/pov-03.jpg
http://www.maxtour.com.br/pics/pov-04.jpg
http://www.maxtour.com.br/pics/pov-06.jpg

[forgive-me, my english is almost poor]

User avatar
fr3d-
 
Posts: 9
Joined: Tue Feb 21, 2006 4:14 pm

Post by fr3d- »

I need some light here...

I´m using this code to play my Pov



...
;tempo = time -> time function

portab MACRO argumento
movlw argumento
movwf portb
endm

X Macro
portab b'11100011'
call tempo
portab b'00010100'
call tempo
portab b'00001000'
call tempo
portab b'00010100'
call tempo
portab b'11100011'
call tempo
endm

Y Macro
portab b'00000011'
call tempo
portab b'00000100'
call tempo
portab b'11111000'
call tempo
portab b'00000100'
call tempo
portab b'00000011'
call tempo
endm
...

Main
X
Y
end


But in minipov, I found this

HEART
addwf PCL
retlw B'00000000';
retlw B'00000000';
retlw B'11111111';
retlw B'10000001';
retlw B'10000001';
retlw B'10000001';
retlw B'11111111';
retlw B'00000000';
retlw B'00000000';

What´s PCL ?
How the retlw will outputs in portb ?
My way spend much more memory, right ?

User avatar
fr3d-
 
Posts: 9
Joined: Tue Feb 21, 2006 4:14 pm

Post by fr3d- »

Hi... Is someone who can help-me about my last post ?

kragen
 
Posts: 21
Joined: Sat Mar 12, 2005 4:55 am

Post by kragen »

Your POV looks really nice! I'd help answer your question if I knew PIC assembly.

pupdawg
 
Posts: 7
Joined: Thu Feb 23, 2006 1:16 pm

ADDWF PCL

Post by pupdawg »

PCL = Program Counter Location

Used to access tables of data stored in the PIC memory... I beleave you should be able to store the data for a "heart image" and return it with...

ADDWF PCL

RETLW 'Heart' ; don't know if you can use a string or not

RETLW 0

Don't quote me on any of this I'm just learning myself. :)

fever16
 
Posts: 27
Joined: Fri Feb 03, 2006 11:10 pm

Post by fever16 »

cool and awesome.

what version of schematic u used for ur pov.imean is it minipov 1 or 2.
it looks loke ir own design.
can u share that design and schematic with us.
i'll be waiting for ur reply
thanks

User avatar
fr3d-
 
Posts: 9
Joined: Tue Feb 21, 2006 4:14 pm

Post by fr3d- »

fever16 u right... It´s my own desing.

there isn´t secret at realy... 8 led in portB and 5 push button in portA.

There isn´t sensor and not special, but in next, when I make, I go to place more things :roll:

cya ;)

Locked
Please be positive and constructive with your questions and comments.

Return to “MiniPOV”