|
|
|||
|
Joined Oct 2012
63 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
|
||
|
|
|
|
|
|
Joined Nov 2012
53 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 |
|
|
|
|
Joined Oct 2012
63 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 |
|
|
|||
|
|
Quote:
Quote:
Code:
;-------------------------------------------------------------- ; continue braking ; brake_update: movlw 255 ; maximum brake movwf PwmWidth call UpdatePWM ; set PWM width
|
||
|
|||
|
|
|
|
Joined Nov 2012
53 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 |
|
|
|
|
Joined Oct 2012
63 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 |
|
|
|
|
||
|
Joined Oct 2012
63 Posts
|
Quote:
;================================================= ================================== ; '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 |
|
|
||
|
| Thread Tools | |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Discussion Ebay 320amp brushed esc and car starter | narxer | Power Systems | 7 | Aug 20, 2012 11:31 AM |
| Discussion Question about using a 10T brushed car esc in a boat, using twin 55T brushed motors | SARCFAN | Dock Talk | 5 | Jul 02, 2012 11:58 AM |
| 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 07:39 PM |
| Discussion Replacment brushed ESC for the NitroRCX drift car. | B dog | Electric Power Cars | 5 | Mar 06, 2012 08:20 PM |