A IoT Solution.
If you want to do a project with Arduino in which you need to control some device with your Android phone through WiFi, then this application can help a lot!
The advance and development of high resolution per frame cameras these years to motivated both engineers and students in the research and creation of applications based on "automated" computer vision algorithms, a frequent task and used is the tracking of object movements made by these, and position of the object as well as its own characteristics, such as object shape, object color, etc.
In this case, the project is based on the tracking of moving objects and specific characteristics of these, such as circular or spherical shapes and color, besides positioning and movement of these.
The colors that can be detected with this application are:
PPLICATION USES THE OpenCV LIBRARY. If you have not downloaded it yet,
the application will ask you to download the OpenCV Manager.
UDP Server and Client App.
Communicate with Arduino and WiFi modules like CC3000, ATWINC1500 and ESP8266.
- Connect your mobile to an access point.
- Enter target host on app.
- Change port if needed for both server and client.
How does it work:
Run the application select WiFi in the menu to register the target host and port by which the information will be sent to the WiFi module and your Arduino can receive the information and can make the necessary calculations.
Then you can select the color to be tracked or from the menu select Ball and begin to track, when it detects the object of the selected color the application will begin sending the necessary data.
Arduino micro receives information about the object through a WiFi module in this case
the SparkFun Breakout Board CC3000 from IT, the communication is done through UDP sockets client server, the application in the mobile sends the necesary data
(Frame size position for horizontal and vertical servo) to the microcontroller so that this
can perform the calculations with the information sent and perform the updates in the servos, in this case only the horizontal.
I hope it is of your pleasure and to serve to you for cool project or investigative study or as you wish.
You can se a Example here: