Pages: [1]   Go Down
Author Topic: Arduino Yun temperature web panel example  (Read 1403 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Jr. Member
**
Karma: 0
Posts: 79
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

not working?
All I get is a zero in the upper left corner of the web page?
It also asked me to login into arduino server??
Help please.   smiley-cry

Thanks
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 31
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

A lot of questions...
let's start from the beginning ... follow this sample

http://scuola.arduino.cc/courses/lessons/view/zzdeJ3m

is better ... ad remember that in your sketch folder you must create a folder named www ad put index.html and the .js file
Logged

0
Offline Offline
Jr. Member
**
Karma: 0
Posts: 79
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thank you so much!
 I just replaced the code for my temperature sensor LM34 which is what I am using and then BOOM everything work!!!  smiley
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 19
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello raxpa

My page says "Waiting for Arduino"

Where do you issue the "temperature" command (string)?

tia
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 20
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

In the documentation at http://arduino.cc/en/Tutorial/TemperatureWebPanel it says:

"In this sketch folder is a basic webpage and a copy of zepto.js, a minimized version of jQuery."

After installing the latest IDE, I didn't see that. Does anyone know where the folder is?

Logged

Offline Offline
Full Member
***
Karma: 1
Posts: 141
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

If you go to arduino install directory
and then the libraries folder
then the Bridge folder
then the examples folder
then the TemperatureWebPanel folder!

Then you will see the www folder right next to the  TemperatureWebPanel.ino sketch in there you will find the index.html and the zepto.min files.

Al so I had to use the url of the Yun in place of the Yun's name "192.168.1.103" in place of "ardunio" in order for the html page to come up, don't ask me why because I have no idea! Maybe someone else could answer that?

So the url would look something like this
http://192.168.1.103.local/sd/TemperatureWebPanel
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 19
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset


All

  I was getting '0' just like the opening message of this topic.
because of using ie8,  zepto.js must not work with ie8.   jQuery 1.x
works.  The newer jquery 2.x doesn't. They explicitly say can't be used
with ie6, ie7, or ie8.    Also there is a compressed or minimized version
of jQuery 1.x  to download which works.
Logged

Pages: [1]   Go Up
Jump to: