Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
interfaces:adda [2016/03/05 01:27] – [Pinout] darroninterfaces:adda [2016/03/30 20:40] (current) darron
Line 9: Line 9:
  
 The YL-40 is a cheap analogue I/O device based on the PCF8591 I2C interface chip. The YL-40 is a cheap analogue I/O device based on the PCF8591 I2C interface chip.
 +There is at least one variant of this board not named YL-40 on but instead named
 +QiFEi on the reverse.
  
 These devices combine the silicon chip with a potentiometer, light dependant resistor, These devices combine the silicon chip with a potentiometer, light dependant resistor,
 thermistor and two LEDs. thermistor and two LEDs.
  
-I have three of these devices, in two the earth connection to the thermistor is missing+I have three YL-40 devices and one QiFEi. On two of the YL-40s the earth connection to the thermistor is missing
 on the PCB, with this fault the NTC (channel 1) will always return a value of 255. on the PCB, with this fault the NTC (channel 1) will always return a value of 255.
 === Pinout === === Pinout ===
Line 35: Line 37:
 found. found.
  
-^Board ^LDR @ 10lx ^NTC @ 25'C ^ Earth fault ^ Jumpers | +^Board   ^LDR @ 10lx ^NTC @ 25' ^ Earth fault ^ Jumpers | 
-|1     | 10K       | 4K7       | No          | RED         +|YL-40 #1| 10K       | 4K7 / 3977 | No          | RED         
-|2     | 5K        | 10K       | Yes         | BLACK   | +|YL-40 #2| 5K        | 6K8 / 3977 | Yes         | BLACK   | 
-|3     | 10K       | 10K       | Yes         | NONE    |+|YL-40 #3| 10K       | 10K / 3977 | Yes         | NONE    
 +|QiFEi   | 10K       | 4K7        | No          | BLACK   |
  
-As we can see, the components vary.+As we can see, the components vary, plus there is a massive variation 
 +in response for the LDRs and they may be considered unique.
  
-The LDRs are likely to be the GL5516 (5K) and GL5528 (10K).+The LDRs are likely to be the GL/PGM 5516 (~5K) and 5528 (~10K).
  
 === PCF8591 === === PCF8591 ===
Line 73: Line 77:
 be from the any previously read input channel and perhaps not the be from the any previously read input channel and perhaps not the
 one required. one required.
 +
 +=== Resources ===
 +
 +[[http://www.vishay.com/docs/29049/ntcle100.pdf|Vishay NTC datasheet]] \\
 +[[http://en.nysenba.com/upfiles/file/LDR.pdf|GL series guide]] \\
 +[[http://akizukidenshi.com/download/ds/senba/GL55%20Series%20Photoresistor.pdf|GL55 series datasheet]] \\
 +[[http://www.token.com.tw/pdf/resistor/cds-resistor-pgm.pdf|PGM series datasheet]] \\
 +