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
resources:eval:user-guides:eval-adicup3029:reference_designs:demo_cn0398 [16 Mar 2018 11:37] – [Obtaining the Source Code] Add correct link Andrei Drimbareanresources:eval:user-guides:eval-adicup3029:reference_designs:demo_cn0398 [04 Mar 2021 06:21] (current) – [Obtaining the Source Code] adding in .Hex files Zuedmar Arceo
Line 5: Line 5:
 ===== General Description/Overview ===== ===== General Description/Overview =====
  
-The **ADuCM360_demo_cn0398** project uses the [[http://www.analog.com/en/design-center/reference-designs/hardware-reference-design/circuits-from-the-lab/cn0398.html|EVAL-CN0398-ARDZ]] shield which is a single supply, low power, high precision complete solution for soil moisture and pH measurements, including temperature compensation. The circuit is optimized for capacitive soil moisture sensors that are insensitive to water salinity and do not corrode over time. The circuit also measures soil pH so it increases the range of applications where this shield can be used.+The **ADuCM360_demo_cn0398** project uses the [[adi>en/design-center/reference-designs/hardware-reference-design/circuits-from-the-lab/cn0398.html|EVAL-CN0398-ARDZ]] shield which is a single supply, low power, high precision complete solution for soil moisture and pH measurements, including temperature compensation. The circuit is optimized for capacitive soil moisture sensors that are insensitive to water salinity and do not corrode over time. The circuit also measures soil pH so it increases the range of applications where this shield can be used.
  
-The circuit is divided into three independent measurement front ends: pH, soil moisture, and temperature. After signal conditioning, the three channels share an [[http://www.analog.com/en/products/analog-to-digital-converters/precision-adc-20msps/ad7124-8.html|AD7124-8]], 24-bit sigma-delta (Σ-Δ) ADC. The **AD7124-8**, is a low power, low noise, completely integrated analog front end for high precision measurement applications.+The circuit is divided into three independent measurement front ends: pH, soil moisture, and temperature. After signal conditioning, the three channels share an [[adi>en/products/analog-to-digital-converters/precision-adc-20msps/ad7124-8.html|AD7124-8]], 24-bit sigma-delta (Σ-Δ) ADC. The **AD7124-8**, is a low power, low noise, completely integrated analog front end for high precision measurement applications.
 The board offers the possibility to configure **Vin** supply voltage (**P10** connector) in order to use **5V** or **7V-12V**. Considering moisture sensor which is used, the **P8** connector configure **3.3V** or **5V** supply.{{:resources:eval:user-guides:eval-adicup3029:reference_designs:cn0398_demo_shield_front_sensors_attached_adicup3029.jpg?600 |}} The user has the possibility to select one of the three GPIOs available for ADC CS pin using **P5** connector (default configuration for **P5** is 1-2 position). For temperature compensation can be used an RTD //PT100// sensor, 2-wire (this is used in the demo), 3-wire or 4-wire connection (see **P1** connector). For this demo was used for the moisture measurement the //VH400// sensor (**P2**) and for pH measurement //Atlas Scientific// sensor (**J1**). The **ADuCM360_demo_cn0398** application processes ADC outputs for all 3 channels (RTD, pH and moisture), calculates pH and moisture values using as input RTD temperature value. This data is sent to cloud using the **UART** module on the base board and the **ESP8266 WiFi module**. The 24-bits **ADC** data are received using **SPI** interface of the **EVAL-ADICUP3029** board.  The board offers the possibility to configure **Vin** supply voltage (**P10** connector) in order to use **5V** or **7V-12V**. Considering moisture sensor which is used, the **P8** connector configure **3.3V** or **5V** supply.{{:resources:eval:user-guides:eval-adicup3029:reference_designs:cn0398_demo_shield_front_sensors_attached_adicup3029.jpg?600 |}} The user has the possibility to select one of the three GPIOs available for ADC CS pin using **P5** connector (default configuration for **P5** is 1-2 position). For temperature compensation can be used an RTD //PT100// sensor, 2-wire (this is used in the demo), 3-wire or 4-wire connection (see **P1** connector). For this demo was used for the moisture measurement the //VH400// sensor (**P2**) and for pH measurement //Atlas Scientific// sensor (**J1**). The **ADuCM360_demo_cn0398** application processes ADC outputs for all 3 channels (RTD, pH and moisture), calculates pH and moisture values using as input RTD temperature value. This data is sent to cloud using the **UART** module on the base board and the **ESP8266 WiFi module**. The 24-bits **ADC** data are received using **SPI** interface of the **EVAL-ADICUP3029** board. 
  
Line 97: Line 97:
   - Connect the **EVAL-CN0398-ARDZ** shield to the board.   - Connect the **EVAL-CN0398-ARDZ** shield to the board.
   - Connect the pH sensor to the **J1** connector of the EVAL-CN0398-ARDZ.   - Connect the pH sensor to the **J1** connector of the EVAL-CN0398-ARDZ.
-  - Connect the RTD sensor to the **P1** connector of the EVAL-CN0398-ARDZ.[[https://wiki.analog.com/resources/eval/user-guides/eval-adicup360/hardware/cn0398#rtd_connector_p1|(see connection details)]] +  - Connect the RTD sensor to the **P1** connector of the EVAL-CN0398-ARDZ.[[/resources/eval/user-guides/eval-adicup360/hardware/cn0398#rtd_connector_p1|(see connection details)]] 
-  - Connect the moisture sensor to the **P2** connector of the EVAL-CN0398-ARDZ.[[https://wiki.analog.com/resources/eval/user-guides/eval-adicup360/hardware/cn0398#moisture_sensor_connector_p2|(see connection details)]]+  - Connect the moisture sensor to the **P2** connector of the EVAL-CN0398-ARDZ.[[/resources/eval/user-guides/eval-adicup360/hardware/cn0398#moisture_sensor_connector_p2|(see connection details)]]
   - Set the jumpers on the **EVAL-CN0398-ARDZ** to the position shown below.(**P8 SENSOR** to **3.3V**; **VIN SUPPLY** to **5V**; **P5** to **10 on DIG11**){{ :resources:eval:user-guides:eval-adicup3029:reference_designs:cn0398_jumper_positions.jpg?700 |}}   - Set the jumpers on the **EVAL-CN0398-ARDZ** to the position shown below.(**P8 SENSOR** to **3.3V**; **VIN SUPPLY** to **5V**; **P5** to **10 on DIG11**){{ :resources:eval:user-guides:eval-adicup3029:reference_designs:cn0398_jumper_positions.jpg?700 |}}
   - Connect the board to the PC via Micro-USB to USB cable.   - Connect the board to the PC via Micro-USB to USB cable.
Line 188: Line 188:
  
  
-===== Obtaining the Source Code =====+===== Obtaining the Software =====
  
-We recommend not opening the project directly, but rather import it into CrossCore Embedded Studios and make a local copy in your workspace+There are two basic ways to program the ADICUP3029 with the software for the CN0398. 
 +  - Dragging and Dropping the .Hex to the Daplink drive 
 +  - Building, Compiling, and Debugging using CCES
  
-The source code and include files of the **ADuCM360_demo_cn0398** can be found on Github:+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
  
-<WRAP round 80% download+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 
-\\  +
-CrossCore Embedded Studio Application Source Code: +
-\\  +
-\\  +
-[[https://github.com/analogdevicesinc/EVAL-ADICUP3029/tree/master/projects/ADuCM3029_demo_cn0398| AduCM360_demo_cn0398 at Github]] +
-</WRAP>+
  
-<WRAP center round info 80%> +The software for the **ADuCM3029_demo_cn0398** can be found here: 
-For more information on importing, debugging, or other tools related questions, please see the [[https://wiki.analog.com/resources/eval/user-guides/eval-adicup360/tools/cces_user_guide |tools user guide.]] + 
 +<WRAP round 80% download
 +Prebuilt CN0398 Hex File 
 +  * [[https://github.com/analogdevicesinc/EVAL-ADICUP3029/releases/download/Latest/ADuCM3029_demo_cn0398.hexAduCM3029_demo_cn0398.Hex]] 
 +Complete CN0398 Source Files 
 +  * [[https://github.com/analogdevicesinc/EVAL-ADICUP3029/tree/master/projects/ADuCM3029_demo_cn0398| AduCM3029_demo_cn0398 Source Code]] 
 + 
 </WRAP> </WRAP>
  
resources/eval/user-guides/eval-adicup3029/reference_designs/demo_cn0398.1521196650.txt.gz · Last modified: 16 Mar 2018 11:37 by Andrei Drimbarean