piborg rev and an Arduino

Hi
Is it possible to run a board using an arduino uno rather than a PI. I have several sitting around and would like to experiment with them.

cheers

piborg's picture

It is possible to use an Arduino Uno to control a PicoBorg Reverse:

We have an example project which includes the library to make controlling the PicoBorg Reverse as simple as it is with the Raspberry Pi.
The example has a simple demo sequence which will check it is talking with the PicoBorg Reverse correctly.
The example also includes wiring instructions for most Arduino boards and a detailed explanation of what it does in the code comments.

You can download the example here: https://www.piborg.org/downloads/picoborgrev/PicoBorgRevArduino.zip

Thanks for the info looks like what I am looking for.
cheers

Hi
I have tried to compile the code in the above link but get multiple definition errors
icoBorgRevArduino/PicoBorgRev.cpp.o: In function `PbrSetEncoderSpeed(int)':
/Users/jackhider/Documents/Arduino/libraries/PicoBorgRevArduino/PicoBorgRev.cpp:379: multiple definition of `PbrSetEncoderSpeed(int)'
PicoBorgRev.cpp.o:PicoBorgRev.cpp:379: first defined here
PicoBorgRevArduino/PicoBorgRev.cpp.o:(.data.pbrAddress+0x0): multiple definition of `pbrAddress'
PicoBorgRev.cpp.o:(.data.pbrAddress+0x0): first defined here
PicoBorgRevArduino/PicoBorgRev.cpp.o: In function `PbrEncoderMoveMotors(int)':
/Users/jackhider/Documents/Arduino/libraries/PicoBorgRevArduino/PicoBorgRev.cpp:344: multiple definition of `PbrEncoderMoveMotors(int)'
PicoBorgRev.cpp.o:PicoBorgRev.cpp:344: first defined here
PicoBorgRevArduino/PicoBorgRev.cpp.o: In function `PbrEncoderMoveMotor1(int)':
/Users/jackhider/Documents/Arduino/libraries/PicoBorgRevArduino/PicoBorgRev.cpp:322: multiple definition of `PbrEncoderMoveMotor1(int)'
PicoBorgRev.cpp.o:PicoBorgRev.cpp:322: first defined here
PicoBorgRevArduino/PicoBorgRev.cpp.o: In function `PbrEncoderMoveMotor2(int)':
/Users/jackhider/Documents/Arduino/libraries/PicoBorgRevArduino/PicoBorgRev.cpp:300: multiple definition of `PbrEncoderMoveMotor2(int)'
PicoBorgRev.cpp.o:PicoBorgRev.cpp:300: first defined here
PicoBorgRevArduino/PicoBorgRev.cpp.o: In function `PbrSetEncoderMoveMode(bool)':
/Users/jackhider/Documents/Arduino/libraries/PicoBorgRevArduino/PicoBorgRev.cpp:270: multiple definition of `PbrSetEncoderMoveMode(bool)'
PicoBorgRev.cpp.o:PicoBorgRev.cpp:270: first defined here
PicoBorgRevArduino/PicoBorgRev.cpp.o: In function `PbrSetCommsFailsafe(bool)':
/Users/jackhider/Documents/Arduino/libraries/PicoBorgRevArduino/PicoBorgRev.cpp:211: multiple definition of `PbrSetCommsFailsafe(bool)'
PicoBorgRev.cpp.o:PicoBorgRev.cpp:211: first defined here
PicoBorgRevArduino/PicoBorgRev.cpp.o: In function `PbrSetEpoIgnore(bool)':
/Users/jackhider/Documents/Arduino/libraries/PicoBorgRevArduino/PicoBorgRev.cpp:183: multiple definition of `PbrSetEpoIgnore(bool)'
PicoBorgRev.cpp.o:PicoBorgRev.cpp:183: first defined here

have i done something wrong in installing it
cheers

Its ok I sorted it, put file in wrong place.

I have a pro mini I would like to use with the piborg. I have run a test and it seems to be ok, however, the board is a 5v 16Mhz unit and doesn't seem to have a 3.3v output only a 5v one.
My question is can I run the board on 5v on the 3.3v pin or am i going to need a separate supply.

cheers

piborg's picture

The PicoBorg Reverse will work fine with the 3V3 pin connected to a 5v supply.

The 3V3 pin is the power for the onboard PIC, it is also the reference "high" level for SCL and SDA.
It should work with any voltage between 1.8v and 5.5v, the LED brightness may change though.

Subscribe to Comments for "piborg rev and an Arduino"