I am new to Evothings and am simply trying to ran the example LED On/Off TCP from my android phone. After putting in the IP address I keep getting a connection error. Anybody have any idea, I cannot find any answers to this problem on the forum or anywhere else.
Thanks
Connection Error
Re: Connection Error
did you walk through the blog post we had on this?
http://evothings.com/blink-a-led-on-the-intel-edison-dev-board-using-your-smartphone/
the secret to this is to make sure you have the right IP address - the sketch will display this in the serial monitor when the sketch starts up. it can take up to a minute for the Edison to boot up and actually start running your sketch.
http://evothings.com/blink-a-led-on-the-intel-edison-dev-board-using-your-smartphone/
the secret to this is to make sure you have the right IP address - the sketch will display this in the serial monitor when the sketch starts up. it can take up to a minute for the Edison to boot up and actually start running your sketch.
Re: Connection Error
Yes Adiri,
I followed these instructions step by step. And I am also copying in the IP Address from the Arduino board exactly as I see it. I am really at a loss. been at it the whole day, and still receive a connection error.
Best regards,
Eugenia
I followed these instructions step by step. And I am also copying in the IP Address from the Arduino board exactly as I see it. I am really at a loss. been at it the whole day, and still receive a connection error.
Best regards,
Eugenia
Re: Connection Error
Eugenia wrote:
I followed these instructions step by step. And I am also copying in the IP Address from the Arduino board exactly as I see it. I am really at a loss. been at it the whole day, and still receive a connection error.
are you on the same subnet/network? for example, if the Arduino has an IP address like 192.168.0.10 - your mobile phone must also be able to connect to it via the same network. it should be connected using WiFi - if you are only connected to your mobile phone network, you wont be able to reach the Arduino
Re: Connection Error
Eugenia wrote:I am on the same Wifi network
the only thing I can think of is if your WiFi network has client isolation functionality enabled which prevents your devices from talking to each other - but, if you were able to push the application out to the Android phone using the workbench - there should be a connection. you may need to review the debugging logs - the first is on the serial monitor (for Arduino, where you get the IP address). the second; is within the Workbench itself, click on the "TOOLS" menu bar and you may see some additional information from the Android application shown there - maybe best to cut and paste and share it here?
Re: Connection Error
I connected to a different network and now my phone is connected to the Arduino. However when I press on LED on I get these messages in the serial Monitor window:
Client connected
O2
Client disonnected
Client connected
H2
Client disonnected
Client connected
O2
Client disonnected
Client connected
H2
Client disonnected
Client connected
O2
Client disonnected
Client connected
H2
Client disonnected
Client connected
O2
Client disonnected
Client connected
H2
Client disonnected
Client connected
O2
Client disonnected
Client connected
L2
Client disonnected
Client connected
Client disonnected
Client connected
O2
Client disonnected
Client connected
H2
Client disonnected
Client connected
O2
Client disonnected
Client connected
H2
Client disonnected
Client connected
O2
Client disonnected
Client connected
H2
Client disonnected
Client connected
O2
Client disonnected
Client connected
H2
Client disonnected
Client connected
O2
Client disonnected
Client connected
H2
Client disonnected
Client connected
The Led does not come on. Do you know what this could mean?
Best regards,
Eugenia
Client connected
O2
Client disonnected
Client connected
H2
Client disonnected
Client connected
O2
Client disonnected
Client connected
H2
Client disonnected
Client connected
O2
Client disonnected
Client connected
H2
Client disonnected
Client connected
O2
Client disonnected
Client connected
H2
Client disonnected
Client connected
O2
Client disonnected
Client connected
L2
Client disonnected
Client connected
Client disonnected
Client connected
O2
Client disonnected
Client connected
H2
Client disonnected
Client connected
O2
Client disonnected
Client connected
H2
Client disonnected
Client connected
O2
Client disonnected
Client connected
H2
Client disonnected
Client connected
O2
Client disonnected
Client connected
H2
Client disonnected
Client connected
O2
Client disonnected
Client connected
H2
Client disonnected
Client connected
The Led does not come on. Do you know what this could mean?
Best regards,
Eugenia
Re: Connection Error
much better!
did you connect an LED to pin 2 with a 220 Ohm resistor? you could also use a multimeter to verify the pin is actually going high as well when you press the ON button. The LED on/off examples require some hardware setup (wiring)
did you connect an LED to pin 2 with a 220 Ohm resistor? you could also use a multimeter to verify the pin is actually going high as well when you press the ON button. The LED on/off examples require some hardware setup (wiring)
Re: Connection Error
It is currently 0.59V on pin2 when I press LED ON. But it fluctuates. It is the same when I press LED OFF, though I am expecting it to be 0V.
Re: Connection Error
It works now! I thought it the LED was well connected. Maybe it wasn't. Didn't change anything, just reconnected. Thanks so much for the help!
Return to “Questions and answers”
Who is online
Users browsing this forum: No registered users and 9 guests