Code started on 2015-09-25 (F) was fixed. This code was previously posted and since it was updated code shown in both locations was working. Code fixing actually took place over the weekend rather than a single day but resulted in successful tests. Video and images were taken which shows the operation of the servos with a simple switch substituting for a hand operated switch.
Google has made many poor attempts at animating photo bursts but the result from 80+ pictures was a nearly perfect loop which showed the switching being used to move both servos forward and backward simultaneously. There was no need to reverse the frame sequence. A tripod was used to hold the phone steady while the switch was activated.
Video was taken which also demonstrated the movement but also showed that the switch was not being held at any point but was instead pressed and immediately released. Holding the switch would negate any movement on the part of the servos, motion only begins with the release of the switch. This also ensures there is not erratic movement if the switch were held indefinitely. If immediate reaction is desired the debouncing code in the readHandSensor() function could be removed.
Downloadable Files:
The rest of the posts for this project have been arranged by date.
First time here?
Completed projects from year 1.
Completed projects from year 2.
Google has made many poor attempts at animating photo bursts but the result from 80+ pictures was a nearly perfect loop which showed the switching being used to move both servos forward and backward simultaneously. There was no need to reverse the frame sequence. A tripod was used to hold the phone steady while the switch was activated.
Loop of servos moving synchronously
Video was taken which also demonstrated the movement but also showed that the switch was not being held at any point but was instead pressed and immediately released. Holding the switch would negate any movement on the part of the servos, motion only begins with the release of the switch. This also ensures there is not erratic movement if the switch were held indefinitely. If immediate reaction is desired the debouncing code in the readHandSensor() function could be removed.
Video demonstration of servo control
Downloadable Files:
- Common OpenSCAD files
- Servo footprints for OpenSCAD.
- Arduino Code for wired keyboard
- Spreadsheet for chords.
- Wrist mount
- Servo arms
- Bend around spacers
- Terminal board
- Input voltage
- USB
- 6-15volts
- Make base for keyboard
- Integrate:
- Enclosure for each controller
- Potentiometer access
- Activation switch
- Power connection
- Debug
- Test
- Refine
- Repeat
- Write instructions
- Compress and link to all files
- OpenSCAD files
- STL models
- Arduino code
- Make diagram with every part labeled
- Schematic for servo controller
The rest of the posts for this project have been arranged by date.
First time here?
Completed projects from year 1.
Completed projects from year 2.
Disclaimer for http://24hourengineer.blogspot.com/
This disclaimer must be intact and whole. This disclaimer must be included if a project is distributed.
All
information in this blog, or linked by this blog, are not to be taken
as advice or solicitation. Anyone attempting to replicate, in whole or
in part, is responsible for the outcome and procedure. Any loss of
functionality, money, property or similar, is the responsibility of
those involved in the replication.
All digital communication regarding the email address 24hourengineer@gmail.com becomes
the intellectual property of Brian McEvoy. Any information contained
within these messages may be distributed or retained at the discretion
of Brian McEvoy. Any email sent to this address, or any email account
owned by Brian McEvoy, cannot be used to claim property or assets.
Comments
to the blog may be utilized or erased at the discretion of the owner.
No one posting may claim claim property or assets based on their post.
This blog, including pictures and text, is copyright to Brian McEvoy.
2015-09-27 (Su)
Comments
Post a Comment