Adding an LED light to your bubble spa

Introduction

Did you recently purchase a Bestway, Coleman, Lay-Z-Spa or Mspa brand inflatable bubble spa hot tub?  Were you wanting to put LED lights in your tub to be able to use it at night but couldn't find one made for your spa?  I might have a solution for you.

The LED light

The LED light we are going to use for this is one made by Intex for their PureSpa line of inflatable hot tubs and bubble spas.  I have seen these listed under 2 different models, SL503 and B01NBYH7O8.  This is a multi color LED light that illuminates White, green, teal, blue, and purple and can be set to one solid color, or to a color change setting that will cycle through all of the colors.  The LED light creates the perfect ambience for your hot tub/spa experience.  This LED light can be purchased from Amazon by clicking here.   More information about this light can be found on the intex website by clicking here.

Making it fit the Bestway spas

I did a bit of research into LED lights for the Bestway spas and found that nobody makes an LED that fits them. In my research though I found a comment on the Amazon product page for this light where someone stated that they just pushed this hard onto the water outlet on the spa and twisted a bit and was able to get it connected.  I figured there had to be a better way.  The model of spa that I had to test this with was a Bestway SaluSpa Miami.  The Miami spa has a piece that looks like this, which is used to put chlorine tablets in to keep the water clean.  This same piece is found on other Bestway spa models such as the SaluSpa Paris, SaluSpa Hawaii Which are models sold in the US.  Other models that use this adapter include some of the Lay-Z-Spa models which are models sold in the UK, such as the St Moritz and possibly others.
The piece described above fits on to a piece like the one on the left which attaches to the water output port of the heater/pump.  It fits on to this piece by twist locking into the channel marked in red.  Looking at that and the threads on the Intex LED light, I figured I could design an adapter that would thread into the LED light on one end and provide the twist lock tabs for the Bestway spa on the other. The picture on the left is the adapter that I designed.  The picture to the right shows that adapter screwed in to the LED light and sitting next to the original piece that I removed to attach it.  If you have one of these spa models and would like to purchase one of these adapters, you can purchase it from my online store by clicking on this link.
In some later conversations with some people that were interested, but didn't think the adapter would fit their model, a picture I was sent from one person showed that the output port on their spa didn't have the notches needed to use this adapter.  This gave me the idea to create another version of the adapter that would fit in place of the gray output port shown in the picture on the left.
I modeled the adapter off of the smaller threads of the piece from my spa, and this is what I came up with.  This adapter should fit most of the other Bestway spa models that have a 26.25mm (1.03in) threaded port, though it has not been test fitted on these other models.  If you are interested in trying one of these adapters, these too can be purchased from my online store by clicking on this link.

EDIT

Since writing this article, I have designed yet another adapter to fit the Mspa brand of inflatable bubble spas.  My understanding is that it fits most, if not all of the Mspa brand bubble spas. The small threaded end of the adapter is 36mm (1.42in), which is a larger diameter than that of the Bestway/Coleman adapter that I sell.  If you are interested in this adapter, you can purchase it from my web store by clicking here.

Conclusion

I have adapted this LED light to fit on most if not all Bestway model bubble spas.  If you have any other spa or pool model that you would like to adapt this to, feel free to contact me with some information and let me know what your needs are.  You can contact  me using my contact form by clicking here.  

Happy relaxing in your newly converted bubble spa.

Related Images:

Automatic Retracts For Your Drone

Introduction

Do you own a drone with a camera?  Have you ever taken footage with your camera that would look perfect, if only your landing gear were not in the frame.
Sample of landing gear in camera view

The solution; add retractable landing gear.  In this blog post I am going to show you how to set up a set of retractable landing gear.  Not only that, we are going to automate it's operation.

The Retracts

There are many different types of servoless retracts that you can buy.  You can buy the bare retract modules, the type with wheels for an RC plane or the type that I used with carbon fiber legs like this.
Drone retractable landing gearI bought this set off of ebay for the reasonable price of $32.29 US dollars.  The kit did come in pieces, so I did have to put them together once I got them, but it was pretty straight forward and easy.  once I got them assembled I had to find a way to attach them to my drone.  The drone I am attaching them to is a hexacopter with a 27.5 inch (707.39 mm) arm span from tip to tip of one of the long arms.  
Drone without retractsPart of my issue was that the side arms of the copter were swept slightly forward.  If I was just to mount the retracts perpendicular to the side arms, the gear, when in the downward position would be pigeon toed in toward the front.  Because of this, I wanted a mount that would keep the legs parallel when in the down position.  For this I used some creative 3D modeling and created this.
Retract mount CAD viewThis allowed me to keep the 15 or so degree sweep and have the legs parallel to each other.  Plus it fit around the square tubing used for the arm giving it a solid surface to mount to.  If there is interest in this retract mount I will post it on thingiverse.  Just send me an email and I will post it.  Here is a pic of the drone with the retracts mounted.
Drone with retracts mounted
You will notice that the base of the legs have foam on them.  I just used standard 1/2 inch pipe insulating foam that you can buy at your local hardware store.

The Automation

So now I have this set of retractable landing gear set up on the drone, how am I going to make them work?  I could do the old practice of setting them up to be controlled by a switch on my remote, but where is the fun in that.  Then I'd have to remember to flip the switch when I got in the air and flip it back when I wanted to land.  I found a video on youtube of a guy that built a cheap retract control using an arduino nano.  I thought that I would give it a go.  The only problem was that I didn't have a nano in my stockpile of parts, and the firmware that he had for it was specific to the nano and he didn't release the source code for me to compile it for a different module.  I had a couple pro micro boards in my parts bin, so I worked with that. 

The board is built using a BMP180 barometric pressure sensor which is used for measuring altitude.  Retract control board The board is then configured to retract the landing gear automatically when the drone reaches a set altitude, and then extends automatically when it is below that set altitude.  Being that the guy in the youtube video had not released the firmware source code for his unit, I took to the keyboard and wrote my own.  I have the source code posed on github for anyone interested.  The firmware can be configured with any terminal windo that can connect to a serial device such as the terminal in Mission Planner.  With the firmware loaded and in a terminal window just type "menu" to see a list of the options available.  When settings are changed, they are automatically saved and will be loaded on future restarts of the drone. 

The drone should be sitting on the ground or surface that you are going to launch from when powered on.  Once powered on, the firmware reads the current altitude and sets that as it's baseline measurement for determining when to retract and extend.  The default height for the firmware is 72 inches, or 6 feet.  Once the drone reaches the set height, the legs should automatically retract.  When the drone goes below the set height, the legs should extend down in preparation for landing.  The height that you set should take into account the normal rate of descent and the amount of time that it takes for your landing gear to fully extend.  A slower descent will allow you to set the retraction height lower.  One way to help prevent a hard landing when the legs aren't fully extended is to add a downward facing sonar module set up to slow the descent when close to the ground.

Conclusion

I hope you found this post interesting.  If you have any questions or comments, post them here or send me an email.  Happy flying.

Related Images:

Heat bed connector tips

Introduction

If you own one of the popular Anet A8 3D printers, you have probably read about or experienced the dreaded burnt heat bed connector.  In this post I will talk about how and why this happens, and ways to fix or even prevent this before it becomes a problem.

Burnt heat bed connector

What is this and how does it happen

In the image seen above, the brown area on the side of the connector is heated burnt plastic.  This is caused from the metal connector inside the plastic housing getting hot.  Why does this get hot you ask?  The root cause of this problem is movement of the connector due to the wires not being secured.  As the printer is printing and moving forward and back, the wires are constantly moving from side to side.  This movement puts stress on the connectors inside the plastic housing as they are connected to the pin causing micro gaps between the connectors and the pins.  Because of these gaps the high current traveling through the connector arcs across these gaps.  Every time an arc happens, a small amount of oxidation builds up at the point where the arc happened.  As the connector continues to arc and the oxidation on the connector and pin builds up, this causes resistance.  With resistance and high current comes heat. The more the movement, the more arcing.  The more arcing the more oxidation buildup.  The more oxidation buildup the higher the resistance.  The higher the resistance, the more heat.  All this until the connector can't take it any more.  If it gets bad enough, this can start a fire.

3D printer fire

A fundamental cause of the problem

Heat bed connectorThe Anet A8 printer has a fundamental design flaw in the heat bed connector from the get go that can increase the chances of the connector heating up and burning out.  The connector used on the heat bed is a VHR-6N manufactured by JST.  The easiest is to buy a pre-made harness rather than the connector.  If you just buy the connector, then you have to have the proper crimper to attach the connectors.  There are not a lot of companies that sell a full harness that I have found.  They can be found on ebay though.  Just do a search for "JST VHR-6N harness".  You can usually get them in 1 or 2 foot lengths.  Next, if you look at the data sheet for this connector (http://www.jst-mfg.com/product/pdf/eng/eVH.pdf), it has a rating of 10 amps.  That is 10 amps per pin which is close to what the heat bed draws, actually a little less.  The heat bed has a resistance of around 1 ohm, and according to ohms law, current = voltage / resistance, so at 12 volts, the heat bed should draw approximately 12 amps. The connector has 6 pins, but the manufacturers of the Anet A8 decided to only use 4 of the 6 pins with their wiring.  The outer two pins are the power connections for the bed, and the middle two pins are for the heat bed thermistor.  Because of this, there is a potential 12 am draw on a pin rated for only 10 amps.  The ideal connection would be to use the outer TWO pins on each side, marked + + and - - on the image.  Using two wires for each spreads that 12 amps evenly over the 2 pins.  Therefore you get a current of 6 amps on each pin which is 4 amps less than what they are rated for which is MUCH safer.

How to fix the problem

I see SO MANY PEOPLE out there that say that the fix for this problem is to add a MOSFET to your power connections for your heat bed.  This is NOT the answer.  So you may ask, how do I fix this issue.  Fixing this issue requires addressing the two problems discussed here, motion of the wire causing arcing, and spreading the connection of the wires on the heat bed across both positive and both negative connector pins to even out the distribution of the current that the heat bed draws.

Heat bed strain reliefThe first one is easy to deal with, and that is with the use of strain relief on the wire preventing it from moving the connector.  This can be something as simple as using a binder clip to hold the wire to the bed, to a bit more complex using the Y axis cable chain mod.  Basically anything that can keep the wire from moving the connector around while printing should work.

The next is to modify or replace the heat bed connector.  One mod can be seen in the image above which uses spade connectors that will connect between the two positive and the two negative pins on the connector and using the stock wire.Replacement heat bed connector  Another option is to buy a replacement heat bed connector that has all four wires and connecting both positives and both negatives together at the heat bed connection point, be that at the main board or  mosfet if you have done such a mod.

Conclusion

I hope you found this information informative.  I wrote this in the hopes that it can help new Anet users prevent some of the issues that can arise, as well as helping users that have ran into these problems to figure out the best fix for their situation.  In any case, happy 3D printing and I hope you get years of use out of your Anet printer.

Related Images:

Temperature-humidity sensor

Temperature & Humidity

Description

This post will outline how I built some temperature-humidity sensors for my home automation setup to use in a couple rooms in my house.  I'll explain some of the options I tried before coming to my final design.  I will also give you links to where you can purchase the parts and to download the 3D printer files for the enclosure.

Introduction

This originally started from an idea I had for my home automation setup to put a temperature and humidity sensor in my main bathroom.  The main reason for this was to help a small problem with occasional small mold spots on my ceiling.  This was most likely due to humidity in the bathroom.  When someone would take a shower, they would turn on the vent fan before showering, and then off shortly after.  The problem is that when the vent fan is shut off, there still may be excess humidity in the room that could eventually cause the mold.

The idea was that I could have a controller on the vent fan for the bathroom that would turn on when the humidity reached a certain level, and then would also turn off when below another level.  The two levels would factor in some hysteresis to the equation to prevent the fan from continually starting and stopping when the humidity is near a certain level.   By doing this, the humidity in the room would be dropped to a safe level before shutting off, thus preventing the mold problem.

The temperature-humidity sensor design ideas

So I needed to figure out everything I would need for the project.  My primary home automation setup revolves around MySensors nodes.  Those nodes talk to my Vera Plus automation controller.  I decided to make the temperature and humidity sensor a MySensors node.  The exhaust fan control, which I have yet to do, will be controlled by a converted Sonoff module.  For this article i'll focus on the Temperature and humidity sensor. 

Below is a list of the things I needed to create the sensor.  The basic list was simple

  • A circuit board for the project.  
  • A micro-controller to control the sensor.
  • A temperature and humidity sensor.
  • Some kind of power source.
  • An enclosure to mount the sensor to the wall.

On to building the prototype

Easy/Newbie PCBFor the circuit board, I had a number of the MySensors Easy/Newbie circuit boards, so I thought that would be a good choice.  For that board I needed an Arduino Pro Mini, and an nRf24L01+ radio.  

Now I needed to choose a temperature-humidity sensor.  I had both some DHT11 and some DHT22 sensors.  The DHT22 is a higher resolution sensor, so I originally decided to try that one.  Through some testing with the DHT22 sensor I found that the power consumption was too high.  HDC1080 thumbnailI did some looking and found the HDC1080 sensor.  This sensor connects to the I2C bus and uses very low power.  It's low power consumption made it ideal for use on a battery operated node.   By removing the regulator and power LED from the Pro Mini I was able to run this sensor for a week with no significant power drain on a set of 2 - AA batteries.

The last piece of the puzzle was an enclosure.  The enclosure had to be vented since I was measuring temperature and humidity.  It also needed to be able to hold a battery  or set of batteries.  I figured that I should find the battery box first, and then design the sensor enclosure around that and the PCB.  I settled on this one.

The enclosure design

I have dealt with temperature sensor enclosures before, so I had some ideas on what the enclosure should look like.  temperature-humidity wall boxI turned to OpenSCAD and came up with a basic design.  The box was vented, it had mounting tabs for the PCB and a place to hold the battery box.  temperature-humidity wall plateI decided to make it easy to remove from the wall if needed and made the wall plate with two tabs that the cover could lock on to. 

Since the creation of the first prototype wall box, I have done a couple revisions to the design.  This is what the final design looks like.temperature-humidity wall box V3
Version 3 of the wall box is highly configurable and can be adapted to other configurations if needed.  All versions of the wall box can be found on my thingiverse page https://www.thingiverse.com/thing:2186286

Related Images:

Fix an oozing or leaking heat block

 Fixing an oozing or leaking heat block

Oozing heat blockIf you have done 3D printing, you may have experienced the oozing or leaking heat block problem.  This is where you have filament oozing from the heat block on either the top side by the throat tube, the bottom side by the nozzle or both.  This plastic will start to melt and drip down on your prints, and over time will burn on to your heat block leaving a big mess.  In this section I will discuss why this happens and how you can fix it.

 Why does this happen?

Incorrect block assemblyYou are probably wondering how this happened in the first place.  The main reason is that the heat block assembly became loose at some point.  This may be from movement and vibration when printing, or maybe you had to work on the assembly at some point to clean it or something else.  In the illustration on the right you see that there is a gap between the throat tube and nozzle inside the heat block.  This gap is what allows the heated filament to ooze out.  The heated plastic will be forced through the threads of the throat tube and possibly the nozzle and start pooling up at the top and bottom of the block.  If left long enough, the plastic will run down the side of the heat block and drip onto your nice print.

Now you are wondering, how can there be a gap there?  You say to yourself, I tightened the nozzle in when I re-assembled it, there can't be a gap.  There is something you need to understand about metal.  When it is heated, it expands.  When a metal ring is heated, that expansion will be outwards.  If the throat tube and nozzle are not tightened together enough, the expansion of the block can cause this gap.  

How can I fix this?

So now you are wondering, is this something I can fix, or do I need to buy a new heat block assembly. There is a good chance you can fix this. The main thing is to tighten things when the block is heated and the metal is expanded during reassembly. This will reduce the chance of that gap forming the next time it is heated.

Heat block partsSince your heat block was leaking, you should first disassemble it and clean it.  Clean parts  reduce the chance of leaking in the future.  Remove your heat block assembly from the extruder carriage and set your printer to preheat.  preheating for ABS is probably the best as it will get your heat block to around 240 C (464 F) making things easier to clean.  With pliers holding the heat block, use a wrench or another set of pliers to remove the nozzle.  Once that is removed, your throat tube should come out easily.  Be VERY careful as the parts are extremely hot.  Use a wire brush to clean away any plastic from the throat tube, heat block and nozzle.  You may need to re-heat the parts to clean them good.  Once cleaned, you can begin to put it all back together.

Correct heat block assemblyThese first steps are easier to do when the parts are cool and you can use your hands to fit them together.  The proper way to assemble the heat block is to first thread the nozzle into the heat block, and once it is in all the way, back it off 2 turns.  Next, thread the throat tube in until you feel it hit the end of the nozzle threads.  DO NOT use pliers on the throat tube.  With the throat tube in all the way, grab the heat block with a pair of pliers and use a wrench to tighten the nozzle in place.  Once that is all together, heat up the heat block to temperature while holding it with the pliers.  This can be done with the heater on the printer, or the burner on your stove.  Don't use a torch or it may get too hot.  Once heated, tighten the nozzle a bit more.  This will ensure that the gap between the throat tube and the nozzle will be closed not letting the filament ooze out.  In the illustration above, you will notice that after assembly, the nozzle is still not tight against the heat block.  This will allow you to tighten it again if you need to.  One more thing to note.  Do not put a nut on the throat tube and tighten it to the heat block.  This can cause more issues.  

Now you can re-assemble the extruder assembly.  Correct nut assemblyUse the nut on the throat tube to tighten the extruder assembly to the carriage to prevent the heat block assembly from spinning when printing.  Incorrect nut assemblyBe careful not to over-tighten the nut as you can easily break the throat tube.

Related Images:

My personal weather station

Description

For a while now I have wanted to add a personal weather station to my home automation system. The idea was to use the data collected for things like controlling when my lawn sprinklers run.  I also plan on using temperature and humididty data to determine things like heating and cooling (HVAC) operations. In this post I will log the ongoing details of my modular personal weather station project. With the help of my new Anet A8 3D printer that I purchased earlier this year, I was able to use it to build all of the parts needed for the project. The project was started a while ago, but I didn't have a place at the time to post my progress, so here it is.

Details

So far I am working on 4 parts to the weather station. Wind speed anemometer, wind direction vane, rainfall gauge and a temperature and humidity sensor. All sensors need to communicate to my home automation system over my MySensors network. I am hoping that I can control all data collection with a single arduino pro mini built on a MySensors Easy/Newbie PCB created by Sundberg84 from the MySensors forum. In this post I will outline each modular section of the project. All of the 3D printed parts for this have been designed in OpenSCAD and will eventually be posted on my thingiverse page.  This post is a work in progress.  Check back to see more information.

 The anemometer and wind direction vane

 The first part of the project that I started with was a combination of two sensors.  An anemometer for measuring wind speed and a wind vane for determining wind direction.weather station wind sensor This is the first prototype design of the 3D printed parts.  Some minor changes have been made since this design.  The first was to invert the center mount sections so the screws screwed in from the bottom.  This put the wind direction vane on the  piece with the square mounting peg and the anemometer was moved to the other piece.  The reason for this was to keep rain from collecting in the small screw recesses and potentially getting inside the case.  The next change which I am in the process of printing as I write this, is a new piece with a round mounting peg instead of a square one.  This was done because of a later decision to mount everything using schedule 40 PVC electrical conduit.weather station wind speed sensor rotor

The anemometer is mounted with a ball bearing that is press fit into the cap.  The shaft, a 1/4 x 20 bolt with a small rotor that has a magnet mounted in one end and that will pass by a magnetic reed switch.  The arduino will use the counted pulses from the reed switch to determine the wind speed. The anemometer cup design was borrowed from a project on thingiverse, but I can't seem to find the original that I used.  The cups, arms and main shaft attachment are all separate printed parts that I have glued together.  This made for an easier build on my 3D printer.

Related Images: