Search Results - MEL PICBASIC Forum


Search:

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

Search: Search took 0.00 seconds.

  1. (2) 10 Bit Inputs, Convert one to 8 bit and display both on LCD

    I have my x/y joystick control working with 8 Bit inputs for tank style control(i don't want to go through that algorithm again), but I want to use a temp sensor(LM35DT) with 10 Bit input for better...
  2. Thread: 10bit A/d input

    by jrudd
    Replies
    8
    Views
    4,539

    Re: 10bit A/d input

    Ace, thanks, I've been using a Microchip A/D addendum manual I downloaded years ago and I guess it sort of worked because I never noticed severe problems....
  3. Replies
    5
    Views
    6,207

    Re: Multiple 10bit adc on pic 16f887?

    This is strange. I've been using a MicroChip 10bit a/d manual (http://ww1.microchip.com/downloads/en/DeviceDoc/31023a.pdf) which shows a different set-up for ADCON1 than the A/D section of the...
  4. Replies
    5
    Views
    6,207

    Re: Multiple 10bit adc on pic 16f887?

    My data sheet for the 16f877 shows the ADCON1 register to be set up as follows:
    Bit 7,6 Unimplemented, set as 0
    Bit 5 "1"= Right Justified, "0"=Left Justified
    Bit 4 ...
  5. Thread: 10bit A/d input

    by jrudd
    Replies
    8
    Views
    4,539

    Re: 10bit A/d input

    Thanks but it was right justified. I've added the code below. Sorry, I've forgotten how to use a code window and can't find the thread instructions.

    '* This sample program is supplied courtesy of...
  6. Thread: 10bit A/d input

    by jrudd
    Replies
    8
    Views
    4,539

    10bit A/d input

    I'm trying re-learn what I thought I understood 3 yrs ago.
    I have a 16F877A with the A/D set-up for 10 Bits. Outputing the found value to an lcd.
    For my 0-5v input, I have to do FoundValue=DEC...
  7. Thread: HPWM on 16F877A

    by jrudd
    Replies
    2
    Views
    2,853

    aratti, Thanks. Yes that solved the problem....

    aratti,
    Thanks. Yes that solved the problem. Interestingly, in adding that fix, I discovered that I have to limit the duty cycle value to 254. 255 equates to 100% which means no pulses which means...
  8. Thread: HPWM on 16F877A

    by jrudd
    Replies
    2
    Views
    2,853

    HPWM on 16F877A

    I made a board for a dual h-bridge design based on a breadboard I put together on the bench.
    I noticed on the new board that I was getting jittery motors as my analog In from the joystick approached...
  9. Replies
    5
    Views
    4,286

    Rc2

    I think that RC2 is trying to go high but can't because the coil of the relay is pulling too much current for the output. Might have to use a transistor as a switch.
  10. Thread: HPWM Control

    by jrudd
    Replies
    3
    Views
    3,176

    RC Drive

    Thanks for the help guys.
    After studying further, when I shut the transmitter off, I realized that some values for duty cycle were correct and would fall through to the HPWM Command. The trouble was...
  11. Thread: HPWM Control

    by jrudd
    Replies
    3
    Views
    3,176

    HPWM Control

    I have an H-Bridge that can run under joystick control or R/C Transmitter Control.
    While running under R/C Transmitter Control, I want the PWM to go to zero if the transmitter is accidentally...
  12. Replies
    1
    Views
    2,917

    PWM Pulse Amplitude on 16F877

    I'm getting a good looking 50% duty cycle signal from the CCP1 pin but I just noticed that the amplitude is only about 120mv. I've changed freq and PR2 values and still get 120mv out. I checked the...
  13. Replies
    2
    Views
    3,998

    Mass Air Flow Sensor Data

    I want to build an Industrial device that needs to measure mass air flow in the same range as typical Automotive MAF Sensors. I have searched for actual data(i.e. Actual Mass Air Flow verses Voltage...
  14. Replies
    4
    Views
    3,089

    Thanks for replies

    Actually I'm ordering some from rentron.com as well as some PIC 16F877's to go on the Proto64 board.
  15. Replies
    4
    Views
    3,089

    Caps Around Resonator

    If I use a Resonator that has built in caps, should I still put external 22pf caps around it or none at all?
    Thanks,
    John
  16. Thread: Floating Point

    by jrudd
    Replies
    0
    Views
    17,409

    Floating Point

    Anyone have positive experience using Micromega's floating point processor?
    http://www.micromegacorp.com/
    Thanks,
    John
  17. Replies
    0
    Views
    2,945

    Serial from 16F877 to VB

    This is driving me crazy. I'm displaying an analog voltage on an LCD attached to the PIC as adval.HighByte,adval.LowByte(3 233)
    I'm also sending the same values to a VB program using the same...
  18. Thread: modedefs.bas

    by jrudd
    Replies
    1
    Views
    3,716

    modedefs.bas

    I wanted to look at modedefs.bas but can't find it. I'm still playing with the Demo PBP that I downloaded. Is that the problem?
    Thanks,
    John
  19. Replies
    12
    Views
    21,692

    877MCU Board

    Joe,
    I'm interested in your board. I'm working toward a small board with 16x2 LCD,
    2 or 3 a/d inputs and possibly a PWM out.
    Couple of questions:
    1. What size is the board
    2. How does the LCD...
  20. Replies
    4
    Views
    5,021

    Darrel, Thanks, I used 10,13 because that is the...

    Darrel,
    Thanks, I used 10,13 because that is the sequence I amusing to run a 16x2 LCD and displaying the same data that I wanted to capture in a text file using Hyperterminal. The next thing I want...
  21. Replies
    4
    Views
    5,021

    Capturing Text File in Hyperterminal

    I'm using Hyperterminal to receive and display data using:
    Hserout ["Value=",DEC adval,10,13] which works fine, I get the A/D value "adval" and I get the linefeed and carriage return using the...
  22. Replies
    2
    Views
    2,787

    Setting OSC Speed

    Thanks Man,
    It was your item 2. I wasn't setting the correct Osc Speed, in this case 20MHZ. DEFINE OSC 20
    jrudd
  23. Replies
    2
    Views
    2,787

    Is there a speed limit using CodeLite

    I just realized that my 16F877 is probably running at 20MHZ.
    Is there a set-up in CodeLite to set the PIC Speed or will I need the Full Version?
    Thanks,
    John
  24. Replies
    1
    Views
    4,631

    Using PBP Hex Files with FED Pic Programmer

    I downloaded PBPDEMO and Codelite and I'm trying to program a 16F877 using my FED Pic Development/Programmer Board.
    I can find and load the PBP generated Hex File with the FED software and it...
Results 1 to 24 of 24