how to communicate with other microcontroler
hi,
As i run out of pin cause of the 2 stepper motors. I suppose that i should add other microcontroler to manage few module.
In fact i would like to use the javelin as the heart of the system to manage other microcontroler.
As i got 16 pin on the javelin i could connect 8 microcontroler using one input and 1 output for every microcontroler.
The problem is that i do not know how to use microcontroler and if it is possible to connect sensor to it.
could someone give me some indication on how to choice microcontroler depending on the type of sensor (IC2, uart, PWM).
Some link would be nice.
regards
As i run out of pin cause of the 2 stepper motors. I suppose that i should add other microcontroler to manage few module.
In fact i would like to use the javelin as the heart of the system to manage other microcontroler.
As i got 16 pin on the javelin i could connect 8 microcontroler using one input and 1 output for every microcontroler.
The problem is that i do not know how to use microcontroler and if it is possible to connect sensor to it.
could someone give me some indication on how to choice microcontroler depending on the type of sensor (IC2, uart, PWM).
Some link would be nice.
regards
Comments
i forgot the main question. It is possible to do such implementation ?
you might consider offloading the stepper motors to some peripheral print,
freeing up the pins for your sensors. The javelin can do I2C, pwm, uart, spi
directly and provide large buffers if necessary.
Here is a link to some stepper motor control schematics:
http://www.doc.ic.ac.uk/~ih/doc/stepper/control2/connect.html
regards peter
it look like the UCN5804B·should allow me to use only 4 pin of the javelin rather than 8 with the ULN28 that i got.
Even 3 pin if i connect the two UCN5804B Half Step pin to 1 pin of the Javelin and i keep 2 pin for the direction.
the reverse fonction is very interesting so i even do nt need to add a shift register to inverse the rotation.
·
Is there a relation between the output Intensity(A) and the weigth of the robots ?