ESC32v3.....

Info and Discussion about the ESC32 hardware and software

Re: ESC32v3.....

Postby Astudillo » Tue May 26, 2015 2:39 pm

JussiH wrote:ESC32v3 should become available before end of April


Hey Guys,

Any new guesstimate on when the V3's will be available?

Or did Jussi meant April 2016? :P

Cheers,
Ray
Astudillo
 
Posts: 139
Joined: Thu Apr 25, 2013 8:23 am
Location: Amsterdam, The Netherlands

Re: ESC32v3.....

Postby JussiH » Tue May 26, 2015 3:20 pm

Nah....I am just waiting for some final pieces to come together and getting test-results back from teammembers.

I know its been long, but I promise that its "right around the corner" now....(famous last words)
JussiH
 
Posts: 2103
Joined: Thu Jun 21, 2012 9:25 pm

Re: ESC32v3.....

Postby TheBone » Sat Jun 06, 2015 6:35 pm

Does anyone know, if the ESC32v3 documentation is still online?
TheBone
 
Posts: 50
Joined: Tue Apr 29, 2014 2:50 pm

Re: ESC32v3.....

Postby aBUGSworstnightmare » Sat Jun 06, 2015 7:23 pm

TheBone wrote:Does anyone know, if the ESC32v3 documentation is still online?

Hi,
What kind of ducumentation are you looking for?
Calibrating them is easier as with ESC32V2 since you only need to run RPMtoVOLTAGE calibration. If you need a command line example let me know (just finished calibration of 3 Motors on 2 different flight pack voltages..).
Some pics are in my Rachel build log.
Joerg
P.S. you should run calibration by UART interface and not USB; similiar to V2 version.
aBUGSworstnightmare
 
Posts: 1460
Joined: Fri Jun 22, 2012 5:24 pm

Re: ESC32v3.....

Postby TheBone » Sat Jun 06, 2015 8:49 pm

Primarily I was looking for the meaning of the solder pads / the ports, where I've to attach the the UART, the CAN, the PWM, the Motor and so on. And what the possibilities of the USB-Port are.

Chris
TheBone
 
Posts: 50
Joined: Tue Apr 29, 2014 2:50 pm

Re: ESC32v3.....

Postby aBUGSworstnightmare » Sun Jun 07, 2015 8:01 am

TheBone wrote:Primarily I was looking for the meaning of the solder pads / the ports, where I've to attach the the UART, the CAN, the PWM, the Motor and so on. And what the possibilities of the USB-Port are.

Chris

Hi Chris,
well, since no wiki page is in place atm, I think users can refer to http://forum.autoquad.org/viewtopic.php?f=38&t=4344for some info on the ESC32 I/Os. The UART interface is the same as with the ESC32V2 (http://autoquad.org/wiki/wiki/esc32/esc ... are-setup/).
All I/Os should be clearly labeled. Their function is the same as for the V2. O.K. USB is new; it is a VCP (virtual COM port) that can be used for parameter update i.e..
As of today you need to use a terminal program (i.e. PUTTY) to do so. Open a terminal (230400b 8N1) and type HELP at the command prompt for a list of available parameters. To see all parameters type
Code: Select all
set list

To change i.e. the MAX_CURRENT to 16A you need to type:
Code: Select all
set MAX_CURRENT 16

When you finished changing all parameters you need to write them to flash. This is done by
Code: Select all
config write

Type
Code: Select all
config read

followed by
Code: Select all
set list

to verify that everything has been updated accordingly.

I've run the R2V calibration from command line.
A command line example for calibrating the AIR2213 motors on 4S is:
Code: Select all
esc32cal.exe -p /dev/com3 -b 230400 --r2v -a 14.75

with:
esc32cal.exe ->calibration program; it is located in the BIN folder of your QGC; I've copied it to a different location
-p device -> USB to TTL converter port (COM3 for this example)
-b baud -> Baud rate - always set to 230400
–r2v -> Feed Forward calibration (RPM to Voltage)
-a amps -> Limits current during calibration -> will be limited to 14.75A in this example. Overall current limiter (MAX_CURRENT) has been set to 16A

STAND CLEAR OF THE PROP WHEN YOU HIT ENTER! CALIBRATION WILL START WITHOUT AN ADDITIONAL WARNING!
Code: Select all
C:\Users\admin\Desktop\test_win32Cal>esc32cal.exe -p /dev/com3 -b 230400 --r2v -a 14.75
Starting...
Reducing RPM...

  RPM VOLTS  AMPS
  649  0.67 -0.02
  960  1.00 -0.04
 1267  1.33  0.02
 1574  1.66  0.05
 1887  2.00  0.08
 2177  2.33  0.10
 2436  2.66  0.16
 2755  2.99  0.22
 2993  3.32  0.27
 3317  3.65  0.36
 3565  3.98  0.45
 3784  4.31  0.53
 4123  4.64  0.67
 4367  4.97  0.78
 4599  5.29  0.91
 4824  5.62  1.05
 5008  5.95  1.18
 5199  6.27  1.35
 5398  6.60  1.48
 5761  6.92  1.77
 6003  7.24  1.98
 6221  7.56  2.21
 6433  7.88  2.44
 6644  8.20  2.65
 6838  8.52  2.90
 7031  8.84  3.16
 7209  9.16  3.41
 7386  9.47  3.67
 7548  9.79  3.96
 7724 10.11  4.26
 7911 10.44  4.52
 8052 10.75  4.79
 8209 11.07  5.05
 8367 11.38  5.47
 8522 11.69  5.75
 8649 12.01  6.09
 8814 12.32  6.43
 8976 12.63  6.74
 9118 12.95  7.10
 9291 13.25  7.53
 9511 13.55  8.09
 9721 13.86  8.71
 9862 14.16  9.22
 9987 14.48  9.63
10134 14.78 10.00
10263 15.09 10.52
10394 15.37 11.01
10497 15.62 11.45
10511 15.68 11.54
Stopping...
Calculating...
#define DEFAULT_FF1TERM         +5.612632e-08
#define DEFAULT_FF2TERM         +8.902156e-04

Plotting Options:
 < 1> xwin       X-Window (Xlib)
 < 2> wingcc     Win32 GCC device
 < 3> ps         PostScript File (monochrome)
 < 4> psc        PostScript File (color)
 < 5> xfig       Xfig file
 < 6> null       Null device
 < 7> mem        User-supplied memory device
 < 8> svg        Scalable Vector Graphics (SVG 1.1)

Enter device number or keyword: 8
Enter graphics output file name: esc32v3_airgear350-T9545_36kHz4S.svg

C:\Users\admin\Desktop\test_win32Cal>

So, pretty much the same as for the ESC32V2 http://autoquad.org/wiki/wiki/esc32/esc32-calibrations/
Last edited by aBUGSworstnightmare on Sun Jun 07, 2015 5:09 pm, edited 2 times in total.
aBUGSworstnightmare
 
Posts: 1460
Joined: Fri Jun 22, 2012 5:24 pm

Re: ESC32v3.....

Postby TheBone » Sun Jun 07, 2015 4:15 pm

Thank you very much for your comprehensive answer.

The thread you posted i doesn't know. That makes the soldering much more easier.
If I'm right, on the top side of the ESC (where the USB-Port and the AQ label is), everything is nearly the same. If I want to power the board by the FC. I have to solder the the both solder pads like you did.
The six ports (from right) are for the UART and the rest is not interesting for me, at least at the moment.
On the back side the interesting pads are the five from left (at the lower edge). The two pads on the left sides are for the CAN and the three next to them are for the PWM-Signal.
The connectors for the Motor, the LiPo and the capacitor was left behind at this point.

A few of my questions have already been asked, but I've still got a few left.

For what are the pads which are named below:
TP1
The four: GND + +5V + SCL + SDA
The two ports right of the PWM ports (+5V + GND)
C23
C31
C30
C29
TP2

Once again, thank you very much for your help.
TheBone
 
Posts: 50
Joined: Tue Apr 29, 2014 2:50 pm

Re: ESC32v3.....

Postby aBUGSworstnightmare » Sun Jun 07, 2015 5:06 pm

TheBone wrote:For what are the pads which are named below:
TP1
TP2

Test Points --> of no use for you
TheBone wrote:The four: GND + +5V + SCL + SDA

Reserved pads for a I2C-bus. Also available on the ESC32V2 but no code support so far.
TheBone wrote:The two ports right of the PWM ports (+5V + GND)

That's the standard PWM connector for using patch cables; standard ESCs! Pin1 = PWM(signal; top pin), PIn2 = 5V (middle-pin), Pin3 = GND (lower pin). But: you have also the possibility to use other signals since there are several GND and +5V I/Os.

Default pinout (from left to right when looking at the MCU side):
CANL , CANH, +5V, GND, PWM, +5V, GND
So, the first four pins are for CAN (incl. +5V/GND power supply for the ESC32V3 in case it is (solder) jumped to V5), the three remaining pins are your standard PWM (ESC) connector pinout.

TheBone wrote:C23, C31, C30, C29

Parts were omitted during production. Beta testing showed they were not needed.

TheBone wrote:If I want to power the board by the FC. I have to solder the the both solder pads like you did.

Yes, my ESCs were powered by a separate BEC on my M4CAN expansion board (or from the AQ6 i.e.). That's why I've soldered the bridge to V5 (also: same as with ESC32V2)

TheBone wrote:The six ports (from right) are for the UART and the rest is not interesting for me, at least at the moment.

When looking on the MOSFET side this is the standard FTDI UART connector (so same pinout as given in the ESC32V2 wiki).

The + Terminal from your Cap (Elko) goes to the terminal labeled CAP+ on the MOSFET side!

All clear now? Let me know!
aBUGSworstnightmare
 
Posts: 1460
Joined: Fri Jun 22, 2012 5:24 pm

Re: ESC32v3.....

Postby TheBone » Sun Jun 07, 2015 10:40 pm

All right. Now the most is clear. :) Thank you.

aBUGSworstnightmare wrote:Default pinout (from left to right when looking at the MCU side):
CANL , CANH, +5V, GND, PWM, +5V, GND
So, the first four pins are for CAN (incl. +5V/GND power supply for the ESC32V3 in case it is (solder) jumped to V5), the three remaining pins are your standard PWM (ESC) connector pinout.


If i understand you right, it is possible to use just the left four ports to control the ESC? In other words, if I use CAN, I doesn't have to use the PWM too?

You used just three soldered wires. How does that work?

You used just the PWM-Port without of the Usage of the +5V + GND. I think in this case the powering from the CAN is enough. But than you use both, CAN and PWN. Anyway, I though that I've to use both.

Could you please explain this two points, then I'm really happy. :)
Last edited by TheBone on Wed Jun 24, 2015 9:55 pm, edited 1 time in total.
TheBone
 
Posts: 50
Joined: Tue Apr 29, 2014 2:50 pm

Re: ESC32v3.....

Postby aBUGSworstnightmare » Mon Jun 08, 2015 11:18 am

TheBone wrote:If i understand you right, it is possible to use just the left four ports to control the ESC? In other words, if I use CAN, I doesn't have to use the PWM too?In you picture here:you used just three soldered wires. How does that work?


You either use CAN or PWM, not (NEVER) both! The three wires are CANL (black)/CANH (gray) /+5V (yellow) --> since GND is connectedg from the LiPo I did not connect it here. Saves me some work since I can use an off-the-shelf Spektrum Sat cable ;) (instead of buying expensive 4-pin Spektrum X-Bus cables; all my boards use ZH connectors FYI).

It's the same on the second picture: only CAN is used (with a three wire connection as detailed above). The MicroMatch connector on that ESC comes handy because it gives me access to:
UART
PWM (never used PWM on ESC32 so far :oops: :shock:)
CAN
The MicroMatch is a crimpable connector --> making custom cables is pretty easy.
SANY0065.jpg
no protruding pin header

In addition: no protruding pin headers--> clean design with reduced risk for shorts (Imaging your pin headers touching your carbon frame ..)
aBUGSworstnightmare
 
Posts: 1460
Joined: Fri Jun 22, 2012 5:24 pm

PreviousNext

Return to ESC32

Who is online

Users browsing this forum: No registered users and 6 guests