Summary of With your Smart Phone and Arduino MKR1000 Blink a LED
This article describes a project to control an Arduino MKR1000's onboard LED via an iPhone SE app using Evothings Studio. The setup involves connecting the board to Wi-Fi and sending commands like 'H' or 'L' to toggle the light. Serial monitoring tracks connection status and analog input values.
Parts used in the Control Arduino MKR1000 from iPhone:
- Arduino MKR1000
- Apple iPhone
- Snappy Ubuntu Core
- Evothings Studio
The idea is to test the Arduino MKR1000, controlling the on board LED from your smart phone (this case iPhone SE. Hacksterlive Bogota.

Things used in this project
Story
The idea is to test the power and the possibilities with the Arduino MKR1000 and also the tool “Evothing Studio” in order to make a quick app for a smart phone, in this case iPhone SE. It began during the events in Bogota with the HacksterLive team.
Using the Serial Monitor in Arduino IDE, it monitors the set up and status.

Here some screen shoots of the app:


Schematics
Code
Source : With your Smart Phone and Arduino MKR1000 Blink a LED
- How is the on-board LED controlled?
The LED on pin 6 is toggled by sending character commands H for high and L for low via the WiFi client. - Can this project be done with an Android phone?
The article specifically mentions testing the idea with an iPhone SE. - Does the code use specific libraries?
Yes, it uses the SPI and Wifi101 libraries available in the Arduino IDE. - What is the purpose of the Serial Monitor?
The Serial Monitor monitors the setup status, prints the SSID and IP address, and displays analog input values. - How does the app connect to the board?
The app connects by using the IP Address printed in the serial monitor within the Phone app GUI. - What pins are configured as inputs?
Pins A1 and A2 are set up as inputs to potentially read sensor data. - Is the original code modified?
Yes, the code was modified from an Evothings Studio example originally designed for the ESP8266. - What happens if the WiFi disconnects?
The loop checks the WiFi status and waits until the module is reconnected before proceeding. - Can you read analog values during operation?
Yes, the function read_Analog_input reads values from port A1 and prints them to the serial monitor.



.png?auto=compress%2Cformat&w=48&h=48&fit=fill&bg=ffffff)

