Search Results - MEL PICBASIC Forum

Search:

Type: Posts; User: mpgmike; Keyword(s):

Page 1 of 4 1 2 3 4

Search: Search took 0.02 seconds.

  1. Re: HPWM outputs only on two channels on PIC16F886, when it should do more.

    Another one with 16-bit PWM is the PIC16F17xx series. The PIC16F1778_9 even has 12-bit ADC.
  2. Re: HPWM outputs only on two channels on PIC16F886, when it should do more.

    You can feed PWM into a CLC and use the CLC interrupt. On the PIC16F1578, you have quite a list of interrupts tied to the PWM. There's 2 options for you.
  3. Re: HPWM outputs only on two channels on PIC16F886, when it should do more.

    Check out the PIC16F157X. It has 16-bit PWM with phase control and 4 channels. It sounds close to perfect for you.
  4. Re: HPWM outputs only on two channels on PIC16F886, when it should do more.

    I think I know what you're asking; 4 individual PWM outputs, same DC%, same freq. One initiates, then a time frame later the second goes high, a pause then the 3rd goes high, then after another...
  5. Replies
    5
    Views
    288

    Re: pic16f876a-i/sp replacement

    On your computer go to:
    C:\\Program_Files(x86)\PBP3_1\DOCUMENTATION and click on the PIC you wish to use. It will open a text document with every CONFIG, list the defaults at the top, then cover...
  6. Re: PIC 18F2431 PORTB.6 and 7 - strange behavior on restart after a few hours "rest"

    Reading instructions for the PICkit3 it explicitly states not to use any capacitors in the Vpp/MCLR line. Again, conflicting information?
  7. Thread: 18F66K80 adc

    by mpgmike
    Replies
    9
    Views
    257

    Re: 18F66K80 adc

    DEFINEs let PBP know what you put in the SFRs. For example, if you wish to use 12-bit ADC but don't DEFINE it, PBP uses the Default 8-bit. You may manually set the Sample, but if you don't DEFINE...
  8. Re: PIC 18F2431 PORTB.6 and 7 - strange behavior on restart after a few hours "rest"

    Odd. I was having similar issues and just happened to check this forum; what do you know? The answers provided helped me find my solution! Thanks all!
  9. Re: Flyback/forward power supply using comparator and hpwm/timer, possible?

    This is on a PIC16F18426, which PBP3 doesn't yet service -- so I used MPLABX and ASM. However, here is the important stuff translated to PBP:


    ; --- NCO SFRs: Generates Pulse to Inductor for HV...
  10. Re: Flyback/forward power supply using comparator and hpwm/timer, possible?

    I'm using NCO and a comparator to do pretty much the same thing. I just turn them on and ignore. Works completely through hardware in the background.
  11. Re: Elapsed timer not working as expected at 64MHz

    I found working with the UART SFRs, including interrupts, allows tossing another byte into the hopper when it's ready -- all while taking care of other business in the meanwhile. The HSEROUT command...
  12. Replies
    43
    Views
    1,219

    Re: HTML and PIC communication

    Microsoft has a forum dedicated to all things Visual Studio (Visual Basic in my case). I don't know if you're using VS but here is the link to the forum. Perhaps you can find answers there:
    ...
  13. Programming several PICs on same PCB board

    My current project involves using 3 PICs; PIC18F14K50, PIC18F26K42, and PIC16F18426...all on the same board. Can I install jumpers between the PIC's Vpp and the IDC 4 / PICkit3 (etc) ICSP header? ...
  14. Replies
    18
    Views
    2,161

    Re: Configuration bits

    Trying to solder surface mount stuff like that, the best I could get was to take a jeweler's screw driver and smear just a film of flux on the pads; place the chip, clamp it in place, then just touch...
  15. Replies
    18
    Views
    2,161

    Re: Configuration bits

    Got the turbo working on the PIC engine!
  16. Replies
    18
    Views
    2,161

    Re: Configuration bits

    The "DEFINE OSC x" statement merely tells PBP how to calculate timing related commands, it has absolutely no effect on the actual OSC for the PIC; that must be established with the CONFIGs & SFRs. ...
  17. Replies
    18
    Views
    2,161

    Re: Configuration bits

    A few more notes, to run at 32 MHz you will need PLL enabled. Set OSC at 8 MHz (8 * 4 PLL = 32). Lastly, Bits 1:0 of the OSCCON should reflect 0:0; Clock determined by FOSC<2:0> in Configuration...
  18. Re: Finding the MCU I need on MICROCHIP's website

    Pin arrangements are fairly consistent, even between PIC16F and 18F parts. If you find that a 28-pin format will work, choose one with the features you need. If you can't find a 20-pin part with...
  19. Replies
    10
    Views
    526

    Re: String formatting

    You want to Left Justify (typically found in one of the ADCONx SFRs) so the upper 8 bits are in ADRESH, then you read ADRESH for your 8-bit ADC result. Using DEFINE ADC_BITS 8 instructs PBP to Left...
  20. Replies
    7
    Views
    1,863

    Re: MPLAB ICD Memory Usage Gauge Issues

    To answer the original question (which I had never seen before), DATA may refer to EEPROM memory. If the EEPROM isn't used, DATA memory would be 0.
  21. Replies
    10
    Views
    526

    Re: String formatting

    When you "print" something to an LCD screen, you know you have 16 character spaces. In your Post #1 example, you listed 2 different examples; presumably the same display with 2 different values to...
  22. Replies
    0
    Views
    324

    Alternative Energy International Expo

    There will be an Alternative Energy International Expo in Clearwater, Florida this March 23 and 24th. The venue is a 5000 square foot building with ample parking, vendors & speakers throughout the 2...
  23. Replies
    0
    Views
    166

    PBP3.1.2 (from PBP3.com)

    Fixed bit-compare and bank-select for banks higher than 15 in K42/K83 families
    Fixed compile error when using arrays with 10F3xx
    Fixed HPWM for 16F18313/23, 16F1769
    Changed default #CONFIG for...
  24. Replies
    2
    Views
    1,216

    Re: Serin2 data bits

    Within PBP you can manually manipulate SFRs, read and write to UART registers, etc. If the PIC you are using has EEPROM, you can set up an array of sequential EEPROM addresses with SFR settings. It...
  25. Replies
    13
    Views
    1,483

    Re: Solar Panel battery charger

    Be sure to look at the data sheet for the MOSFETs you intend to use. I learned by melting boards, THEN looking deeper into the data sheets that the amp ratings are usually only at 2 or 3 volts. By...
Results 1 to 25 of 100
Page 1 of 4 1 2 3 4