![]() | ![]() | ![]() |
| |||||||
| Robotics Chat Specific to discussions about robots and the making of. |
![]() |
| | Tools |
| | #1 |
|
I have never used c or basic programming before. I decided to look at what microcontrollers I could buy that would be able to to direct an autonomous robot that uses an ultrasonic transceiver to detect the objects. I thought the microcontroller would be able to interpret the signals from the transceiver and turn on the right motor, the left motor, or both motors depending on which way the robot would have to go to evade the object. I looked at the basic stamp and I also looked at the PIC. I know the the PIC is cheaper but how much harder is the PIC and are the PIC programmers compatible with most of the PIC's or or just some of them? Any other advice?
| |
| |
| | #2 |
|
If you get the 18F series PIC, Microchip supplies a free C compiler. There are also free BASIC compilers like SwordFish which will work with an ordinary PIC. Since you know neither language, the choice is yours. Personally, I'd go with the 18F series and the C compiler. The basic stamp would be too limiting for a project like this. For programmers look at the PicKit2 or a clone like Blueroom's junebug.
__________________ Inside every little problem, is a big problem trying to get out. | |
| |
| | #3 |
|
well I would say buy a pickit2 with demo board it comes with 16f690, just go through all the example codes given in the user guide of the board, of course the codes will be in assembly language but it will be very easy for you to program C after working on that, just if you want to go that way.... I found that easy. Cheers !
__________________ CHRIS | |
| |
| | #4 |
|
So the PIC and C programming would be the to go? Would the PIC kit provide me with all the tools to program and run the PIC?
| |
| |
| | #5 |
|
The PIC programmer is a tool, just like a screwdriver. It's what you need to get your program on the PIC, the tough part is writing the program. Even for an experienced programmer it's no cakewalk to write autonomous robot software. You're going to have to walk before you can run. Start with flashing an LED. Last edited by blueroomelectronics; 28th July 2009 at 05:26 PM. | |
| |
| | #6 |
|
For what you want to do you should not pick a pic. Unless you go for a kit like this ![]() You can read about it here blueroomelectronics Mongoose kit Or a Parallax boebot Read here Boe-Bot Robot InformationStamp being the easiest to set up. You'll learn a lot with it Or you could go with bills kit bigger learning curve but a lot more you can do as skills are learned | |
| |
| | #7 |
|
I based the Mongoose on the BoeBot dragwheel design (I wish I sold 90,000 units like the BoeBot did!) The BoeBot has an excellent manual (available free online from Parallax) and a worthwhile read for any robot enthusiast. It BoeBot:
| |
| |
| | #8 | |
| Quote:
Last edited by be80be; 28th July 2009 at 06:10 PM. | ||
| |
| | #9 |
|
Yeah that would be awesome to make. I hope someday I will be making those.
| |
| |
| | #10 |
|
Have you ever programmed in any language? If not, maybe you should start with a Lego Mindstorm kit and the visual "programming". Or, start with BASIC as I think it is a simpler language to learn because the syntax is simpler and much less fussy than C. You learn the fundamental concepts of procedural programming without getting bogged down in minutiae. I think it would be easier to focus on programming the robot if the language doesn't get in the way. Mind you I love the C programming language, and prefer it for robotics programming, but it is a fairly steep learning curve for someone totally new to programming and programming languages. And in my limited experience so far, programming robots to do anything remotely complex is not easy at all.
__________________ Michael Shimniok http://bot-thoughts.blogspot.com/ Microcontrollers can solve world hunger, too! | |
| |
|
| Tags |
| robotic programming pic |
| Thread Tools | |
| Display Modes | |
| |
Similar | ||||
| Title | Starter | Forum | Replies | Latest |
| Robotic hand Programming | divit | Robotics Chat | 64 | 10th June 2009 05:36 AM |
| robotic arm | hiyan | Robotics Chat | 24 | 16th December 2008 02:31 PM |
| Which PIC for Robotic Arm? | baberjaved | Micro Controllers | 9 | 8th September 2007 08:28 PM |
| robotic arm | kitin21 | Electronic Projects Design/Ideas/Reviews | 10 | 13th January 2004 01:42 PM |
| Robotic Arm | pd240x | Electronic Projects Design/Ideas/Reviews | 0 | 11th September 2003 02:27 AM |