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
- 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
Curriculum
- USED LIBRARIES AND PIN CONNECTIONS Lesson 1
- VARIABLE DETERMINATION AND PIN CONNECTIONS Lesson 2
- CREATING PARAMETERS Lesson 3
- VOID LOOPS INTRODUCTION AND VOID LOOP Lesson 4
- IP PROCESSES AND STRING COMMAND Lesson 5
- CREATING STRING DATA AND USING LENGTH COMMAND Lesson 6
- PREPARING THE BASIS OF THE COMMUNICATION SCREEN Lesson 7
- SENDING A REQUEST TO CLIENT COMMAND Lesson 8
- ELSE ORDER FOR CLIENT STRUCTURE Lesson 9
- CLOSING THE CLIENT AND DELIVERING THE WAITING TIME Lesson 10
Posted on Utopian.io - Rewarding Open Source Contributors
Thank you for the contribution. It has been approved.
You can contact us on Discord.
[utopian-moderator]
Hey @sametceylan I am @utopian-io. I have just upvoted you!
Achievements
Community-Driven Witness!
I am the first and only Steem Community-Driven Witness. Participate on Discord. Lets GROW TOGETHER!
Up-vote this comment to grow my power and help Open Source contributions like this one. Want to chat? Join me on Discord https://discord.gg/Pc8HG9x