Search:

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

Page 1 of 4 1 2 3 4

Search: Search took 0.01 seconds; generated 30 minute(s) ago.

  1. Replies
    2
    Views
    2,072

    Re: DHT22 interface problem

    look here

    http://www.picbasic.co.uk/forum/showthread.php?t=17867
  2. Replies
    16
    Views
    4,652

    Re: Temperature does not go below 0

    A Thermistor changes resistance with temperature change. To read a 'remote' Thermistor a 'completion resistor' (CR), typically 1000 ohms, is used in series and a known voltage is applied to the...
  3. Replies
    47
    Views
    33,062

    Re: Interfacing with Arduino I2C LCD

    I also found this code written by norohs difficult to work out and eventually I decided that it works more by accident than design and that there has to be a better way of doing this. This is what I...
  4. Replies
    47
    Views
    33,062

    Re: Interfacing with Arduino I2C LCD

    There is information here.

    http://www.picbasic.co.uk/forum/showthread.php?t=19222
  5. Replies
    30
    Views
    8,459

    Re: Help with the conversion math

    Not quite Richard. In theory

    0=102.4 at 0.5 volts and 0.07=921.6 at 4.5 volts.

    assuming as you say the vref=5 v.

    102.4 is the zero offset and 0.07/(921.6-102.4) is the slope.

    to convert...
  6. Replies
    30
    Views
    8,459

    Re: Help with the conversion math

    '* Notes : For a 18F1320 and 54AL07H2210 *

    was it not?
  7. Replies
    30
    Views
    8,459

    Re: Help with the conversion math

    PDF works for me.

    The sensor is a 0.07 psi low voltage range with output from 0.5-4.5V
  8. Replies
    30
    Views
    8,459

    Re: Help with the conversion math

    Is this not a repeat of the left and right output justification as on the previous thread in Richard's link.

    7040 left justified is 110 right justified using Henrik's 4.88mV then
    ...
  9. Replies
    19
    Views
    6,404

    Re: Blinking LED will not Blink

    Hi Andy,

    To use the code tags go advanced and use the # icon.

    A way forward is to use a bit pattern within a byte simply by indicating . as 0 and - as 1.

    this would make S 000 or the whole...
  10. Re: 12f675 to latch output while it does something else

    My thinking is that flashing the LED pin affects the RELAY pin therefore they must be connected in some way.
  11. Re: 12f675 to latch output while it does something else

    Check your wiring for a short between LED and RELAY
  12. Re: 12f675 to latch output while it does something else

    Post your code and schematic then I can help.
  13. Re: Creative ways to make macros with the least amount of code space

    Sound easy enough to me.
    Looks like a good reason to learn. Let me know if you want me to help.
  14. Replies
    19
    Views
    6,222

    Re: RFID Issues.... HELP !!!!!

    I am sad to hear this and I feel that I have failed in some way. Never give up in the search for perfection and ignore the defeatists is my advice. So now it works you should have time to try again...
  15. Replies
    19
    Views
    6,222

    Re: RFID Issues.... HELP !!!!!

    This is exactly what you need to do.

    Yes when the DATA places the Tag in the EEPROM the largest number is in 0 and smallest in 9

    DATA "1400434B9C"
    locatn 0123456789

    and when the Tag is...
  16. Replies
    19
    Views
    6,222

    Re: RFID Issues.... HELP !!!!!

    ' -----[ EEPROM Data ]-----------------------------------------------------

    Tag1 DATA "1400434B9C"
    Tag2 DATA "1500649EC3"
    Tag3 DATA "150063C82C"
    Tag4 DATA "X50064A4CA"


    ' -----[ Program...
  17. Replies
    18
    Views
    5,504

    Re: Truth Tables in PBP

    Good thinking! Maybe I should try Rye.

    Obviously you could use all of the upper nibble as flags giving four sets of special cases if you set them as individual bits. By using the upper nibble as a...
  18. Replies
    19
    Views
    6,222

    Re: RFID Issues.... HELP !!!!!

    Are you sure you can see how it works?

    IF ("C" = buf(9)) and ("9" = buf(8))THEN loc1

    Looks like

    IF ("C" = buf(9)) THEN
    IF ("9" = buf(8)) THEN
    loc1
    ENDIF
  19. Replies
    19
    Views
    6,222

    Re: RFID Issues.... HELP !!!!!

    What you need to do is

    For each id check each character and if one does not match jump out. If all match unlock door.

    FOR idx = 0 TO 9 ' scan bytes in tag
    READ (((tagNum-1) * 10) +...
  20. Replies
    19
    Views
    6,222

    Re: RFID Issues.... HELP !!!!!

    But this line

    IF (char = buf(idx)) THEN loc1

    unlocks loc1 when char = buff(idx)

    if you scan any card the first character is 1
    the first data character is 1 at buff(0)
    therefore they match...
  21. Replies
    19
    Views
    6,222

    Re: RFID Issues.... HELP !!!!!

    FOR tagNum = 1 to 4 ' scan through known tags
    FOR idx = 0 TO 9 ' scan bytes in tag
    READ (((tagNum-1) * 10) + idx), char ' get tag data from table
    IF (char = buf(idx)) THEN loc1
    ...
  22. Replies
    18
    Views
    5,504

    Re: Truth Tables in PBP

    You are welcome and if you need more help, as always, just ask.
  23. Replies
    18
    Views
    8,237

    Re: A to D reading confusion

    Interesting explanation Henrik. I was trying to work out how 0-65535 was achieved knowing that the PIC ADC was 10 bit. Reading the datasheet

    I was puzzling over the last word "justification" and...
  24. Replies
    18
    Views
    5,504

    Re: Truth Tables in PBP

    There are ways around this.

    One is to use maths

    myvar=PORTA.0+PORTA.1*2+PORTA.4*4+PORTA.5*8

    Another way is bit manipulation

    myvar=PORTA & %00110011 ' select the input pins
    myvar=(myvar...
  25. Replies
    18
    Views
    5,504

    Re: Truth Tables in PBP

    t2 is the timed pin?

    is tflag being reset to 0 elsewhere in your code?

    Like you I see no problem with this snippet.
Results 1 to 25 of 100
Page 1 of 4 1 2 3 4