-->
Page 1 of 2

Completely new to arduino! Please Help ! I Am eager to Learn

PostPosted: Mon Mar 06, 2017 12:47 pm
by wes709
The Plan: I would like to invent something to feed my cat on a daily basis.

I have Purchased the ESP12e http://www.banggood.com/Geekcreit-Doit- ... 85891.html

I have connected the board to the Arduino software connected the board and done the blink test. That part I am confident enough with.

I am now trying to get a continuous servo to turn either from my phone or the computer and that is where i am stuck .

I have been looking at tutorials upon tutorials for the ESP12e but cannot figure out how im supposed to do this.

PLEASE HELP and i appologize in advance for my Newbie-ness i am huge into RC but this is my first step into arduino land ! :)

Re: Completely new to arduino! Please Help ! I Am eager to L

PostPosted: Tue Mar 07, 2017 6:51 pm
by Barnabybear
Hi, this is not difficult to do. If you put together a step by step plan as to how you would like to do this I can provide you links to help you through this.

Re: Completely new to arduino! Please Help ! I Am eager to L

PostPosted: Wed Mar 08, 2017 11:42 am
by xl97
When you mention phone or PC.. are you talking about 'locally' being able to communicate with it?

Or from outside of the house (using the internet) to do so?

IMHO.. a captive portal solution seems like it would fit.

Overview:

ESP is an AP (access point).
Your phone will see it as a new wireless network that it can connect to.
If you connect to the wireless network (ESP module) and open a browser (ie: Chrome).. and type in an ANY address, you can have the ESP serve up its OWN .html page (ie: web page).

This webpage can just be a bunch of buttons/links.. that 'command' the ESP to do things..

ie:

link1/button1 = feed cat

when you click on it, it will submit the webpage (to itself).. where you can then parse the command/action and handle how you see fit..

in your case.. you might just see a '1' come over.. and in your sketch you know a '1' is the 'feed cat' command.

So you can then turn servo X degrees, wait.. then return back X degrees.. (or whatever works best)

I really like the 'captive portal' approach on my standalone projects.. it provides:

interface/gui
connection to components
code

all in one module.

Re: Completely new to arduino! Please Help ! I Am eager to L

PostPosted: Thu Mar 23, 2017 7:47 pm
by wes709
Thanks for the reply Barnabybear, xl97. This is the page that gave me the idea! http://www.instructables.com/id/IoT-Pet ... /?ALLSTEPS

Once again i am pretty rookie with this thing but I had no problems with this
http://www.instructables.com/id/The-Fir ... DEVKIT-V2/

I have all the electronics, however i do notice that my board is not the exact one as the IoT pet feeder!