Using ARM1176JZF-S Kit (DS-5 tools), I need to control stepper motor based on the output of ultrasonic sensor (which detects objects). I have already done the project in 8051 microcontrollers but how to do it in arm board. Let's first concentrate on the getting input from ultrasonic sensors. Please tell me where on the arm board do I need to connect the sensor. Please give some tips in writing the code( preferably in c). Can we implement this on software before hard ware implementation, if so how?
Hi Albert,
Yes that's an ARM developed board.
In terms of peripheral connectivity the board is mostly designed for application software development on a "big OS" like Linux or Windows CE; it's not really designed as a microcontroller development platform which can interface with the outside world. There are some options out-of-the-box but far fewer than you might get on a dedicated micro-controller system based on a Cortex-M, such as an http://mbed.org/.
On the interface side you have a small number of GPIO pins (http://infocenter.arm.com/help/topic/com.arm.doc.dui0425f/Babidigi.html), and some of the bigger PC-like connectivity options (USB, Ethernet). Unlike a real microcontroller this platform has no ADC, DAC, or PWM controllers - so motor control will be difficult to do directly unless you modulate directly off the GPIO.
HTH, Pete
Thank you sir. Because of certain constraints, I have to do the project in this board only.Kindly elaborate the out-of -the-box options you were referring to. Please help me the best you with this project cause I am totally new to this and I have deadlines to meet.
> Kindly elaborate the out-of -the-box options you were referring to
As mentioned - all you really have are some generic GPIO pins which can be poked via the PL061 peripheral bock (see j39 in the diagram here: RealView Platform Baseboard for ARM1176JZF-S User Guide: 3.1.1. PCB layout), and higher-level connectivity options (serial, usb, ethernet).
Sir,
Is it possible to simulate before actually connecting the sensors and motors in DS-5 TOOLS?
From where / how to learn to do programs with the GPIOs?
Where can I find example programs that deal with GPIOs and timers?