<?xml version="1.0"?>
<rss version="2.0">
   <channel>
      <title>LUX-Light LED by David Axt</title>
      <link>https://padlet.com/davidaxt1/ctas727ajyy1fhu5</link>
      <description>LUX-Sensor Group of the Urban Vertical Farming Project</description>
      <language>en-us</language>
      <pubDate>2020-12-17 13:06:10 UTC</pubDate>
      <lastBuildDate>2023-01-23 12:03:47 UTC</lastBuildDate>
      <webMaster>hello@padlet.com</webMaster>
      <image>
         <url>https://padlet.net/icons/png/1f3de.png</url>
      </image>
      <item>
         <title>Example of 6 BH1750 combined together with one Arduino UNO</title>
         <author>davidaxt1</author>
         <link>https://padlet.com/davidaxt1/ctas727ajyy1fhu5/wish/1086910349</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/918543900/54b8654faeded58baf768bd78b19b91a/Mehrere_Sensoren.PNG" />
         <pubDate>2021-01-14 12:47:46 UTC</pubDate>
         <guid>https://padlet.com/davidaxt1/ctas727ajyy1fhu5/wish/1086910349</guid>
      </item>
      <item>
         <title>Arduino Nano wired with BH1750</title>
         <author>davidaxt1</author>
         <link>https://padlet.com/davidaxt1/ctas727ajyy1fhu5/wish/1086912075</link>
         <description><![CDATA[<div>This was our final decison because the Arduino Nano is compact and suitable for the fine cables and holes of the 3D-Printed-Work</div>]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/918543900/f8b0f85970bf78bffce80288e53f80a8/Lux_Sensor__Arduino_Nano.PNG" />
         <pubDate>2021-01-14 12:48:22 UTC</pubDate>
         <guid>https://padlet.com/davidaxt1/ctas727ajyy1fhu5/wish/1086912075</guid>
      </item>
      <item>
         <title>Soldering of the wires and components</title>
         <author>davidaxt1</author>
         <link>https://padlet.com/davidaxt1/ctas727ajyy1fhu5/wish/1086914343</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/918543900/573369a14b4d1e94067b19c21d13e4d6/IMG_20200903_133417_1_.jpg" />
         <pubDate>2021-01-14 12:49:08 UTC</pubDate>
         <guid>https://padlet.com/davidaxt1/ctas727ajyy1fhu5/wish/1086914343</guid>
      </item>
      <item>
         <title>Code programming</title>
         <author>davidaxt1</author>
         <link>https://padlet.com/davidaxt1/ctas727ajyy1fhu5/wish/1086916136</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/918543900/b4a697f381393df4ec5127ace09f26ac/IMG_20200903_133411_1_.jpg" />
         <pubDate>2021-01-14 12:49:49 UTC</pubDate>
         <guid>https://padlet.com/davidaxt1/ctas727ajyy1fhu5/wish/1086916136</guid>
      </item>
      <item>
         <title>Planning and realization of the signed pictures and drawings</title>
         <author>davidaxt1</author>
         <link>https://padlet.com/davidaxt1/ctas727ajyy1fhu5/wish/1086917376</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/918543900/048155345bde2f5783be677e59f9e3f7/IMG_20200903_133406_1_.jpg" />
         <pubDate>2021-01-14 12:50:15 UTC</pubDate>
         <guid>https://padlet.com/davidaxt1/ctas727ajyy1fhu5/wish/1086917376</guid>
      </item>
      <item>
         <title>Arduino UNO wired with BH1750</title>
         <author>davidaxt1</author>
         <link>https://padlet.com/davidaxt1/ctas727ajyy1fhu5/wish/1086923875</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/918543900/4d86b22329cf0a91230f55d8f935b2cb/Anschluss_Sensor.PNG" />
         <pubDate>2021-01-14 12:52:28 UTC</pubDate>
         <guid>https://padlet.com/davidaxt1/ctas727ajyy1fhu5/wish/1086923875</guid>
      </item>
      <item>
         <title>OUR EXERCISE</title>
         <author>davidaxt1</author>
         <link>https://padlet.com/davidaxt1/ctas727ajyy1fhu5/wish/1086983670</link>
         <description><![CDATA[<div>Our task is to write a program that independently produces the appropriate brightness for the plants. We also have to fix the sensors in a suitable place. The LED rings will be soldered with cables and then connected as well. We will coordinate with the other two groups so that we pull our cables through the same drilled holes and thus get as few problems as possible in the assembly. </div>]]></description>
         <enclosure url="" />
         <pubDate>2021-01-14 13:11:48 UTC</pubDate>
         <guid>https://padlet.com/davidaxt1/ctas727ajyy1fhu5/wish/1086983670</guid>
      </item>
      <item>
         <title>First steps</title>
         <author>tiemo</author>
         <link>https://padlet.com/davidaxt1/ctas727ajyy1fhu5/wish/1109424500</link>
         <description><![CDATA[<div>At the begin we split our group in two sections.  One of them worked on the programming of the led ring and the other had to figure out how to get the data of the lux sensor.</div>]]></description>
         <enclosure url="" />
         <pubDate>2021-01-21 10:29:02 UTC</pubDate>
         <guid>https://padlet.com/davidaxt1/ctas727ajyy1fhu5/wish/1109424500</guid>
      </item>
      <item>
         <title></title>
         <author>tiemo</author>
         <link>https://padlet.com/davidaxt1/ctas727ajyy1fhu5/wish/1109436375</link>
         <description><![CDATA[<div>After each group finished, we planned on how to put  our research together.</div>]]></description>
         <enclosure url="" />
         <pubDate>2021-01-21 10:32:47 UTC</pubDate>
         <guid>https://padlet.com/davidaxt1/ctas727ajyy1fhu5/wish/1109436375</guid>
      </item>
      <item>
         <title></title>
         <author>tiemo</author>
         <link>https://padlet.com/davidaxt1/ctas727ajyy1fhu5/wish/1109443523</link>
         <description><![CDATA[<div>While combining our preresults we encountered some problems with the hardware.  This was the reason why our plan of implementing 8 light sensors failed and we had to do a new one.</div>]]></description>
         <enclosure url="" />
         <pubDate>2021-01-21 10:34:58 UTC</pubDate>
         <guid>https://padlet.com/davidaxt1/ctas727ajyy1fhu5/wish/1109443523</guid>
      </item>
      <item>
         <title></title>
         <author>tiemo</author>
         <link>https://padlet.com/davidaxt1/ctas727ajyy1fhu5/wish/1109453247</link>
         <description><![CDATA[<div>After that we decided to use only 4 light sensors but for this we had to use two Arduino Nano.</div>]]></description>
         <enclosure url="" />
         <pubDate>2021-01-21 10:38:14 UTC</pubDate>
         <guid>https://padlet.com/davidaxt1/ctas727ajyy1fhu5/wish/1109453247</guid>
      </item>
      <item>
         <title>Big Picture</title>
         <author>davidaxt1</author>
         <link>https://padlet.com/davidaxt1/ctas727ajyy1fhu5/wish/1109454667</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/918543900/4050126775ae5db4bda4a2d9ebc6d244/Big_Picture_mini.jpg" />
         <pubDate>2021-01-21 10:38:44 UTC</pubDate>
         <guid>https://padlet.com/davidaxt1/ctas727ajyy1fhu5/wish/1109454667</guid>
      </item>
      <item>
         <title>Our Code</title>
         <author>tiemo</author>
         <link>https://padlet.com/davidaxt1/ctas727ajyy1fhu5/wish/1109458502</link>
         <description><![CDATA[<div>Our code uses two main libraries the BH1750 for the light sensor, and FastLedMaster for the LED ring.<br><br></div><div>With those libraries we were able to read the data from the light sensor. The data we used to control the light by looking to keep the lux level between 790-800 lux.</div>]]></description>
         <enclosure url="" />
         <pubDate>2021-01-21 10:39:57 UTC</pubDate>
         <guid>https://padlet.com/davidaxt1/ctas727ajyy1fhu5/wish/1109458502</guid>
      </item>
      <item>
         <title>The raw diagram</title>
         <author>jenwie126</author>
         <link>https://padlet.com/davidaxt1/ctas727ajyy1fhu5/wish/1109459879</link>
         <description><![CDATA[<div>This is our plan. But when we sticked it together, the arduino nano burned through.Then we had to think about putting the LED ring on an external power supply.<br><br></div>]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/348648927/2640083bb17b7d08d252ae5eaad1f1ec/cool.PNG" />
         <pubDate>2021-01-21 10:40:16 UTC</pubDate>
         <guid>https://padlet.com/davidaxt1/ctas727ajyy1fhu5/wish/1109459879</guid>
      </item>
      <item>
         <title>Start</title>
         <author>davidaxt1</author>
         <link>https://padlet.com/davidaxt1/ctas727ajyy1fhu5/wish/1109607050</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet.com/padlets/l9mwurxxqkncjmwx" />
         <pubDate>2021-01-21 11:31:52 UTC</pubDate>
         <guid>https://padlet.com/davidaxt1/ctas727ajyy1fhu5/wish/1109607050</guid>
      </item>
      <item>
         <title>Our Quellcode</title>
         <author>tiemo</author>
         <link>https://padlet.com/davidaxt1/ctas727ajyy1fhu5/wish/1195805059</link>
         <description><![CDATA[<div>#include &lt;FastLED.h&gt;<br>#include &lt;Wire.h&gt;<br>#include &lt;BH1750.h&gt;<br><br>#define LED_PIN   7<br>#define NUM_LEDS  60<br><br><br>BH1750 bh1750_a;<br>BH1750 bh1750_b;<br>CRGB leds[NUM_LEDS];<br><br><br>void setup(){<br><br>  Serial.begin(9600);<br>  Wire.begin();<br>  bh1750_a.begin(BH1750::CONTINUOUS_HIGH_RES_MODE, 0x23);<br>  bh1750_b.begin(BH1750::CONTINUOUS_HIGH_RES_MODE, 0x5C);<br>  <br>  FastLED.addLeds&lt;WS2812, LED_PIN, GRB&gt;(leds, NUM_LEDS);<br>}<br><br><br>void loop() {<br><br>  //Variablen <br>  int helligkeit_1;<br>  int helligkeit_2;<br>  double max_ = 800.00;<br>  double min_ = 750.00;<br>  bool Beenden = true;<br>  <br>  do{<br>    float lux_1 = bh1750_a.readLightLevel();<br>    float lux_2 = bh1750_b.readLightLevel();<br>    bool stop = false;<br>    <br>    do{<br>      if (lux_1 &lt; min_)<br>      {<br>        if (helligkeit_1 &lt; 255)<br>        {<br>          helligkeit_1++;<br>          licht(helligkeit_1, helligkeit_2);<br>        }<br>        else<br>        {<br>          licht(helligkeit_1, helligkeit_2);<br>        }<br>      }<br>        <br>      else if (lux_1 &gt; max_)<br>      {<br>        if ( helligkeit_1 != 0) <br>        {<br>          helligkeit_1--;<br>          licht(helligkeit_1, helligkeit_2);<br>        }<br>        else<br>        {<br>          licht(helligkeit_1, helligkeit_2);<br>        }<br>      }<br>      else<br>      {<br>        licht(helligkeit_1, helligkeit_2);<br>      }<br>    }while(stop);<br>  <br>   stop = false;<br>  <br>    do{<br>      if (lux_2 &lt; min_)<br>      {<br>        if (helligkeit_2 &lt; 255)<br>        {<br>          helligkeit_2++;<br>          licht(helligkeit_1, helligkeit_2);<br>        }<br>        else<br>        {<br>          licht(helligkeit_1, helligkeit_2);<br>        }<br>      }<br>        <br>      else if (lux_2 &gt; max_) <br>      {<br>        if ( helligkeit_2 != 0) <br>        {<br>          helligkeit_2--;<br>          licht(helligkeit_1, helligkeit_2);<br>        }<br>        else<br>        {<br>          licht(helligkeit_1, helligkeit_2);<br>        }<br>      }<br>      else<br>      {<br>        licht(helligkeit_1, helligkeit_2);<br>      }<br>    }while(stop);<br>  <br>    //Ausgabe Lux Werte<br>    Serial.print("Lux_1 Wert: ");<br>    Serial.print(lux_1);<br>    Serial.print("  |  ");<br>    Serial.print("LED_1 Wert: ");<br>    Serial.print(helligkeit_1);<br>    Serial.print(" || ");<br>    Serial.print("Lux_2 Wert: ");<br>    Serial.print(lux_2);<br>    Serial.print("  |  ");<br>    Serial.print("LED_2 Wert: ");<br>    Serial.print(helligkeit_2);<br>    Serial.println();<br>    //delay(50);<br> <br>  }while(Beenden);<br> }<br><br>void licht(int helligkeit_1, int helligkeit_2) <br>  {<br>  for (int i = 0; i &lt;= 59; i++) <br>  {<br>    if (i &lt;30)<br>    {<br>      leds[i] = CHSV (255,0,helligkeit_1);<br>      FastLED.show(); <br>    }<br>    else<br>    {<br>      leds[i] = CHSV (255,0,helligkeit_2);<br>      FastLED.show(); <br>    }<br>  }<br>}<br><br><br></div>]]></description>
         <pubDate>2021-02-12 10:03:57 UTC</pubDate>
         <guid>https://padlet.com/davidaxt1/ctas727ajyy1fhu5/wish/1195805059</guid>
      </item>
   </channel>
</rss>
