[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4789: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3916)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4791: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3916)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4792: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3916)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4793: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3916)
AutoQuad Forum • View topic - Please help. Can't work with PWM on ESC32v3

Please help. Can't work with PWM on ESC32v3

Info and Discussion about the ESC32 hardware and software

Please help. Can't work with PWM on ESC32v3

Postby Masa » Tue Nov 08, 2016 8:29 am

Hi, all
I'm able to connect to the AQ ECU and change RPM with the interface using an FTDI.
But I can't work with PWM from Arduino uno.
Using motor is Hyperion VP Z2209-30.
I'm powering the ESC via 5v of Arduino connected to PC.
I tried a lot of width of frequency, but It did'nt work
I can't understand appropriate frequency of PWM and duty.
Please need your help i do not understand the problem here.

These are parameter in ESC

STARTUP_MODE = 1
BAUD_RATE = 230400 baud
PTERM = 0.500
ITERM = 0.00500
FF1TERM = +3.09656e-09
FF2TERM = +1.16186e-03
MIN_PERIOD = 50 us
MAX_PERIOD = 12000 us
ADVANCE = 15.00 Degs
START_VOLTAGE = 0.75 Volts
GOOD_DETECTS_START = 48
BAD_DETECTS_DISARM = 32
MAX_CURRENT = 1.30 Amps
START_CURRENT = 0.75 Amps
SWITCH_FREQ = 20.0 KHz
MOTOR_POLES = 14
PWM_MIN_PERIOD = 2200 us
PWM_MAX_PERIOD = 25000 us
PWM_MIN_VALUE = 750 us
PWM_LO_VALUE = 1000 us
PWM_HI_VALUE = 1950 us
PWM_MAX_VALUE = 2250 us
PWM_MIN_START = 1100 us
PWM_RPM_SCALE = 11400 RPM
ACTIVE_FREEWHEEL = 1
THR1TERM = +0.00000e+00
THR2TERM = +1.00000e+00
RPM_MEAS_LP = 0.750
SERVO_DUTY = 5.0 %
SERVO_P = 0.050
SERVO_D = 0.000
SERVO_MAX_RATE = 1000.0 deg/s
SERVO_SCALE = 360.0 deg
ESC_ID = 1
DIRECTION = 1
AUDIO_VOLUME = 0.0
Masa
 
Posts: 7
Joined: Tue Nov 08, 2016 7:56 am

Re: Please help. Can't work with PWM on ESC32v3

Postby JussiH » Tue Nov 08, 2016 9:05 am

Try and change pwm max period to 20000 to allow 50 hz pwm
JussiH
 
Posts: 2103
Joined: Thu Jun 21, 2012 9:25 pm

Re: Please help. Can't work with PWM on ESC32v3

Postby Masa » Fri Nov 11, 2016 7:41 am

Masa
 
Posts: 7
Joined: Tue Nov 08, 2016 7:56 am


Return to ESC32

Who is online

Users browsing this forum: No registered users and 5 guests