Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Lauszus

Pages: [1] 2 3 ... 9
1
Questions / Re: Motor
« on: October 20, 2017, 09:42:35 AM »
You can buy similar motors to the ones used for the Balanduino at Pololu: https://www.pololu.com/product/2823.

Regards
Kristian Sloth Lauszus

2
Questions / Re: encoders and schematics for balanduino board
« on: May 29, 2017, 03:10:10 PM »
The schematic in pdf format is located in the Github repository at the following link: https://github.com/TKJElectronics/Balanduino/tree/master/PCB.

Regards
Kristian Sloth Lauszus

3
Software development / Re: Programing Balanduino code
« on: March 06, 2017, 11:31:30 PM »
Hi Sten,

1. targetOffset is used in order to control the Balanduino forward and backward. This will set an offset angle, which is then used as the input to the PID controller. Please see: https://github.com/TKJElectronics/Balanduino/blob/0a7c3d0dcb45b54746e9ff507bba430c2bd7e807/Firmware/Balanduino/Motor.ino#L44-L46.

2. Yes you control the Balanduino forward and backward by setting the targetOffset. Please see the following file: https://github.com/TKJElectronics/Balanduino/blob/0a7c3d0dcb45b54746e9ff507bba430c2bd7e807/Firmware/Balanduino/Bluetooth.ino.

3. The scale function simply maps the input value "a" with the range between "b" and "c" linearly to an output value between "d" and cfg.controlAngleLimit. For instance this line: https://github.com/TKJElectronics/Balanduino/blob/0a7c3d0dcb45b54746e9ff507bba430c2bd7e807/Firmware/Balanduino/Bluetooth.ino#L351 converts the input value with the range 0-1 to 0-cfg.controlAngleLimit.

Note that cfg.controlAngleLimit can be set via any of the provided apps or just the serial monitor. By default it is set to 7 degrees: https://github.com/TKJElectronics/Balanduino/blob/0a7c3d0dcb45b54746e9ff507bba430c2bd7e807/Firmware/Balanduino/EEPROM.ino#L56.

Regards
Kristian Sloth Lauszus

4
Software development / Re: Programing Balanduino code
« on: February 20, 2017, 04:45:44 PM »
Hi Sten,

You need to be more specific. What exactly do you want to do? Do you want to move the Balanduino from your own application?

Regards
Kristian Sloth Lauszus

5
Hardware mods / Re: MEGA2560
« on: February 03, 2017, 10:52:29 AM »
Hmm I don't really know. Maybe those interrupts has a lower priority? Unfortunately I don't know anyway to solve your problem. Please keep me posted if you find a solution.

Regards
Kristian Sloth Lauszus

6
Yes you can. Please read the following section of the readme: https://github.com/tkjelectronics/Balanduino#rc-transmitter.

Regards
Kristian Sloth Lauszus

7
Getting Started / Re: Wheels go in opposite directions at full speed
« on: June 02, 2016, 11:59:31 AM »
I would recommend the following motors: https://www.pololu.com/product/2823.

Regards
Kristian Sloth Lauszus

8
Software development / Re: PID loop time
« on: May 29, 2016, 01:05:42 PM »
The loop time is about 10 ms.

Regards
Kristian Sloth Lauszus

9
Please make sure that you have selected the right revision in the "Tools>Revision" menu. You can see the revision on your main board.

Regards
Kristian Sloth Lauszus

10
Questions / Re: Balanduino hardware taking damage from falling?
« on: April 15, 2016, 12:24:11 AM »
No the Balanduino hardware will not take damage from simply falling on the floor, as it is protected by the wooden plates which are held together using the threaded rods.

No the long beep can also mean that the Balanduino is not at rest when it calibrates the gyroscope at startup. Please see the following lines in the code: https://github.com/TKJElectronics/Balanduino/blob/master/Firmware/Balanduino/Tools.ino#L446-L462. This is called from the main function here: https://github.com/TKJElectronics/Balanduino/blob/master/Firmware/Balanduino/Balanduino.ino#L268.

The gyro drift you are seeing is likely caused by the calibration routing getting wrong values because the Balanduino is not at rest. I would recommend putting the Balanduino on its side when turning it on.

PS: Sorry for the long delay in my response. I must have missed you post in my inbox.

Regards
Kristian Sloth Lauszus

11
Software development / Re: LQR/LQG Controller
« on: April 14, 2016, 11:23:18 PM »
Currently a LQR controller is not implemented on the Balanduino, but I might be able to help you anyway, as I got a lot of experience in that field.

Regards
Kristian Sloth Lauszus

12
Getting Started / Re: Autonomous Balanduino
« on: April 14, 2016, 11:22:05 PM »
Hi,

Unfortunately that is not official available, but it is differently possible.

Regards
Kristian Sloth Lauszus

13
Getting Started / Re: Wheels go in opposite directions at full speed
« on: March 29, 2016, 06:16:39 PM »
Please add this somewhere in your loop:
Code: [Select]
moveMotor(left, forward, 50);
moveMotor(right, forward, 50);

while (1) {
Serial.print(readLeftEncoder());
Serial.write('\t');
Serial.print(readRightEncoder());
delay(100);
}
And confirm is the values are decreasing or not?

Regards
Kristian Sloth Lauszus

14
Getting Started / Re: Wheels go in opposite directions at full speed
« on: March 28, 2016, 10:46:51 PM »
What hardware exactly are you using? Are you using our main board and then using your own motors, batteries etc?

You can just ignore the warning. It just because you have included the USB Host library yourself as well and it comes bundles in the hardware plugin.

You don't have to send me the board, don't worry ;)

Regards
Kristian Sloth Lauszus

15
Getting Started / Re: Wheels go in opposite directions at full speed
« on: March 28, 2016, 02:03:28 PM »
Sorry to hear that you got problems with the kit. You should not have to modify anything in the stock firmware, as it should work out of the box. Please follow these instructions: http://balanduino.com/get-started. In order to upload the firmware.

Regards
Kristian Sloth Lauszus

Pages: [1] 2 3 ... 9