Search:

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

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    401

    16f677 adc Issue

    I am moving from a 16F684 to a 16F677 for more I/O and having an issue with RA0. If RA0 pin is disconnected (floating} I measure 5.2V. My Vcc is 4.98V. If I ground RA0 with 10K I measure 0.19V. I...
  2. 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
  3. 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...
  4. 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...
  5. 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...
  6. 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...
  7. Replies
    1
    Views
    1,474

    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.

    ...
  8. Replies
    21
    Views
    10,729

    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
  9. Replies
    21
    Views
    10,729

    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...
  10. Replies
    21
    Views
    10,729

    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...
  11. Replies
    21
    Views
    10,729

    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...
  12. Replies
    21
    Views
    10,729

    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)...
  13. Replies
    25
    Views
    7,618

    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...
  14. Replies
    25
    Views
    7,618

    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...
  15. Replies
    2
    Views
    1,360

    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...
  16. Replies
    7
    Views
    3,428

    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...
  17. Replies
    4
    Views
    2,148

    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...
  18. Replies
    4
    Views
    2,148

    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 ' ...
  19. Replies
    4
    Views
    2,148

    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 ...
  20. Replies
    5
    Views
    1,931

    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...
  21. Replies
    4
    Views
    3,123

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

    Thanks Darrel,

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

    Mark
  22. Replies
    4
    Views
    3,123

    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...
  23. Replies
    4
    Views
    3,123

    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...
  24. Replies
    10
    Views
    8,779

    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
  25. Replies
    1
    Views
    1,743

    16F627A portA4 problem?

    I have recently changed from red LEDs to blue LEDs and encountered
    a strange problem on port A4 on a 16F627A. Port A4 is an open drain output
    connected to the LED cathode, the LED anode is...
Results 1 to 25 of 52
Page 1 of 3 1 2 3