Black Lives Matter - Action and Equality. ... Adafruit is part of the Stop Hate for Profit campaign. Adafruit is open and shipping.

Moderators: adafruit_support_bill, adafruit

Forum rules
If you're posting code, please make sure your code does not include your Adafruit IO Active Key or WiFi network credentials.
Please be positive and constructive with your questions and comments.


by redder558 on Wed Jan 13, 2016 1:20 am

What boilerplate code do I need to inerface an Arduino ethernet shield with Adafruit I.O. (in arduino language)?

Posts: 15
Joined: Tue Oct 13, 2015 8:26 pm

Re: Ethernet

by jwcooper on Fri Jan 15, 2016 11:37 am

This should get you pretty close: ... ino_cc3000

It's using the cc3k, but swap out the cc3k boilerplate for your ethernet shield setup.

Posts: 679
Joined: Tue May 01, 2012 9:08 pm

Re: Ethernet

by Philipwith1L on Wed Feb 03, 2016 9:40 pm

Hello there-
I appreciate the link to the repository, JW! I am having problems as well when it comes to the Arduino and Ethernet and actually getting the MQTT to pick up. I don't know if it's because of the variation in chips (W5100, 5200, 5500) or the way that I am hosting the libraries into the Arduino. I just started attempting this today and got no where with it. I really want to use the Adafruit IO but am wondering if I made a bad choice by buying the Seeedstudio shield as my interface.
*Edit- I see that you are the creator of the Learn on this subject. I'll have to give it another through read.

Posts: 2
Joined: Sun Jan 17, 2016 7:18 pm

Re: Ethernet

by MikeTeachman on Thu Feb 04, 2016 2:06 am


here's the code I use for Arduino ethernet:

Posts: 14
Joined: Mon Nov 25, 2013 10:52 pm

Please be positive and constructive with your questions and comments.