Notifications
Clear all

Connecting the Arduino to the internet  

  RSS

mariolspeter
(@mariolspeter)
New Member
Joined: 2 months ago
Posts: 4
2020-05-26 12:15 pm  

Hi All, I have been working on a garden watering system using the Arduino and now got my self an ethernet shield. I have searched and googled for weeks now and couldn't find a way to connect it to the internet. I am able to connect to my home network but is there a way to be able to control the project from anywhere in the world?

btw this might be a lamens question, that's because I am, only been playing around with Arduino during lock down and now I am hooked on it 

This topic was modified 2 months ago by mariolspeter

Quote
Ruplicator
(@ruplicator)
Trusted Member
Joined: 3 months ago
Posts: 95
2020-05-27 2:50 am  

Well I don't know much about networking but there is port forwarding on your router you can research (However, this is considered to be a security concern if you don't know what you are doing) There are also some services like Blynk that have some free services for very simple stuff then they charge you but it is more secure. We are now well beyond my level of experience. Best of luck. 😊 


ReplyQuote
mariolspeter
(@mariolspeter)
New Member
Joined: 2 months ago
Posts: 4
2020-05-27 6:54 am  

Thanks, Ruplicator

I did look at that option and read all the documentation with regard to port forwarding but as you said it is not for the faint-hearted so I didn't go ahead with it. I am sure there is someone that might have done this already fingers crossed

Will give Blynk a try 


ReplyQuote
Spyder
(@spyder)
Prominent Member
Joined: 1 year ago
Posts: 780
2020-05-27 12:09 pm  

@mariolspeter

I've punched quite a few holes in various routers over the years, and it can be done in a relatively straightforward kinda way, but, unless you have a username and really good password on the device, (meaning the arduino) I would really recommend against it

An evil hacker might break in and over water your garden or something


ReplyQuote
SysGuru
(@sysguru)
Active Member
Joined: 5 months ago
Posts: 16
2020-05-27 12:45 pm  
Posted by: @mariolspeter

Will give Blynk a try

I have never used Blynk, but it looks interesting.  Please share your experience if you get it working.

When looking at other options, you need to consider if you want "anybody" to access the device from anywhere in the world, or only yourself. There are lots of people with nothing better to do than trawl the web for unprotected IOT devices and search services dedicated to this activity.


ReplyQuote
MikeBurton_2000
(@mikeburton_2000)
Active Member
Joined: 9 months ago
Posts: 13
2020-05-28 7:09 am  

I am using Blynk to monitor my greenhouse project. It's pretty good and there is enough free credit provided to get you going with a simple project such as your garden system.

I am not familiar at all with the ethernet shields as I am using a NodeMCU to monitor and control all my sensors. It connects to wifi and out into the wider world easily and Blynk requires an authentication code to be sent from the device to connect to the app on your phone, which you use to monitor and control your project - from anywhere with service.

What shield do you have and what does your code look like?

Ooops, I did it again!


ReplyQuote
mariolspeter
(@mariolspeter)
New Member
Joined: 2 months ago
Posts: 4
2020-05-28 9:35 am  

Hi Mike

I am using the HanRun HR911105A 12/11 shield, I can get it connected to my home network with the basic ethernet code found in the examples, then I can read the sensor values and write to a webpage (local of course)

The code is nothing fancy, bits and pieces I have put together from examples found on the internet. 

Only got into this during the lockdown and my interest has grown heaps


ReplyQuote
teddy
(@teddy)
Eminent Member
Joined: 8 months ago
Posts: 43
2020-05-28 5:02 pm  
Posted by: @mariolspeter

Hi Mike

I am using the HanRun HR911105A 12/11 shield, I can get it connected to my home network with the basic ethernet code found in the examples, then I can read the sensor values and write to a webpage (local of course)

The code is nothing fancy, bits and pieces I have put together from examples found on the internet. 

Only got into this during the lockdown and my interest has grown heaps

How about a link to the code.

 


ReplyQuote