Page 1 of 1

PR23 + Arduino

PostPosted: Tue Nov 01, 2011 11:40 pm
by GkRayne
I was just wondering, if there's possibility to use an Arduino Duemilanove on PR23?
As into just only by replacing the PIC16F877A with Arduino (slotting jumpers into the existing PIC slots accordingly), yet still able to use the line following, motor drivers etc?

For the moment, I would just want to make use of the motor driver. How is it done?

Thanks.

Re: PR23 + Arduino

PostPosted: Wed Nov 02, 2011 8:43 am
by robosang
I don think there is problem with that suggestion. Just need to make sure the arduino have sufficient pin to control the PR23. If that project have parallel LCD and you like to use it, you will need to check it as parallel LCD will use up quite a number of output pin. Even in 4-bit mode, it uses 6 output pin.

Motor control will not be much, maybe 2 to 3 pins for single motor, so for 2 channels you should need either 4 to 6 pins.

How all this being done? Check the original schematic, which pins are being use for motor driver? Replace that pin with arduino pin.

Re: PR23 + Arduino

PostPosted: Wed Nov 02, 2011 10:40 am
by sich
I think Arduino has limited I/O pins since it's using a 28-pin Atmega328, while PR23 is using 40-pin PIC.

If you want to build a mobile robot based on Arduino, this Aluminum Robot Chassis Complete Set can be used. You can look at the description for the controller boards, motor driver and sensors that can be mount on this robot base. Another similar product is Educational Mobile Robot 2.0 (EDUBOT2).

Re: PR23 + Arduino

PostPosted: Wed Nov 02, 2011 5:03 pm
by low5545
pins insufficient are not a problem. We can use 74HC595 IC for extra digital ouputs, 74HC165 IC for extra digital inputs and the 74HC4051 for extra analog/digital inputs/outputs. (all IC's use 3 digital pins of the Arduino, only 74HC595 and 74HC165 can do daisy chain (8 bit))