So I was messing around with the Linkit One and cloud control platform by Mediatek but unfortunately its still in its developmental stages and at present is not the best and easiest way to go. At the moment Blynk is the best way to do it. Blynk is an app which lets you control your micro controller via Wifi. It allows for a easy to use interface and a huge variety of options. It also has all the interactive functions and awesome user interface.
Step 1: Things Needed
Well the list is pretty straightforward as this is only the basic starter guide.
- Linkit One with Wifi Antenna
- LED + Resistor
- Arndroid or iOS based smartphone
Step 2: Installing the App
This is pretty straight forward. Just go to the Play store for android or App store for iOS and search "Blynk". Download the first result that comes up.
Step 3: Installing the Library
Now I assume that you have already installed the Linkit One IDE. If you havnt then go to this link and follow the procedure. Once you have the IDE installed, you need to install the library. Now that is simple. Download this zip file. Then open your IDE folder. Open the libraries folder and extract the contents of the zip file inside the folder.
Step 4: Setting Up the App
Open the app and create an account. Log in into it and click on the plus sign. Make up a project name and select name Linkit One in the hardware selection. And click on the email button. Once done, Click on create.
Now you will enter into the project dashboard. Click on the plus sign and enter a button and then select Pin 9.
Step 5: Hardware Setup
Its very simple. Just a regular led on pin 9. And thats it.
Step 6: Programming the Board
Open the Blynk Linkit One example and insert you code from your email and your wifi details.
Add this line "#define ARDUINO 150" in the code start. Upload it into the Linkit One.
Step 7: Making It Work
Just power up the board and open the app. Press the play button on the app and use the button to turn the led on and off. You can also make a slider for fading the led.
Step 8: Future Prospects
The good thing about this setup is that once you have uploaded this code, the possiblities are endless. You dont need to change the code, just modify the app to get all control. Now that is a very cool feature.
Step 9: Concluding Remarks
I hope you found my tutorial useful. Please do try it as it will open doors to a whole new world and make complex things so much easier. Thanks to Mediatek Linkit One for their integrated hardware platform and Blynk team for their awesome all-in-one software package.