Write Taking Field/Garden Information of Software With Arduino [DOUBLE STRING TRANSFORMATION AND PROJECT FINAL]
utopian-io·@sametceylan·
0.000 HBDWrite Taking Field/Garden Information of Software With Arduino [DOUBLE STRING TRANSFORMATION AND PROJECT FINAL]
#### What Will I Learn? - You will learn how to switch from the binary number system to the decimal number system. - You will learn why we are doing double string conversion. - You will learn last lesson of the project. #### Requirements - Codes in [previous lesson](https://utopian.io/u/28537290) - Arduino UNO - Arduino IDE #### Difficulty - Intermediate #### Description In this lesson we will end our project. In our last lesson, we switched to decimal number system by double string conversion. With this project, we can get field / garden information on internet. The information we receive will be moisture and temperature information. Humidity and temperature will be obtained from the SHT10 sensor.  #### Codes ``` String doubleToString (float input, int decimalPlaces) { if (decimalPlaces! = 0) { String string = String ( (int) (input*pow (10, decimalPlaces) ) ); } if (abs (input) < 1) { if (input>0) string = "0"+string; else if (input<0) string = string.substring (0, 1) +"0"+string.substring (1); } return string.substring (0, string.length () -decimalPlaces) +"."+string.substring (string.length () -decimalPlaces); } else { return String ( (int) input); } } ``` #### Video Tutorial https://youtu.be/c_9AEYfc3Qg #### Curriculum - [USED LIBRARIES AND PIN CONNECTIONS Lesson 1](https://utopian.io/u/26297615) - [VARIABLE DETERMINATION AND PIN CONNECTIONS Lesson 2](https://utopian.io/u/26301034) - [ CREATING PARAMETERS Lesson 3](https://utopian.io/u/26832966) - [VOID LOOPS INTRODUCTION AND VOID LOOP Lesson 4](https://utopian.io/u/26924374) - [IP PROCESSES AND STRING COMMAND Lesson 5](https://utopian.io/u/27061263) - [CREATING STRING DATA AND USING LENGTH COMMAND Lesson 6](https://utopian.io/u/27844966) - [PREPARING THE BASIS OF THE COMMUNICATION SCREEN Lesson 7](https://utopian.io/u/27847675) - [SENDING A REQUEST TO CLIENT COMMAND Lesson 8](https://utopian.io/u/28094619) - [ELSE ORDER FOR CLIENT STRUCTURE Lesson 9](https://utopian.io/u/28358623) - [CLOSING THE CLIENT AND DELIVERING THE WAITING TIME Lesson 10](https://utopian.io/u/28537290) <br /><hr/><em>Posted on <a href="https://utopian.io/utopian-io/@sametceylan/write-taking-field-garden-information-of-software-with-arduino-double-string-transformation-and-project-final">Utopian.io - Rewarding Open Source Contributors</a></em><hr/>