On Thursday 02 October 2008 23:09:42 DZiems wrote:
> Can you borrow and modify any of Ladyada's code for the time being?
Don't see any advantages doing that, because:
> She already has animation support,
I also were talking with Fernando about memory organization, we have all
almost defined - sorry, I hadn't time to write about that, even we didn't
write that for us, is just in our minds. We have all about animation defined,
don't know if LadyAda is better or not, sorry, I am not motivated to read the
source code :-( -- if you are going to see
http://www.ianpaterson.org/projects/spokepov20070731/theory/index.htm, there
is explanation!! and not as LadyAda, that didn't document the firmware :-(
> and accesses the memory
our memory is very different, for example, in EEPROM we can write a byte
without the need to erase it before!
> and shift
> registers via SPI as well,
The actual code already have SPI shift registers working!! I did test them, as
you can see on this image, I did control them using Cutecom, terminal
program:
http://bicycleledpov.googlecode.com/svn/trunk/docs/pictures/20080619-BicycleLEDPOV-prototype-02.jpg
> so really its all there except for changing
> the ports for serial select, and also the 4-image animation limit.
We will not have any limit on number of animations, that number are limited
for the memory size. I think that LadyAda don't say to software what is the
memory size... we will do that!! it's very important!!
The only thing I will look it's for the code that counts time between each
rotation of wheel, however I did read that code before, I already know the
technic used :-)
http://ladyada.net/make/minipov3/index.html
I think I will build one, since it's very simple and quick to assembly
-- I will use it to show others how Bicycle LED POV will work ;-)
That person also told me about "Time fountain" project, which I share
with you:
http://cre.ations.net/creation/the-time-fountain
About Bicycle LED POV, I did discover 2 important things: first, my
batteries were running out of energy and because of that I was getting
errors while reading DataFlash memory; second, after turning Vcc ON of
DataFlash, we must need to wait sometime before start comunicating or it
will ignore commands -- I need to know a good value of time to wait, I
will try to find it on datasheet.