Search found 25 matches

by dpetrillo
18 May 2016, 18:14
Forum: Custom Applications
Topic: Suggestions for OpenSource Electric Unicycle firmware
Replies: 74
Views: 18979

Re: Suggestions for OpenSource Electric Unicycle firmware

I've used the MPU6050 in a couple of projects before and I'm using it now with the VESC to add wheelie control to my ebike. There are a few things I needed to do to get good operation out of the MPU6050. First is take advantage of the onboard MPU in order to use it to process all of the sensor fusio...
by dpetrillo
18 May 2016, 17:42
Forum: General
Topic: UART voltage tolerance
Replies: 9
Views: 2572

Re: UART voltage tolerance

If the timeout_msec is the same one that is set via the BLDC tool then mine is set at 1000 ms and shouldn't be causing the issue. I did some more testing and thought maybe I'm sending messages too fast, and added various delays to my arduino code to space them out more. I'm not sure how fast they ar...
by dpetrillo
17 May 2016, 19:20
Forum: General
Topic: UART voltage tolerance
Replies: 9
Views: 2572

Re: UART voltage tolerance

I've gone ahead and used the 5V pro mini at 3.3v supply from the VESC and that works, mostly. I'm having trouble getting smooth operation from the VESC when giving it commands via UART. It acts as though I'm sending it commands to start and stop very quickly. I debugged my arduino code and I'm not s...
by dpetrillo
16 May 2016, 18:48
Forum: General
Topic: UART voltage tolerance
Replies: 9
Views: 2572

UART voltage tolerance

Are the UART TX and RX pins 5v tolerant?

I checked the spec sheet of the micro and my conclusion in no but I wanted to ask if anyone else has done it. I want to communicate to the VESC from a 5v Arduino Pro Mini.

Dave
by dpetrillo
22 Apr 2016, 16:01
Forum: General
Topic: uVESC - Slim design - Multicopter Edition
Replies: 15
Views: 4790

Re: uVESC - Slim design - Multicopter Edition

Does this have a github?
by dpetrillo
20 Apr 2016, 20:17
Forum: General
Topic: VESC in electric bicycle
Replies: 20
Views: 8999

Re: VESC in electric bicycle

Just tried sensorless, does not work from a dead stop at all. Reducing sensorless open loop rpm from 2000 to <1000 solved the problem and I can't get it to jitter or cut out at all now. Thanks for the help.
by dpetrillo
19 Apr 2016, 15:55
Forum: General
Topic: VESC in electric bicycle
Replies: 20
Views: 8999

Re: VESC in electric bicycle

I just installed VESC in a 750W hub motor on my bike and have been testing it and I have a few questions for others who have used them in bikes. I'm running 12s hobby lipo, and a new bafang geared rear hub motor rated for 750 watts that has hall sensors and a temp sensor. I auto detected the paramet...
by dpetrillo
18 Mar 2016, 18:38
Forum: Hardware Problems
Topic: DRV fault code on FOC detection
Replies: 9
Views: 2192

Re: DRV fault code on FOC detection

I had a friend who is an EE help me out with diagnosing the board a little bit. I'm going to relay some of his questions about the schematic related to why the DRV might have died: 1) Caps c8 c1 and c37 on page 7, A6 are rated to 50v on an up to 60V supply. Why aren't higher rated caps used? My lipo...
by dpetrillo
17 Mar 2016, 04:14
Forum: Hardware Problems
Topic: DRV fault code on FOC detection
Replies: 9
Views: 2192

DRV fault code on FOC detection

I plugged in a new motor to my board, FW2.16 and HW4.11. I had old motor settings in the firmware from a working motor setup I had been testing with (hoverboard wheel.) I connected a new 4 pole inrunner and tried to run detection in BLDC and got a bunch of bad results. I switched to FOC and I think ...
by dpetrillo
28 Feb 2016, 04:26
Forum: Custom Applications
Topic: Bricked by custom app - how to recover?
Replies: 5
Views: 1734

Re: Bricked by custom app - how to recover?

Could you post the rest of the code that you were using for communicating with the HX711? That chip requires special timing in order to read it and I've been trying to use it also, but without success. I never found an ARM library for it, just AVR and the datasheet is in chinese.

Thanks

Go to advanced search