{"id":1601,"date":"2015-11-08T16:06:45","date_gmt":"2015-11-08T16:06:45","guid":{"rendered":"https:\/\/readysaltedcode-wordpress.appspot.com\/rc-car-appshed\/"},"modified":"2015-11-08T16:06:45","modified_gmt":"2015-11-08T16:06:45","slug":"rc-car-appshed","status":"publish","type":"page","link":"http:\/\/www.readysaltedcode.org\/rc-car-appshed\/","title":{"rendered":"Remote Control Car with Appshed"},"content":{"rendered":"
In this project your will be building a mini remote control “car” using the IOIO OTG board and controlling via an app.<\/p>\n
The hour of code is an international week long event promoting Computer Science \/ Computing Education in Schools around the world. readysaltedcode CIC are running several different events during the week from light up christmas tree decorations to smartphone remote controlled cars. This document covers the RC Car using appshed.com workshop(s)<\/p>\n
Internet Access For the RC car<\/strong> During this series of workshops you will create 2 apps. 1 app talks and controls the \u201ccar directly. The second app allows others to control the car via instructions (events) trigger in the remote sent via the web to the master controller app near\u00a0the car.\u00a0 You can remote control from anywhere in the world. All you need is internet access.\u00a0 Having remote controlled a car based in South Africa from the UK we already know how awesome it feels.\u00a0 This project gives you a little insight into The Internet of Things (IoT), how things like satellites communicate with ground (earth) based control centres or any other remote controlled device.<\/p>\n Remember when designing your app you have a maximum of 5 tabs. The control of the remote vehicle is based on the movement of the phone itself or trigger by button presses within each tab of the app. What order do you think they should be in?<\/p>\n INFO<\/strong>: Explains what your app does and how to use it https:\/\/www.youtube.com\/watch?v=j03U0k-8HFU<\/p>\n Login into Once you have logged there are 2 options to create apps.\u00a0 <\/span>One is App builder and the other is IoT.\u00a0 <\/span>We will be using app builder<\/b> for the first part of the project.<\/span><\/p>\n If you are new to appshed check out these resources for an overview of the platform\u00a0<\/span><\/p>\n http:\/\/appshed.com\/help\/resources\/item\/appshed-basics<\/span><\/a><\/p>\n \u00a0Create new project<\/b> and name it appropriately.\u00a0 <\/span>The details added here are what would be shown if the app was added to any of the \u201capp stores\u201d.<\/span><\/p>\n Go to the settings tab > Advanced<\/b> and scrolled down to the bottom of the page to custom JavaScript and paste the (\u00a0JavaScript drive engine) code inside the box.<\/p>\n JS Code\u00a0<\/a>available here.<\/a><\/p>\n Custom CSS click here<\/a><\/p>\n Go to modules<\/b> \u201cpane\u201d and type \u201crc car\u201d into the search box and press enter<\/span><\/p>\n This is allow you add the modules for each tab.\u00a0 <\/span>Click the USE button and confirm with the YES green button for each module tab. Remember this is being developed online and sometimes the internet connection is greatly if you get an \u201cOops” just refresh the page. <\/span><\/p>\n [screen shots]<\/span><\/p>\n Change some of the colours or images\u00a0 <\/span>to make it your own. <\/span><\/p>\n Useful links for images and icons<\/span><\/p>\n Now the app has all the components to control the rc car the based in Appshed\u2019s South Africa office.\u00a0 Each Appshed Academy school will be given time with car but this must be booked in advance.<\/p>\n In this project your will be building a mini remote control “car” using the IOIO OTG board and controlling via an app. Introduction The hour of code is an international week long event promoting Computer Science \/ Computing Education in…<\/p>\n","protected":false},"author":3,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"_links":{"self":[{"href":"http:\/\/www.readysaltedcode.org\/wp-json\/wp\/v2\/pages\/1601"}],"collection":[{"href":"http:\/\/www.readysaltedcode.org\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"http:\/\/www.readysaltedcode.org\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"http:\/\/www.readysaltedcode.org\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"http:\/\/www.readysaltedcode.org\/wp-json\/wp\/v2\/comments?post=1601"}],"version-history":[{"count":0,"href":"http:\/\/www.readysaltedcode.org\/wp-json\/wp\/v2\/pages\/1601\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.readysaltedcode.org\/wp-json\/wp\/v2\/media?parent=1601"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
\nSmartphone: Android to talk to the IOIO board<\/em>, any other smartphone to control via the web<\/em> -(API)
\nAppshed Account\u00a0www.appshed.com<\/span><\/a><\/p>\n
\nIOIO OTG
\n2 x Motors & Wheels
\nMotor driver block
\n9V power supply
\nJumper cables (male to male)
\nBluetooth dongle & usb cable<\/p>\nRemote Control Vehicles<\/h2>\n
Design your App<\/span><\/h2>\n
Required Tabs<\/span><\/h3>\n
\nSTEERING<\/strong>: To activate the steering API call
\nGEAR<\/strong>: TO activate the gear\/ speed API call that detects the angle and speed of motion of the phone.
\nDATA<\/strong>: Displays the data the phone is generating and transmitting via the API calls and event handling.
\nDEMO<\/strong>: this tab has a demo mode plus individual commands to control the car<\/p>\nSTEP 1 \u00a0 <\/span>Login<\/span><\/h2>\n
<\/a> your account at appshed.com<\/span><\/a>. If you don\u2019t have an account you can open a free account very quickly at the site.\u00a0<\/span><\/p>\n
STEP 2 \u00a0 <\/span>New App<\/span><\/h2>\n
<\/span><\/p>\n
<\/h2>\n
STEP 3 JavaScript Engine & Custom Settings<\/span><\/h2>\n
<\/p>\n
<\/span><\/h2>\n
<\/h2>\n
STEP 4 \u00a0 <\/span>Modules<\/span><\/h2>\n
STEP 5 Building your own car. Click here for more details<\/a><\/span><\/h3>\n","protected":false},"excerpt":{"rendered":"