Servo programming was written for an Arduino Pro Mini by lifting the code previously used for the Digispark. Without the ability to get serial feedback data it was unnecessarily difficult to debug. Servo control relies on precise PWM timing and using numeric feedback from the controller allows easy confirmation that the correcting timing is being used. Digispark required the data pins for this project so feedback was not possible with every I/O attached plus it required another library and unique terminal-style program.
This is another perfect example of a time when breadboarding would have me saved time.
Desoldering was done on the terminal board so it could be reattached to an Arduino Pro Mini. Pull-up resistors were no longer necessary so they were removed and discarded. Programming was changed to reflect this; Digispark, with an Attiny85, did not support the pull-up resistor function while the Arduino Pro Mini, with an ATmega328, supported it. This reduced the hardware necessary and would make rebuilding or copying the hardware simpler.
After the necessary soldering work the device was powered and programmed. Testing for the device was powered from a USB battery through a programming board. Servo control was not perfect but debugging should be substantially easier. A video was taken of the first try. Some of the problems include jerky movement and unreliable switch reactions. A power connector will have to be attached.
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.
This is another perfect example of a time when breadboarding would have me saved time.
Desoldering was done on the terminal board so it could be reattached to an Arduino Pro Mini. Pull-up resistors were no longer necessary so they were removed and discarded. Programming was changed to reflect this; Digispark, with an Attiny85, did not support the pull-up resistor function while the Arduino Pro Mini, with an ATmega328, supported it. This reduced the hardware necessary and would make rebuilding or copying the hardware simpler.
Arduino Pro Mini to replace Digispark
Pro Mini soldered to terminal board
After the necessary soldering work the device was powered and programmed. Testing for the device was powered from a USB battery through a programming board. Servo control was not perfect but debugging should be substantially easier. A video was taken of the first try. Some of the problems include jerky movement and unreliable switch reactions. A power connector will have to be attached.
First attempt at servo movement with Arduini Pro Mini
Downloadable Files:
- Common OpenSCAD files
- Servo footprints for OpenSCAD.
- Arduino Code for wired keyboard
- Spreadsheet for chords.
- Wrist mount
- Make longer straight servo arms
- Make base for keyboard
- Integrate:
- Controller
- Servos
- Enclosure for each controller
- Limit switches
- 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 everything 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-22 (Tu)
Comments
Post a Comment