This will be the last week totally dedicated to Self Contained Haptic Distance Sensor. Everything except for the instructions have been finished. A complete enclosure was printed and everything fit. The cumbersome USB cable was replaced with a sleek little 1.3mm x 3.5mm barrel power connector so without a cord attached it fits neatly in a bag or palm. The cables are less than a $1USD and the sockets are even cheaper. A long animation was made which combined every captured change to the enclosure in the order it happened but for some reason it got a reddish background.
The problems with the project were corrected. The first problem was poor wiring. Salvaged phone wire was used to connect between the ultrasonic distance sensor and the microcontroller board. This particular time the phone wire was unusually cheap and lead to a poor connection. This was replaced with pure stranded copper which was stiffer and restricted positioning inside the enclosure but gave a more solid connection. The gawdy code was completed erased a new program was written which ignored the prebuilt library for servo control and sent timed pulses directly to an output pin. This type of minimalistic programming is difficult to decipher and finicky about changes but very clean for the processor.
A short video was uploaded which demonstrates the distance sensor responding to a moving object held above it. The range for this demonstration was greatly reduced compared to what the ultrasonic distance sensor is capable of. Since the range was reduced a large amount of servo movement was possible by moving a folder above it. A rotational animation was made showing the sensor in 360º by taking photos. The Rotational Photography Rig was not used due to its cumbersome nature. Parts for an improved model were ordered as a potential future project.
Files for Self Contained Haptic Distance Sensor:
The OpenSCAD files below are not necessary unless you want to change something
The rest of the weekly summaries have been arranged by date.
Completed projects from year 1.
Completed projects from year 2.
This blog, including pictures and text, is copyright to Brian McEvoy.
Finished enclosure all put together
All the changes made to the enclosure
3D Viewer
3D Viewer
The problems with the project were corrected. The first problem was poor wiring. Salvaged phone wire was used to connect between the ultrasonic distance sensor and the microcontroller board. This particular time the phone wire was unusually cheap and lead to a poor connection. This was replaced with pure stranded copper which was stiffer and restricted positioning inside the enclosure but gave a more solid connection. The gawdy code was completed erased a new program was written which ignored the prebuilt library for servo control and sent timed pulses directly to an output pin. This type of minimalistic programming is difficult to decipher and finicky about changes but very clean for the processor.
Improved wiring
Minimalistic code
A short video was uploaded which demonstrates the distance sensor responding to a moving object held above it. The range for this demonstration was greatly reduced compared to what the ultrasonic distance sensor is capable of. Since the range was reduced a large amount of servo movement was possible by moving a folder above it. A rotational animation was made showing the sensor in 360º by taking photos. The Rotational Photography Rig was not used due to its cumbersome nature. Parts for an improved model were ordered as a potential future project.
Demonstration video
Rotational animation
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
The rest of the weekly summaries have been arranged by date.
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.
Comments
Post a Comment