Questions about Stingray Chassis Kit and C++ programing
iguardianl
Posts: 4
Hello I had a few questions regarding the Stingray Chassis Kit that im hoping someone will help me answer.
1. Does the chassis kit now ship with orange wheels instead of blue wheels and am I able to change that?
2.I have a boe bot with a board of education on it and a p basic stamp I am wondering is there anyway I can convert this to be programed in c++?
3. Im looking for the cheapest way possible to program the stingray with c++ and was wondering did anyone have any suggestions I was thinking about the arduino board but if I could use the board off my boe bot from the question above that would be cheaper but im not sure if I can use any of it or if its possible.
Thank you for your time I appreciate any and all help.
1. Does the chassis kit now ship with orange wheels instead of blue wheels and am I able to change that?
2.I have a boe bot with a board of education on it and a p basic stamp I am wondering is there anyway I can convert this to be programed in c++?
3. Im looking for the cheapest way possible to program the stingray with c++ and was wondering did anyone have any suggestions I was thinking about the arduino board but if I could use the board off my boe bot from the question above that would be cheaper but im not sure if I can use any of it or if its possible.
Thank you for your time I appreciate any and all help.
Comments
3. I won't comment on "cheapest", but you can use the Parallax Propeller with PropellerGCC to program in C++. To control the Stringray you need some additional hardware besides the processor (notably 2 motor controllers).
How would the board of education work shield, along with arduino board, and then the would the only problem be the power supply?
I was googling and came across this as a possible way to power the motor using the arduino uno. I know fairly little about electronics would this work with the above set up?
Would what work?
im not sure how the motors plug though if they do like the servos or otherwise.
I know I still need motor controllers power supply etc.
As for a cheap motor controller go to STMicro's web site and request a sample for an l6205 DIP IC. This chip will handle both of the stingrays motors, and only needs a few cap/diodes/resistors to get working
That's a dangerous statement to make, even in a Parallax forum.
I actually enjoy using Arduinos, if you already know C its a very simple fast way to get things done, but its not good for everything. I would say any interrupt based 8 bit CPU without an dedicated hardware for quadrature decoding isnt a good idea, Imagine 140 count encoders at 100 RPM, at full resolution this equates to reading 56,000 interrupts per second. While an Arduino or other 8 bit controller may handle something like this just fine, these interrupts will really throw off any determinism in your main loop. Just sounds like a bad idea when theres another choice that has many more cores which allow for 100% deterministic timing.
If you really dont want a propeller, and you want to use C, try an ARM solution, or even the Arduino DUE which runs Ardunio on an ARM mCU. Please just dont rely on an Uno to be the main brain for a sting ray!
It's a good thing I wasn't aware of all of those limitations when I got amazing navigational repeatability out of a lowly BS2 and Pbasic, or I never would have tried!
http://www.youtube.com/watch?v=PX0IhUqnwrk
The reason im pointing out the problems with the UNO to the original poster is because I don't want to see him waste a lot of time with a micro that isnt as capable as people think it is, I probably wasted about 2 months with before I decided it wasn't right for me. Its not that the limitations I listed cant be overcome with some simple 74HC4060 counters or something along those lines, its more of a question of why take the path of most resistance with such a nice robot chassis. With a prop the OP can expand to 360 degree of ping sensors, multiple pan and tilts, a few laser range finders, even some simple machine vision. If the OP just has one or two goals in mind like line following or dead reckoning im sure an arduino uno or bs2 will suit him just fine, but if he wants to really build the sting ray up, eventually those smaller micro's aren't going to cut it anymore. The sting ray kind of strikes me as as a platform for those who have big plans to combine a lot of different technology's together.