Having done that, we add the library to control the servo motor and the instructions that will move the servo to left and right. Once opened, it is compiled and loaded into the Arduino board, connect the PS3 USB control and through the “serial monitor” check that show when you press any PS3 button. Once downloaded, open the PS3USB example shown in this library. The library that we will use for this test you found in the following LINK and should download it and add in Arduino programming software libraries file. This time we will have a very simple test, making the management of a servo motor through a PS3 control. How to connect an USB Shield Arduino and PS3 control to move servo?Īssembled with a development board Arduino Uno or Arduino Mega, you can control external devices and conduct applications that allow to interact with them. It is called the host, because acts as a master controller. This is the case of the USB module for Arduino projects, known as USB Host Shield. The USB port is perhaps one of the ports most used, thousands of devices work through a USB port, but we are accustomed to external devices using this port and we think that can only be connected to a desktop PC or laptop, but there are cards that allow us to perform the same function of a PC and control devices using this port and this way you can create applications which can connect an external device such as control PS3, mouse, keyboard, camera, code scanner, a cellphone, among many others.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |