opencardev / crankshaft

Crankshaft: A turnkey GNU/Linux solution that transforms a Raspberry Pi to an Android Auto head unit.
http://getcrankshaft.com
GNU General Public License v3.0
2.13k stars 255 forks source link

TSL2561 LightSensor #311

Closed SergioMuinhos closed 5 years ago

SergioMuinhos commented 5 years ago

Hello, I bought the TSL2561 sensor and I have to solder and I do not know where to plug the pins. Can you help me? I bought this lightsensor and the pins where it is connected are occupied by an RTC and the screen itself, Any solution? Thanks

Warning: if you have configured wifi passwords they will be blanked by script during creation. We can't make absolutly sure you passwords are removed so do a personal check of the files inside the zip.

SergioMuinhos commented 5 years ago

Hello, I bought this lightsensor and the pins where it is connected are occupied by an RTC and the screen itself, Any solution? Thanks

LoganFanGer commented 5 years ago

Both, the light sensor and the RTC communicate via the I2C bus. This can serve several devices at the same time. Although I have no light sensor, but I have tinkered for another application an adapter to connect two I2C-devices to the pins 1,3,5,7,9. Alternatively, you can solder something out of the Dupont cables.

bus-adapter

The Screen also?! Thats not right. Normally its connected to PIN 2 or 4 for 5V and PIN 6 for GND! ds3231

SergioMuinhos commented 5 years ago

Where you have purchased all the components? or how could I do it? Thanks for answering.

hawkeyexp commented 5 years ago

I2C is a bus system so you can connect multiple devices to it. Possible you need to solder a custom solution if you have parts with presoldered connectors. The needed pins are documeted here: https://github.com/opencardev/crankshaft/wiki/Brightness-Sensor Please move discussions about howto solder etc to reddit. Thx.