The Anymote Iphone app is the best we’ve found to control the ESP Car, it lets you customize the interface and send URLs via “Get” method. When starting make sure the car is setup, turned on (you see the wheels to spin front and back to show the car is working) and wheels are off the ground(for testing) Note: Please… Read more →
I’m currently working on a video for this, but till then…. If you want to try setting it up on your own.the process is… Make sure the car is setup, turned on (you see the wheels to spin front and back to show the car is working) and wheels are off the ground(for testing) 1. Read all of these instructions… Read more →
Good morning Makers! Our time at MakerFaire Ottowa this year is amazing so far and we’re here to share the application with you. To download the .apk file(the application), click HERE for the ESP Car APK (For Android Only). The following are instructions as to how to download and install the application from your computer to your phone and just straight from your phone.
IF YOU’RE DOWNLOADING TO THE COMPUTER:
The download name should be “Wifi Car.apk”, and it is not view-able in the Drive. Open the file location of the .apk through Windows Explorer(do NOT try to read the .apk, just open the file location).
After, plug in your android device into your computer and make sure it is a Media device, and not in “Debugging mode” or “Charging Only”. Then click on the location of your phone. If you have an SD card, open the folder that is NOT labeled as an SD card. There should be many folders open now. That’s good.
Once you have located “Wifi Car.apk” and your phone’s main storage, drag and drop the .apk into the “Downloads” folder in your phone’s main storage. If you do not have a “Downloads” folder, simply place the .apk into the general phone storage.
Next unlock your phone. Under your applications, there should be something called “My Files”, “Downloads”, or just “Files”. Open the application. This should give you all the different folders that you saw under the main storage on your computer.
In the Files application on your phone, you should find the file “Wifi Car.apk”. This is the correct file, so press it. Your phone should prompt you and ask you whether or not you want to install the application. It may say something along the lines of “Files like this may harm your device”; bypass that by pressing the button that says “Download just this once”. Once the file in installed, open it, connect to your car’s Wifi and you’re ready to go!
IF YOU’RE DOWNLOADING STRAIGHT TO YOUR ANDROID DEVICE:
Click here. Then open with the Google Drive application. It should then automatically download the file (if it doesn’t, press it again until the .apk downloads).
Your phone should then prompt you to about the download settings. Go into your settings and “Allow Unknown Resources Just This Once” or “For Only This Application”. You need to allow “unknown resources” (even though you know us) because the application is not downloaded directly from the Google Play store.
Afterwards, all the installation and once it’s done, open it, connect to your car’s Wifi, and you’re ready to go!
MIT App Inventor is a coding program based solely in what’s called “block coding”. The drag-and-drop method is an easy way to start coding. It simplifies methods and logic to make it not only easier to read but to understand.
Download the source code here. You can upload the .aia right into App Inventor.
To start on the MIT App Inventor application for the Wifi Car, start by making a new Project.
In your new Project, add a few things to your home screen. First, add five buttons and two labels. These can be found as objects underneath the “Palette” then “User Interface” section.
The first button is on the top of the screen to the right of a label, then three buttons were placed in a “Horizontal arrangement” section, then one more button underneath them all to the right of another label. The labels should be long enough to “push” the buttons so that the buttons on the top and bottom of the row of 3 are centered (it should make an arrow-key-like shape, or easily identified up, down, left, right, and stop). The components section should look as follows:
(Horizontal arrangements can be found under “Layout”)
Next comes the abstract objects, or things that will NOT show up on the application when it is in practical use. There are two of them: a clock (under Sensors) and a web viewer(under User Interface). Drag and drop these two things onto the screen you are working on.
The Components section should now look like this:
Now that the visual and object side of the app is done, it’s time to code. Press the “Block” button on the top right hand corner of the work space to access the coding section.
Once in the coding section, click on the “Screen1” section on the left hand side of the work space.
That should open up a small window to the right of the “Blocks” section. From this, drag and drop the one that says “when Screen1.Initialize” onto the coding space.
Now you’ve placed your first line of code! Congratulations!
Next, go into the “Clock1” section (it should be at the bottom under the “Screen1” section you just went into) and drag and drop the dark green piece that says “set Clock1.Timerenabled to” into the “Screen1.Initalize” that you just placed. They should snap together with a small click! and stay there. Afterwards, go into the light green “Logic” section (which is ABOVE the “Screen1” section) and drag and drop a “true” block into the Clock1.TimerEnabled block you placed before(they should snap together too), as shown in the following photo:
Now, when the program starts and the screen initializes, the clock will start running which means that the clock will constantly be checking for anything new happening on the screen– in this case, whether or not a button is being pressed.
The next part is simple, as there are just a few variations. Start by clicking on the first “Button” section that you can (in my case, it was the UP button). There you will find a “when Button1.Click” (or whatever your button is named) block which is the same color as “when Screen1.Initialize”.
Then click on the “WebViewer1” section and drag out a purple “call WebViewer1.GoToUrl”. Click this into place under the .Click block, and they should click into place like the previous pieces.
Next go into the pink “Text” section above the “Screen1” section and drag and drop an empty pink block with quotations around it and snap it into place next to the small “url” part of the “WebViewer1.GoToUrl”.
Inside of the pink text block you’re going to type in something called an IP address. An IP address is a set of numbers that identifies a device, whether it connects to the internet or not. The IP for your car is 192.168.4.1, the universal code for a local IP address (also known as a device that is not connected to the internet). Your Wifi car creates its own wifi, though it does NOT connect to the internet. By creating its own wifi it makes its own local network of devices, which is what you connect to when you control the car.
The other part of the pink text in the box is going to be a piece of code. In the Arduino language, you can code things by breaking down the IP address into two pieces, split at a question mark(?), which is how your Arduino chip is coded by default.
So what you are going to put in is the following:
BUTTON WHAT TO INSERT INTO TEXTBOX
So the http:// is simply saying to the application that the following is done over some kind of network, whether it be the internet or not. The 192.168.4.1 is the local IP address, as explained above, and the ?c=0002\n (or which ever number instead of 2) is the code. The question mark (?) identifies that the letters which follow it are part of the Arduino code and the \n ends the line of code to send out. The c= and the 4 digit number are simply setting a variable inside of the Aduino’s code.
Once all of that is inserted, your code should look like this:
And that’s all of the coding! Now all you have to do is export the APK file to your phone(which is a file type that your phone reads as an application). You can do this by clicking “Build” and then “App (provide a QR code for .apk)” and letting the application “package”(AKA saving itself and becoming a usable application).
Once it loads you will be presented with a QR code to download the application. To load the app from the QR code, scan it with a QR scanner on your phone and download the APK, eventually installing it onto your phone. Then simply connect to your car’s Wifi, open the app, and start driving away!
Proportional-Integral-Derivative controllers (PID) are poised to take over and help give a steady hand to many more devices. currently they are used to help us cook, fly and steer ships for the US navy (among many other uses). Where they will guide us in the future is up to us to ask for their help. To get hands on experience… Read more →
Putting a small hydroponic system in your class room will give your students a much clearer appreciation for the food that magically arrives on their plate each night. Even if the tomatoes have been turned into ketchup. It doesn’t guarantee they’ll eat their vegetables, but when they have a hand in creating the food, they are more likely to eat… Read more →
Looking for a way to introduce robots but have no budget, here is your answer…www.robotbasic.org They have developed a robot language and virtual development platform. This lets anyone with a PC program their robot on the screen and have the ability to send the information to a real robot. Robots from Kittronic.com will be able to use the code… Read more →