hi everybody. i 'm trying to program a quadpod with a basic stamp 2 but i have somme difficulties.the programme is too heavy for the basic stamp and the ram are too small for all variable for an inverse kinématics. could you give me an advice to choose an powerfull µc compatible with my ssc32? i have seen 32 bit microcontrolleur. it is that i need ? if it possible to have it programable in pasic, because i know this language.
There are tons of possibilities here. Up until the last year or so, most of the Hexapods up here on Lynxmotion were developed used the Basic Micro Atom Pro 28 and the Arc32 which has more memory and speed and both using Basic. Note: Their basic is slightly different than the Basic stamp, but not that much different.
These days Lynxmotion is mostly using Arduinos, in particular the Botboarduino, which uses an Atmega328, like the Arduino UNO… But this uses the Arduino environment (C/C++). We have a version of the Phoenix code base that runs on almost all Arduino and Arduinoish processors. My current version of the code base is up on github github.com/KurtE/Arduino_Phoenix_Parts . I have at different times tried this out on: Botboarduino, Arduino Mega, Arbotix (Atmega 644p), Arduino Due, Chipkit Uno32/Max32 (pic32) and currently playing with it with a Teensy 3.1. Any of these processors can talk to the SSC-32.
Also if you want more power, you can choose from many different Linux based systems, like the Raspberry Pi, BeagleBone Black, Odriod. You can get a lot of power going this route, but it has a much larger learning curve. I also have versions of the Phoenix code base that runs on Linux, up on github (github.com/KurtE/Raspberry_Pi). But again this is programmed in C/C++. I believe that there are also Basic Compilers/Interpreters for some of the linux boxes. I have never used them so don’t know how well they work, or how compatible they are with your Basic Stamps basic. There are also other languages available on these boxes as well. Example there are several people who have their robots programmed using Python.
I am sorry that I have not given any definitive answer here. There are just so many options to choose from.
my second question is wich is the best for a remote controled robot ?, i think i have to learn c++, and i have started to do this, for powerfull computing option. i have seen an wireless keyboard for rasbery pi but i’m not sure it is the best choice, could you helpme to choose ?
i have search on the web and i found the rasbery very intresting, my question is : how to connect pi and ssc32 togheter? i suppose i need a wire USB to COM to do this, exactly like between office computer and ssc32, could you confirm this ? and how in C++ can i sent string to USB? any example ? somebody have try to program rapsberry with visual c++ ?
I have hooked up Raspberry Pi to SSC-32, although in my case was using a prototype SSC-32u which has a USB interface. Not sure what the status of that product is, but for now, yes typically the easiest way to hook up the Raspberry Pi is through a USB to serial adapter, like office computer. If I remember correctly the RPI also has a TTL level usart on it’s expansion connector. I have not done so, but you might be able to use it. However, If I remember correctly it is 3.3v only so you you would need some form of level shifter like: sparkfun.com/products/12009
As for visual C++ this is a Microsoft Windows only product. However it comes with (or you have to install some pieces) of the GCC compilers. I have a version of the Phoenix code base running on several Linux boxes including the RPI. Stuff is up at: github.com/KurtE/Raspberry_Pi Note: the Readme at the start of this project is my notes to myself on what to do to configure the different boxes, including how to download the code and build it…