Problem with 16F88 controlling h-bridges


Results 1 to 8 of 8

Threaded View

  1. #1
    Join Date
    Mar 2007
    Posts
    9

    Default Problem with 16F88 controlling h-bridges

    Hi,

    I'm using PBP to create a pen plotter. I have made 6 h-bridges to control 3 stepper motors all of which seem to be functioning correctly. I had 4 of the h-bridges plotting when driven by a PICAXE (using an 18X - which is a pre-programed 16F88). I have since switched over to PBP and added an extra two bridges for pen up and down control.

    I developed the PIC software using a breadboard and a set of LED's, making sure that the LEDs blink in the right order... this is now finished and working well, receiving data from the computer serial port and flashing accordingly.

    However, when I come to plug the PIC into the circuit with the h-bridges, nothing happens. I've checked for shorts over and over again and can't seem to come up with anything... The only differences between the breadboard and veroboard with the h-bridges is that I have 100uF decoupling capacitor and a 4.7K pullup on RA5 on the veroboard. I can't think that these are the problem, and I added a cap and resistor to the breadboard and things seemed to be OK. However, I do remember that the first time I added the decoupling cap to the breadboard, the PIC behaved badly for a few seconds beforing settling down.

    Any ideas what the problem could be? I've tried preprograming a routine of pulses so that the PIC isn't depending on the serial input. That still didn't work. It's as if the PIC simply isn't starting up.

    Final question is with pin RA5. I wanted to use it as an input for the serial comms, but I couldn't get it working. I've set MCLR off, but it doesn't want to play ball. Any ideas what I could be doing wrong?

    Thanks for your help... I'll go back to checking for shorts for the hundredth time
    Last edited by silentwol; - 4th March 2007 at 15:31.

Similar Threads

  1. 16F627A to 16F88 conversion problem
    By PICpocket in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 18th February 2009, 19:20
  2. 16F88 ADC problem
    By greensasquatch in forum mel PIC BASIC Pro
    Replies: 19
    Last Post: - 7th September 2008, 16:16
  3. Problem with 16f88 steep motor control
    By ken_23 in forum Off Topic
    Replies: 0
    Last Post: - 4th July 2008, 12:25
  4. USART Problem , but don't know where, in pc? or in PIC?
    By precision in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 15th July 2007, 08:12
  5. DS18B20, 16F88 problem
    By DynamoBen in forum mel PIC BASIC Pro
    Replies: 11
    Last Post: - 10th June 2007, 16:11

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts