You are here

How can I add watts data to solidgeek?

3 posts / 0 new
Last post
Fixitmoditbreakit
Offline
Last seen: 2 years 10 months ago
Joined: 2021-06-11 23:23
Posts: 2
How can I add watts data to solidgeek?

Hi guys 

I've made a dyno to test electric motors,  well at the moment I'm testing the output of a converted alternator.  I'm using solidgeek code with arduino on the uart port and have erpm for converting torque in to hp but would like to add watts being used so I can work out the efficiency.  Any help would be much appreciated!  Here's a link to my YouTube video,  I've added the mechanical kw conversion to the code after this video 

https://youtu.be/JPYTZSAWQqU

Fixitmoditbreakit
Offline
Last seen: 2 years 10 months ago
Joined: 2021-06-11 23:23
Posts: 2

Forgot to add I'm using a flipsky 6.6 water cooled 

vadicus
Offline
Last seen: 3 days 13 hours ago
VESC Free
Joined: 2018-08-17 07:26
Posts: 427

You can use SolidGeek library as an example, look how other data is received and processed here:

https://github.com/RollingGecko/VescUartControl/blob/008f89efc916009d266...

For example: 

values.ampHours = buffer_get_float32(message, 10000.0, &ind);
values.ampHoursCharged = buffer_get_float32(message, 10000.0, &ind);

Then you would modify the library to include new data from what VESC is sending.

Wh used, for example, are here: 

https://github.com/vedderb/bldc/blob/be439a2a55ae5b1ba8cce8ad6b0da2d8046...

 

 

 

 

NextGen FOC High voltage 144v/34s, 30kw (https://vesc-project.com/node/1477)