Arduino+C#App+OneDrive Cloud=IOT




An Arduino Temperature Control System managed whit C# App & one
drive cloud.

this demonstration is a project that detecting Temperature
and print et on a LCD via C# "windows form Application" by making
your own Temperature data-base and Upload it to windows One Drive cloud and download it from One Drive cloud
any time any were and making your (Temperature data-base)

And........ BINGO you are into IOT (internet of things)

PS: the point of this instractabel is NOT just teaching you
how to make a weather station …. But give you the tools to develop your skills
in code and bring you to the world of “internet of things” with no need to an expansive
tools like (Intel Galileo, Intel Edison, raspberry pi….)

Just an Arduino and a collection the greatest Microsoft
developer tools ever :D

If you are not familiar whit C# and control Arduino whit it I
Healy recommend this (Microsoft virtual Academy) courses.



just need to sing in and let the learn begin

Step 1: The System Design

-There is 2 spare part in this project: Arduino & software.

Step 2: The Arduino:

We will need:

1 - Arduino (UNO) board

2 - Wires.

3 - LCD screen 16 * 2(liquid Crystal)

4 - Temperature sensor (LM35)

5 - Potentiometer

6 - Bread board

Step 3: The Software


- Microsoft windows (7 / 8 / 8.1) Operating System

- Arduino IDE

- Visual studio community 2013 (recommended)

This is the link for download it:

- One Drive cloud

Step 4: Connect the Arduino

We connect the LCD and the heat sensor with Arduino as follows:

Step 5: the Heat Sensor in the Roof

Putting the heat sensor in the roof for detecting the temperature

Step 6: Connecting the Wire

Connecting the wire to the Arduino into your room




and Connecting the wire to Arduino

Step 7: The (Arduino) Code


int sensorValue = 0;

byte num[2] = {0, 0};

int cel = 0;

LiquidCrystal lcd(12,
11, 5, 4, 3, 2);

void setup() {

lcd.begin(16, 2);



lcd.setCursor(0, 1);

// put your setup code here, to run once:


void loop() {









// delay(1000);


while (Serial.available() > 0)









// put your main code here, to run


void gettemp()


sensorValue = analogRead(A0) ;

cel = (sensorValue * 0.0049) * 100 ;


void clearScreen()


lcd.setCursor(0, 0) ;

lcd.print(" ") ;


") ;

}// end clear code

//////////////// And then copy the code on the Arduino, and keep USB link connected to the board /////

Step 8: The C# Application

Download the App to your computer

from my cloud :

Step 9: One Drive Account

Go to your pc setting and log whit your Microsoft account

Step 10: .....

And automatically the Operating system will create your (one drive)

Folder that will sync automatically to the cloud

PS: One Drive give you 15GB of free space in the clouds ;)

Step 11: Starting the App

And then test the App by clicking the file solution

After you open the App click (ctrl+F5) to debug

Step 12: Share Your Date

(After you finish collecting data the App will create & upload the file automatically)

Step 13: :D

photo of the LCD controlled by the App



    • Fandom Contest

      Fandom Contest
    • Gardening Contest

      Gardening Contest
    • Arduino Contest 2019

      Arduino Contest 2019

    3 Discussions


    3 years ago on Introduction

    Just looking at the first picture, and I conclude that:

    First, you lasso two clouds that have floating gears next to them.

    Second, you grow a beard.

    Third, you put on obnoxious purple shorts and a windows tee-shirt.

    Fourth, you put the ends of the lasso into an arduino.

    There you have it.


    4 years ago on Introduction

    Great tutorial, very well done!

    First instructable too! I hope we see many more from you soon. :)

    1 reply