![CAD design starts with the modeling of my scuba mask and selection of the electronic components](https://images.squarespace-cdn.com/content/v1/59b42839e5dd5b52643635f9/1549417709172-KGJTQHZKHGOHM1Y3U8ZR/Screen+Shot+2019-02-05+at+8.45.13+PM.png)
CAD design starts with the modeling of my scuba mask and selection of the electronic components
![I next create the basic shape and boundaries of the enclosure limited by the mask and the diver’s face. The electronics are then positioned as compactly as possible while still allowing for soldering](https://images.squarespace-cdn.com/content/v1/59b42839e5dd5b52643635f9/1549417709722-NBQI1UR750MEOSHUQYKG/Screen+Shot+2019-02-05+at+8.45.43+PM.png)
I next create the basic shape and boundaries of the enclosure limited by the mask and the diver’s face. The electronics are then positioned as compactly as possible while still allowing for soldering
![The model is then detailed with holes for fasteners, pour holes, and weep holes for the resin, as well as locating features for the electronics](https://images.squarespace-cdn.com/content/v1/59b42839e5dd5b52643635f9/1549417709389-0ADCERMS5ASLNX389QIR/Screen+Shot+2019-02-05+at+8.44.28+PM.png)
The model is then detailed with holes for fasteners, pour holes, and weep holes for the resin, as well as locating features for the electronics
![After ensuring that the circuit works properly as designed and that our microcontroller is programmed properly, we are ready to prep the components for assembly](https://images.squarespace-cdn.com/content/v1/59b42839e5dd5b52643635f9/1549166755995-O218HHWQBA642D8P134E/IMG_4153%281%29.jpg)
After ensuring that the circuit works properly as designed and that our microcontroller is programmed properly, we are ready to prep the components for assembly
![Using mineral oil (non-conductive, non-corrosive, and effectively incompressible) to replace the air inside of the potentiometer and toggle button](https://images.squarespace-cdn.com/content/v1/59b42839e5dd5b52643635f9/1549169733233-CNUOK5TK7BWMKWBUEVP5/IMG_4147.jpg)
Using mineral oil (non-conductive, non-corrosive, and effectively incompressible) to replace the air inside of the potentiometer and toggle button
![This requires using a vacuum pump to pull the air out while the parts are submerged in the oil](https://images.squarespace-cdn.com/content/v1/59b42839e5dd5b52643635f9/1549166747449-T7O1ZI7LITEIKTGRXOKP/IMG_4149.jpg)
This requires using a vacuum pump to pull the air out while the parts are submerged in the oil
![We can see the air bubbles that have escaped the parts after the vacuum](https://images.squarespace-cdn.com/content/v1/59b42839e5dd5b52643635f9/1549166744811-YSN7Y6T0BJGWE546SFN8/IMG_4148.jpg)
We can see the air bubbles that have escaped the parts after the vacuum
![The enclosure halves fresh off the 3D printer. The front half (left) has all of the component mounting](https://images.squarespace-cdn.com/content/v1/59b42839e5dd5b52643635f9/1549166759204-ICGOTG439BDY7JKTR5TY/IMG_4154%281%29.jpg)
The enclosure halves fresh off the 3D printer. The front half (left) has all of the component mounting
![The front is opaque to funnel all of the light from the LEDs in the direction of the diver’s focus. The back panel is clear to give an interesting view of the electronics through the clear resin potting](https://images.squarespace-cdn.com/content/v1/59b42839e5dd5b52643635f9/1549166763244-3NLT747QYACEFEZD8PI8/IMG_4155%281%29.jpg)
The front is opaque to funnel all of the light from the LEDs in the direction of the diver’s focus. The back panel is clear to give an interesting view of the electronics through the clear resin potting
![A first look at the finished shape](https://images.squarespace-cdn.com/content/v1/59b42839e5dd5b52643635f9/1549166766718-EU5KIT7F3QRO94XBAMRX/IMG_4156%281%29.jpg)
A first look at the finished shape
![Flexible urethane is poured into the button area to seal the enclosure while still allowing the button to be actuated](https://images.squarespace-cdn.com/content/v1/59b42839e5dd5b52643635f9/1549166772555-4XE95S9Z20LOF20XIBB4/IMG_4157%281%29.jpg)
Flexible urethane is poured into the button area to seal the enclosure while still allowing the button to be actuated
![In the top of the image is the power button mold used to form the exterior shape (the interior shape is formed using an extra button covered in mold release). The gap where the LED strip leads connect to the interior of the enclosure is filled with](https://images.squarespace-cdn.com/content/v1/59b42839e5dd5b52643635f9/1549166782014-2R73SFF7PGBP83Q4104O/IMG_4159%281%29.jpg)
In the top of the image is the power button mold used to form the exterior shape (the interior shape is formed using an extra button covered in mold release). The gap where the LED strip leads connect to the interior of the enclosure is filled with fast curing silicone caulk to prevent the potting resin from dripping through
![The whole part is clamped level and the resin is poured](https://images.squarespace-cdn.com/content/v1/59b42839e5dd5b52643635f9/1549166779803-74U4ML9O85VXU5YN5MQ8/IMG_4158%281%29.jpg)
The whole part is clamped level and the resin is poured
![A look at the inside of the button after a few electronics have been mounted](https://images.squarespace-cdn.com/content/v1/59b42839e5dd5b52643635f9/1549166786509-PKBUPC7SZRS1Q0YVVFY5/IMG_4161.jpg)
A look at the inside of the button after a few electronics have been mounted
![WE HAVE A BUTTON! A small section of the enclosure was accidentally chipped off while removing some of the support material that was blocking the button cavity](https://images.squarespace-cdn.com/content/v1/59b42839e5dd5b52643635f9/1549166788231-8UAP4IQBQ24LI20KJEO4/IMG_4162.jpg)
WE HAVE A BUTTON! A small section of the enclosure was accidentally chipped off while removing some of the support material that was blocking the button cavity
![The components are tacked onto their locating features with superglue whale things get soldered](https://images.squarespace-cdn.com/content/v1/59b42839e5dd5b52643635f9/1549166795127-GKPN1RDAWFFDDT2QQHH5/IMG_4165.jpg)
The components are tacked onto their locating features with superglue whale things get soldered
![With wire lengths trimmed and the board accidentally shorted, the white light turns on and the assembly is ready to be enclosed and potted](https://images.squarespace-cdn.com/content/v1/59b42839e5dd5b52643635f9/1549166798813-B6ZJF4K3V5F3W32GWCRX/IMG_4166%281%29.jpg)
With wire lengths trimmed and the board accidentally shorted, the white light turns on and the assembly is ready to be enclosed and potted
![With fasteners added, the enclosure is ready for resin!](https://images.squarespace-cdn.com/content/v1/59b42839e5dd5b52643635f9/1549166800663-ARRZBSS2KK4T6686FECL/IMG_4167.jpg)
With fasteners added, the enclosure is ready for resin!
![There were some small gaps along the enclosure seams that needed to be sealed with tape](https://images.squarespace-cdn.com/content/v1/59b42839e5dd5b52643635f9/1549166802379-O6N1LZ4V6H9PE48X0A02/IMG_4168.jpg)
There were some small gaps along the enclosure seams that needed to be sealed with tape
![And the resin is poured! After the resin just reaches the weep holes (so we don’t trap any air bubbles) we covered them with tape and filled the rest of the enclosure. The entire assembly was placed into a 90psi pressure pot to force any bubbles i](https://images.squarespace-cdn.com/content/v1/59b42839e5dd5b52643635f9/1549166809939-X56M6QL1GV0QP091OJKA/IMG_4170%281%29.jpg)
And the resin is poured! After the resin just reaches the weep holes (so we don’t trap any air bubbles) we covered them with tape and filled the rest of the enclosure. The entire assembly was placed into a 90psi pressure pot to force any bubbles in the resin to be smaller during curing
![Finished power button and color selection dial](https://images.squarespace-cdn.com/content/v1/59b42839e5dd5b52643635f9/1549166822849-Y8RJSTDXLNFE700KAP9X/IMG_6508.jpg)
Finished power button and color selection dial
![A look at the electronics](https://images.squarespace-cdn.com/content/v1/59b42839e5dd5b52643635f9/1549166810011-PY7LYDB48XKWVJVBCJ18/IMG_6501.jpg)
A look at the electronics
![The power jack is plugged with a hand carved plastic nib](https://images.squarespace-cdn.com/content/v1/59b42839e5dd5b52643635f9/1549166824756-LDQYJQMO9EQTA6YBYZU7/IMG_6510.jpg)
The power jack is plugged with a hand carved plastic nib
![With all the components jammed inside, the overall product is pretty sleek!](https://images.squarespace-cdn.com/content/v1/59b42839e5dd5b52643635f9/1549166820809-JOAF4VCME7KPJSXAU64R/IMG_6505.jpg)
With all the components jammed inside, the overall product is pretty sleek!
![LET THERE BE LIGHT](https://images.squarespace-cdn.com/content/v1/59b42839e5dd5b52643635f9/1549166822959-ZBHR5HXCLDHD5NRD2MEL/IMG_6507.jpg)
LET THERE BE LIGHT
![A look at how the light may be used underwater. More impressive testing pictures to come on my next dive trip](https://images.squarespace-cdn.com/content/v1/59b42839e5dd5b52643635f9/1549166860667-IF2X4BRNLDFA14R7TOQI/IMG_6520.jpg)
A look at how the light may be used underwater. More impressive testing pictures to come on my next dive trip
![Looking pretty slick!](https://images.squarespace-cdn.com/content/v1/59b42839e5dd5b52643635f9/1549166867481-VYBSCQFT63C8IJ4Z2B5W/IMG_6523.jpg)
Looking pretty slick!
![Scuba diver for scale](https://images.squarespace-cdn.com/content/v1/59b42839e5dd5b52643635f9/1549166868222-NMEGLQA6TGSR8RH5KU3H/IMG_6524.jpg)
Scuba diver for scale
![Making steps from concept development…](https://images.squarespace-cdn.com/content/v1/59b42839e5dd5b52643635f9/1549167633293-AHDE6UBE3G2PJSVYLGJ4/IMG_6511.jpg)
Making steps from concept development…
![To reality!](https://images.squarespace-cdn.com/content/v1/59b42839e5dd5b52643635f9/1549167902951-9Z5YYSUUKAYRJTRX7D98/IMG_6515.jpg)
To reality!
![CAD design starts with the modeling of my scuba mask and selection of the electronic components](https://images.squarespace-cdn.com/content/v1/59b42839e5dd5b52643635f9/1549417709172-KGJTQHZKHGOHM1Y3U8ZR/Screen+Shot+2019-02-05+at+8.45.13+PM.png)
![I next create the basic shape and boundaries of the enclosure limited by the mask and the diver’s face. The electronics are then positioned as compactly as possible while still allowing for soldering](https://images.squarespace-cdn.com/content/v1/59b42839e5dd5b52643635f9/1549417709722-NBQI1UR750MEOSHUQYKG/Screen+Shot+2019-02-05+at+8.45.43+PM.png)
![The model is then detailed with holes for fasteners, pour holes, and weep holes for the resin, as well as locating features for the electronics](https://images.squarespace-cdn.com/content/v1/59b42839e5dd5b52643635f9/1549417709389-0ADCERMS5ASLNX389QIR/Screen+Shot+2019-02-05+at+8.44.28+PM.png)
![After ensuring that the circuit works properly as designed and that our microcontroller is programmed properly, we are ready to prep the components for assembly](https://images.squarespace-cdn.com/content/v1/59b42839e5dd5b52643635f9/1549166755995-O218HHWQBA642D8P134E/IMG_4153%281%29.jpg)
![Using mineral oil (non-conductive, non-corrosive, and effectively incompressible) to replace the air inside of the potentiometer and toggle button](https://images.squarespace-cdn.com/content/v1/59b42839e5dd5b52643635f9/1549169733233-CNUOK5TK7BWMKWBUEVP5/IMG_4147.jpg)
![This requires using a vacuum pump to pull the air out while the parts are submerged in the oil](https://images.squarespace-cdn.com/content/v1/59b42839e5dd5b52643635f9/1549166747449-T7O1ZI7LITEIKTGRXOKP/IMG_4149.jpg)
![We can see the air bubbles that have escaped the parts after the vacuum](https://images.squarespace-cdn.com/content/v1/59b42839e5dd5b52643635f9/1549166744811-YSN7Y6T0BJGWE546SFN8/IMG_4148.jpg)
![The enclosure halves fresh off the 3D printer. The front half (left) has all of the component mounting](https://images.squarespace-cdn.com/content/v1/59b42839e5dd5b52643635f9/1549166759204-ICGOTG439BDY7JKTR5TY/IMG_4154%281%29.jpg)
![The front is opaque to funnel all of the light from the LEDs in the direction of the diver’s focus. The back panel is clear to give an interesting view of the electronics through the clear resin potting](https://images.squarespace-cdn.com/content/v1/59b42839e5dd5b52643635f9/1549166763244-3NLT747QYACEFEZD8PI8/IMG_4155%281%29.jpg)
![A first look at the finished shape](https://images.squarespace-cdn.com/content/v1/59b42839e5dd5b52643635f9/1549166766718-EU5KIT7F3QRO94XBAMRX/IMG_4156%281%29.jpg)
![Flexible urethane is poured into the button area to seal the enclosure while still allowing the button to be actuated](https://images.squarespace-cdn.com/content/v1/59b42839e5dd5b52643635f9/1549166772555-4XE95S9Z20LOF20XIBB4/IMG_4157%281%29.jpg)
![In the top of the image is the power button mold used to form the exterior shape (the interior shape is formed using an extra button covered in mold release). The gap where the LED strip leads connect to the interior of the enclosure is filled with](https://images.squarespace-cdn.com/content/v1/59b42839e5dd5b52643635f9/1549166782014-2R73SFF7PGBP83Q4104O/IMG_4159%281%29.jpg)
![The whole part is clamped level and the resin is poured](https://images.squarespace-cdn.com/content/v1/59b42839e5dd5b52643635f9/1549166779803-74U4ML9O85VXU5YN5MQ8/IMG_4158%281%29.jpg)
![A look at the inside of the button after a few electronics have been mounted](https://images.squarespace-cdn.com/content/v1/59b42839e5dd5b52643635f9/1549166786509-PKBUPC7SZRS1Q0YVVFY5/IMG_4161.jpg)
![WE HAVE A BUTTON! A small section of the enclosure was accidentally chipped off while removing some of the support material that was blocking the button cavity](https://images.squarespace-cdn.com/content/v1/59b42839e5dd5b52643635f9/1549166788231-8UAP4IQBQ24LI20KJEO4/IMG_4162.jpg)
![The components are tacked onto their locating features with superglue whale things get soldered](https://images.squarespace-cdn.com/content/v1/59b42839e5dd5b52643635f9/1549166795127-GKPN1RDAWFFDDT2QQHH5/IMG_4165.jpg)
![With wire lengths trimmed and the board accidentally shorted, the white light turns on and the assembly is ready to be enclosed and potted](https://images.squarespace-cdn.com/content/v1/59b42839e5dd5b52643635f9/1549166798813-B6ZJF4K3V5F3W32GWCRX/IMG_4166%281%29.jpg)
![With fasteners added, the enclosure is ready for resin!](https://images.squarespace-cdn.com/content/v1/59b42839e5dd5b52643635f9/1549166800663-ARRZBSS2KK4T6686FECL/IMG_4167.jpg)
![There were some small gaps along the enclosure seams that needed to be sealed with tape](https://images.squarespace-cdn.com/content/v1/59b42839e5dd5b52643635f9/1549166802379-O6N1LZ4V6H9PE48X0A02/IMG_4168.jpg)
![And the resin is poured! After the resin just reaches the weep holes (so we don’t trap any air bubbles) we covered them with tape and filled the rest of the enclosure. The entire assembly was placed into a 90psi pressure pot to force any bubbles i](https://images.squarespace-cdn.com/content/v1/59b42839e5dd5b52643635f9/1549166809939-X56M6QL1GV0QP091OJKA/IMG_4170%281%29.jpg)
![Finished power button and color selection dial](https://images.squarespace-cdn.com/content/v1/59b42839e5dd5b52643635f9/1549166822849-Y8RJSTDXLNFE700KAP9X/IMG_6508.jpg)
![A look at the electronics](https://images.squarespace-cdn.com/content/v1/59b42839e5dd5b52643635f9/1549166810011-PY7LYDB48XKWVJVBCJ18/IMG_6501.jpg)
![The power jack is plugged with a hand carved plastic nib](https://images.squarespace-cdn.com/content/v1/59b42839e5dd5b52643635f9/1549166824756-LDQYJQMO9EQTA6YBYZU7/IMG_6510.jpg)
![With all the components jammed inside, the overall product is pretty sleek!](https://images.squarespace-cdn.com/content/v1/59b42839e5dd5b52643635f9/1549166820809-JOAF4VCME7KPJSXAU64R/IMG_6505.jpg)
![LET THERE BE LIGHT](https://images.squarespace-cdn.com/content/v1/59b42839e5dd5b52643635f9/1549166822959-ZBHR5HXCLDHD5NRD2MEL/IMG_6507.jpg)
![A look at how the light may be used underwater. More impressive testing pictures to come on my next dive trip](https://images.squarespace-cdn.com/content/v1/59b42839e5dd5b52643635f9/1549166860667-IF2X4BRNLDFA14R7TOQI/IMG_6520.jpg)
![Looking pretty slick!](https://images.squarespace-cdn.com/content/v1/59b42839e5dd5b52643635f9/1549166867481-VYBSCQFT63C8IJ4Z2B5W/IMG_6523.jpg)
![Scuba diver for scale](https://images.squarespace-cdn.com/content/v1/59b42839e5dd5b52643635f9/1549166868222-NMEGLQA6TGSR8RH5KU3H/IMG_6524.jpg)
![Making steps from concept development…](https://images.squarespace-cdn.com/content/v1/59b42839e5dd5b52643635f9/1549167633293-AHDE6UBE3G2PJSVYLGJ4/IMG_6511.jpg)
![To reality!](https://images.squarespace-cdn.com/content/v1/59b42839e5dd5b52643635f9/1549167902951-9Z5YYSUUKAYRJTRX7D98/IMG_6515.jpg)