<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[LDR sensor with Lopy]]></title><description><![CDATA[<p dir="auto">Hello everyone. I am trying to use LDR sensor with Lopy but i am facing some issues. First of all when i am using the sensor with my arduino a 10kΩ resistor and power supply  3.3V, it works well.<br />
When i use it with my Lopy it always send me back the value 4095. (supply=3.3V, Pin=P16)<br />
I tried if i am using wrong pin but when i use the tmp36 sensor it works well.<br />
Any thoughts?</p>
]]></description><link>https://forum.pycom.io/topic/1445/ldr-sensor-with-lopy</link><generator>RSS for Node</generator><lastBuildDate>Sat, 05 Sep 2026 11:02:09 GMT</lastBuildDate><atom:link href="https://forum.pycom.io/topic/1445.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 03 Jul 2017 15:14:09 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to LDR sensor with Lopy on Mon, 03 Jul 2017 15:14:09 GMT]]></title><description><![CDATA[<p dir="auto">Hello everyone. I am trying to use LDR sensor with Lopy but i am facing some issues. First of all when i am using the sensor with my arduino a 10kΩ resistor and power supply  3.3V, it works well.<br />
When i use it with my Lopy it always send me back the value 4095. (supply=3.3V, Pin=P16)<br />
I tried if i am using wrong pin but when i use the tmp36 sensor it works well.<br />
Any thoughts?</p>
]]></description><link>https://forum.pycom.io/post/9070</link><guid isPermaLink="true">https://forum.pycom.io/post/9070</guid><dc:creator><![CDATA[kots]]></dc:creator><pubDate>Mon, 03 Jul 2017 15:14:09 GMT</pubDate></item><item><title><![CDATA[Reply to LDR sensor with Lopy on Mon, 03 Jul 2017 15:20:24 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/1285">@kots</a><br />
Look at <code>attn</code> and bits<br />
<a href="https://docs.pycom.io/pycom_esp32/library/machine.ADC.html#machine.adc.channel" target="_blank" rel="noopener noreferrer nofollow">https://docs.pycom.io/pycom_esp32/library/machine.ADC.html#machine.adc.channel</a></p>
]]></description><link>https://forum.pycom.io/post/9071</link><guid isPermaLink="true">https://forum.pycom.io/post/9071</guid><dc:creator><![CDATA[livius]]></dc:creator><pubDate>Mon, 03 Jul 2017 15:20:24 GMT</pubDate></item><item><title><![CDATA[Reply to LDR sensor with Lopy on Mon, 03 Jul 2017 16:21:25 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/1285">@kots</a> To extend the hint of <a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/199">@livius</a> a little bit: for a 3.3v range you must use ADC.ATTN_11DB.</p>
]]></description><link>https://forum.pycom.io/post/9080</link><guid isPermaLink="true">https://forum.pycom.io/post/9080</guid><dc:creator><![CDATA[robert-hh]]></dc:creator><pubDate>Mon, 03 Jul 2017 16:21:25 GMT</pubDate></item><item><title><![CDATA[Reply to LDR sensor with Lopy on Tue, 04 Jul 2017 11:25:55 GMT]]></title><description><![CDATA[<p dir="auto">Thank you both for your answers! Finnaly with ADC.ATTN_11DB it works!</p>
]]></description><link>https://forum.pycom.io/post/9104</link><guid isPermaLink="true">https://forum.pycom.io/post/9104</guid><dc:creator><![CDATA[kots]]></dc:creator><pubDate>Tue, 04 Jul 2017 11:25:55 GMT</pubDate></item></channel></rss>