In need of some assistance for BATMAN pov graphics

Post here to let others know of a project you're working on.

Moderators: Chuckt, Garth, bitfogav

MrDEB
I practically live here!
I practically live here!
Posts: 372
Joined: Fri Feb 18, 2011 4:24 am
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

In need of some assistance for BATMAN pov graphics

Post by MrDEB » Tue Sep 17, 2013 2:24 pm

Am building a tandem recumbent quad bike (4 20" bicycle wheels) and whild in the process of designing and welding the frame I got the BATMAN bug. Why not add a SOF (skin on frame) body in the shape of a Batmobile and ride this in the day after Thanksgiving / Christmas parade. Put a couple of kids in the co-pilots seat. This is a form of velomobile.
What I plan to do is add some blue and red LEDs for a halo ground effect and put an LED pov graphic on the two front wheels BUT have tried using Brads graphic program with no success. Any help on this is greatly appreciated as I have never done a POV graphic type device.
Following Brads great build on POV devices I think I can assemble the hardware but the pic programming end of it.

User avatar
brad
Site Admin
Site Admin
Posts: 2578
Joined: Fri Mar 26, 2010 10:30 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: In need of some assistance for BATMAN pov graphics

Post by brad » Tue Sep 17, 2013 9:08 pm

Which software were you using? I have made a few different versions :)

I will soon be working on a new version to!

MrDEB
I practically live here!
I practically live here!
Posts: 372
Joined: Fri Feb 18, 2011 4:24 am
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: In need of some assistance for BATMAN pov graphics

Post by MrDEB » Wed Sep 18, 2013 2:26 pm

I have tried the first version you posted about a year ago?
Looking to try out the version on the indestructible unless you have a better version?
Was looking over the one chip RGB POV build and with the simple graphics I am looking at doing this may be the best choice. Using all SMD and etch a PCB I just might get it to actually work. Perhaps add more LEDs? for resolution but ??

User avatar
brad
Site Admin
Site Admin
Posts: 2578
Joined: Fri Mar 26, 2010 10:30 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: In need of some assistance for BATMAN pov graphics

Post by brad » Thu Sep 19, 2013 11:15 pm

Sorry I should have asked, was that the excel version or the newer visual basic version.

both versions can only do basic conversions that would cause your image to get drawn around the wheel. I haven't even tried to venture into a version that could convert a graphic to display on a spinning pod on a wheel that would look just as you would see it on a computer screen. (if that makes sense)

I guess what I'm trying to say is that I haven't got a version that can achieve this effect:

MrDEB
I practically live here!
I practically live here!
Posts: 372
Joined: Fri Feb 18, 2011 4:24 am
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: In need of some assistance for BATMAN pov graphics

Post by MrDEB » Fri Sep 20, 2013 3:18 am

yes display a graphic on side of wheel.

User avatar
brad
Site Admin
Site Admin
Posts: 2578
Joined: Fri Mar 26, 2010 10:30 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: In need of some assistance for BATMAN pov graphics

Post by brad » Sun Sep 22, 2013 8:45 am

unfortunately I dont have a version that can achieve what you are looking for.

Infact, it would probably take me quite a while to figure out how to make a conversion program that could achieve that :)

On another note, how has the hardware side of things been coming along for you?

User avatar
bitfogav
Moderator
Moderator
Posts: 915
Joined: Sun Mar 28, 2010 9:03 pm
Location: United Kingdom
Contact:

Re: In need of some assistance for BATMAN pov graphics

Post by bitfogav » Sun Sep 22, 2013 8:01 pm

Just has an idea.. :roll:

Because the bike wheel will be variable rotation, you could use two pickups on two different spokes?, and use an interrupt and timer to calculate the time between the two pickups.
You could then calculate the speed of the wheel and if you wanted to set an average over time, and use that to trigger the graphics over a set time base (so that the graphics is spread out equally), and to align with the wheel speed.
The one pickup then could be used after you have a wheel speed caculation to trigger the starting point for the POV image.

Picture below to show what I mean by the position of the two pickups:
bikewheel.png
bikewheel.png (57.28 KiB) Viewed 24292 times
But on the other hand you could just use one pickup on the bike wheel and use a timer to calculate one rotation of the wheel and work out the wheel speed and at what speed the POV needs to be set at to draw the image.

So the main problem is the variable wheel speed, I'm sure at very slow speeds the POV isn't going to work correctly anyway!.
If you don't know what Voltage your country is using, you shouldn't be doing electronics ;-)

User avatar
brad
Site Admin
Site Admin
Posts: 2578
Joined: Fri Mar 26, 2010 10:30 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: In need of some assistance for BATMAN pov graphics

Post by brad » Sun Sep 22, 2013 8:17 pm

You right Gav, you will certainly need to calculate how many revolutions per second the wheel is doing and then use that to trigger the interrupt to draw the graphics at the right time.

You will also need to be riding at quite a great deal of knots to make sure that you don't get flicker on the display - I have seen others get around this problem by adding extra LED strips, the monkeylectric version I think has four strips so each strip takes care of drawing 1/4 of the complete display (instead of 1 strip trying to do the whole 360 degree rotation.


MrDEB
I practically live here!
I practically live here!
Posts: 372
Joined: Fri Feb 18, 2011 4:24 am
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: In need of some assistance for BATMAN pov graphics

Post by MrDEB » Tue Sep 24, 2013 2:33 am

One problem I see with the monkeyelectric unit is 8-15mph. I plan on staying below 5mph.
YES the 4 led boards would SMOOTH out the display and having multiple trigger pickups. Thinking of two pickups but 5 magnets on the wheel.
Need to get outside and finish building the actual quad bike then start on the electronics.

User avatar
bitfogav
Moderator
Moderator
Posts: 915
Joined: Sun Mar 28, 2010 9:03 pm
Location: United Kingdom
Contact:

Re: In need of some assistance for BATMAN pov graphics

Post by bitfogav » Tue Sep 24, 2013 3:11 am

MrDEB wrote:One problem I see with the monkeyelectric unit is 8-15mph. I plan on staying below 5mph.
I can't see that 5mph would be fast enough for the POV to display a good image.
If you don't know what Voltage your country is using, you shouldn't be doing electronics ;-)

User avatar
brad
Site Admin
Site Admin
Posts: 2578
Joined: Fri Mar 26, 2010 10:30 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: In need of some assistance for BATMAN pov graphics

Post by brad » Wed Sep 25, 2013 9:47 pm

What is the rim size?

I'd like to figure out how many revolutions per second you would get at 5MPH

MrDEB
I practically live here!
I practically live here!
Posts: 372
Joined: Fri Feb 18, 2011 4:24 am
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: In need of some assistance for BATMAN pov graphics

Post by MrDEB » Thu Sep 26, 2013 4:04 am

wheels are 20". I could add a bunch more LEDs to increase the resolutionm and allow a slower wheel speed.

User avatar
brad
Site Admin
Site Admin
Posts: 2578
Joined: Fri Mar 26, 2010 10:30 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: In need of some assistance for BATMAN pov graphics

Post by brad » Thu Sep 26, 2013 10:50 pm

hmm, just doing a little bit of maths here (and converting into km/h and meters etc...)

20" wheels = 50cm.

circumference = 157cm (so one rotation means you would have travelled 1.57 metres.)

5MPH = 8KMH = 133.3 Metres per Minute = 2.2 Metres per second

therefor you would be doing 1.4 revolutions per second. This is certainly to slow. You would only be drawing not quite 1 and a half images per second (rather than - i think - the 25 per second to get a nice flicker free image)

The monkeylectric version uses 4 sets of LED's which means you get one complete image every 1/4 of a revolution of the wheel. so at 5MPH you would get 5.6 images per second.

Could you increase you speed to maybe at least 15MPH :) or get really really small wheels!

MrDEB
I practically live here!
I practically live here!
Posts: 372
Joined: Fri Feb 18, 2011 4:24 am
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: In need of some assistance for BATMAN pov graphics

Post by MrDEB » Fri Sep 27, 2013 2:03 pm

If I added more sensops to imitate a smaller wheel and add more LEDs. Perhaps cover one half of the wheel or the entire wheel but then it would be defeating the purpose of POV.
Will ponder but need some insite on opening the code?

User avatar
bitfogav
Moderator
Moderator
Posts: 915
Joined: Sun Mar 28, 2010 9:03 pm
Location: United Kingdom
Contact:

Re: In need of some assistance for BATMAN pov graphics

Post by bitfogav » Sat Sep 28, 2013 2:30 am

Why not strap a motor to the side of the wheel :lol: then you wouldn't have to worry about what speed the bike was going? :lol:
If you don't know what Voltage your country is using, you shouldn't be doing electronics ;-)

Post Reply
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Who is online

Users browsing this forum: No registered users and 4 guests