Electric Vehicle C
-
- Member
- Posts: 17
- Joined: February 9th, 2009, 2:02 pm
- Division: C
- Has thanked: 0
- Been thanked: 0
Re: Electric Vehicle C 2009
Has anyone tried using a parallax or picaxe chip to count revolutions for their vehicle? I run into the same problem in both languages and neither manufacturer is able or willing to help me. I don't want to resort to timing for the states since in my testing, that was always the least accurate, and our school doesn't want to pay for a VEX chip which would end up costing >$300 after all the other components. I guess i could settle for a mechanical stop.
-
- Admin Emeritus
- Posts: 323
- Joined: October 22nd, 2003, 5:47 pm
- Division: Grad
- State: NY
- Has thanked: 0
- Been thanked: 0
- Contact:
Re: Electric Vehicle C 2009
I could see a few reasons why a Parallax BASIC Stamp or PICAXE would not be ideal for EV, but what's the problem you're having?
“Rather fail with honor than succeed by fraud.” —Sophocles
If you are looking to give help or get help:
[wiki][/wiki] > Forum post > > PM > Email
Don't forget the Image Gallery, the , and the list of Exalted User medals.
[wiki][/wiki] > Forum post > > PM > Email
Don't forget the Image Gallery, the , and the list of Exalted User medals.
- sirup96
- Member
- Posts: 6
- Joined: November 4th, 2008, 7:52 am
- Division: C
- State: WI
- Has thanked: 0
- Been thanked: 0
Re: Electric Vehicle C 2009
Ok, now its easy for me to line my car up when there are tiles to line it up but what is the best way to line you car up if you only got the tape on the track?
Sirup96
"Take them out back"
Love to Swim.
Fixing others problems.
Have to carry random parts everywhere. Anyone need a gulf ball, flat head and a 30 dead C battery?
"Take them out back"
Love to Swim.
Fixing others problems.
Have to carry random parts everywhere. Anyone need a gulf ball, flat head and a 30 dead C battery?
-
- Admin Emeritus
- Posts: 961
- Joined: January 12th, 2007, 7:36 pm
- Division: Grad
- Has thanked: 0
- Been thanked: 17 times
-
- Member
- Posts: 17
- Joined: February 9th, 2009, 2:02 pm
- Division: C
- Has thanked: 0
- Been thanked: 0
Re: Electric Vehicle C 2009
I tried using mechanical switches and hall-effect sensors, but when i get to the point of the code where it is supposed to start counting how many times the switch was toggled it either immediately stops in Propeller or restarts in PICAXE. Are there any other manufacturers you would recommend? I got started with programming towards the end of last year when a senior (who is no longer with us) pretty much just handed me Propeller Demo Board and a link to the manual and told me to do it. Any websites where I can read up on this stuff?gh wrote:I could see a few reasons why a Parallax BASIC Stamp or PICAXE would not be ideal for EV, but what's the problem you're having?
- sachleen
- Exalted Member
- Posts: 225
- Joined: April 10th, 2007, 8:31 pm
- Division: Grad
- State: CA
- Has thanked: 0
- Been thanked: 3 times
- Contact:
Re: Electric Vehicle C 2009
It's a good idea to have a target at the end and have some sort of sight/scope on your car. Last year I used two pieces of plastic (one on the front and one in the back) with holes in them. I would look through the hole of the one on the back of the car, through the hole in the piece on the front, and at a line drawn on my target at the end of the track. My car never went perfectly straight so I couldn't line everything up dead center, but I know how much I had be off while aligning it to know it would still end up right on the mark when it stopped. This is where lots and lots of practice comes in.sirup96 wrote:Ok, now its easy for me to line my car up when there are tiles to line it up but what is the best way to line you car up if you only got the tape on the track?
-
- Admin Emeritus
- Posts: 961
- Joined: January 12th, 2007, 7:36 pm
- Division: Grad
- Has thanked: 0
- Been thanked: 17 times
Re: Electric Vehicle C 2009
I grabbed the viewfinder off my telescope and attached it to the top of the vehicle. Then I adjusted it so the crosshairs zeroed in on where it would stop. Didn't get it perfect, but it certainly would have been possible.
-
- Admin Emeritus
- Posts: 323
- Joined: October 22nd, 2003, 5:47 pm
- Division: Grad
- State: NY
- Has thanked: 0
- Been thanked: 0
- Contact:
Re: Electric Vehicle C 2009
Well, since this sounds like a software error, I don't think replacing it with another system would solve the problem. The question is, what are you doing to count the switch toggling? Are you going into a loop to continuously check for changes in the state of the switch? Is there a condition for breaking out of the loop to do processing or output?ahage16 wrote:I tried using mechanical switches and hall-effect sensors, but when i get to the point of the code where it is supposed to start counting how many times the switch was toggled it either immediately stops in Propeller or restarts in PICAXE.
My aiming device is in the Image Gallery. I'd like to go back to a scope though.
“Rather fail with honor than succeed by fraud.” —Sophocles
If you are looking to give help or get help:
[wiki][/wiki] > Forum post > > PM > Email
Don't forget the Image Gallery, the , and the list of Exalted User medals.
[wiki][/wiki] > Forum post > > PM > Email
Don't forget the Image Gallery, the , and the list of Exalted User medals.
-
- Member
- Posts: 17
- Joined: February 9th, 2009, 2:02 pm
- Division: C
- Has thanked: 0
- Been thanked: 0
Re: Electric Vehicle C 2009
In propeller I tried having a loop that added one to a variable every time an input was toggled and the it would exit the loop when the variable is equal to whatever it needs to be for that distance. I also tried making a loop that would repeat once the switch was toggled and put the variable in the number of loops, but both exited the loop after the switch was toggled one time. If you know propeller or PICAXE, I could just post the code.gh wrote:Well, since this sounds like a software error, I don't think replacing it with another system would solve the problem. The question is, what are you doing to count the switch toggling? Are you going into a loop to continuously check for changes in the state of the switch? Is there a condition for breaking out of the loop to do processing or output?ahage16 wrote:I tried using mechanical switches and hall-effect sensors, but when i get to the point of the code where it is supposed to start counting how many times the switch was toggled it either immediately stops in Propeller or restarts in PICAXE.
My aiming device is in the Image Gallery. I'd like to go back to a scope though.
Are there any brand of microcontrollers someone could reccomend for this application
-
- Staff Emeritus
- Posts: 433
- Joined: November 10th, 2001, 3:06 pm
- Has thanked: 0
- Been thanked: 0
- Contact:
Re: Electric Vehicle C 2009
Did you debounce the switch closures? This can be done with either software or hardware.
Information expressed here is solely the opinion of the author. Any similarity to that of the management or any official instrument is purely coincidental! Doing Science Olympiad since 1987!
Who is online
Users browsing this forum: No registered users and 1 guest