Jetty's Wifi Web Based Laminar Jet Project

Page 1 of 3 1, 2, 3  Next

View previous topic View next topic Go down

Jetty's Wifi Web Based Laminar Jet Project

Post  jetty on Mon Sep 26, 2011 3:44 pm

Here's a detailed description of my web based project. I've learnt a lot from everyone else on this forum, so in the spirit of sharing, I'm providing back a detailed description of methods I ended up using and reasons why including electronics schematics and program code.

In my design I haven't always gone for the cheapest solution, I've used parts that are relatively obtainable or provide better functionality or quicker design. The whole design is very modular, so you can take parts of this and use in your own projects and replicate if you need multiple jets. I'm ultimately using it for 2 jets, but it can easily work for 1 - 9 or even more with one micro controller controlling everything

Anything that has been created by myself as described here is licensed under Creative Commons license - Attribution-NonCommerical-ShareAlike, otherwise the source is listed.

Disclaimers: Please note, I use mains electrical power in this project and make attempts to minimize risk. High voltage and water do not mix and can kill, make sure you know what you're doing before playing with the stuff. Follow your local electrical codes and always use a GFCI , GFI or RCD. Also, High Powered LED's can damage your vision LED Safety and if fed too much current / voltage can explode violently. Finally don't blame me if you hurt yourself.

Specifications:

- Fully Automated
- 10 inch diameter nozzle
- Stepper Motor Cutter (Unipolar) with lower power enable
- Thumper using the Cutter Stepper Motor
- Stream degrading using the Cutter Stepper Motor Vibration
- Optional 3V Pager Motor based Stream Degrading or Thumper
- Optically Isolated Remote Solid State Pump Switch
- Solid State Wind Sensor (no moving parts)
- Water Tank Level Sensors (using Pressure sensors)
- BlinkM MaxM controlled lighting schemes / light effects
- Configurable Constant Current RGB LED Controller (0 - 1000mA)
- LED Buck driver (no need for large heat sinks)
- LED mounted on Nozzle using perspex rod (no need for remote optic fiber)
- IP67 (water resistant) rated power supplies
- Auto shutdown (temperature, water level, wind)
- Temperature Monitoring (Outside, Electronics, Steppers, LEDs) using 1wire bus
- Arduino Microcontroller (Mega 2560)
- Web Based Control over Wifi
- Wifi (Open, WEP, WPA, WPA2) AdHoc or Infrastructure


Last edited by jetty on Tue Sep 27, 2011 5:49 am; edited 1 time in total

jetty
Nozzle Novice
Nozzle Novice

Posts: 59
Join date: 2011-05-07
Location: Toronto, ON, Canada

View user profile

Back to top Go down

Re: Jetty's Wifi Web Based Laminar Jet Project

Post  jetty on Mon Sep 26, 2011 4:10 pm

Here are some screenshots using Safari (the web browser on the iPad). 2nd image shows half of the available lighting sequences available on the BlinkM MaxM. 3rd image shows the initial set of available programs (scenes) for day and night.
The page surround color takes on the current color of the LEDs.

(Click on photo to see it in full)


jetty
Nozzle Novice
Nozzle Novice

Posts: 59
Join date: 2011-05-07
Location: Toronto, ON, Canada

View user profile

Back to top Go down

Re: Jetty's Wifi Web Based Laminar Jet Project

Post  jetty on Tue Sep 27, 2011 4:42 am

Here's a video (layout, day and night). Not installed yet, and need to build the 2nd nozzle, but up and running. The video demonstrates various features of the design. The portion at night demos using the stepper motor cutter to degrade the stream (can be used instead of additives) and using the stepper motor cutter against a built in hard stop in the cutter mechanism to produce "flashes" in the stream at night.

Please forgive the poor video quality at night, the video camera isn't too great and the laminar jet is hard to auto focus on.


jetty
Nozzle Novice
Nozzle Novice

Posts: 59
Join date: 2011-05-07
Location: Toronto, ON, Canada

View user profile

Back to top Go down

0-1000mA Per Channel Buck Puck LED Driver

Post  jetty on Tue Sep 27, 2011 4:58 am

I created this design which has the following features:

- PWM Driving
- No Large (or any) heatsinks
- Low Temperature and Low Power Wastage
- Support for a large range of LEDs currents and forward voltages (upto 1A per channel)
- Support for multiple LEDs on a channel
- Easy to program (no requirement to handle color blending or PWM etc.)
- RGB control capable
- RGB Preset Color Scripts
- Support for multiple channels without additional interface requirements

Control is based on the BlinkM_MaxM. It's an PWM RGB led driver controlled by I2C. You can put up to 127 BlinkM_MaxM's on one bus which means 127 laminar RGB nozzles all controlled with only 2 data lines from 1 micro controller !

The BlinkM_MaxM comes with a low powered LED daughter board. I kept this, so I could program the electronics when not connected to the nozzle LED, but still see what colors were being displayed. The daughter board is optional in this design.

Further information on the BlinkM_MaxM can be found here:

BinkM MaxM


Because the BlinkM_MaxM can't power high powered LEDs, I use a LUXDRIVE BuckPuck
(3021-D-E-1000) which will drive up to 1A.

BuckPucks are like a switched mode power supply that can drive a constant current without wasting power as heat when dropping the voltage. You can also make one, but for $13, a lower component count and no hassle, $13 is a very reasonable price to pay:

Luxdrive 3021 BuckPuck

The signal from the BlinkM_MaxM is first inverted (Q1), because the BlinkM_MaxM drives the daughter board led's Common Anode, and most high powered LED's are Common Cathode. Because of the potential for leakage holding the daughter board LEDs weakly on when they should be off, D1 was added.

R6 is a multiple turn trimmer that forms a variable resistor (0-5K). Be careful you don't blow up your LEDs by applying too much power before you adjust, make sure that when mounted, the resistance is 0K. 0K = 0% power, 5K = 100% Power to your LED. Make sure that clockwise turning increases resistance, then increased power is clockwise turning.

JP1 is a test point. Ordinarily this can be jumpered, but when you are setting up the current through the LED, jumper with the 0.1Ohm 1% Tolerance 2 Watt Resistor. The voltage across this resistor in millivolts X 10, will be equal to the output current in mA.

The circuit needs to be replicated per channel. Pay close attention to power requirements and amperage. For 2 nozzles, I used 2 x 24V DC supplies (1 per RGB LED) and 1x12V Power supply shared between the BlinkM MaxM's and the stepper motors.

The I2C bus needs a pull-up resistor on each of the 2 bus lines. You only need one for all the channels, locate these at the micro-controller.

Parts List:

Per Channel:
1 - Luxdrive BuckPuck 3021-D-E-1000
1 - Jumper
1 - 2N3904
1 - 2N4403
1 - 5K Multi-turn Trimmer Pot
1 - 1N4148
1 - 27K Resistor
1 - 1K Resistor
1 - 10K Resistor
2 - 5K Resistor

Also Required
1 - BlinkM_MaxM (1 per set of RGB channels)
2 - 2.2K Resistor
1 - 0.1Ohm 1% Tolerance 2Watt Resistor
Power Supplies
High Powered LEDs

I've used 2 types of LEDs with this design, 350mA and 700mA per channel (40W):

40W Led

Since replaced with this:

Replacement 40W Led

and

350mA RGB Led


The LED's themselves will run hot, it's important not to nuke em, so use an adequate heatsink on the LED. The 40W LED I'm using is rated at 125C, and maxes out at 98C with heatsink when testing inside with no air flow, and 70C when being used installed above a tank of water and open air (with all channels on).

The system design also includes a temperature sensor inside the LED heat sink (not depicted in this design), but is part of the system temperature monitoring to avoid over heating.

jetty
Nozzle Novice
Nozzle Novice

Posts: 59
Join date: 2011-05-07
Location: Toronto, ON, Canada

View user profile

Back to top Go down

Re: 0-1000mA Per Channel Buck Puck LED Driver

Post  jetty on Tue Sep 27, 2011 5:02 am


jetty
Nozzle Novice
Nozzle Novice

Posts: 59
Join date: 2011-05-07
Location: Toronto, ON, Canada

View user profile

Back to top Go down

Re: 0-1000mA Per Channel Buck Puck LED Driver

Post  jetty on Tue Sep 27, 2011 5:31 am

Frontside of Controller (bare):


Frontside of Controller with BuckPucks and BlinkM MaxM's:


Backside of Controller:


Controller with electronics in box: (2 BlinkM MaxM's on right, LED on left):


Led Heat Sink (350mA per channel):


Led Heat Sink assembled (350mA per channel):


Version 2, 40W LED:

Led Heat Sink (700mA per channel LED and Temperature Sensor). Coated with copious amounts of heat transfer compound prior to assembly:










Last edited by jetty on Tue Sep 27, 2011 5:50 am; edited 1 time in total

jetty
Nozzle Novice
Nozzle Novice

Posts: 59
Join date: 2011-05-07
Location: Toronto, ON, Canada

View user profile

Back to top Go down

Re: 0-1000mA Per Channel Buck Puck LED Driver

Post  jetty on Tue Sep 27, 2011 5:45 am

Video of driver in action. Using a polystyrene cup to diffuse / blend the light from the 3 channels (350mA).

Note the 350ma LED can likely damage your vision if looked at directly, with a 40W 700mA LED you will definitely damage your vision. The Blue channel in particular can be the most damaging.

LED Safety



jetty
Nozzle Novice
Nozzle Novice

Posts: 59
Join date: 2011-05-07
Location: Toronto, ON, Canada

View user profile

Back to top Go down

LED Heat Sink Design

Post  jetty on Tue Sep 27, 2011 3:37 pm

Here's the LED Heat Sink Design. These pictures show it with the 350mA LED, I've since changed this to the 40W LED and temperature sensor (D18S20 - mounted flat side against the inside of the heat sink), it completely fills the space. Used heat sink compound to join the 2 halves together. 2 grub screws on the top plate screw the heatsink on the 1/2 inch copper tube of the light guide (information on this later on). Used heat sink compound on the back of the LED, and the led is attached to the heat sink with 2 cap screws with a plastic washer on, so that screws can't short anything.

Be careful not to get heatsink compound on the lens of the LED (I used IsoPropanol and a Q-Tip / Ear Bud to remove when I did). Also I added clear caulking around the electrical contacts (again avoiding the lens) and around the rim between the top plate and bottom cylinder to stop any moisture getting in from outside and to avoid damage in the unlikely event of leakage from the light pipe. Also caulked around where the cable enters. In final installation, cable is mounted pointing towards the ground.


jetty
Nozzle Novice
Nozzle Novice

Posts: 59
Join date: 2011-05-07
Location: Toronto, ON, Canada

View user profile

Back to top Go down

Re: LED Heat Sink Design

Post  jetty on Tue Sep 27, 2011 3:42 pm












jetty
Nozzle Novice
Nozzle Novice

Posts: 59
Join date: 2011-05-07
Location: Toronto, ON, Canada

View user profile

Back to top Go down

Re: LED Heat Sink Design

Post  jetty on Tue Sep 27, 2011 4:09 pm

Heatsink Design.

Disclaimer: I use Cat5e cable and connectors for power to the LED. Cat 5e uses 24 AWG wire which is rated for 3.5A as chassis wiring and 0.577A for
power transmission. I push this to 0.7A per conductor in my design (I figure the cable has plenty of air around it, the LEDs are PWM and not every color is on all the time for any length of time), but I probably wouldn't push it more than 0.7A. Also the thinner the conductor, the more the resistance and the less power to the LEDs.

If you wanted to do things correctly, then fatter conductors or doubling up conductors would be the way to go. Also, if you're going to use
Cat 5e for your wiring like I have, it goes without saying that you do not want to plug it accidentally into the wrong socket on your design, or a regular ethernet port connected to a computer by mistake.



jetty
Nozzle Novice
Nozzle Novice

Posts: 59
Join date: 2011-05-07
Location: Toronto, ON, Canada

View user profile

Back to top Go down

Light Pipe

Post  jetty on Tue Sep 27, 2011 4:39 pm

Instead of using PMMA fiber to get the light to the nozzle (I couldn't easily and quickly obtain it, and it was expensive), I decided to go with a 1/2 inch acrylic / perspex rod as a light guide with the LED mounted on the bottom of the nozzle. This has the benefit of less light lost due to reduced length, but this is probably offset slightly by it not being PMMA.

1/2 inch acrylic rod is readily available in most medium sized cities. To cut the rod, I used a hack saw and then sanded with various grits to get a reasonable (but not perfect) surface (about 5 mins of sanding in total). Then I "Flame" polished it by using a butane torch passed quickly and lightly over the surface. The trick is to not heat it enough to bubble, or set it alight. I did this over a sink for safety reasons. This produces a highly polished surface.

To make it into a light pipe, I figured that "repair" techniques for fiber (Corning Fiber Repair Technique) would work for creating a light guide.

I wrapped Scotch 3M 130C tape (non sticky side) against the rod in a concentric fashion, taking care to stretch the tape well, overlapping, but not double overlapping. Tape has to be stretched so it will fit in the 1/2 inch copper pipe. Then the whole rod was wrapped using Scotch 3M Super 33+ Electrical Tape in the opposite direction. It's important to make a proper seal so that water can't ingress.

The light guide is then placed in a slightly shorter (by about 1 inch) 1/2 inch copper pipe. The reason it fits inside is because a 1/2 inch copper pipe is no longer 1/2 inch. The reason is that when they were first made, the outside tube was thicker, so to get 1/2 inch inside diameter, the outside diameter was large. Over the years they've improved the forming technique to use a thinner wall, but the outside diameter had to remain the same to fit the pipe fittings, so a 1/2 inch copper pipe is now bigger than 1/2 inch on the inside.

The copper pipe and light guide are aligned at the LED end. At the laminar stream end, the light guide protrudes past the copper pipe by 1 inch, this junction needs to be sealed, which I did with 130C (sticky side against the pipe) and Super 33+, so that water can't get in between the light guide and copper pipe.

To create a waterproof mounting to the base plate was an exercise in plumbing frustration at the local home depot. The solution I ended up was chopping off a Nut from a faucet connection hose, removing the rubber insert and boring it to fit the 1/2 inch pipe. I purchased a faucet extension tube (screw thread both ends) that would fit over the 1/2 inch pipe and a couple of nuts. 2 - ORings to seal against the base plate, and an ORing to fit under the nut (see pictures).

The tube height is fully adjustable with this setup.

jetty
Nozzle Novice
Nozzle Novice

Posts: 59
Join date: 2011-05-07
Location: Toronto, ON, Canada

View user profile

Back to top Go down

Re: Light Pipe

Post  jetty on Tue Sep 27, 2011 4:52 pm

Flame polishing the acrylic rod:


Winding 130C tape (sticky side towards camera):


Winding Super 33+ electrical tape:


Cutting off the nut from the faucet flexible hose pipe:


Nut cut off:


Boring out the nut to fit the 1/2 inch pipe:


Mounting hardware (base plate goes between the 2 ORings):


Something white plus flashlight placed under the light guide when placed under the light
guide helps with aligning the light guide with the nozzle hole during nozzle assembly:


Light guide alignment centered (you can see the flashlight in the center):


Led mounted to light guide. Note that I've wrapped the joint between pipe and heatsink with 130C (sticky side against pipe) and Super 33+ to form a water tight seal to stop condensation or rain getting in:

jetty
Nozzle Novice
Nozzle Novice

Posts: 59
Join date: 2011-05-07
Location: Toronto, ON, Canada

View user profile

Back to top Go down

Re: Jetty's Wifi Web Based Laminar Jet Project

Post  JohnJarvis on Tue Sep 27, 2011 6:18 pm

Many thanks for all the great information. Some of us struggle to get a good cut and uncut to work. Are you prepared to share you design with us? It seems to work great. Well done!

JohnJarvis
Nozzle Newbie
Nozzle Newbie

Posts: 24
Join date: 2009-04-17

View user profile

Back to top Go down

Re: Jetty's Wifi Web Based Laminar Jet Project

Post  jetty on Tue Sep 27, 2011 8:30 pm

Hi John. Thanks. I wouldn't call my cut perfect, but it took a few iterations to get to the level it is now. There's no secrets, the thread will grow and everything will be added, including electronics and arduino code in processing (basically nearly identical to C).

The order I add stuff to this thread will seem somewhat not in order (and lacking on the nozzle / cutter side), the reason for this is I had reasonable confidence in my electronics / programming ability, so took many pictures along the way as I only needed 1 of them, and it was somewhat easier to document along the way.

However the nozzle was my first nozzle of a final 2, and as was going to go through a few design iterations in the prototype, I didn't document as much, planning to document on the 2nd nozzle. Now it's assembled, a lot's hidden and it's somewhat inconvenient to disassemble it to take a photo.

So that said, I'll take a couple of external pictures, make some hand drawings and provide details of the various design aspects, i.e. enough that you can reproduce yourself. Final dimensions and minor details I'll provide as I copy the 1st nozzle and build the 2nd (over the next few weeks, before winter sets in). I'll go out and grab some pictures.

jetty
Nozzle Novice
Nozzle Novice

Posts: 59
Join date: 2011-05-07
Location: Toronto, ON, Canada

View user profile

Back to top Go down

Cutter Design

Post  jetty on Tue Sep 27, 2011 10:16 pm

You've seen the quality of the cut in the video, however it's not quite the whole story, there's a significant improvement to it which isn't shown in the video, because I need to finish the installation to save me having to manually hold stuff. The watering can is meant to be put over the jet (there's a hole in the bottom). Because the output of the can is very close to the diameter of the jet, it contains the spray of the cut / uncut and a bit of the nose. I.E. imperfections in the cut spread out more the further from the nozzle it is, so the watering can contains it. You could also achieve this in your design without the can by having a short plastic tube after the output.

It also has the side effect of looking cool as the jet will look like it's being fired from the can. There are so many issues with cuts/uncuts in general that everybody is having, I don't believe perfection is attainable for a few reasons. Droopy nose seems to be due to air resistance as the front of the jet as it punches through the air. Tail breakup and front breakup tend to be due to a not infinitely fast cut and vibration caused by the cutting process (the faster it is, generally the more vibration it produces). Sporadic drops outside of the stream tend to be flung off the cutter blade. Also splash back into the nozzle area can contaminate the stream.

Therefore, here's what I've done to try to minimize these issues while keeping it mechanically simple:

- To minimize vibration keep the mass of the cutter low to reduce inertia (I've used Aluminum and kept it short)

- To reduce vibration, used Wellnuts to mount the stepper to the top plate (the stepper has a lot of mass)

- To reduce vibration transfer from the top plate to the nozzle body, used 130C 3m Scotch (it's rubber like) between the
surfaces

- To reduce splash back, used scrubbing pad like material (floor polisher pads from home depot): See This Thread

- To reduce contamination of the stream, made a conical insert to my quick change nozzle:
Quick Change Nozzle

- To reduce fling from the cutter blade, sanded the blade edge to be razor sharp

- To get the fastest cut, used stepper motor acceleration and a bit of overshoot

Things I have tried along the way without success. Cutter blade shape, tried a semicircular cutout to match the size of the stream versus a straight edge (both produced the same results). Tried matching the blade speed to the speed of the stream so that the cut is straight through (as detailed here): Designing The Perfect Cutter (which flung off lots of drips, but looked pretty cool and not too practical, but in theory at least, should have produced the perfect cut). It was a similar idea to how they cut hot rolling hot steel.

Improvements in the design I settled on that I can see are a faster stepper motor and maybe teflon (or something water doesn't stick to) for the blade to reduce fling.

Regarding the stepper motor, to obtain the fastest cut you need to drive the stepper motor at it's fastest speed, however there's a lot of inertia to overcome, and the stepper motor likely doesn't have enough torque to overcome this and instantly move to the highest speed, i.e. the stepper will slip or likely just make a grinding noise and not move at all. So to obtain the fastest speed, you need to accelerate and decelerate when cutting / uncutting (this will also reduce vibration somewhat too). Because of acceleration, you want to overshoot on the cut, i.e. don't stop dead center, because you'll be stopping at the end of the deceleration period, i.e. when the blade is moving at it's slowest. So the blade has to be fairly long to allow you some overshoot (you start from this same position on the uncut).

I've incorporated 2 metal stops (heavy bolts attached to the top plate). They have 2 purposes, the first is to act to "Register" the zero position on the stepper motor. Normally this is done by a hall effect or optical switch, but stepper motors can't be damaged when stalled (unlikely an ordinary motor). So basically after switch on, you slam the cutter against the stop (I do a 180 degree rotation slowly), you now have your zero position, move by an offset to your center (the cut position), it's calibrated.

The other advantage of the stop is that if you slam against the stop whilst the jet is moving, it produces enough vibration to disturb the stream, i.e. you can produce flashes of light in your LED lit stream at night, for free without requiring a separate thumper unit. The only downside is that it's somewhat noisy as the perspex cover acts like a drum. You have to re-zero afterwards , but that's only a few milliseconds, and you're generally not cutting at night anyway.

Another thing you can do is degrade the stream. For example, many put additives in the stream at night because if the stream is too good, light won't escape it. If you move to a position away from the cutting position, and vibrate (you can either move between 2 positions, or drive the stepper motor so fast it doesn't move), then this degrades the stream enough that light can escape from the sides without additives. Use additives too and the effect is even brighter.





Description of the above images. The stepper motor is screwed onto a flat plat, with a hole in the center for the stepper spindle. Stepper motor has a DS18S20 Temperature sensor attached. That plate (with the stepper motor on the outside) is attached using 4 well nuts to the clear perspex sheet so that the spindle protrudes through the sheet. An ORing is placed either side of the perplex sheet on the spindle where it goes through the sheet. It's just resting against the sheet (not inside the hole) this is to stop water from the splash exiting into the stepper motor assembly (they will die it they get wet for long enough).

The stepper motor is then enclosed to waterproof (I used hot glue to attach the waterproof housing, doubling up as sealant).

On the inside, the cutting blade (use straight edges not the curved one you see) is just a thin sheet of Aluminium which is super glued to an aluminum rod. The blade is sharpened on the cut edges by sanding. (if you could see the blade from the other side it would look flat). The rod connects to the stepper motor ( I created a cylinder with a hole in for the rod ) that has 4 grub screws in it, this allows for some adjustment of the cutting blade angle and distance from the stepper motor to the nozzle. However, don't bother with different blade angles, tried that too and there was no advantage.

The Quick Change Nozzle mentioned earlier has a conical section added to the top, this is similar to the conical section you can see on this side of the perspex.

The insides are lined with the scrubbing pad material, with a cut out at the bottom. There are 3 holes in the surround at the bottom that are 1/2 inch diameter to allow the cut water to drain back into the tank. The surround is just a small length of tube, the same size as the nozzle. The reason for 3 holes is to allow the water to drain, as it's "disorganized", you need more than one hole to vacate a 1/2inch laminar flow. My first attempt had the scrub pad material covering these holes, this didn't work so I made the cutout around the holes. The reason it didn't work was because the scrub pad material didn't allow the water to drain fast enough, so the cutter filled up until the nozzle was immersed, which made a pretty cool mess everywhere :-)

The purpose of the scrub pad material is to stop cut water being reflected back into the nozzle area.

The stepper motor is 12V 0.4A UniPolar: RB-Soy-03

I drive it @12V, using a trick to drive a 4 wire stepper motor with 2 wires (details on this soon). The driver also contains a disable pin for all steppers motors. Stepper motors tend to run hot, as do the drivers (these ones routinely max out at 60C), so the disable pin reduces heat when it's not being used. Provided your cutting hardware is light enough, this stepper motor holds it's position when power is removed.

That's it and should be enough to replicate. If you get stuck, shout and I should have the actual measurements and pictures of all the components up here in a few weeks.

jetty
Nozzle Novice
Nozzle Novice

Posts: 59
Join date: 2011-05-07
Location: Toronto, ON, Canada

View user profile

Back to top Go down

Page 1 of 3 1, 2, 3  Next

View previous topic View next topic Back to top

- Similar topics

Permissions in this forum:
You cannot reply to topics in this forum