Search found 286 matches

by pf26
20 Apr 2016, 16:21
Forum: General
Topic: VESC in electric bicycle
Replies: 18
Views: 8040

Re: VESC in electric bicycle

@dpetrillo: possibly you have some noise in the hall sensor output causing wrong commutations of VESC. You may want to try to separate the sensors cables from the power cables ? As for currents, you can set motor currents around 60-80Amps, and battery around 15-20 Amps. Always try less, and increase...
by pf26
20 Apr 2016, 15:51
Forum: FOC
Topic: FOC problems with small motor
Replies: 12
Views: 4750

Re: FOC problems with small motor

@ jaroslavnovotny: I see you have more noise in one phase measurement than in another. I suspect you use HW version 4.6 or below ? (some shunt traces were improved in further HW). I had the same issue. With a similar motor I guess. Now I use 5mOhm shunts (with very low currents, generally below 5 Am...
by pf26
20 Apr 2016, 10:35
Forum: Custom Applications
Topic: VESC for robotics
Replies: 14
Views: 6853

Re: VESC for robotics

I am also using a Vesc for automation, where accurate and fast dynamic position control is required. Positions are sent over CAN bus at 200 Hz from another board. It works : https://vimeo.com/162793315 . But it is difficult to tune the position PID. I have to use a large Integrator value, and this c...
by pf26
02 Apr 2016, 09:15
Forum: General
Topic: Compiling VESC firmware on Windows
Replies: 30
Views: 10753

Re: Compiling VESC firmware on Windows

Hurra! Now it compiles. 2minutes 5sec not too bad. Thanks a lot !!
It's time to have a closer look into VESCs customs app now.
by pf26
01 Apr 2016, 19:00
Forum: General
Topic: Compiling VESC firmware on Windows
Replies: 30
Views: 10753

Re: Compiling VESC firmware on Windows

Do you mean, you also see no CPU load during compiling ??? Strange.
I use an old PC with 1.6GHz so I expect long compile times, but at least with some CPU load.
I can see that many folders were created in the build/obj directory. But no obj files in there.
I waited nearly 1 hour, nothing came out...
by pf26
01 Apr 2016, 14:12
Forum: General
Topic: Compiling VESC firmware on Windows
Replies: 30
Views: 10753

Re: Compiling VESC firmware on Windows

Thanks a lot for this very detailled answer. I followed it precisely, everything seemed ok, I also copied your msys bin files, and Build F7. And unfortunately, I still have the same issue : It says : ------------- Build: upload in BLDC_4_ChibiOS --------------- and then nothing, no CPU load, everyth...
by pf26
01 Apr 2016, 10:41
Forum: General
Topic: Compiling VESC firmware on Windows
Replies: 30
Views: 10753

Re: Compiling VESC firmware on Windows

I installed EmBitz. Looks very similar to EmIDE and nice. But it doesn't work either. Build get stuck somewhere, I need to force close the program from Windows. There is also a General settings window in EmBitz, with option "Shell to run commands in", and a textbox with a path /bin/sh -c w...
by pf26
01 Apr 2016, 07:35
Forum: General
Topic: Compiling VESC firmware on Windows
Replies: 30
Views: 10753

Re: Compiling VESC firmware on Windows

Replacing egrep by grep -E removes these errors, but still I get :
make.exe: *** No rule to make target `build/BLDC_4_ChibiOS.elf', needed by `build/BLDC_4_ChibiOS.bin'
Thks..
by pf26
01 Apr 2016, 06:41
Forum: General
Topic: Compiling VESC firmware on Windows
Replies: 30
Views: 10753

Re: Compiling VESC firmware on Windows

egrep.exe does not exist. I have a egrep (no extension), and a grep.exe. But I think it should be launched via the shell (sh.exe does exist and it seem possible to launch "sh.exe egrep"). I think I will try EmBitz.
by pf26
31 Mar 2016, 19:11
Forum: General
Topic: Compiling VESC firmware on Windows
Replies: 30
Views: 10753

Re: Compiling VESC firmware on Windows

I think there is something wrong with the shell configuration in EmIDE. In general settings, there is an option saying "Shell to run commands in", and a textbox with a containing a path which in not correct but grayed out, so I cannot change it..

Go to advanced search