Go Down

Topic: Can Arduino Nano use Laptop's internet connection? (Read 167 times) previous topic - next topic

KatiaCassar

Hi, I'm new to Arduino and I wanted to know if it's possible if my Arduino Nano can use the internet via my laptop while they're connected with the USB cable? If not, what can I use to connect to the internet since I need it to upload the results of the Adafuit TCS34725 Colour Sensor on AdafruitIO.

Robin2

You need to write a PC program that communicates with the internet and with the Arduino.

...R
Two or three hours spent thinking and reading documentation solves most programming problems.

mauried

Its possible but if you are new to Arduinos its not trivial, and you need a good understanding of how TCPIP works.
You need this
https://playground.arduino.cc/Code/SerialIP/ which is a SLIP library for Arduino
and an old PC running XP , as XP was the last Windows OS that contained Winslip, otherwise you will have to find a version of Winslip which will run on current Windows based OS.
Slip , which stands for Serial Line Internet Protocol, allows the sending of IP datagrams over a normal
serial connection and was widely used in the early 1980s .
Its quite slow , so not practical for sending large amounts of data.
Ive not used it on an Arduino yet, but have used it on a Rasperry PI and it works surprisingly well.


KatiaCassar

Its possible but if you are new to Arduinos its not trivial, and you need a good understanding of how TCPIP works.
You need this
https://playground.arduino.cc/Code/SerialIP/ which is a SLIP library for Arduino
and an old PC running XP , as XP was the last Windows OS that contained Winslip, otherwise you will have to find a version of Winslip which will run on current Windows based OS.
Slip , which stands for Serial Line Internet Protocol, allows the sending of IP datagrams over a normal
serial connection and was widely used in the early 1980s .
Its quite slow , so not practical for sending large amounts of data.
Ive not used it on an Arduino yet, but have used it on a Rasperry PI and it works surprisingly well.


are you sure as the links in https://playground.arduino.cc/Code/SerialIP/ are all broken links and I cant find the SerialIP library

mauried

Yes it looks like the library is no longer being maintained.
Its been around 5 years since I used it.
The only other option for an Internet connection is to get an Ethernet Shield for your nano, something like this.
https://www.ebay.com.au/i/273829166563?chn=ps

Go Up