Skip to main content

Deconstructing the dSwitch

Dexter Industries was kind enough to send me a dSwitch to try and so I anted to post some of my impressions and tests with it. First, it's seems fairly well built - up to and including tripping over it (OK, I'm a klutz) I had no problems with the casework of connections falling apart... something I'm actually rather concerned with in any device that potentially is carrying household current. Using it could not be easier - you can use a single custom block to toggle the switch "on" or "off" in a very natural way (power users - you can also just use a Motor block in NXT-G to do the same, this is not complex hardware to control).

My first use for this, after just testing it out, was as a Christmas Tree "driver": plugging the tree into the dSwitch with the NXT & sound sensor in control allowed me to make a sophisticated "clapper": one clap to turn on, two claps to turn off, three for a random pattern of flashes, and four claps to "set the trap". When the NXT detected four claps, it shut off the tree and monitored the ambient noise in the room... if it went above 50% of the ambient value, the NXT started flashing the tree. This allowed for a neat "ghost in the Christmas tree" effect. You could set up the tree to surprise the first unsuspecting person to enter the room, which is more than a little surprising. From this it's a short jump to a "surprise" system for folks breaking into a house (open the door and the radio goes on, or light flash... even in distant rooms, with multiple NXTs and BT connections)... or a little sibling detection system (have the NXT not just monitor when somebody entered your room... but have it actively startle them with a light or loud sound. Dave Astolfo's use of an NXT-controlled thermostat system in a aquarium is another good innovative use for this... and I'm sure there's a lot more.

I was also impressed by the speed it could toggle. To be honest, I wasn't expecting much - after all, you don't flick a light switch rapidly most of the time, and relays are often not the fastest things. But in tests, I could shuttle the dSwitch between off and on with an interval of just about 0.01 seconds... roughly 100 Hz (faster than this it "locked up", evidently not completing the opening of the relay before the command to close it again was sent). This allos a lot of nice fast applications for it, especially with rapidly responding lights (like LEDs)... the dancing lights example on the dSwitch page is but one example. You could essentially use ganged LEDs like this as a poor-mans computer-controled strobe light, which certainly could be interesting.

The only real cautions I'd mention here are it's size (it's big, too big for most mobile robots... but if it's mobile, what are the chances it would have something that needs to be plugged into a wall anyway), and the same caution I'd use when plugging anything into a wall socket. When you start messing around with houshold current, you need to be aware of shock hazards, and the same should apply here. But the dSwitch seems well made in this regard too - using UL listed components appropriate for the current and voltage limits, and grounding the system.

I'll be curious to see what folks come up with using "sensors" (actuators?) like this. I'm starting to look at my toaster, or my wife's automatic towel warmer, with a new eye towards DIY ideas... let the user beware!

Popular posts from this blog

Celebrating MINDSTORMS with a Remix - Part 3

The ROBOTMAK3RS continued their celebration of the 25th Anniversary of MINDSTORMS through these Fall and Winter remix projects. Each ROBOTMAK3R was tasked with selecting one LEGO set of their choice and combining it with a MINDSTORMS set. Below are the five amazing models they came up with. Braill3 by Jerry Nicholls Braill3 is an EV3-based LEGO Braille bricks reader. This robot uses its fingertip, made from three touch switches, to read messages written using the LEGO Braille bricks and will speak out what it detected. If it sees a simple maths problem it will attempt to solve it and give the answer as well. To learn more about the process of creating this machine, read Jerry's blog . Braill3 can be viewed here . Set Review: The Braille Bricks set is well thought out. The ratios of the letters is suitable for general use and the addition of some punctuation and arithmetic operators is excellent. There is a card showing what bricks there are and their quantities, but no form of sort

Celebrating MINDSTORMS with a Remix - Part 2

The ROBOTMAK3RS continued their celebration of the 25th Anniversary of MINDSTORMS through these summer and fall remix projects. Each ROBOTMAK3R was tasked with selecting one LEGO set of their choice and combining it with a MINDSTORMS set. Below are the five amazing models they came up with. Remote controlled material handle r by Jozua van Ravenhorst (aka Mr Jo) This remix combines the LEGO Technic Material Handler (42144) with MINDSTORMS EV3 (31313) It uses the power of pneumatic cylinders to move objects around. By using a bluetooth remote control, very precise movements can be made with this model. Touch sensors in the base chassis prevent the turret twisting the cables that go through the turntable to much. The program has several protections to prevent over pressurizing the system for each of the 3 individual pumps and valves that control the 2 booms and claws. The real version of this machine is mostly used in waste material sites to bring the material to machines that sort and

Celebrating 25 Years of MINDSTORMS

In celebration of the 25th Anniversary of MINDSTORMS, we take a trip through history. Please also visit ROBOTMAK3RS Community every week as we highlight different projects all through 2023 in celebration of the anniversary. Some of the early history is based on the content shared by  Coder Shah  in our  MINDSTORMS EV3 Community Group . Some of the text and links may have been edited from his original posts for consistency and clarity.  1984 - Kjeld Kirk Kristiansen watched a TV program called "Talking Turtle," where MIT professor Seymour Papert demonstrated how children could control robot "turtles" using LOGO, a programming language he developed. 1988 - The collaboration between MIT and LEGO resulted in LEGO TC Logo in 1988, which allowed students to control LEGO models using computer commands. The video shows Papert demonstrating TC Logo. 1990 - LEGO TC Logo was hampered since the robots you built had to be tethered to a personal computer. LEGO and MIT