Wiki

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
Next revisionBoth sides next revision
resources:eval:user-guides:eval-adicup3029:reference_designs:smart_greenhouse [14 Mar 2021 06:07] – [Obtaining the Source Code] adding in .Hex files Zuedmar Arceoresources:eval:user-guides:eval-adicup3029:reference_designs:smart_greenhouse [23 Apr 2021 17:47] – Removing Arrow Connect Brandon Bushey
Line 13: Line 13:
 ===== Demo Versions Supported ===== ===== Demo Versions Supported =====
  
-There are three(3) demo versions supported using the same algorithm and application level code.  The only difference for each of these options is how you would view the data and interact with the design.  Please choose the version which you would like to use+There are a few demo versions supported using the same algorithm and application level code.  The only difference for each of these options is how you would view the data and interact with the design.
  
   * IBM Watson Smart Greenhouse   * IBM Watson Smart Greenhouse
-  * Arrow Connect Smart Greenhouse 
   * PC Command Line Smart Greenhouse   * PC Command Line Smart Greenhouse
  
Line 159: Line 158:
  
 For nodered documentation follow [[https://nodered.org/]]. For nodered documentation follow [[https://nodered.org/]].
-===== Arrow Connect Smart Greenhouse ===== 
- 
-<note important>Arrow Connect has shifted to an IP & Framework solution that is no longer hosted somewhere physical. </note> 
- 
-==== Demo Requirements ==== 
- 
-The following is a list of items needed in order to replicate this demo. 
-  * Boards/Hardware 
-    * EVAL-ADICUP3029 
-    * EVAL-CN0397-ARDZ 
-    * EVAL-CN0398-ARDZ 
-    * EVAL-CN0410-ARDZ 
-    * ESP8266 Module 
-    * Internet connected gateway – utilize existing Wi-Fi gateway/router/mobile hotspot 
- 
-  * Cables/Power 
-    * Micro USB to USB cable 
-    * PC or Laptop with a USB port 
- 
-  * Sensors/Leds 
-    * An LED light bar 
-    * A pH probe 
-    * A moisture sensor 
-    * A PT100 RTD 
- 
-  * Software 
-    * ADuCM3029_ArrowConnect_Greenhouse software 
-    * CrossCore Embedded Studio (2.6.0 or higher) 
-    * ADuCM302x DFP (2.0.0 or higher) 
-    * ADICUP3029 BSP (1.0.0 or higher) 
-    * Arrow Connect Account 
- 
-==== Setting up the Hardware ==== 
- 
-  - Move the **S2 switch** to the **WiFi** position on the **EVAL-ADICUP3029**.{{ :resources:eval:user-guides:eval-adicup3029:reference_designs:adicup3029_switch.png?900 |}} 
-  - The ESP8266 Enable Pin needs to be tied directly to 3.3V or pulled high to the GPIO via a 10K ohm resistor. Because this is not currently on the Rev B or Rev C version of the ADICUP3029, you will need to solder a small fly wire from the 3.3V pin to the enable pin.\\ {{:resources:eval:user-guides:eval-adicup3029:reference_designs:reference_design_esp8266_hw_mod_back.png?400|}}  {{:resources:eval:user-guides:eval-adicup3029:reference_designs:reference_design_esp8266_hw_mod_front.png?385|}}\\ \\ \\   
-  - Plug the **ESP8266** in the **P1** connector on the **EVAL-ADICUP3029**.  
-  - Configure the EVAL-CN0398-ARDZ CS option by setting the pin jumper  of **P5** to **pin 1** and **2**. Set **P8** moisture power supply to **3V3** and **VIN** Supply to **5V**. {{:resources:eval:user-guides:eval-adicup3029:reference_designs:cn0398.jpg|}} 
-  - Configure CS jumper for **CN0397** to pins **3** and **4**.{{:resources:eval:user-guides:eval-adicup3029:reference_designs:cn0397.jpg|}} 
-  - Configure CS jumper on **P21** for **CN0410** to pins **1** and **2**. An external power supply must be used to power the board and the jumper on **P20** must be set to **1** and **2**.{{:resources:eval:user-guides:eval-adicup3029:reference_designs:img_20171020_115358_hdr.jpg|}} 
-  -  The Led Bar must be connected to the CN0410 board to enable power to the leds. Also to select the leds we want to controll we have to place the jumpers to pins 1 and 2. In this picture only RLED1, GLED1 and BLED1 are selected.{{:resources:eval:user-guides:eval-adicup3029:reference_designs:img_20171023_110559.jpg|}}  
- 
-==== Configuring Software for Arrow Connect Greenhouse ==== 
- 
-This section will describe the steps needed to get the Arrow Connect Greenhouse up and running.  
- 
-==== Arrow Connect Smart Greenhouse Source Code ==== 
- 
-There are two basic ways to program the ADICUP3029 with the software for the Arrow Connect Smart Greenhouse. 
-  - Dragging and Dropping the .Hex to the Daplink drive 
-  - Building, Compiling, and Debugging using CCES 
- 
-Using the drag and drop method, the software is going to be a version that Analog Devices creates for testing and evaluation purposes.  This is the EASIEST way to get started with the reference design 
- 
-Importing the project into CrossCore is going to allow you to change parameters and customize the software to fit your needs, but will be a bit more advanced and will require you to download the CrossCore toolchain.   
- 
-The software for the **ADuCM3029_ArrowConnect_Greenhouse** can be found here: 
- 
-<WRAP round 80% download> 
-Prebuilt Arrow Connect Smart Greenhouse Hex File 
-  * [[https://github.com/analogdevicesinc/EVAL-ADICUP3029/releases/download/Latest/ADuCM3029_ArrowConnect_Greenhouse.hex|ADuCM3029_ArrowConnect_Greenhouse.Hex]] 
-Complete Arrow Connect Smart Greenhouse Source Files 
-  * [[https://github.com/analogdevicesinc/EVAL-ADICUP3029/tree/master/projects/ADuCM3029_ArrowConnect_Greenhouse| AduCM3029_ArrowConnect_Greenhouse Source Code]] 
-  
-</WRAP> 
- 
-==== Setting WIFI connection ==== 
- 
-In order to establish the connection to the **WIFI** we have to set the **SSID** and **PASSWORD** to connect to the access point (wifi router). This is done modifying **wifi.h**,  defines **SSID** and **PASS** with the ssid of your router and wifi password. {{:resources:eval:user-guides:eval-adicup3029:reference_designs:wifi.png?900|}} 
- 
-==== Setting Arrow Connect ==== 
- 
-It's strongly suggested to take a look at the portal before starting this project.  There at lots of good user guides on how to get started with the Arrow Connect Cloud, so many questions about that can be answered there. 
- 
-After creating an account we have to set up who can connect to the cloud using private keys that are assigned to our user. We need to navigate to **CONFIGURATION**-> **Access Keys** and oppen the ApplicationOwnerKey{{:resources:eval:user-guides:eval-adicup3029:reference_designs:access_keys.png?800|}} 
- 
-Once we open the key we will find two fields named **Raw Api Key** and **Raw Secret Key** which we will copy them to the **private.h** file in project folder **skeleton**{{:resources:eval:user-guides:eval-adicup3029:reference_designs:crosscore_keys.png?900|}} 
- 
-==== Arrow Connect Smart Greenhouse Software Flow/Diagram ==== 
- 
-{{ :resources:eval:user-guides:eval-adicup3029:reference_designs:arrow_greenhouse.png?600 |}} 
- 
-The greenhouse application involves 4 layers: 
-  * Hardware, arduino shields layer 
-  * Communication layer (SPI communication) 
-  * Processing layer (ADICUP3029 and ESP8266) 
-  * Cloud layer 
- 
-The hardware part is composed of the shields stacked on top of each other, which provide data from the sensors and also control the leds. For more details about these CNs you can consult the individual page for each one: 
-  * [[/resources/eval/user-guides/eval-adicup360/hardware/cn0398 |CN0398]] 
-  * [[/resources/eval/user-guides/eval-adicup360/hardware/cn0397|CN0397 ]] 
-  * [[/resources/eval/user-guides/eval-adicup3029/hardware/cn0410|CN0410 ]] 
- 
-The communication layer configures the shields and is responsible for transferring information from and to the desired device. Data is then available for processing and transmitting to the cloud.  
- 
-ADICUP3029 ensures the logic for the localized operations while the ESP8266 establishes the connection to the cloud and send the data over WIFI.   
-==== Output Data ==== 
- 
-Data can be visualized on the Arrow Connect platform. 
- 
-{{ :resources:eval:user-guides:eval-adicup3029:reference_designs:data_arrow.png?800 |}} 
- 
-To send a command just click on developer option from the left panel and then the Command tab.  
- 
-{{ :resources:eval:user-guides:eval-adicup3029:reference_designs:command_arrow.png?800 |}} 
- 
-The name of the command must be **leds** and the payload must be in json format like **"red":2000, "blue":1000, "green":3000**. The values for the light intensity can change.  
  
 ===== Serial Terminal Smart Greenhouse ===== ===== Serial Terminal Smart Greenhouse =====
resources/eval/user-guides/eval-adicup3029/reference_designs/smart_greenhouse.txt · Last modified: 18 Aug 2021 16:58 by Brandon Bushey