Components: Software: -> android app or MIT app inventor -> connects through bluetooth
Hardware: -> servo motor -> table (3d printed) -> motor adapter -> buzzer
Parts list Bluetooth (slave) Arduino Solidworks/access to 3d printer/3d printing materials Servo motor Wires for circuit Phone App Buzzer
Design This project consists of an android app that connects to a bluetooth receiver that exists as part of an arduino circuit. The person pushes a button on the app, which provides information to the bluetooth receiver. The Arduino will receive input from the bluetooth receiver and provide an output to one (or two pending material) servo motors that will attach to a table and spin 180º to flip the table. The Arduino will also provide output to activate the buzzer noise. The app (master) will be developed using android or the MIT app inventor. The bluetooth receiver (slave) will be selected according to the app used. Servo motors will be required as will wires for the circuit. A buzzer will be required. Solidworks will be used to design the table and support/attachment component. 3D printing will be necessary to create the table and attachment design.
The idea for our final project is a table flipper. It is a common expression that a person who is angry wants to flip a table. This is not practical, but we came up with the idea that a small table flipper could be constructed where one could press a button on one circuit and cause a table to flip on another circuit through use of a servo motor and Bluetooth. Our original idea was to have the Bluetooth communication be between an Android app and a circuit. For our first demo day, we can a prototype app that was not yet connected to the circuit via Bluetooth. We had two circuits that communicated via Bluetooth using HC05 Bluetooth modules. Connection of a wire on one circuit caused the servo motor to spin and a buzzer to sound on the other circuit. We had designed a table to be fitted on the servo motor was in the process of being designed in SolidWorks. For the final demo, the table was 3D printed using makerbot printers and attached to the servo motor. The demo consisted of two circuits in Bluetooth communication where pressing a button on one circuit causes the servo motor to spin, flipping the table, and a buzzer to sound.
Our final project consists of two circuits. The first circuit contains the master Bluetooth module. The circuit is designed so that when the button of the circuit is pressed, current flows through the button to ground and provides and input to digital pin 9. When the input is high, the master Bluetooth module sends the signal H to the slave Bluetooth module. When the button is not pressed, the input is low, and the master Bluetooth module sends the signal L to the slave Bluetooth module. When the slave Bluetooth module receives the H signal, the servo motor rotates to the left, and the buzzer emits a tone. The servo motor rotates 180 degrees and remains in that position until the button is no longer pressed. This rotation turns the table attached to the servo motor upside down. The buzzer continues to sound until the button is no longer pressed. When the slave Bluetooth module receives the L signal, the servo motor rotate to the right until the table is in the upright position, and the buzzer does not sound.
We attempted to create a Bluetooth connection between a circuit and an app that we designed. Our intention was to have an app coded that would connect to a BlueFruit AdaFruit SPI Friend Bluetooth module. We used the MIT app inventor to code the app, and we downloaded the BlueFruit Adafruit Arduino libraries. While were able to code the Bluetooth connection for the Arduino circuit, we were unable to establish the Bluetooth connection between the app and the circuit. We then attempted to use the Android app builder; however, we encountered problems with the coding of the app. In the future, we would find a way to make the Bluetooth connection between a circuit and an app. Should this be accomplished, a condensed circuit operating on battery power would allow this to become portable. The use of a phone app will allow this to be portable so that it could fit in one’s bag. This would allow the person to “flip a table” in any instance.