Controlling a javascript Lunar Lander game on your phone from the Arduino

details

This tutorial describes how to control certain game of Smart Phone using Arduino, Ehternet shield, and Evothings cloud service.

Check the following clip for operation.

Hardware Configuration

fritzing_sketch_lunar_lander

 

Setting up Evothings Studio

Download Evothings Studio to your computer, and the corresponding app for your phone:

Configuring your app

You’ll find an index.html file containing the layout and container tag for the game. You can fill in the IP address of the Arduino here on line 128 with the id=”ArduinoIpAddress”, so you won’t have to add it in the interface with chubby fingers like mine. You also need to fill in the address in the app.js file (in this current version at least) to start the Socket chrome.sockets.tcp.connect function, on line 26. That’s it, you should be ready to go! Make sure the phone is on the same network as the Arduino device (turn Wifi on) so they can find each other.

 

Visit the following link for detailed info of the Tutorial.

https://evothings.com/controlling-a-javascript-game-on-your-phone-from-the-arduino/

 

Source : https://evothings.com/controlling-a-javascript-game-on-your-phone-from-the-arduino/

This tutorial describes how to control certain game of Smart Phone using Arduino, Ehternet shield, and Evothings cloud service.

Check the following clip for operation.

Hardware Configuration

fritzing_sketch_lunar_lander

 

Setting up Evothings Studio

Download Evothings Studio to your computer, and the corresponding app for your phone:

Configuring your app

You’ll find an index.html file containing the layout and container tag for the game. You can fill in the IP address of the Arduino here on line 128 with the id=”ArduinoIpAddress”, so you won’t have to add it in the interface with chubby fingers like mine. You also need to fill in the address in the app.js file (in this current version at least) to start the Socket chrome.sockets.tcp.connect function, on line 26. That’s it, you should be ready to go! Make sure the phone is on the same network as the Arduino device (turn Wifi on) so they can find each other.

 

Visit the following link for detailed info of the Tutorial.

https://evothings.com/controlling-a-javascript-game-on-your-phone-from-the-arduino/

 

Source : https://evothings.com/controlling-a-javascript-game-on-your-phone-from-the-arduino/

COMMENTS

Please Login to comment
  Subscribe  
Notify of