Page 1 of 1

web control hosting sites?

Posted: 06 May 2020, 17:35
by mtlsub
Hi everyone, I recently got my ESP8266 working. The ESP8266 for those who don't know is similar to an arduino but it is focused on wifi / internet control and was recommended to me by others here on boundanna.

I found the hosting site "Remoteme" they allow you to create buttons, switches, and a bunch more controls and place them on a simple HTML page you can use to control your device. The site also generates a arduino IDE sketch to help you. Very simple for anyone asking the question "How can I have someone control X device over the internet?"

I was wondering if anyone has other similar sites I could try?

Re: web control hosting sites?

Posted: 06 May 2020, 23:56
by thatthat21
I have been using and play around with https://store.particle.io. They have an online IDE you can use, and have both cellular, wifi, and bluetooth models. It also has a setup that will let you make API calls threw their system to your device as well.

Re: web control hosting sites?

Posted: 07 May 2020, 05:10
by mtlsub
Thanks I'll check them out!

Re: web control hosting sites?

Posted: 07 May 2020, 10:16
by GeneralError
Very interesting approaches! I'll have to check them out. Thank's for sharing!

Re: web control hosting sites?

Posted: 08 May 2020, 00:21
by thatthat21
I will say that I have been unable to get the RF dog shock collars to work... not sure as to why, all my test show the hardware to be working. But I just wired the remote to some relays and have it all coded up to change the mode, power up and power down and broadcast. Works great, so now my partner can shock me any time they want to with out me know. Mind you I have to have the box with the relays in a central closet in the house so I do not hear the relays open and close, but has been working great.

Re: web control hosting sites?

Posted: 09 May 2020, 17:05
by mtlsub
I too am having trouble porting my Rf code from the Arduino (it works fine on the Arduino). I can get LEDs and relays to work via the web no problem. I'm still working on itñ

Re: web control hosting sites?

Posted: 11 May 2020, 18:25
by mtlsub
OK.... I got the shock collar working over internet. it took a lot of troubleshooting and it is not pretty but it works with the hardware I have on hand.

First problem. esp 8266 works on 3.3v the arduino works on 5v. 3.3v is not going to power the transmitter. So I used an arduino as the control for the transmitter and used the ESP8266 to send a HIGH signal to a pin on the arduino.
Second problem. it looks like the 3.3v HIGH signal is not enough to trigger HIGH on the digital GPIO pins. It only started working when I changed the trigger pin to A0.

So now when the button is pressed on the web page it sends a HIGH signal from pin D3 on the esp8266 to pin A0 on the arduino.
The arduino then sends the command to the collar using the 433 transmitter and a modified Deviant Design code.

like I said not pretty but it is a working concept.

Re: web control hosting sites?

Posted: 11 May 2020, 18:54
by Gregovic
if you're just using the Arduino as a level converter, I'd put something likethis actual level converter in. Lot less bulky.

Re: web control hosting sites?

Posted: 11 May 2020, 19:14
by mtlsub
2 reasons really. First I have an extra arduino on hand and more importantly I HAD NO IDEA THAT EXISTED! Thanks for the help I'm off to order more stuff :twisted: :hi:

Re: web control hosting sites?

Posted: 11 May 2020, 19:30
by Gregovic
mtlsub wrote:2 reasons really. First I have an extra arduino on hand and more importantly I HAD NO IDEA THAT EXISTED! Thanks for the help I'm off to order more stuff :twisted: :hi:
Yep, knowing what exists is often half the battle in itself. :wink:

Re: web control hosting sites?

Posted: 11 May 2020, 21:36
by thatthat21
mtlsub wrote:OK.... I got the shock collar working over internet. it took a lot of troubleshooting and it is not pretty but it works with the hardware I have on hand.

First problem. esp 8266 works on 3.3v the arduino works on 5v. 3.3v is not going to power the transmitter. So I used an arduino as the control for the transmitter and used the ESP8266 to send a HIGH signal to a pin on the arduino.
Second problem. it looks like the 3.3v HIGH signal is not enough to trigger HIGH on the digital GPIO pins. It only started working when I changed the trigger pin to A0.

So now when the button is pressed on the web page it sends a HIGH signal from pin D3 on the esp8266 to pin A0 on the arduino.
The arduino then sends the command to the collar using the 433 transmitter and a modified Deviant Design code.

like I said not pretty but it is a working concept.
On the Particle board that I was using it has a 3.3V and just a USBv I was able to get the 5v relay to work when I was testing it before, but converted to a 3.3V relay setup just to make things easy, so my problem could just be getting the power that is needed for the RF to work... is there away to use an out side power source? I have a power addapert that plug into the breadboards, and it can provide both 3.3V and 5V. So if I could use it as the power source that would fix my problems here I hope.

Re: web control hosting sites?

Posted: 11 May 2020, 23:00
by mtlsub
I used an arduino for power because it is what i had on hand but look at the link Gregovic posted it looks like it can change 3.3v to 5v for both the relays and the RF transmitter.

if your power source has 2 outputs you could have one rail on your bread board at 3.3v and the other at 5v. don't mix them up lol

Re: web control hosting sites?

Posted: 12 May 2020, 11:47
by GeneralError
In my prototyped setup I described in viewtopic.php?f=12&t=12481&p=89990#p90005 I was able to control the shock collar with an arduino nano and with an esp8266 as well. No level converter or relais are required. Just the cheap little 433MHz sender module connected with some jumper wires.
I have to pick up this approach again and bring it to a more applicable and reproducible level.

Re: web control hosting sites?

Posted: 12 May 2020, 16:10
by mtlsub
Strange. I could not get it to work. It would have been easier to only use the ESP. Still need the 5V for the relays I have though.

I look forward to seeing what you come up with.

Re: web control hosting sites?

Posted: 19 May 2020, 23:50
by chained
Try this, it's self hosting, basically just plug it in and configure it. The relays can be connected to virtually any device you want, sometimes a little soldering or wire twisting will be required. If I told you some of things I've done with it, you'd be freaked out ... but I'm still alive. By the way, the company has newer better stuff, so do a little reading.

viewtopic.php?f=28&t=8891