Sign in

username:

password:



Not a member?

Search piclist



Search tips

Subscribe to piclist



piclist by Keywords

12F675 | 16F628 | 16F84 | 16f877 | 16F877A | 16F88 | 18F458 | ADC | AVR | Bootloader | CAN | CCS | CRC | EAGLE | EEPROM | ICD | ICSP | IDE | JDM | LED | Macros | Microchip | MPLAB | PCB-CAD | PIC10F | Pic12f675 | PIC16F84 | PIC16F84A | PIC16F877 | PIC18 | PIC18F452 | PicBasic | PICC | PICSTART | PWM | RS-485 | RS232 | SMT | SPI | UART | USART | USB | Wireless | Wisp628 | Xilinx

Ads

Discussion Groups

Discussion Groups | Piclist | seeking a h-bridge drive snippet...

A discussion group for the PICMicro microcontroller. Also called the Microchip PIC, this list is dedicated to the use and abuse of this fine, simple, microcontroller. Close to topic posts are welcome, ie. general electronics.

seeking a h-bridge drive snippet... - timbomcnuckle - Jun 27 8:24:23 2007

Hi folks, I've been subscribed to this list for about a year or so
now, usually do not write anything myself due to not having anything
valid to contribute,, so I just read the digests when I get em and
keep the ones that have good tidbits....anyways,

This is not quite on topic but I am building a small project as many
other have in the past- a rc truck conversion to bot platform. Mine is
a toy, radioshack 4x4 truck and is a number of years old now. The
reason why I have selected this platform is that this model actually
has some nicely designed diffs (for plastic toys anyways..) The worst
part about them is the steering servo (surely you can guess its
quality..)- In my particular design I have so far opted to 'borrow'
the RS's H bridge design from the toy's PCB to drive the rear (and
only 'drive') motor. As far as I understand about H bridges, I should
be able to use its design to apply pwm for speed control (the original
did not have speed control I don't think, just directional control)- I
plan on using a pic16f for the controller (using 16f876a right now but
want to use the 16f886 in final design) Anyways,

I am hoping that someone out here would be willing to share a small
snippet of code intended to test the functionality of a transistor H
bridge ( I have 3 wired up right now of various drive configs)
controlled by 2 signals and/or 4 signals from uC. Snippet in asm or C
would be prefered (I have MCS but it is demo only so sucks) to simply
test both direction and speed control using pic16f series hardware
pwm. I've looked around for code examples online but most are not
simple test routines but complete firmware and not easy to edit for my
purpose. I am not skilled enough to write my own block else I would be
doing that anyways- I am learning as I go and would therefor benefit
from an example in that I could use it to 'grow-on'

Many thanks in advance for some help in this regard- tips or even
some heckling is welcomed! regards, jd


(You need to be a member of piclist -- send a blank email to piclist-subscribe@yahoogroups.com )