Attach encoders to axle and read the values with an Arduino. I believe code is available online for reading rotary encoder valuesUQOnyx wrote:I've tried reading all of the information that I can about encoders, but I'm lost. I have a rover 5 with 2 motors and encoders, which I can use to test my project. Is there anywhere where I can get help in how to set up the rover to use the encoder to measure my speed?
Electric Vehicle C
- windu34
- Staff Emeritus
- Posts: 1383
- Joined: April 19th, 2015, 6:37 pm
- Division: Grad
- State: FL
- Has thanked: 2 times
- Been thanked: 37 times
Re: Electric Vehicle C
Boca Raton Community High School Alumni
University of Florida Science Olympiad Co-Founder
Florida Science Olympiad Board of Directors
kevin@floridascienceolympiad.org || windu34's Userpage
University of Florida Science Olympiad Co-Founder
Florida Science Olympiad Board of Directors
kevin@floridascienceolympiad.org || windu34's Userpage
- UQOnyx
- Exalted Member
- Posts: 274
- Joined: November 28th, 2012, 2:23 pm
- Division: C
- State: NJ
- Has thanked: 0
- Been thanked: 0
Re: Electric Vehicle C
Update: I figured out how to use encoders! Thanks for everyone's help
My partner and I decided to look into making our vehicle from our own pieces and using different motors. However, I'm stumped (again!) into how all of these different motors work. Do all motors have some sort of universal housing method, so that I can easily replace one motor in a rover with another one?

My partner and I decided to look into making our vehicle from our own pieces and using different motors. However, I'm stumped (again!) into how all of these different motors work. Do all motors have some sort of universal housing method, so that I can easily replace one motor in a rover with another one?
Noor-ul-Iman School
2012 Events:
Forestry
Storm The Castle
2013 Events:
Boomilever
Shock Value
Forestry
I know the voices aren't real, but they have some great ideas..
2012 Events:
Forestry
Storm The Castle
2013 Events:
Boomilever
Shock Value
Forestry
I know the voices aren't real, but they have some great ideas..
- windu34
- Staff Emeritus
- Posts: 1383
- Joined: April 19th, 2015, 6:37 pm
- Division: Grad
- State: FL
- Has thanked: 2 times
- Been thanked: 37 times
Re: Electric Vehicle C
Is your motor attached to a gearbox or transmission?UQOnyx wrote:Update: I figured out how to use encoders! Thanks for everyone's help![]()
My partner and I decided to look into making our vehicle from our own pieces and using different motors. However, I'm stumped (again!) into how all of these different motors work. Do all motors have some sort of universal housing method, so that I can easily replace one motor in a rover with another one?
If you can, attach a link
Boca Raton Community High School Alumni
University of Florida Science Olympiad Co-Founder
Florida Science Olympiad Board of Directors
kevin@floridascienceolympiad.org || windu34's Userpage
University of Florida Science Olympiad Co-Founder
Florida Science Olympiad Board of Directors
kevin@floridascienceolympiad.org || windu34's Userpage
- UQOnyx
- Exalted Member
- Posts: 274
- Joined: November 28th, 2012, 2:23 pm
- Division: C
- State: NJ
- Has thanked: 0
- Been thanked: 0
Re: Electric Vehicle C
I'm looking for a motor that can replace this motor (datasheet)
Noor-ul-Iman School
2012 Events:
Forestry
Storm The Castle
2013 Events:
Boomilever
Shock Value
Forestry
I know the voices aren't real, but they have some great ideas..
2012 Events:
Forestry
Storm The Castle
2013 Events:
Boomilever
Shock Value
Forestry
I know the voices aren't real, but they have some great ideas..
- windu34
- Staff Emeritus
- Posts: 1383
- Joined: April 19th, 2015, 6:37 pm
- Division: Grad
- State: FL
- Has thanked: 2 times
- Been thanked: 37 times
Re: Electric Vehicle C
Just based on the current the motor draws, I doubt the torque is sufficient. Do you have a gearbox/transmission?UQOnyx wrote:I'm looking for a motor that can replace this motor (datasheet)
How was it originaly attached to the wheel shaft? Typically the rotor of the motor attaches to a gear which is attached to a gearbox
Boca Raton Community High School Alumni
University of Florida Science Olympiad Co-Founder
Florida Science Olympiad Board of Directors
kevin@floridascienceolympiad.org || windu34's Userpage
University of Florida Science Olympiad Co-Founder
Florida Science Olympiad Board of Directors
kevin@floridascienceolympiad.org || windu34's Userpage
- UQOnyx
- Exalted Member
- Posts: 274
- Joined: November 28th, 2012, 2:23 pm
- Division: C
- State: NJ
- Has thanked: 0
- Been thanked: 0
Re: Electric Vehicle C
You're right: the motor is connected to a gearbox at a 86:8:1 ratio. Once we replace the rover's tank treads with wheels, it will go probably at a rate of 1 meter per second, but I hope that we can push past that, which leads us to buying replacement motors.windu34 wrote:Just based on the current the motor draws, I doubt the torque is sufficient. Do you have a gearbox/transmission?UQOnyx wrote:I'm looking for a motor that can replace this motor (datasheet)
How was it originaly attached to the wheel shaft? Typically the rotor of the motor attaches to a gear which is attached to a gearbox
Noor-ul-Iman School
2012 Events:
Forestry
Storm The Castle
2013 Events:
Boomilever
Shock Value
Forestry
I know the voices aren't real, but they have some great ideas..
2012 Events:
Forestry
Storm The Castle
2013 Events:
Boomilever
Shock Value
Forestry
I know the voices aren't real, but they have some great ideas..
- windu34
- Staff Emeritus
- Posts: 1383
- Joined: April 19th, 2015, 6:37 pm
- Division: Grad
- State: FL
- Has thanked: 2 times
- Been thanked: 37 times
Re: Electric Vehicle C
I really need to see a pic of the gearbox before I can recommend any motors. Take a pic and attach or post a linkUQOnyx wrote:You're right: the motor is connected to a gearbox at a 86:8:1 ratio. Once we replace the rover's tank treads with wheels, it will go probably at a rate of 1 meter per second, but I hope that we can push past that, which leads us to buying replacement motors.windu34 wrote:Just based on the current the motor draws, I doubt the torque is sufficient. Do you have a gearbox/transmission?UQOnyx wrote:I'm looking for a motor that can replace this motor (datasheet)
How was it originaly attached to the wheel shaft? Typically the rotor of the motor attaches to a gear which is attached to a gearbox
What kind of battery are you using> Higher voltage will increase your speed (just don't exceed the 7.2 limit of your motor (and the rules))
Boca Raton Community High School Alumni
University of Florida Science Olympiad Co-Founder
Florida Science Olympiad Board of Directors
kevin@floridascienceolympiad.org || windu34's Userpage
University of Florida Science Olympiad Co-Founder
Florida Science Olympiad Board of Directors
kevin@floridascienceolympiad.org || windu34's Userpage
- theriddler
- Member
- Posts: 56
- Joined: October 5th, 2012, 12:22 pm
- Division: C
- State: NY
- Has thanked: 0
- Been thanked: 1 time
Re: Electric Vehicle C
I've been looking at incremental rotary encoders, but am slightly confused as to where this encoder would be placed. Most of the incremental rotary encoders I've seen look like this:iwonder wrote:On the other axle put a quadrature encoder (nice, high count/rev one) and hook the controller and encoder into a microcontroller (actual microcontroller, the raspberry pi is a computer and won't work well for this) so you can watch the current position and control the speed.
https://www.google.com/url?sa=i&rct=j&q ... 9642240648
But I am not entirely sure where in the vehicle this could be attached so that it could count the rotations of the axle. Is there some other part that I'm missing?
"A man can fail many times but he isn't a failure until he begins to blame somebody else"-John Burroughs
- windu34
- Staff Emeritus
- Posts: 1383
- Joined: April 19th, 2015, 6:37 pm
- Division: Grad
- State: FL
- Has thanked: 2 times
- Been thanked: 37 times
Re: Electric Vehicle C
Attach the shaft of the rotary encoder to the axle. If you have access to 3d printing, that would certainly make it easier. I guess you could drill a hole in the axle and glue it thoughtheriddler wrote:I've been looking at incremental rotary encoders, but am slightly confused as to where this encoder would be placed. Most of the incremental rotary encoders I've seen look like this:iwonder wrote:On the other axle put a quadrature encoder (nice, high count/rev one) and hook the controller and encoder into a microcontroller (actual microcontroller, the raspberry pi is a computer and won't work well for this) so you can watch the current position and control the speed.
https://www.google.com/url?sa=i&rct=j&q ... 9642240648
But I am not entirely sure where in the vehicle this could be attached so that it could count the rotations of the axle. Is there some other part that I'm missing?
Boca Raton Community High School Alumni
University of Florida Science Olympiad Co-Founder
Florida Science Olympiad Board of Directors
kevin@floridascienceolympiad.org || windu34's Userpage
University of Florida Science Olympiad Co-Founder
Florida Science Olympiad Board of Directors
kevin@floridascienceolympiad.org || windu34's Userpage
-
- Member
- Posts: 3
- Joined: November 20th, 2013, 4:00 pm
- Division: C
- State: MI
- Has thanked: 0
- Been thanked: 0
Re: Electric Vehicle C
Dazed and Confused, could use a clarification
In my circuit for running my electric vehicle I'm running six 1.5 voltage AA batteries (9 volts in total) in a battery holder. My only problem is that I'm unsure if it may be counted as a battery pack. The batteries are in series, and connected via the holder. Since they are individual cells I believe this is within the rules but I'm not sure whether an event supervisor will see this arrangement of individual cells in a battery holder or as a battery pack that exceeds the maximum voltage.
If anyone can provide any useful information to assist in clarification, it is of course appreciated.
In my circuit for running my electric vehicle I'm running six 1.5 voltage AA batteries (9 volts in total) in a battery holder. My only problem is that I'm unsure if it may be counted as a battery pack. The batteries are in series, and connected via the holder. Since they are individual cells I believe this is within the rules but I'm not sure whether an event supervisor will see this arrangement of individual cells in a battery holder or as a battery pack that exceeds the maximum voltage.
If anyone can provide any useful information to assist in clarification, it is of course appreciated.
Events I've Been In: Disease Detectives, Technical Problem Solving, Gravity Vehicle, Scrambler, Mission Possible, Air Trajectory, Robot Arm, Experimental Design, etc.
Who is online
Users browsing this forum: No registered users and 0 guests