Electronics > Electronics
ARM7 question
santiagoe:
1st, i woul like to ask ya which one of the following two microcontrollers do ya think is the best and that i should buy along with Dev. board for it?
a) www.futurlec.com/ET-ARM_Stamp.shtml (LPC2119 Micorocontroller)
This is the Dev board for it: http://www.futurlec.com/ET-ARM_Stamp_Board.shtml
b) www.embeddedartists.com/products/boards/lpc2106.php (Philips ARM7TDMI LPC2106 microcontroller;LPC2106 QuickStart Board ).
This is the quick start Dev board for it: http://www.embeddedartists.com/products/boards/prototype.php
2nd, i have currently a 4 wheel robot setup: 4 gear motors taken from a two jeeps that is sold in walmart for kids up to 100lbs can ride), 4 hb-25 motor controllers---one for each motor.
2 ultra sonic range finders from parallax
INfrared setup ( one receiver and two emmiters).
i'm using a basic stamp 2.
But know i want to move up the food chaine and use a better more hip ucontroller and so i chose the ARM7. but i will also be using the avr128 aswell in the future.
I want to upgrade my robot by using a camera and wireless connection. I want to avoid obstacles not just with infrared and ultronsonic range sonars but also with vision. That's why i want to use a better ucontroller.
but i dont know if anyone knows how to write a program in c to control 2 sonars or more in C language (i
am a c++ novice).
or how to control a servo in the c language
or how to control irled and receiver in c language
I just want to ask ya if ya do know this if ya would help me ?
hgordon:
I am very familiar with the Embedded Artists LPC2106 board. I haven't used the Futurlec boards, but that LPC2129 board is a really good deal.
Some things to consider -
1. the LPC2129 only has 16kb ram, so you won't be able to do any onboard image processing with a camera interface. the LPC2106 has 64kb ram, and we do use it for image processing. however, if you are using a CMUcam, you don't need much memory, so the LPC2119 will be okay
2. the LPC2129 has some a/d channels which are useful for some sensors (e.g. compass, temperature, accelerometer, etc). the LPC2106 has no a/d - this hasn't been an issue, though occasionally it would be nice to have it
3. the LPC2106 has 6 PWM channels, but 2 of those channels are shared with UART0 and the other 2 with UART1. so if you are using both UARTs (we do), you are left with only 2 PWM channels. If 2 channels can be used to control 4 motors, then you are in good shape. Alternatively, if you have an electronic speed controller that takes 2 servo inputs to control 4 motors, that will likewise work. I don't know for certain, but imagine that the LPC2119 is set up the same way
So bottom line is that either microcontroller is probably a good choice, and the development boards are cheap plus they will probably save you some time.
santiagoe:
the hb-25 motor controll is connected to a ucontroller and controlled just like a servo. So i want need to worry about how many pwm and how many are left. right? i mean i think on the basic stamp2 i just connect the motor controllers to 4 pins 12,13,14,and 15 thats it (one for signal is the one that connects to ucontroller and than the other 2 or ground and voltage. i m thinking that connecting 4 motor controllers want be a problem right. because i want to also connect a total of 4 or 6 sonars camera torrent , chip with sound and speech (for sound and speech recognition) and more sensors o and wireless. Will i have a problem.
santiagoe:
If any one can further elaborate on this subject i will appreciate it.
By the way if ya had the option to connect a CMUcam 2 or CMUcam3 which one would ya choose?
I mean for vision navigation and recognition. I want to use either one of this with the ARM7 2106 or LPC2119.
and would anyone one know how to connect them to a ARM7 ?
hgordon:
I haven't used CMUcam or AVRcam, but believe they interface through one of the ARM7 uarts. Likewise, I'm not familiary with your motor controller, but it sounds like it just needs 2 PWM channels, so either LPC2106 or LPC2119 should work for you.
Navigation
[0] Message Index
[#] Next page
Go to full version