Nov 07, 2012, 04:49 AM Registered User Joined Nov 2012 114 Posts I think, with the mixed signal pulse diagrams, circuit works just fine for the tank but not suitable for boat  with the boat, turn left or turn right, only one in two motor activities  with tanks, turn left or turn right, two motor will turn in the opposite direction tanks work with 2 bridge H (use 2 motor ) boat work with 3/2 bridge H (use 2 motor )
Nov 07, 2012, 06:08 PM
Registered User
Joined Oct 2012
66 Posts
Quote:
 Originally Posted by rc my life  with the boat, turn left or turn right, only one in two motor activities  with tanks, turn left or turn right, two motor will turn in the opposite direction tanks work with 2 bridge H (use 2 motor ) boat work with 3/2 bridge H (use 2 motor )
I think both works the same
 Nov 08, 2012, 09:57 PM Registered User Joined Nov 2012 114 Posts when the boat is running high speed, if you want to change the direction (mixed signal as diagrams), two motor will spin in opposite directions. and the boat will turn 180 degrees. the result is flipping boat if you want to run two motor boats, you need to install the feature mix the signals site built circuit control two motor for boats, http://julnet.ch/index.php?option=co...iques&Itemid=2 and this is the most perfect motor control circuit, but it is very difficult to implement http://evei.ru/?p=1623 install software Last edited by rc my life; Nov 08, 2012 at 11:27 PM.
 Nov 09, 2012, 11:04 PM Registered User Joined Nov 2012 114 Posts hi ?
 Nov 09, 2012, 11:06 PM Registered User Joined Oct 2012 66 Posts sites you recommend, it is complex and expensive. for me, just pic is enough thank you
 Nov 10, 2012, 11:40 PM Registered User Joined Nov 2012 114 Posts it is your choice, design of bruce Abbott is enough.
 Nov 12, 2012, 09:16 AM Registered User Joined Oct 2012 66 Posts hi bruce abbot I wonder about the brakes for motor mode, the short-circuit method two fet low (connected to GND) braking force depends on the internal resistance of the FET? Small Ohm resistor, braking sharply. large resistor Ohm, weak brakes?  any other factors?
Nov 12, 2012, 05:46 PM
We want... Information!
Hastings, New Zealand
Joined Jan 2001
5,054 Posts
Quote:
 Originally Posted by future88 braking force depends on the internal resistance of the FET?
Lower FET resistance will improve braking force, but normally it is much lower that the internal resistance of the motor, so the effect should be small.

Here is the latest version of my code, with Timer1 gate used to capture the incoming servo pulse (giving a smoother throttle with less jitter). Turns out the reason I was having trouble getting this to work was that MPLAB Sim doesn't properly simulate the Timer1 gate when it is steered to GP3. My code works fine in an actual device, but the simulated timer wouldn't count!

NOTE: as with the previous version, this HEX file was assembled in 'simulate' mode, so low voltage cutoff and throttle arming are disabled.

# Files

 Nov 13, 2012, 07:18 PM Registered User Joined Oct 2012 66 Posts thanks bruce abbot I connect pin 6 to pin 1, because low voltage cutoff mode only works well with the small motor. but for large motor, when it works, it significantly reduced volt battery, so pic cut off power we can use this device to take on the job for the pic, and the pic will work less new version using 12f617, as you said low voltage cutoff mode disabled. so why not use pin 6 to display a LED. LED is turned on in regime forward, reverse or brake., and blinks when the pulse signal loss? of course, this is just my comments , for a more complete version,
Nov 14, 2012, 04:24 PM
We want... Information!
Hastings, New Zealand
Joined Jan 2001
5,054 Posts
Quote:
 Originally Posted by future88 new version using 12f617, as you said low voltage cutoff mode disabled. so why not use pin 6 to display a LED. LED is turned on in regime forward, reverse or brake., and blinks when the pulse signal loss?
Good idea!

Since the high-side outputs already reflect which direction the motor is going, I simply connected the forward and reverse LEDs to pins 3 and 7. I used pin 6 to turn on the brake LED. On loss of signal the brake LED flashes rapidly.

# Files

 Nov 17, 2012, 08:33 AM Registered User Joined Oct 2012 66 Posts wow wow with this version, it is almost perfect. I'll go buy the chip and circuit implementation now thank you Bruce abbot for share
 Nov 22, 2012, 05:56 PM Registered User Joined Jun 2005 1 Posts Hello Bruce, I found the program by chance your esc with google, I deeply studied the code, but I'm too little scholar asm for it alone tonight and I found this topic, I'm happy. I would like an electronic servo output in amps for very beefy engine up ice in car, the H-bridge works well in replacing that there is a servo usual but I have problems with the code . The engine must withstand a permanent exit, so he growls, I said that the pwm should be weaker on reaching the equilibrium position, it can not do it because not enough power to combat stress. should therefore test whether the theoretical position is reached after a certain time, first time send more power and eventually stop even if it is not reached. I thought a pic 16F676 for the highest number of legs to keep the low battery detection. http://ww1.microchip.com/downloads/e...Doc/40039F.pdf Using a potentiometer as AS5045 is a plus as would choose the race or several rounds. http://www.ams.com/eng/Products/Magn...5045-Downloads Like for openservo http://www.openservo.com/ and in http://www.rcmart.com/hitec-premium-...h-p-31665.html burned ! but AS5045 is good :-) The project is too hard for you ? For me, sure !!! Excuse my english, google traduction is my friend
 Nov 23, 2012, 01:24 AM Registered User Joined Oct 2012 66 Posts hi Bruce abbot I tested this new version brigde 17 v0.2, results error mode of loss of signal or bad signal (use led flash ) does not work when not turn tranmiter, it is only set up when turned tranmiter If the joystick is in forward or reveser position. turn tranmiter, car will run forward or reverse immediately use one LED to indicate the mode, forward brake, revese use three leds very difficult to design the circuit. you can change the program so that it becomes more complete thank you Last edited by future88; Nov 23, 2012 at 02:45 AM.
 Nov 23, 2012, 04:57 AM Registered User Joined Oct 2012 224 Posts I have use both versions in a long time, until now, V 0.8 use 12F675 is best for me., and I'm trying to modify a mode signal loss program like 12f 617 V.0 2 (use the lED flash) V.0.2 use 12f 617 encountered some difficulties in restarting the neutral position, but pwm pulse signal is good, it makes the engine less heat and less noise
Nov 23, 2012, 03:18 PM
We want... Information!
Hastings, New Zealand
Joined Jan 2001
5,054 Posts
Changes in Bridge17 V0.3:-

1. Status LED lights up in neutral, full forward and full reverse/brake. Flashes when no signal.

2. Failsafe is back! Pulls throttle towards neutral if bad (or no) signal detected.