corsasport.co.uk
 

Corsa Sport » Message Board » Off Day » Geek Day » Computer/engineering geeks in here


New Topic

New Poll
  <<  1    2  >> Subscribe | Add to Favourites

You are not logged in and may not post or reply to messages. Please log in or create a new account or mail us about fixing an existing one - register@corsasport.co.uk

There are also many more features available when you are logged in such as private messages, buddy list, location services, post search and more.


Author Computer/engineering geeks in here
LeeM
Member

Registered: 26th Sep 05
Location: Liverpool
User status: Offline
17th Jan 12 at 11:02   View User's Profile U2U Member Reply With Quote

I need to build a solar powered car, only small and basic and doesn't need to follow a track just drive a set distance and stop within a range.
I was thinking of using one of these small circuit boards but I can't remember what they're called, running a basic code etc but I'm in the very early stages of the research so have no idea what I'm doing yet
Anyone got any helpful suggestions?
adiohead
Member

Registered: 28th Sep 01
User status: Offline
17th Jan 12 at 11:04   View User's Profile U2U Member Reply With Quote

Could you not get an already made battery powered remote control car and convert it?
John
Member

Registered: 30th Jun 03
User status: Offline
17th Jan 12 at 11:08   View User's Profile U2U Member Reply With Quote

Do you mean Arduino, that would probably do what you want, there will also be loads of code examples if not that exact thing.
ed
Member

Registered: 10th Sep 03
User status: Offline
17th Jan 12 at 11:10   View User's Profile U2U Member Reply With Quote

You can even get a solar shield battery charger for Arduino.
LeeM
Member

Registered: 26th Sep 05
Location: Liverpool
User status: Offline
17th Jan 12 at 11:22   View User's Profile U2U Member Reply With Quote

Arduino that's the one, thanks John. now ed does that run it directly from solar power or do I plug a battery into the board and then the solar panel into the battery? I was hoping there would be something along those lines for the Arduino, seems to be a lot of potential with it
LeeM
Member

Registered: 26th Sep 05
Location: Liverpool
User status: Offline
17th Jan 12 at 11:22   View User's Profile U2U Member Reply With Quote

quote:
Originally posted by adiohead
Could you not get an already made battery powered remote control car and convert it?


It's a Uni project, that would be cheating
ed
Member

Registered: 10th Sep 03
User status: Offline
17th Jan 12 at 11:27   View User's Profile U2U Member Reply With Quote

You'd want a battery ideally as if your control board looses power it'll shut down. Is there a requirement for your project to only use solar? The Solar Shield lets you connect a panel and a lithium battery together, it charges the battery and will power your board. You then just need a motor controller (something like an L293D board) and you're away.
ed
Member

Registered: 10th Sep 03
User status: Offline
17th Jan 12 at 11:27   View User's Profile U2U Member Reply With Quote

http://shieldlist.org/seeedstudio/solarcharger
LeeM
Member

Registered: 26th Sep 05
Location: Liverpool
User status: Offline
17th Jan 12 at 11:32   View User's Profile U2U Member Reply With Quote

That great cheers ed, I'll be getting a full spec sheet later on today just trying to do the groundwork
Dom
Member

Registered: 13th Sep 03
User status: Offline
17th Jan 12 at 11:54   View User's Profile U2U Member Reply With Quote

Do you need an Arduino? As it sounds like the car just needs to travel in a straight line for X metres. Which case a simple motor, battery solar charge setup with a simple timer would do the trick. Obviously if needs intelligence of sorts then an Arduino (or an eBay copy which is about half the price) would be suited.

As for the solar charger, a solar cell and diode would do the job (wouldn't be suitable for lithium batteries though).
LeeM
Member

Registered: 26th Sep 05
Location: Liverpool
User status: Offline
17th Jan 12 at 11:57   View User's Profile U2U Member Reply With Quote

I want it to stand out as innovative rather than a simple timer
ed
Member

Registered: 10th Sep 03
User status: Offline
17th Jan 12 at 12:02   View User's Profile U2U Member Reply With Quote

Just make sure the thing works at the end of your assignment! In a class I taught last year the students needed to make a robot that solved a maze, there were a few over ambitious groups who attempted to use ultrasonic sensors and other things to make their work stand out. Would have been bloody brilliant if they did something more than just spin around in circles on one spot...
LeeM
Member

Registered: 26th Sep 05
Location: Liverpool
User status: Offline
17th Jan 12 at 12:06   View User's Profile U2U Member Reply With Quote

yeah there is that
LeeM
Member

Registered: 26th Sep 05
Location: Liverpool
User status: Offline
17th Jan 12 at 13:26   View User's Profile U2U Member Reply With Quote

Had a 555 timer suggested. It only needs to go 10 meters in less than 20s
John
Member

Registered: 30th Jun 03
User status: Offline
17th Jan 12 at 13:31   View User's Profile U2U Member Reply With Quote

Does it have to stop after 10 meters or just go 10 meters?
LeeM
Member

Registered: 26th Sep 05
Location: Liverpool
User status: Offline
17th Jan 12 at 13:34   View User's Profile U2U Member Reply With Quote

10 meters in a straight line, come to a dead stop after that. Doesn't specify a stopping distance but I imagine the shorter the better.
If I use batteries I can only use 3 aa's and the supplied 6v 250mA solar panel...

[Edited on 17-01-2012 by LeeM]
John
Member

Registered: 30th Jun 03
User status: Offline
17th Jan 12 at 13:37   View User's Profile U2U Member Reply With Quote

What about using a capacitor?

Get one just the right size to give you 10 metres, would be really simple.

Depends what the learning outcomes are.
LeeM
Member

Registered: 26th Sep 05
Location: Liverpool
User status: Offline
17th Jan 12 at 13:43   View User's Profile U2U Member Reply With Quote

Can use a capacitor yeah, we're being encouraged to go outside of the spec, but there's certain things we can't change
John
Member

Registered: 30th Jun 03
User status: Offline
17th Jan 12 at 13:46   View User's Profile U2U Member Reply With Quote

Solar panel either charges capacitor directly or charges a battery that you then use to charge capacitor.

Switch it on, place it down, runs out of power just before the 10m mark.
ed
Member

Registered: 10th Sep 03
User status: Offline
17th Jan 12 at 14:05   View User's Profile U2U Member Reply With Quote

Capacitor could be pretty accurate too actually. You'd need to experiment a little to get the right amount of charge, perhaps you could make the chassis using the PCB/stripboard to save some weight.
LeeM
Member

Registered: 26th Sep 05
Location: Liverpool
User status: Offline
17th Jan 12 at 15:10   View User's Profile U2U Member Reply With Quote

I wanted to have a look into a sheet of carbon. Got to be a max of 200mm long but not sure how much that would cost
Ian
Site Administrator

Avatar

Registered: 28th Aug 99
Location: Liverpool
User status: Offline
17th Jan 12 at 15:33   View Garage View User's Profile U2U Member Reply With Quote

Couldn't you build a tunnel on the finish line?
adiohead
Member

Registered: 28th Sep 01
User status: Offline
17th Jan 12 at 15:35   View User's Profile U2U Member Reply With Quote

quote:
Originally posted by Ian
Couldn't you build a tunnel on the finish line?


or a wall
Ian
Site Administrator

Avatar

Registered: 28th Aug 99
Location: Liverpool
User status: Offline
17th Jan 12 at 15:45   View Garage View User's Profile U2U Member Reply With Quote

You could do distance without an Arduino, you need a pulse from the wheel/transmission and you need to calculate how many pulses equals your distance, then use a binary counter to track the pulses with a not gate on the most significant bit in series with your motor supply.

Have a look at the counters section here - http://www.kpsec.freeuk.com/counting.htm

Uses a 555 to stabilise the pulse and a binary counter, not sure what chip for that, you just need to calibrate your gearing so the distance is achieved in of 2^n pulses for any value of n.

If you wanted to be a bit more flash you could use a series of ANDs across the entire binary word so give you a configurable value at which you isolate the motor, like if the binary counter gets up to 100101, you go a.not b.not c.d.not e.f is true with that value is met, not that and you'll have a value that goes to zero when the desired distance is met.

You would also need to isolate the counter after that point as well somehow so it doesn't continue past and re-engage the motor because that truth condition is no longer met due to momentum.

Edit - think you can count in binary just using a chain of bistable 555s, think you can get another chip which is built with that in mind and has integrated output/trigger in the chain, although this would be more difficult to get your distance number out of if you're going for the non 2^n solution.

[Edited on 17-01-2012 by Ian]
Ian
Site Administrator

Avatar

Registered: 28th Aug 99
Location: Liverpool
User status: Offline
17th Jan 12 at 15:55   View Garage View User's Profile U2U Member Reply With Quote

Just looking there if you assume an 8 bit word, 10 metres / 128 is 7.81 cm

So you take the pulse from the axle you need wheels with a circumference of 7.81cm work the diameter back from that using c=2 PI r

If that comes out too small then go down to a 7 bit word and if that's too big then get the pulse from somewhere in the gearing as you will probably need to step it down if you have a high speed motor with insufficient torque.

  <<  1    2  >>
New Topic

New Poll

  Related Threads Author Forum Replies Views Last Post
All U Computer Geeks How ... CraigyG General Chat 24 1202
15th Jun 03 at 22:42
by novaless18
 
Motorsport Engineering .. DaXx General Chat 15 337
7th Nov 05 at 00:35
by CorsAsh
 
If You Were Going To Spray Your Car... joes_1.4_16v_sport Help Zone, Modification and ICE Advice 12 2564
21st Dec 07 at 08:47
by C2RL R
 
The modding has begun............kinda LeahWGA General Chat 11 545
26th Jan 08 at 11:05
by MatthewR
 
anyone heard of SM Engineering before - cheap alloy parts, catch tanks etc GavCorsa General Chat 12 643
18th Jun 08 at 17:32
by Daveskater
 

Corsa Sport » Message Board » Off Day » Geek Day » Computer/engineering geeks in here 28 database queries in 0.0127101 seconds