Search found 40 matches

by keiranwyllie
Sat Sep 10, 2016 1:08 pm
Forum: EtherTen
Topic: EtherTen and Relay 8 Shields
Replies: 8
Views: 5303

Re: EtherTen and Relay 8 Shields

I am learning as well, and I want to be sure I understand what you are achieving here. With this bit of code, are you able to make either channel 1 or 2 turn on for a second in response to you pushing a button that is connected to digital pin 2 or 3, respectively? And this also works when the web i...
by keiranwyllie
Thu Sep 08, 2016 10:17 am
Forum: Project Showcase
Topic: Delving into the realm of home automation with Arduino and Raspberry Pi
Replies: 21
Views: 14260

Delving into the realm of home automation with Arduino and Raspberry Pi

Not sure whether this part of the forum gets used a lot but I thought I'd post anyway. After doing a lot of testing and design work, I've started to begin my install. At the moment I only have the pool control cabled in (operated lights, fountains and spa) but that's shown in the pics yet. I will be...
by keiranwyllie
Sat Aug 27, 2016 9:05 am
Forum: TS: Terminal Shield
Topic: RELAY8 issues / 2 faulty boards!?
Replies: 9
Views: 13633

Re: RELAY8 issues / 2 faulty boards!?

Did you end up getting your shields to work properly?

I had, what sounds like, a very similar issue with mine. I had to set up my Revision 3 shield to a Revision 2 as per the instruction booklet, because of the different Arduino header versions, then everything worked fine.
by keiranwyllie
Fri Aug 26, 2016 2:55 am
Forum: EtherTen
Topic: EtherTen and Relay 8 Shields
Replies: 8
Views: 5303

Re: EtherTen and Relay 8 Shields

Well the answer was staring me right in the face and I missed it...obviously looking too deep. Changed the code to this and it works like a charm, both from web interface and push buttons. if (digitalRead(2) == HIGH) { toggleLatchChannel(1); delay(1000); } else if (digitalRead(3) == HIGH) { toggleLa...
by keiranwyllie
Tue Aug 23, 2016 10:29 am
Forum: Random Chit-Chat
Topic: Pi Webserver to Arduino
Replies: 22
Views: 11156

Re: Pi Webserver to Arduino

Maybe it's my 3 minutes of Arduino experience and simplistic approach to this that is confusing you, however it's now working how I want it.

Thanks for trying to steer me in the right direction though, I appreciate it.
by keiranwyllie
Tue Aug 23, 2016 9:06 am
Forum: Random Chit-Chat
Topic: Pi Webserver to Arduino
Replies: 22
Views: 11156

Re: Pi Webserver to Arduino

I don't think it's that difficult to understand, it should be pretty simple (pic attached). I added the lines above to my html on my Pi (the HTML that was formally running on the arduino as its own webserver) and it's working. <html><head><title>16 Channel Test</title> <body style="background-color:...
by keiranwyllie
Tue Aug 23, 2016 7:13 am
Forum: Random Chit-Chat
Topic: Pi Webserver to Arduino
Replies: 22
Views: 11156

Re: Pi Webserver to Arduino

All good, I've moved the webpage across to my Pi and added the following to the html:

Code: Select all

<form action="http://10.0.0.100/control" target="dummyframe" method="POST">

<iframe width="0" height="0" border="0" name="dummyframe" id="dummyframe"></iframe>
This works great now.
by keiranwyllie
Sun Aug 21, 2016 8:15 am
Forum: Random Chit-Chat
Topic: Pi Webserver to Arduino
Replies: 22
Views: 11156

Re: Pi Webserver to Arduino

All I've done is use the example that Jon has shown in this video from SuperHouse https://www.youtube.com/watch?v=jvuvyiyVqtc

Only modified the html a little bit to make it look nicer.