Hello i use 6x 12v 100rpm motors, 1x Tuhnderborg motor controller and a raspberry pi 3. And a chassis from the 3D printer. No sensors!
Which software? Monsterborg Software or Didiborg Software.?
Both the MonsterBorg and DiddyBorg v2 software can work with ThunderBorg based robots. I would recommend starting with the DiddyBorg v2 software.
Before running the scripts you will need to make sure that the power settings are correct. By default they are setup for 12V motors and a 12V battery pack (10x rechargeable AAs).
To change the power settings look for this section in each of the scripts starting with diddy:
# Power settings
voltageIn = 12.0 # Total battery voltage to the ThunderBorg
voltageOut = 12.0 * 0.95 # Maximum motor voltage, we limit it to 95%...
voltageIn should be set to the voltage of your battery pack and voltageOut should be set to the voltage of your motors.
Thanks a lot! I use 12v motors and 10x AA pack so I do not need any changes here. Are there any other changes regarding smaller engines and Monsterborg software?
No other changes are needed for the MonsterBorg software. As long as the voltages are correct the motors will work as intended :)
The only major difference between the code for the two robots is how the motors are wired to the ThunderBorg. In the MonsterBorg scripts the left side motors are connected to M2, for the DiddyBorg v2 the left side motors are connected to M1.
The scripts are easy to fix if the wiring does not match your robot. In both cases look for these lines in the scripts (they are in different places in each script):
First check if driving forwards works. If the robot spins then one side needs to be driven the other way. If the robot moves backwards then both sides need to be driven the other way. This can be done one of two ways:
Swap the + and - connections to the motors on the side that needs to be the other way
Add a - sign when setting the motor power like this:
The other potential difference is that left and right are swapped. Once forward motion works check the steering. If left and right seem to be swapped over then the outputs in the code do no match the robot. This is probably best fixed in code by swapping SetMotor1 and SetMotor2 like this:
If you are talking about the Web UI there are two resolutions you might want to change.
The first is the actual camera resolution, which affects the quality of the shown image and the size of the photos taken. This is set by the imageWidth and imageHeight values in the settings section towards the top of the script.
The second is the size the image is shown as on screen. To adjust this you need to look for this line:
piborg
Sun, 05/13/2018 - 12:05
Permalink
Custom robot software
Both the MonsterBorg and DiddyBorg v2 software can work with ThunderBorg based robots. I would recommend starting with the DiddyBorg v2 software.
Before running the scripts you will need to make sure that the power settings are correct. By default they are setup for 12V motors and a 12V battery pack (10x rechargeable AAs).
To change the power settings look for this section in each of the scripts starting with
diddy
:voltageIn
should be set to the voltage of your battery pack andvoltageOut
should be set to the voltage of your motors.Neokey
Sun, 05/13/2018 - 13:14
Permalink
Change settings
Thanks a lot! I use 12v motors and 10x AA pack so I do not need any changes here. Are there any other changes regarding smaller engines and Monsterborg software?
piborg
Sun, 05/13/2018 - 14:33
Permalink
MonsterBorg software with custom robots
No other changes are needed for the MonsterBorg software. As long as the voltages are correct the motors will work as intended :)
The only major difference between the code for the two robots is how the motors are wired to the ThunderBorg. In the MonsterBorg scripts the left side motors are connected to M2, for the DiddyBorg v2 the left side motors are connected to M1.
The scripts are easy to fix if the wiring does not match your robot. In both cases look for these lines in the scripts (they are in different places in each script):
First check if driving forwards works. If the robot spins then one side needs to be driven the other way. If the robot moves backwards then both sides need to be driven the other way. This can be done one of two ways:
-
sign when setting the motor power like this:The other potential difference is that left and right are swapped. Once forward motion works check the steering. If left and right seem to be swapped over then the outputs in the code do no match the robot. This is probably best fixed in code by swapping
SetMotor1
and SetMotor2 like this:Neokey
Tue, 05/22/2018 - 09:28
Permalink
a small question
can you tell me how I can adjust the camera resolution?
piborg
Tue, 05/22/2018 - 21:24
Permalink
Camera resolution
If you are talking about the Web UI there are two resolutions you might want to change.
The first is the actual camera resolution, which affects the quality of the shown image and the size of the photos taken. This is set by the
imageWidth
andimageHeight
values in the settings section towards the top of the script.The second is the size the image is shown as on screen. To adjust this you need to look for this line:
You can change the size by adjusting the numbers after
width:
andheight:
.