Connect Arduino to Internet through USB cable (Very Simple Question) | Arduino | Forum

Avatar

Please consider registering
Guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —






— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed sp_TopicIcon
Connect Arduino to Internet through USB cable (Very Simple Question)
No permission to create posts
July 3, 2018
6:07 pm
Avatar
AnnaLB
New Member
Members
Forum Posts: 2
Member Since:
July 3, 2018
sp_UserOfflineSmall Offline

I am extremely new beginner to this and I have been using my arduino by just keeping it plugged into my computer through the USB to keep it powered and run my sketches. I just signed up for ThingSpeak and am trying to get started and I was wondering if it is possible to use ThingSpeak by keeping my arduino plugged into my computer (which has WiFi) through the USB. I do not have an ethernet/wifi shield and this is why I am wondering if I can do it this way; it seems like it should work because my computer is hooked to wifi and my arduino is physically attached to my computer.

(reasoning: Since this is new to me I want to try to figure things out/understand before I invest more money into it.)

July 4, 2018
3:55 pm
Avatar
AnnaLB
New Member
Members
Forum Posts: 2
Member Since:
July 3, 2018
sp_UserOfflineSmall Offline

I think I may have figured my problem out, it was not as simple as I suspected, so if anyone has an easier way to do this I would love to learn! Posting this as a comment in case anyone else has the same issue.

My solution was to use python as a middle man between the arduino and thingspeak using the serial monitor and pySerial package. If you're more of a java person I was also able to get it to work using processing (processing.org) as a middle man as well.

Here is a helpful video I found using python:

July 6, 2018
2:04 pm
Avatar
cstapels
Moderator
Members


Moderators
Forum Posts: 861
Member Since:
March 7, 2017
sp_UserOfflineSmall Offline

That is a very creative solution, thanks for your post.
I would consider purchasing an esp8266, such as a NODEMCU or similar. They cost less than the arduino and include WiFi capability. The ESP32 has even more advanced capabilities. (bluetooth etc)

Forum Timezone: America/New_York

Most Users Ever Online: 166

Currently Online:
17 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

rw950431: 272

Vinod: 240

piajola: 95

turgo: 70

vespapierre: 63

Adarsh_Murthy: 62

Member Stats:

Guest Posters: 1

Members: 8665

Moderators: 1

Admins: 2

Forum Stats:

Groups: 3

Forums: 14

Topics: 1600

Posts: 5760

Newest Members:

qkpham, SANGAMNATH B, swatiiot, kalyanigaware16@gmail.com, Romi, Drakan01

Moderators: cstapels: 460

Administrators: Hans: 405, lee: 457