Recent content by Jim-TX

  1. J

    How do we use an IR remote control & detect multiple button-presses?

    Doing a bit of brief thinking on this... Almost everything you need is already built into the IRIN command that you should use for the Infrared input. I spent a few minutes and cobbled together how I think I would approach your predicament. For those of you who are experts, please go easy on...
  2. J

    How do we use an IR remote control & detect multiple button-presses?

    RE: Could the program be written to ignore any double key codes: It would be easier to put in a delay of... say... half a second - before scanning for more codes. To make sure all codes have been received before processing, require the 'Enter' key to also be pressed. So, the user would enter...
  3. J

    How do we use an IR remote control & detect multiple button-presses?

    "So, pressing "1" will perform a certain function and pressing "12" will perform something else, and pressing "123" will perform something else entirely." I have worked a lot with IR controllers (Sony protocol). My first question is why are you wanting to do the 1-2-3 keypad entry? Why not use...
  4. J

    Light Dependent Resistor (LDR) and LED lighting

    The blue leaded part is most likely a Transorb or Varistor - for AC line protection, as you have indicated. I'm not sure what the three IC-looking parts are, but my guess is that the LEDs are connected in series. White LEDs have a voltage drop of around 3.5 volts. This number varies depending...
  5. J

    Calculating integers far greater than 65535.

    Oh. Okay. Well, in all of this conversation, I was working on a method for determining the voltage - based upon the raw values read. If I were doing it, I would use a SELECT CASE statement. But that's just me. I'm sure you will get a much better response from the experts here.
  6. J

    Calculating integers far greater than 65535.

    Sooo… I guess I am still trying to figure out what you are reading. Your actual number that the ADC is giving you. The 32-bit - yes, I know it needs to be massaged to 24-bits - but what is the actual 32-bit binary number that you are getting - for both resistors. 330 ohms = xxxxxxxx xxxxxxxx...
  7. J

    Calculating integers far greater than 65535.

    The numbers don't make sense. If 16,777,215 = 5.0V and 8,388,607 = 2.5V, then it stands to reason that 4,194,303 = 1.25V. When you have a 330 ohm resistor plugged in as R2, you are getting a reading of 8,333,034. According to the above numbers, that is very near 2.5V. But - if you do the math...
  8. J

    Calculating integers far greater than 65535.

    If I am not mistaken... the numbers that you are obtaining from the ADC - are... not ohm values... but a voltage value that then needs to be converted to a resistance value?? (Showing my ignorance here...) You have a voltage divider circuit. +5 volts across the 1k and the 'X' resistor.
  9. J

    Calculating integers far greater than 65535.

    For a schematic, see #30 above - unless he has changed it.
  10. J

    Calculating integers far greater than 65535.

    ...then have the statement... b5 = 0 right before you drop into the routine... ? I guess without seeing the code I can't know how you are doing things.
  11. J

    Calculating integers far greater than 65535.

    I think <he says slowly> I see what you are doing. I was slowly coming up with the same method for bit-shifting the four bytes into the needed three bytes of data. Looking at it though... could your If/Then be made a bit easier? Start with a statement like b5 = 0. Then could you eliminate the...
  12. J

    DAC Transistor

    I guess that might be a use for one of these... ??? https://www.goldmine-elec-products.com/prodinfo.asp?number=G15396
  13. J

    Alternative to FR-4 PCBs

    First, I apologize if this is posted in the incorrect forum. I scanned the other forums, and could not figure out where to put this. Hopefully, this forum is acceptable. In another thread, there was a discussion about getting a design made using home-etched PCBs. Other methods were also...
Top