HobbyKing.com New Products Flash Sale
Reply
Thread Tools
Old Nov 23, 2012, 08:51 PM
Registered User
Joined Oct 2012
115 Posts
still a error Brigde17 V0.3, I have to video , can see it

I use Led to the replace for motor

white and green LED on the left is forward
White and red LED on the right is reverse
Blue leds in the center, use pin 6 (flash )

error occurs at the beginning of the film 00 to 35
when the joystick in the forward position (adj trim )
turn tranmiter, LED white and green is turned on ( mode forward )

when the joystick in reverse position (adj trim )
turn tranmiter, LED red and white is turned on (mode brake )

if joystick the position forward or reverse , turn tramiter ,LED blue flashes (use pin 6 )
have to move the joystick in the neutral position., LED lights,and start working

V24 11 12 08 25 (1 min 9 sec)
future88 is offline Find More Posts by future88
Last edited by future88; Nov 23, 2012 at 09:48 PM.
Reply With Quote
Sign up now
to remove ads between posts
Old Nov 23, 2012, 10:36 PM
We want... Information!
Bruce Abbott's Avatar
Hastings, New Zealand
Joined Jan 2001
5,192 Posts
It appears to be operating correctly.

If the 'error' is that if the throttle stick is not centered at start up, the motor runs as soon as a good signal is received, that is simply because the Throttle Arming feature was not activated (#define ARM).

Quote:
if joystick the position forward or reverse , blue LED flashes (use pin 6 ), to move the joystick in the neutral position., and start working
On start up, you want to make the LED flash until the joystick is set to neutral?

Try this
Bruce Abbott is offline Find More Posts by Bruce Abbott
Reply With Quote
Old Nov 24, 2012, 07:02 AM
Registered User
Joined Oct 2012
115 Posts
thank you BRUCE
I checked the mode loss signal, the result is accurate LED display

I have completed the circuit, I would check and report the results tomorrow

future88 is offline Find More Posts by future88
Reply With Quote
Old Nov 24, 2012, 08:01 AM
Registered User
Joined Nov 2012
131 Posts
I view program Brigde17 V.0.4, I have a question about brake mode
Is it similar to version 12f675?

Optional brake mode (1st time pulling stick down is brake, 2nd is reverse)

I understand it like this, if the move joystick down
 in a seconds, is the brake.
in two seconds is the reverse
rc my life is online now Find More Posts by rc my life
Last edited by rc my life; Nov 24, 2012 at 08:32 AM.
Reply With Quote
Old Nov 24, 2012, 03:22 PM
We want... Information!
Bruce Abbott's Avatar
Hastings, New Zealand
Joined Jan 2001
5,192 Posts
Quote:
Originally Posted by rc my life View Post
I view program Brigde17 V.0.4, I have a question about brake mode
Is it similar to version 12f675?
Yes.
Bruce Abbott is offline Find More Posts by Bruce Abbott
Reply With Quote
Old Nov 24, 2012, 07:24 PM
Registered User
Joined Oct 2012
115 Posts
I checked the circuit, it works but it is not optimal because of the time delay

I do not know the time delay is by tranmiter and my reiceive, or by the processing speed of the PIC. motor response is slow

time processing pulse width, from minimum to maximum (or max to min ) of about 1s

braking force, it is increased by the PWM pulse width (min to max ). I want brakes are maximum , as soon as reverse

if there is any change, it will match the high-speed car

this is schematic layout by PDF,and file eagle
future88 is offline Find More Posts by future88
Last edited by future88; Nov 24, 2012 at 09:17 PM.
Reply With Quote
Old Nov 25, 2012, 02:16 AM
We want... Information!
Bruce Abbott's Avatar
Hastings, New Zealand
Joined Jan 2001
5,192 Posts
Quote:
Originally Posted by future88 View Post
I do not know the time delay is by tranmiter and my reiceive, or by the processing speed of the PIC. motor response is slow
Response speed is determined by the #define STEP. I set it to 10 for ~0.5s from neutral to full throttle, but you can make it larger for quicker response (eg. 50=~0.1s, 127=~0.04s). Alternatively you could disable the #define SLOW (put a ";" at the start of that line) which will enable averaging mode with a response time of ~0.04s.

Quote:
braking force, it is increased by the PWM pulse width (min to max ). I want brakes are maximum , as soon as reverse
Proportional brake is generally preferred because it allows the driver to vary the amount of braking force. To get maximum brake no matter what the stick position, add the lines in bold below:-

Code:
;--------------------------------------------------------------
;                      continue braking
;
brake_update:	movlw	255             ; maximum brake
		movwf	PwmWidth
		call	UpdatePWM	; set PWM width
Your PCB layout looks good.
Bruce Abbott is offline Find More Posts by Bruce Abbott
Reply With Quote
Old Nov 26, 2012, 02:24 AM
Registered User
Joined Nov 2012
131 Posts
version 12F617, tone * beep * from the motor was missing.

insert the one tone * Do Re Mi * or 3 tone * beep beep beep * (Frequency on 50hz to 500hz ) when determining the neutral position.

like the type esc that I have met

 add ASM code of the command? position? If program changes are not too difficult, please help me

thank so much
rc my life is online now Find More Posts by rc my life
Last edited by rc my life; Nov 26, 2012 at 02:29 AM.
Reply With Quote
Old Nov 26, 2012, 08:41 AM
Registered User
Joined Oct 2012
115 Posts
I have to modify according to your instructions, great results

I kept proportional braking mode, because I improve processing speed of around 50 (0.1 s). it reacts very fast

I started to design the circuit layout 2 layer, it will be much more compact. Post up as soon as completed

thank you for the new version
future88 is offline Find More Posts by future88
Reply With Quote
Old Nov 27, 2012, 03:07 AM
Registered User
Joined Oct 2012
115 Posts
file eagle 2 layer
future88 is offline Find More Posts by future88
Reply With Quote
Old Nov 28, 2012, 02:07 AM
Registered User
Joined Oct 2012
224 Posts
I started building the circuit, volt and ampe larger. ( verision 12f675 )
I use ir 2101. I think it will be effective

fantasy1988 is offline Find More Posts by fantasy1988
Reply With Quote
Old Nov 28, 2012, 03:15 AM
Registered User
Joined Oct 2012
115 Posts
hello fantasy1988

i think with versions, 12f675, use ir 2101 driver bridge H is a mistake

fet above only works for a short time, then turn off

reasons: 2.7khz frequency is too high

you should use version 12f617, low frequency
future88 is offline Find More Posts by future88
Last edited by future88; Nov 28, 2012 at 03:44 AM.
Reply With Quote
Old Nov 28, 2012, 09:58 AM
Registered User
Joined Oct 2012
224 Posts
I think this frequency is not high.I use 1uF capacitor, it can meet this frequency
fantasy1988 is offline Find More Posts by fantasy1988
Reply With Quote
Old Nov 29, 2012, 08:22 AM
Registered User
Joined Oct 2012
115 Posts
test result ?
future88 is offline Find More Posts by future88
Reply With Quote
Old Nov 29, 2012, 07:36 PM
Registered User
Joined Oct 2012
115 Posts
Quote:
Originally Posted by rc my life View Post
version 12F617, tone * beep * from the motor was missing.

insert the one tone * Do Re Mi * or 3 tone * beep beep beep * (Frequency on 50hz to 500hz ) when determining the neutral position.

like the type esc that I have met

 add ASM code of the command? position? If program changes are not too difficult, please help me

thank so much
Bruce abbot has writing tone program verison 12f617

;================================================= ==================================
; 'Beep' the motor
;================================================= ==================================
Beep: return


you just need to insert the code version 12f675 in code propram 12f617

; Play a 2KHz 'beep' sound for 1/8 second, to indicate successful arming.
; (uses the motor as a speaker!)
;
PlayBeep:
clrf PwmCount
beep1: movlw ON_FORWARD
movwf GPIO ; motor on
movlw 5
movwf PwmPeriod
beep2: clrwdt ; for 22uS
decfsz PwmPeriod,F
goto beep2
movlw OFF_FORWARD
movwf GPIO ; motor off
movlw 128
movwf PwmPeriod
beep3: clrwdt
decfsz PwmPeriod,F
goto beep3 ; for 0.5mS
decfsz PwmCount,F
goto beep1 ; 256 cycles

; wait for end of next servo pulse

servo_hi: btfss GPIO,ServoBit
goto servo_hi
servo_lo: btfsc GPIO,ServoBit
goto servo_lo

; ready to go!
movlw ON_STOP
movwf MotorON ; Motor FETs OFF
movlw OFF_STOP
movwf MotorOFF ; Direction FETs OFF

clrf PwmWidth ; PWM=0

movlw PRECHARGE
movwf ServoCount ; precharge ServoCount

goto MainPwmEntry
future88 is offline Find More Posts by future88
Reply With Quote
Reply


Thread Tools

Similar Threads
Category Thread Thread Starter Forum Replies Last Post
Discussion Ebay 320amp brushed esc and car starter narxer Power Systems 7 Aug 20, 2012 12:31 PM
Discussion Question about using a 10T brushed car esc in a boat, using twin 55T brushed motors SARCFAN Dock Talk 5 Jul 02, 2012 12:58 PM
Found --found/closed/thanks rcfanatic--Brushed r/c car ESC that can handle 11.1 lipo fly_right Cars - Cars and Parts (FS/W) 6 Apr 14, 2012 08:39 PM
Discussion Replacment brushed ESC for the NitroRCX drift car. B dog Electric Power Cars 5 Mar 06, 2012 09:20 PM