Search Results - MEL PICBASIC Forum


Search:

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

Page 1 of 3 1 2 3

Search: Search took 0.00 seconds.

  1. Replies
    3
    Views
    2,910

    Re: Recommend PPS for 16F1578

    A great big Thank You for the clarification.
    I looked at the RxyPPS in 12-2 and didn't see xy = B7 and so RB7PPS.
    I was looking at 12-3 and didn't know how Bit0 thru Bit3 was determined.
  2. Replies
    3
    Views
    2,910

    Recommend PPS for 16F1578

    I don't use MPLAB and haven't had any luck getting the MPLAB MCC tool to operate.
    I need the configuration for TX out on PIC16F1578 RB7. I thought it would default to RB7 but appears on RB3.
    Maybe...
  3. Re: Using parentheses for operation order when setting an IO pin?

    After having issues with the original code, I did switch mine to



    GoSub SetAllPinsHigh
    Select Case Mode
    Case 1
    PinA = 0
    Case 2
    PinB = 0
  4. Using parentheses for operation order when setting an IO pin?

    Is there a way to wrap code in parentheses to set order when setting an IO pin?

    I have a number of IO pins I want to toggle based on a mode variable. Essentially only one pin will be low at a time...
  5. Re: Serial data sent to 16F627A being read incorrectly by PIC?

    I traced out the board and realized another component sitting between the board input and PIC was inverting the signal. The board is being re-purposed from a different use so I was able to bypass...
  6. Re: Serial data sent to 16F627A being read incorrectly by PIC?

    I should have elaborated more on the PC part; I moved to sending bytes via PC as a direct result of this issue. The PIC in question is actually supposed to be talking to another device via serial - I...
  7. Serial data sent to 16F627A being read incorrectly by PIC?

    I'm having a problem with trying to read a single byte over hardware serial @ 2400 8N1 on a 16F627A running at 4Mhz. I've created a very thin program below to simply read the byte on the hardware RX...
  8. Replies
    1
    Views
    3,262

    Pb3 pic12lf1571 asm error

    I am attempting to program a PIC12F1571 in PBP3 and not sure why I am getting the following ASM ERRORs.
    I am not using the serial port. I updated to the latest PB3 3.0.9.4 &it updated MPLAB.

    ...
  9. Replies
    21
    Views
    16,761

    Re: RF Transmitter Receiver Recommendation?

    Thanks Dave.

    I read the considerations for operating in the 260 to 470Mhz frequency band and it would not allow my desired update rate.
    I started researching the zigbee/ xbee modules.

    Mark
  10. Replies
    21
    Views
    16,761

    Re: RF Transmitter Receiver Recommendation?

    Yes absolutely!



    I was thinking real time data w/ 1 reading per second per each sensor (6 readings per second) would be good

    Some systems operating conditions can ramp up and shut down in a...
  11. Replies
    21
    Views
    16,761

    Re: RF Transmitter Receiver Recommendation?

    I appreciate all your insight. I work on equipment installations and it always seems like the sensors are spread out in multiple locations. Example a cooling tower has 2 or 3 temperatures, water...
  12. Replies
    21
    Views
    16,761

    Re: RF Transmitter Receiver Recommendation?

    Thanks Dave for the recomendation. The Rentron parts look perfect. I'm not sure how to deal with multiple remote transmitters trying to send data at the same time. I'm thinking transceivers might be...
  13. Replies
    21
    Views
    16,761

    RF Transmitter Receiver Recommendation?

    I am looking for transmitter/ receiver or tranceiver hardware recommendation.
    I would like to learn how to wirelessly collect about 6 different analog sensor locations into a pic.
    Range (distance)...
  14. Replies
    25
    Views
    15,844

    I didn't see any large capacitor for the battery...

    I didn't see any large capacitor for the battery + connection to ground.
    With high frequency noise there is a significant impeadance between the battery and your device.
    A scope will show you high...
  15. Replies
    25
    Views
    15,844

    Do you have access to a scope? Check your gate to...

    Do you have access to a scope? Check your gate to source voltage.
    Does the drain voltage drop after the 1st solenoid energizes?
    Ignitions generate incredible electrical interference. A high...
  16. Replies
    2
    Views
    2,545

    HPWM on the fly

    After you initialize your PWM hardware and just change your PWM speed on the fly.
    0 or 255 is your on or off setting and 1 to 254 is your variable speed.

    for fanspeed=0 to 255 step 25
    hpwm...
  17. Replies
    7
    Views
    6,162

    Hoops, Your example should work fine. I have...

    Hoops,

    Your example should work fine. I have used similar code and it works great. I have controlled temp with 1 to 3 degrees F hysteresis in harsh/noisy environments. You could use the ADC...
  18. Replies
    4
    Views
    3,942

    ANSEL %00011111 didn't work

    Thanks MR E for the reply!

    pin 3 RA4, AN3 seems like it is an output because it is low impeadance.
    I am trying to measure 0 - 4 vdc and have a 10k series
    resistor and a .1uf capacitor. The...
  19. Replies
    4
    Views
    3,942

    cannot read RA4 pin3 ADC configuration?

    I can read AN0, AN1, AN2 but not AN3, AN4 data appears to change with AN2.

    AM I missing a configuration setting?

    INCLUDE "modedefs.bas"
    DEFINE CHAR_PACING 500 ' ...
  20. Replies
    4
    Views
    3,942

    16F684 ADC problem

    I am having a problem reading the RA4 (AN3) pin 3 on a 16F684.
    I have several boards that perform the same.
    I can read RA0 (AN0) OK. Am I missing a setting?

    TRISA = %11011111 ...
  21. Replies
    5
    Views
    3,622

    Darryl, I have used a number of different pics...

    Darryl,

    I have used a number of different pics but the 16F819 is the 1st that I experienced powerup issues. Disabling the power-up timer eliminated my problem. I am controlling 5 relays and pwm a...
  22. Replies
    4
    Views
    5,293

    Thanks Darrel, That is much cleaner! I will...

    Thanks Darrel,

    That is much cleaner! I will give it a try.

    Mark
  23. Replies
    4
    Views
    5,293

    Thanks Darrel, Is this what you meant?...

    Thanks Darrel,

    Is this what you meant?
    Variable X0 is the segment pattern and is sent to the output ports.
    TRISB. I use OR to maintain portB.1 as input
    TRISA. I use OR to maintain PortA.2 and...
  24. Replies
    4
    Views
    5,293

    Read Modify Write problem?

    I am writing to a 7segment LED display with a 16F627A and believe I might be experiencing a Read Modify Write problem, some segments will not turn off.
    If I use a pullup resistor on the output the...
  25. Replies
    10
    Views
    14,235

    Darrel, I returned from my business trip and...

    Darrel,

    I returned from my business trip and have been swamped with several customer changes, I hope to test your filter modifications this weekend!

    Mark
Results 1 to 25 of 53
Page 1 of 3 1 2 3