can we use the raspberry pi 3 model b for the radioshack robotics starter kit instead of using the arduino uno
can we use the raspberry pi 3 model b for the radioshack robotics starter kit instead of using the arduino uno
The simple answer is yes you can but with a couple of tasks before you will get it working
1. The Arduino talks to the board using software serial on pins 2 and 3 and has level shifter circuit to adapt to 5V (The Dragon chip is 3V3 as is the PI), this level shifter will need to be bypassed to make it all work at 3V3. (A simple task with a soldering iron)
2. You will need to study the arduino code to see the serial commands and responses used to talk to the board and re-code in python, C, C++ or whatever your programing language of choice is. There are a few LED outputs that can be connected to GPIO of the PI
You won't be able to monitor the batter voltage as the PI has no ADC (You could add a separate one.
The wiring will have to be via jumpers as the motor shield will not sit on the PI
Reference is this https://github.com/RadioShackCorp/2770168-MakeItRobotics-Starter-Kit/blob/master/Schematics/2770168-CorePCB_schematic.pd…
All the code is here for the arduino https://github.com/RadioShackCorp/2770168-MakeItRobotics-Starter-Kit/blob/master/Library/MakeItRobotics/MakeItRobotics.c…
and it is easy to see how to talk to the board via a serial connection
The simple answer is yes you can but with a couple of tasks before you will get it working
1. The Arduino talks to the board using software serial on pins 2 and 3 and has level shifter circuit to adapt to 5V (The Dragon chip is 3V3 as is the PI), this level shifter will need to be bypassed to make it all work at 3V3. (A simple task with a soldering iron)
2. You will need to study the arduino code to see the serial commands and responses used to talk to the board and re-code in python, C, C++ or whatever your programing language of choice is. There are a few LED outputs that can be connected to GPIO of the PI
You won't be able to monitor the batter voltage as the PI has no ADC (You could add a separate one.
The wiring will have to be via jumpers as the motor shield will not sit on the PI
Reference is this https://github.com/RadioShackCorp/2770168-MakeItRobotics-Starter-Kit/blob/master/Schematics/2770168-CorePCB_schematic.pd…
All the code is here for the arduino https://github.com/RadioShackCorp/2770168-MakeItRobotics-Starter-Kit/blob/master/Library/MakeItRobotics/MakeItRobotics.c…
and it is easy to see how to talk to the board via a serial connection