The small and elegant program written yesterday didn't use floating limits because after using the device for a few minutes it became apparent it was unnecessary. Currently the servo rotates to 0º when the distance sensor reads 2cm, all the way up to 180º when the distance sensor reads 450cm. If floating limits were used the minimum and maximum distances (2cm to 450cm) would have been determined by the minimum and maximum distances seen by the sensor since its last restart. Since the range of the distance sensor was a small window this method was unnecessary. If a future model used a distance sensor with a longer range it could become important. With this realization the only steps left were a finished rotating photo and instructions. The photos were taken but animated the next day.
Files for Self Contained Haptic Distance Sensor:
The OpenSCAD files below are not necessary unless you want to change something
The rest of the posts for this project have been arranged by date.
Completed projects from year 1.
Completed projects from year 2.
Handheld SONAR
Files for Self Contained Haptic Distance Sensor:
The OpenSCAD files below are not necessary unless you want to change something
- OpenSCAD code. Download all files below
- Enclosure. Open this one
- Distance sensor footprint Support file
- Screw wing Support file
- Servo Horn Base Support file
- S symbol Optional
Design way for servo cam to push on user without rubbingTest DeviceDebug programUsing floating limitsTake rotating photo of device- Write instructions
The rest of the posts for this project have been arranged by date.
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-04-08 (Th)
2015-04-08 (Th)
Comments
Post a Comment