Search found 50 matches

by yosoufe
10 Oct 2018, 13:04
Forum: General
Topic: VESC and Simulink in windows
Replies: 19
Views: 5391

Re: VESC and Simulink in windows

You need to name all the files in the mex command, at least the cpp files. like this

Code: Select all

mex VESC.cpp BLDC_uart.cpp buffer.cpp crc.cpp MyUsb.cpp
by yosoufe
09 Oct 2018, 16:09
Forum: General
Topic: VESC and Simulink in windows
Replies: 19
Views: 5391

Re: VESC and Simulink in windows

Hello again Yosoufe, thanks for the reply, so I was checking the UART protocol of the firmware the VESC Tool 0.87 installed to my VESC: Firmware Version 3.34, Hardware: 410 And I noticed in the Github that there are some differences since 2016, still I wonder if I found the correct order of packets...
by yosoufe
08 Oct 2018, 16:36
Forum: General
Topic: VESC and Simulink in windows
Replies: 19
Views: 5391

Re: VESC and Simulink in windows

Hello Yosoufe, nice S-Function, thanks a lot, although I have an issue with the values. I am using the VESC tool 0.87 to program my VESC and when I use your S-Funtion some of the values are not communicating correctly (see the attached screenshot) For example the speed is "scaled" because...
by yosoufe
26 Mar 2018, 07:55
Forum: General
Topic: Exporting/saving data from BLDC tool
Replies: 2
Views: 1003

Re: Exporting/saving data from BLDC tool

If you have access to MATLAB and Simulink on a windows machine, check http://vedder.se/forums/viewtopic.php?f=6&t=333
by yosoufe
03 Feb 2018, 07:36
Forum: General
Topic: VESC & CAN Bus communication to another MCU (NOT VESC)
Replies: 17
Views: 6307

Re: VESC & CAN Bus communication to another MCU (NOT VESC)

xachmo wrote:Hi Nick,

I've got a similar setup; using a Teensy and MCP2562 and working on using it to control my VESC over CAN.

Was wondering how far you got with this ?


It has been a long time that is working nicely
by yosoufe
02 Jan 2018, 15:58
Forum: General
Topic: VESC and Simulink in windows
Replies: 19
Views: 5391

Re: VESC and Simulink in windows

I just made it with more outputs. the same block. has anybody used it at all? I would be grateful for a feedback
by yosoufe
22 Jun 2017, 09:01
Forum: General
Topic: VESC & CAN Bus communication to another MCU (NOT VESC)
Replies: 17
Views: 6307

Re: VESC & CAN Bus communication to another MCU (NOT VESC)

Hi yosoufe, I'm attempting to write an Arduino library using an MCP2515/2551 to communicate with the VESCs over CAN-BUS. Your code has been a massive help, I have got setting the RPM, Current etc working. I am now working to get data retrieval working, there are some parts of your code that do not ...
by yosoufe
16 Jun 2017, 23:48
Forum: General
Topic: VESC & CAN Bus communication to another MCU (NOT VESC)
Replies: 17
Views: 6307

Re: VESC & CAN Bus communication to another MCU (NOT VESC)

Hi yosoufe, I'm attempting to write an Arduino library using an MCP2515/2551 to communicate with the VESCs over CAN-BUS. Your code has been a massive help, I have got setting the RPM, Current etc working. I am now working to get data retrieval working, there are some parts of your code that do not ...
by yosoufe
15 Mar 2017, 15:48
Forum: General
Topic: Does VESC create noise at its switching frequency?
Replies: 9
Views: 2259

Re: Does VESC create noise at its switching frequency?

I guess the noise burnt also my 5v voltage regulator.
Searching for a solution to get rid of the noise.
by yosoufe
15 Mar 2017, 10:25
Forum: General
Topic: Does VESC create noise at its switching frequency?
Replies: 9
Views: 2259

Re: Does VESC create noise at its switching frequency?

But still I am worried about the noise effect on other stuff. I have to use the SD card on my board as well using the SPI. And I guess it is very sensitive to noise. So I would guess the noise will not allow me to use the sd card. Because I remember I just forgot to pull up the unconnected pins of m...

Go to advanced search