Search found 110 matches

by RollingGecko
Feb 15 2016 6:09pm
Forum: Stand-up E-scooters and E-skateboards
Topic: VESC Open Source - Android App Features?!?!
Replies: 161
Views: 23311

Re: VESC Open Source - Android App Features?!?!

Hi, If you are looking for a Arduino implementation just take a look here: http://rollinggecko.github.io/ArduBoardControler/ If you only need a UART implementation for Arduino look here: https://github.com/RollingGecko/VescUartControl Here is also a running thread to: https://endless-sphere.com/foru...
by RollingGecko
Feb 11 2016 6:01pm
Forum: Stand-up E-scooters and E-skateboards
Topic: OpenSource Remote for VESC ArduBoardControl
Replies: 263
Views: 32262

Re: OpenSource Remote for VESC ArduBoardControl

Statusupdate: Vedder merged already my changes in the FW. So please use directly his repo. My VESC is now finally dead. Reason: I updated the FW without setting the Hardware to my Version in the file conf_general.h. After using the Autodetect it seams that the MOSFET driver get killed. As I tried to...
by RollingGecko
Jan 29 2016 12:57am
Forum: Stand-up E-scooters and E-skateboards
Topic: OpenSource Remote for VESC ArduBoardControl
Replies: 263
Views: 32262

Re: OpenSource Remote for VESC ArduBoardControl

What is the project you are worķing on?
by RollingGecko
Jan 28 2016 5:35pm
Forum: Stand-up E-scooters and E-skateboards
Topic: OpenSource Remote for VESC ArduBoardControl
Replies: 263
Views: 32262

Re: OpenSource Remote for VESC ArduBoardControl

Tachometer values are as int32. In the commands.c in bldc: case COMM_GET_VALUES: ind = 0; send_buffer[ind++] = COMM_GET_VALUES; buffer_append_float16(send_buffer, NTC_TEMP(ADC_IND_TEMP_MOS1), 1e1, &ind); buffer_append_float16(send_buffer, NTC_TEMP(ADC_IND_TEMP_MOS2), 1e1, &ind); buffer_append_float1...
by RollingGecko
Jan 28 2016 4:31pm
Forum: Stand-up E-scooters and E-skateboards
Topic: OpenSource Remote for VESC ArduBoardControl
Replies: 263
Views: 32262

Re: OpenSource Remote for VESC ArduBoardControl

TachometerAbs is there... case COMM_GET_VALUES: ind = 14; //Skipped the first 14 bit. values.avgMotorCurrent = buffer_get_float32(message, 100.0, &ind); values.avgInputCurrent = buffer_get_float32(message, 100.0, &ind); values.dutyCycleNow = buffer_get_float16(message, 1000.0, &ind); values.rpm = bu...
by RollingGecko
Jan 28 2016 2:40pm
Forum: Stand-up E-scooters and E-skateboards
Topic: OpenSource Remote for VESC ArduBoardControl
Replies: 263
Views: 32262

Re: OpenSource Remote for VESC ArduBoardControl

I don*t know why I skipped them. They are exactly the 8 bits I skipped there. Maybe I wanted to save memory? I don't really need them. I calculate a battery by the used Ah. There 2 are ways to do it. One to add this 8 bits (I can do it when I can find the time for) or simply calculate Ah*V and you a...
by RollingGecko
Jan 24 2016 5:39pm
Forum: Stand-up E-scooters and E-skateboards
Topic: OpenSource Remote for VESC ArduBoardControl
Replies: 263
Views: 32262

Re: OpenSource Remote for VESC ArduBoardControl

nRF24 has already a checksum. Furthermore we can add a device-ID (Binding) and we can work with a package counter. Never the less I want to try around with multiple devices of nRF24 in near filed and parallel working of more than one remote. Will put it on the to do. At the moment we have only a tim...
by RollingGecko
Jan 23 2016 7:31pm
Forum: Stand-up E-scooters and E-skateboards
Topic: OpenSource Remote for VESC ArduBoardControl
Replies: 263
Views: 32262

Re: OpenSource Remote for VESC ArduBoardControl

Hi,

On controller site I use also the both buttons B and C for PID and reverse. And in future a OLED ist planed for Speed, Distance, remaining BAT etc.
by RollingGecko
Jan 23 2016 11:26am
Forum: Stand-up E-scooters and E-skateboards
Topic: OpenSource Remote for VESC ArduBoardControl
Replies: 263
Views: 32262

Re: OpenSource Remote for VESC ArduBoardControl

F..k Wanted to configure today the motor correctly in bldc after firmware update. In bldc-tool in the Motor Configuration BLDC I wanted to make a Detect parameters. The motor snapped once really havily and no he is off. No function in bldc anymore. Tried to control it over bldc-tool but the motor re...
by RollingGecko
Jan 17 2016 6:32pm
Forum: Stand-up E-scooters and E-skateboards
Topic: OpenSource Remote for VESC ArduBoardControl
Replies: 263
Views: 32262

Re: OpenSource Remote for VESC ArduBoardControl

So. Tried it with simple current control I have in the ArduBoardControl. That works. He does not enter in the Nunchuk-Handler in commands.c. Have to check why. Update: Stupid bug: Vedder updated the datatypes.h and added COMM_PACKET_ID's . So the ID for the nunchuk packet changed. :roll: Updated the...
by RollingGecko
Jan 17 2016 1:38pm
Forum: Stand-up E-scooters and E-skateboards
Topic: OpenSource Remote for VESC ArduBoardControl
Replies: 263
Views: 32262

Re: OpenSource Remote for VESC ArduBoardControl

I'm also struggling. I realized, that I didn't upload the bootloader. I was able somehow to upload the firmware with the bldc tool but the firmware version showed 1.13. Didn't care really about that...:( because the UART communication worked. Now I uploaded the bootloader and now the firmware is at ...
by RollingGecko
Jan 16 2016 6:59pm
Forum: Stand-up E-scooters and E-skateboards
Topic: OpenSource Remote for VESC ArduBoardControl
Replies: 263
Views: 32262

Re: OpenSource Remote for VESC ArduBoardControl

If someone needs a case for his VESC: http://www.thingiverse.com/thing:1273544

Here you can find a case for the VESC stand alone and with place for a Arduino nano. I used a 2200µF Capacitor.
by RollingGecko
Jan 16 2016 5:49pm
Forum: Stand-up E-scooters and E-skateboards
Topic: OpenSource Remote for VESC ArduBoardControl
Replies: 263
Views: 32262

Re: OpenSource Remote for VESC ArduBoardControl

Hi, That is cool. I already ported RX to an Arduino nano (328p). If you select the nano the BUGSERIAL is deselected automatically by an #ifdef. Allready checked in on GitHub. I already send a pull request to vedder. Hope he will merge soon. Refer to: https://github.com/vedderb/bldc/pull/12 Until he ...
by RollingGecko
Jan 01 2016 4:58pm
Forum: Stand-up E-scooters and E-skateboards
Topic: OpenSource Remote for VESC ArduBoardControl
Replies: 263
Views: 32262

Re: OpenSource Remote for VESC ArduBoardControl

OK. Issue fixed.
Struct remotePackage was moved to datatypes.h.

Please check out VescUartControl and ArduBoardControl again and retry.

Example of VescUartControl is compilable. Please comment out

Code: Select all

#include Config.h
from VescUart.h if not Config.h is available.
by RollingGecko
Jan 01 2016 4:23pm
Forum: Stand-up E-scooters and E-skateboards
Topic: OpenSource Remote for VESC ArduBoardControl
Replies: 263
Views: 32262

Re: OpenSource Remote for VESC ArduBoardControl

Hi,

Forked bldc firmware is no updated with latest changes from Vedder. Nunchuk control over UART was send as pullrequest to vedder. Keep you updated.

Will now have a look to the mentioned problem.
by RollingGecko
Dec 30 2015 6:48pm
Forum: Stand-up E-scooters and E-skateboards
Topic: OpenSource Remote for VESC ArduBoardControl
Replies: 263
Views: 32262

Re: OpenSource Remote for VESC ArduBoardControl

I will check it back from holidays.
by RollingGecko
Dec 30 2015 5:24pm
Forum: Stand-up E-scooters and E-skateboards
Topic: OpenSource Remote for VESC ArduBoardControl
Replies: 263
Views: 32262

Re: OpenSource Remote for VESC ArduBoardControl

Yes. Currently it is still onöy for mega because of debugging. Will transfer it to nano next days.
by RollingGecko
Dec 30 2015 4:23pm
Forum: Stand-up E-scooters and E-skateboards
Topic: OpenSource Remote for VESC ArduBoardControl
Replies: 263
Views: 32262

Re: OpenSource Remote for VESC ArduBoardControl

Did you take the correct config.h? Rx and tx have both a Config.h. But they are different.
by RollingGecko
Dec 30 2015 1:36pm
Forum: Stand-up E-scooters and E-skateboards
Topic: OpenSource Remote for VESC ArduBoardControl
Replies: 263
Views: 32262

Re: OpenSource Remote for VESC ArduBoardControl

Hi, So just checked it. The RemotePackage is defined in the config file. This is the definition: //Define remote Package struct remotePackage { int valXJoy; int valYJoy; boolean valUpperButton; boolean valLowerButton; } ; I tried to avoid multible definitions with the limitations the arduino complie...
by RollingGecko
Dec 30 2015 1:16pm
Forum: Stand-up E-scooters and E-skateboards
Topic: OpenSource Remote for VESC ArduBoardControl
Replies: 263
Views: 32262

Re: OpenSource Remote for VESC ArduBoardControl

Hi,
The Config.h is in the git repo available once for TX and once for RX. I just checked it.

Will try to have a look to your code a bit later.

Regards

Andreas
by RollingGecko
Nov 09 2015 11:15am
Forum: Stand-up E-scooters and E-skateboards
Topic: OpenSource Remote for VESC ArduBoardControl
Replies: 263
Views: 32262

Re: OpenSource Remote for VESC ArduBoardControl

Hi,

I´ve added a bit more of documentation:

http://rollinggecko.github.io/ArduBoardControler/

Iwill update this also in future if I can identify an interest in.

Just check it out. Maybe you have also some open questions that should be explaned more in detail...
by RollingGecko
Oct 28 2015 2:59pm
Forum: Stand-up E-scooters and E-skateboards
Topic: OpenSource Remote for VESC ArduBoardControl
Replies: 263
Views: 32262

OpenSource Remote for VESC ArduBoardControl

Hi, I want to present you my new remote for the VESC Controller. As I started to develope it,I had some requirements in mind: - Arduino based - Conection via nRF24 - Feedback of all measured values of the VESC - Reliability - Indication of remaining capacity of VESC and TX - extensibility - Differen...
by RollingGecko
Oct 26 2015 7:59am
Forum: Stand-up E-scooters and E-skateboards
Topic: VESC Open Source - Android App Features?!?!
Replies: 161
Views: 23311

Re: VESC Open Source - Android App Features?!?!

I don't know about the terminal you are using. As I experimented arround with the VESC, I get a continuous stream without LF.

The useless 00 00 00 came for sure from the array used. The array is to big for the message.
by RollingGecko
Oct 24 2015 7:30pm
Forum: Stand-up E-scooters and E-skateboards
Topic: VESC Open Source - Android App Features?!?!
Replies: 161
Views: 23311

Re: VESC Open Source - Android App Features?!?!

Hi,

Try to set the vesc to a lower baud rate. I'm not sure if the hc06 likes 115200.