Basic Stamp vs. AVR
Hello,
I've purchased loads of Parallax products over the years. I started out using them with the Basic Stamps, but eventually I moved on to AVR's. I encountered some trouble interfacing the Parallax sensors to them (I program in C). Here's a sample of the stuff I've purchased:
Hitachi HM55B Compass Module
Parallax GPS Receiver Module
PING))) Ultrasonic Sensor
PIR Sensor
Hitachi H48C Tri-Axis Accelerometer Module
Sensirion Temperature and Humidity Sensor
A lot of times I find it somewhat difficult to figure out how to interface the sensor to the microcontroller using C. I know it's possible, but it's hard for me. In particular, the GPS unit has never really worked that great because of that single wire interface.
Anyways, I'm starting to think I should go back to Basic Stamps because of the source code Parallax provides. I know nobody on here will tell me not to [noparse]:)[/noparse]. I'm thinking of having a Basic Stamp interpret the sensors then transmit the data serially to the main microcontroller. I mainly deal with robots, so there's lots of sensors.
But, I wanted to see if there are other people who have experienced the same thing. Hopefully someone can give me some good advice as to what I can do. Maybe, a resource to help "convert Parallax Basic to C"...that type of thing. I know most if not all of the interfacing is standard interfacing, but I do real well with sample code...like the Parallax Basic sample code.
p.s. If this thread can't be answered because of the nature (talking about non-parallax products), I understand.
I've purchased loads of Parallax products over the years. I started out using them with the Basic Stamps, but eventually I moved on to AVR's. I encountered some trouble interfacing the Parallax sensors to them (I program in C). Here's a sample of the stuff I've purchased:
Hitachi HM55B Compass Module
Parallax GPS Receiver Module
PING))) Ultrasonic Sensor
PIR Sensor
Hitachi H48C Tri-Axis Accelerometer Module
Sensirion Temperature and Humidity Sensor
A lot of times I find it somewhat difficult to figure out how to interface the sensor to the microcontroller using C. I know it's possible, but it's hard for me. In particular, the GPS unit has never really worked that great because of that single wire interface.
Anyways, I'm starting to think I should go back to Basic Stamps because of the source code Parallax provides. I know nobody on here will tell me not to [noparse]:)[/noparse]. I'm thinking of having a Basic Stamp interpret the sensors then transmit the data serially to the main microcontroller. I mainly deal with robots, so there's lots of sensors.
But, I wanted to see if there are other people who have experienced the same thing. Hopefully someone can give me some good advice as to what I can do. Maybe, a resource to help "convert Parallax Basic to C"...that type of thing. I know most if not all of the interfacing is standard interfacing, but I do real well with sample code...like the Parallax Basic sample code.
p.s. If this thread can't be answered because of the nature (talking about non-parallax products), I understand.
Comments
I program AVR's when the need calls for it, but there is so much 'built' into the BASIC Stamp language that's hard to duplicate easily.
For robotics and something higher the BS2, I really recommend the Propeller from Parallax. Having 8-cores each being used in different ways for the robots control, an easy language, the support of Parallax and it's users, and my 'BS2 functions' object for the propeller, plus many ready-made object for the parallax devices, it can't be beat and you'll love it.
So, check out getting a protoboard for $25, a propPlug for $25, and start having a blast.
-Martin
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
SelmaWare Solutions - StampPlot GUI for controllers, XBee and Propeller Application Boards
Southern Illinois University Carbondale, Electronic Systems Technologies
American Technical Educator's Assoc. Conference·- April, Biloxi, MS. -- PROPELLER WORKSHOP!
Thanks for the advice.· I just bought the Propeller stuff. It looks very cool.· I'm eager to try it out!
Jared