Connecting using your own website

About Forums Forum Connecting using your own website

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #942
    msandersmay10
    Participant

    Ok.  I’ve tried your two sets of advice that you posted on torib and have had no luck.  I’ve set the IP address to “local host”  and have also tried your second option of changing it to my IP address. And yes I can get the breakout java server to connect to your getting started webpage for the trial.  What do I need to do?

    thanks
    Matt

    #944

    Can you explain your setup in detail? Are you trying to connect an Arduino to your computer but run an application from an external webserver? Are you attempting to interact with the application from a computer or mobile device (phone or tablet)?

    #945
    msandersmay10
    Participant

    Yes. I’m trying to connect the arduino to my computer and run the application from an external webserver and I’m trying interact with a computer.

    #946
    msandersmay10
    Participant

    I basically downloaded you Breakout_v0.3.0 zip file and then used dreamweaver to edit the simple_led file then uploaded it to my webpage.  I don’t get the “client” connnected notice in the breakout server

    #947

    In your application, when you create an instance of the IOBoard object, you need to pass “localhost”. This is because you will be running Breakout Server on your local computer. You’ll load your application from the external url and when it loads it will get the arduino connection locally. Don’t add the port number to the path of the external server.

    You need to run Breakout Server on your local computer. Make sure Breakout Server is running before you load the external web application.

    #948

    can you send me the url of your application so I can view the source?

    #949
    msandersmay10
    Participant

    sure its  http://matthewandteresalove.co.nf/       it might have the port number removed but I’ve tried it with and without.

    #950

    change the following: var arduino = new IOBoard(host, 8777);

    to: var arduino = new IOBoard(“localhost”, 8777);

    You also need to upload Breakout.min.js and jQuery (or point to the jQuery cdn). See lines 42 and 43 in the code. I’m not seeing these files on your server. Copy Breakout.min.js from Breakout/dist/ to the same folder as the simple LED application on your server and change line 42 to:

    And copy jquery.min.js from Breakout/examples/libs/ to the same location as Breakout.min.js and the simple led app. Change the jQuery line (43 I think) to:

    #951
    msandersmay10
    Participant

    Hi,

    Can you take a look at my code again.  I’ve added your suggestions but am still having errors.

     

    Thanks

    Matt

    #952
    msandersmay10
    Participant

    Hi,

    I downloaded your website and uploaded that to mine to see if it would work and it did.  So I’m just going to look at your code to figure it out. Thanks

     

    Matt

Viewing 10 posts - 1 through 10 (of 10 total)
  • The forum ‘Forum’ is closed to new topics and replies.