Send data to thingspeak w/ arduino uno and esp8266 | 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
Send data to thingspeak w/ arduino uno and esp8266
No permission to create posts
January 22, 2018
3:00 pm
Avatar
arclary
New Member
Members
Forum Posts: 2
Member Since:
January 22, 2018
sp_UserOfflineSmall Offline

Hi everyone,

For my last year project i am going to make an app that says where parkingspots are left empty.

Now i have a esp8266 that has to send data from a hc-sr04 (distance sensor) to thingspeak both are connected to an arduino uno

i already connected the esp8266 to my home wifi network but im already a few weeks bussy to find how to send data from the hc-sr04 with the esp8266 to thingspeak. So all of your help is welcome! I really don't know how to do that and i could never program it bymyself Confusedso tips please Cry

Ps i already tried some of the examples as meassure the strength of your wifi network but none of it worked.

January 22, 2018
7:34 pm
Avatar
rw950431

Top
Members
Forum Posts: 267
Member Since:
January 30, 2014
sp_UserOfflineSmall Offline

Depending on which esp8266 board you have its likely that you do not need the Uno at all.    Your distance sensor can connect direct to ESP8266 so long as it has 2 digital pins available.

January 23, 2018
3:26 pm
Avatar
cstapels
Moderator
Members


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

Have a look at the proximity sensor example.  It shows you how to use an Arduino mkr1000 with the sonar sensor.  You can use the schematic as a guide.  You can also use the getDiatance function on your esp8266 project.

The code in the temperature project uses an esp8266, so you can use those parts of the code for connecting to wifi and for posting to thingSpeak.

January 24, 2018
10:10 am
Avatar
arclary
New Member
Members
Forum Posts: 2
Member Since:
January 22, 2018
sp_UserOfflineSmall Offline

Thanks for both responses but i don't have any of those ESP8266 i bought the ESP8266 from this link https://www.sparkfun.com/products/13678

it has 8 pins that i can connect to my arduino uno is it possible to do it with this one and the arduino uno?  

I bought this combination with a large breadboard because i' ve got a lot of sensors

And after some research and your responses im really hesitating. 

Besides that are realy good examples thanks already for that!

Forum Timezone: America/New_York

Most Users Ever Online: 114

Currently Online:
25 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

rw950431: 261

Vinod: 196

piajola: 85

turgo: 70

vespapierre: 63

Adarsh_Murthy: 62

Member Stats:

Guest Posters: 1

Members: 5703

Moderators: 0

Admins: 2

Forum Stats:

Groups: 4

Forums: 17

Topics: 1313

Posts: 4565

Newest Members:

JamesVex, meghanfr69, raqueldk69, soniafw2, vitalijDrine, JosephAmapy

Administrators: Hans: 387, lee: 457