Yesterday, we installed the rocket launcher. It is a large piece of pvc pipe that is on a tilting mechanism that we built with some Vex parts we had laying around. It will fire model rockets. There is a small neodymium magnet in the little cargo hold of the rocket and another magnet on the outside of the tube. In this way, we can install the rocket motor, attach the ignitor and wires, and then use the magnet on the outside of the tube to hold the rocket in the tube without falling out.
We are also going to be getting a new motor controller. We are going to get the Sabertooth 2x25. Right now, we are using a little BaneBots controller that has a maximum current draw of 9 amps. Since toque is proportional to current draw, our rover has had a hard time going fast or up any incline at all because we have limited its draw at 9 amps. The new controller is really cool. It has a continuous draw of 25 amps and a maximum draw of 50 amps for a few seconds. By measuring the static resistance of the motors we are using and using ohm's law, we got a theoretical maximum draw of about 64 amps. This new controller also has several features like the ability to recharge the battery when the motors slow down or go in reverse. It is 2 channel, so we only need one which is good becuase it is not cheap. Its $125, but we think the performance we will get will be worth it. We will use the old controllers to fire the rocket (supply 12v to the ignitor) and control lights. We plan on having headlights and some underglow provided by some old cold cathodes we got out of some scanners.
I also learned yesterday the difference between PWM and PPM. PWM is pulse width modulation and PPM is pulse position modulation. PWM works by detecting the length of each pulse. The time between the pulses is always the same. PPM works by detecting the ratio of the pulse length to the off time length. Most hobby servos and motor controllers are expecting PPM. When writing Arduino code, analogWrite() sends PWM and the servo class sends PPM. I didn't know it, but we have been using PPM the whole time. The good news is that the new controller will accept both PWM and PPM. We are also going to start using a new servo library called Megaservo. It lets you control a servo from every digital pin, so up to 12 in our case. We will only use about 4 though.
Sorry for the long distance between posts, but in the next week or 2, we will have more time to work on it and add stuff. I'll put pictures up soon.
Wednesday, July 22, 2009
Tuesday, July 7, 2009
Improvements
I finished building the pan mechanism for the camera and the tilting mechanism
that will fire the rocket. I built it all out of Vex parts, and I am still working on getting
the vex motors to work with the arduino. I know it has been done,
I just have to figure it out. I looked up how to use a relay with the
arduino and it was way more complicated than I thought, so I think I will
try to sacrifice a vex motor. I think they run off of 6-9v which should be enough
to set off the ignitor. If not, then I will do it ye olde style and just
have the motor flip a physical switch. I talked with another guy who is
working on this project with me and we thought that we should also try to include
a vex microcontroller or 2 and maybe a lego RCX just for fun. If we need something
done either repeatedly or once something physically triggers it, then that
is a good solution. We just need to find something they can do.
I added support for these 2 new additions to the code and after I get it tested and
working, I will post the next version. The software we are going to use for
wifi hopping is called Wepbuster and version .6 beta came out yesterday.
It may need some customization. Still no luck on ZoneMinder, which is the
software we are going to use to stream the camera over IP. I haven't finished
fiddling with it yet, but I am going out of town on Thursday. The rover which is
now at my house is going to be transferred to my friends house since he gets
back from vacation the day after I leave. He will work on maybe a bit of hardware
but mostly software. I can SSH into it from where I am and work on code as well.
I am working on building my own server and hosting my own website. It isn't up
yet, but when it is, I hope to be able to drive the rover from there. The eventual
goal is 100% web based, and no need for any software on the drivers computer
except a browser.
that will fire the rocket. I built it all out of Vex parts, and I am still working on getting
the vex motors to work with the arduino. I know it has been done,
I just have to figure it out. I looked up how to use a relay with the
arduino and it was way more complicated than I thought, so I think I will
try to sacrifice a vex motor. I think they run off of 6-9v which should be enough
to set off the ignitor. If not, then I will do it ye olde style and just
have the motor flip a physical switch. I talked with another guy who is
working on this project with me and we thought that we should also try to include
a vex microcontroller or 2 and maybe a lego RCX just for fun. If we need something
done either repeatedly or once something physically triggers it, then that
is a good solution. We just need to find something they can do.
I added support for these 2 new additions to the code and after I get it tested and
working, I will post the next version. The software we are going to use for
wifi hopping is called Wepbuster and version .6 beta came out yesterday.
It may need some customization. Still no luck on ZoneMinder, which is the
software we are going to use to stream the camera over IP. I haven't finished
fiddling with it yet, but I am going out of town on Thursday. The rover which is
now at my house is going to be transferred to my friends house since he gets
back from vacation the day after I leave. He will work on maybe a bit of hardware
but mostly software. I can SSH into it from where I am and work on code as well.
I am working on building my own server and hosting my own website. It isn't up
yet, but when it is, I hope to be able to drive the rover from there. The eventual
goal is 100% web based, and no need for any software on the drivers computer
except a browser.
Subscribe to:
Posts (Atom)