HOME  |  NEWS  |  BLOGS  |  MESSAGES  |  FEATURES  |  VIDEOS  |  WEBINARS  |  INDUSTRIES  |  FOCUS ON FUNDAMENTALS
  |  REGISTER  |  LOGIN  |  HELP
Rob Spiegel
User Rank
Blogger
Keeping the kids safe
Rob Spiegel   7/20/2012 2:21:50 PM
NO RATINGS
This is a great gadget for keeping the kids from playing with potentially dangerous tools. I would hope this is preventive safety and not locking the barn after the horse got out.

Jack Rupert, PE
User Rank
Platinum
Re: Keeping the kids safe
Jack Rupert, PE   7/20/2012 3:53:50 PM
NO RATINGS
When I was young my dad used a low-tech version, although it was more of a general safety thing rather than to keep me out of it.  Basically, he wired the main outlets in the workshop through a switch mounted in a lockable box about 6' off the ground (although I dont' think the box was ever actually locked).  It box also had a red indicator bulb to remind him to shut off off workshop power when he was done.  This kept some of his older tools from being a potential hazard (fire or otherwise) when nobody was around.  Later, he upgraded the circuit to include a GFI when those things became common.

armorris
User Rank
Platinum
Re: Keeping the kids safe
armorris   7/20/2012 5:29:38 PM
NO RATINGS
Wow! Thank you William, for using my SCR voltage regulator! I invented it back in 1978. I tried to publish it in EDN magazine back then and they didn't want it. It's loosely regulated, but it is very energy efficient. When the relay is off, you're not burning up power in a zener diode. You already know that you can add a small voltage regulator if you need more precise regulation, like for the microcontroller. You may have seen it used in three of my GF projects, GF#195, the master/slave switch, GF#198, the remote fan control and GF #218, the space heater thermostat. I have used it in a number of unpublished other gadgets that I have around the house as well. Maybe it was a good idea, after all, huh? I've had a couple of people ask me about it. At least one person appreciates it. It's also more robust against power surges than a zener diode regulator. The master/slave power switch and several other gadgets I have that use the SCR circuit have survived many thunderstorms here in Florida, including one that took out half the electronics in my house.

Yours is a great project! Some comments on your ASM code would have been nice, though.

Andrew R. Morris morr3763@bellsouth.net

armorris
User Rank
Platinum
Re: Keeping the kids safe
armorris   7/20/2012 5:54:58 PM
NO RATINGS
I responded too quickly. I see now that your ASM code does indeed have some comments in it. The code should be easy enough for someone skilled in the art to figure out, anyway.

Sorry about that! Great project!

mrdon
User Rank
Gold
Re: Keeping the kids safe
mrdon   7/21/2012 6:41:15 PM
NO RATINGS
Very cool and practical project. It's quite interesting to see ASM code being used eventhough C is language is common in todays embedded products. Now I have a real world example of ASM code to show my microprocessor class at ITT Tech.

Cadman-LT
User Rank
Platinum
Keeping us all safe
Cadman-LT   8/2/2012 3:34:34 PM
NO RATINGS
Jack Rupert, PE: I like the simplicity of that. The red bulb is a good idea for those of us that can well...be a little forgetful at times.

Charles Murray
User Rank
Blogger
Re: Keeping the kids safe
Charles Murray   7/20/2012 6:35:00 PM
NO RATINGS
Yes, a great gadget done for a dirt cheap price. The only item of any expense is the prototype board ($12). Everything else is pennies.

wgrill
User Rank
Iron
Power Lock power source
wgrill   7/20/2012 8:45:33 PM
NO RATINGS
I liked your design used in Gadget #195, much better than the one I have always used to derive appliction poiwer directly from teh line VAC. It provides a lot more flexibility in both available voltage and current. As for the code comments... comments can always be improved. I usually only comment on the major loop or function boundaries and when ever there is a user modifiable variable, table or other issue.    

armorris
User Rank
Platinum
Re: Power Lock power source
armorris   7/21/2012 10:07:20 AM
NO RATINGS

Thanks, William. I recently bought and reverse-engineered a smart outlet strip (i.e. master/slave power switch) to see how someone else solved the problems I had to solve. It used a more complex method to save standby power consumption. It used an opto-coupler and 4 diodes to switch in an extra high voltage capacitor when the relay is on to prevent burning up surplus power in the zener diode when the relay is off. BTW, the high voltage coupling capacitor provides about 20mA per microfarad of available current at 12V0VAC, 60Hz.

wgrill
User Rank
Iron
BASIC vrs assembly
wgrill   7/22/2012 10:19:13 AM
NO RATINGS
I have used assembly in all my appliciations. I have always used MicroChip controllers which have a relatively small instruction set. The applications are ususally smaller, under 200 or 300 instructions and in at least some cases have to be branch equalilized to accomodate timing issues, which harder to control if you program in BASIC or C. MiroChips instruction set has been pretty good to me and is realtively easy to tabulate the instruction execution time. There are also other examples is several other applications both in Gadget Freak#194,137,118,124,159,112,83,88,157,188,200 and another resources, in in Gadget Freaks sister publications, EDN and Test and Measurement. Some of these include a Visual Basic interface which would sit on your desktop.     

 

 

armorris
User Rank
Platinum
Re: BASIC vrs assembly
armorris   7/22/2012 4:54:30 PM
NO RATINGS
I agree with you William. I have always used ASM code and I only know how to program PICs. While working for a former employer, I designed an automatic paper towel dispenser according to my boss' requirements. It had all the bells and whistles, was programmed in ASM and used a little more than half of the available 2K of memory. My employer bought a competitor, who was also developing a paper towel dispenser, which I had to debug. It had extremely simple functionality and was written in C. It used almost the entire 2K of memory. Sadly, they closed down the place where I worked and went with the simpler, cheaper dispenser.

BTW, I used ASM code in GF#192 and GF#198

Battar
User Rank
Platinum
Different approach
Battar   7/23/2012 9:28:42 AM
NO RATINGS
Many years ago I build a power lock, but with a different, and simpler, approach. The power switching component was activated from the output of a window comparator. The comparator was fed from a voltage divider, and one of the resistors for the dividing chain was in a 3.5mm audio jack which had to be inserted in a socket for the correct voltage to be set and the power turned on. Nothing more than a transformer/bridge/cap supply, dual op-amp, and relay. basically.

MagFlux
User Rank
Iron
RE: Keeping Kids Safe
MagFlux   7/23/2012 12:34:08 PM
NO RATINGS
Having kids around the shop can be stressful at best.

I had solved this power problem years ago with store bought devices.

It was more expensive but did not require a lot of mods to the wiring(eg: dual gang box not needed).

I used the X-10 system for the outlets and lighting and just popped off the control keypad from the control switch as I left the shop. I'm a little hesitant to install non-UL/CSA approved parts to my wirng for insurance reasons. Nice job on the solution but can't bring myself to put my house at risk. I learned the hard way, once burned...

RICKZ28
User Rank
Platinum
RE: Keeping Kids Safe
RICKZ28   7/23/2012 1:51:21 PM
NO RATINGS
I agree entirely with keeping kids safe by securing inherently dangerous items around the house and garage.  I've done the same the entire time of having kids in the house, starting with "baby proofing" the house when my children were first born.  I've always been sort of a safety fan or buff since being in the Boy Scouts.  Safety is something done before an accident...hence the saying "safety is no accident"!

Although it seems like a cool solution to make a home-made switch system for the power outlets in the garage or workshop, I'm not so sure it would meet "code" requirements.  If the device is not UL tested and listed, it's probably not legal to use connected to the house power.  I think commercially available power locking devices would be better.  I have six quad outlets in my garage, so I never have to look for a vacant electrical outlet.

My safety system was to lock-up ALL tools, especially all power tools.  I always considered my electric chainsaw to be extremely dangerous, as well as circular saw, saber saw, power drill, etc.  Of course, all guns are secured even better than the power tools and hand tools.  Also, we always secured our car keys to prevent kids from getting any silly ideas (I've heard many stories of 12 year olds taking the parents car for a drive).  As a result, my three daughters (all young adults now), all grew-up in a relatively safe and secure house with no serious injuries...and no kid's friends hurt either.

Mydesign
User Rank
Platinum
Power lock
Mydesign   7/24/2012 12:35:40 AM
NO RATINGS
1 saves
William, what would be the total cost factor and any precautions to avoid electric shock and to prevent current leakages. If by chance forget the secret code, any resetting mechanisms either for regenerate a new one or recover the secret code.

wgrill
User Rank
Iron
Re: Power lock
wgrill   7/24/2012 11:21:42 AM
NO RATINGS
I think the design is pretty solid. While not an expert I think it is needing a surge/lightning protector, confirmed/qualified materials/parts and $ before it could be considered for certifcation and only if hter was a real market. The relay provides the isolation, leaving the buttons, as the user interface. The 10 ohm carbon resistor, the inductor both add a bit of fusing. The regulator has thermal protection.

As for the code recovery and programming...The controller can be (re)coded to provide either. Probably something like setting a recovery mode by depressing both buttons and the coded combination being sequenced to the LEDs. This was NOT considered for this submittal. Controllers are 'lovely' parts..the possibilities go on and on.

I appreciate that there are lots of solutions to this function. Some are more or less fun and interesting. For gadget freaks there is also the 'cool' factor to be considered.      

ervin0072002
User Rank
Gold
Nice
ervin0072002   7/24/2012 7:34:29 AM
NO RATINGS
I like the idea. Simple design too.

Battar
User Rank
Platinum
Re: Nice
Battar   9/15/2014 9:05:42 AM
NO RATINGS
Simple? A key operated switch is simple.



Partner Zone
Latest Analysis
It's been two years since the Mac Mini's last appearance on iFixit's teardown table, but a newly revised version joins Apple's lineup this week.
More often than not, with the purchase of a sports car comes the sacrifice of any sort of utility. In other words, you can forget about a large trunk, extra seats for the kids, and more importantly driving in snowy (or inclement) weather. But what if there was a vehicle that offered the best of both worlds; great handling and practicality?
Kevin Gautier of Formlabs describes the making of a carbon fiber mold for an intake manifold, using a $3,300 3D printer, during Medical Design & Manufacturing Midwest.
Science fiction author Isaac Asimov may have the best rules for effective brainstorming and creativity. His never-before-published essay, "On Creativity," recently made it to the Web pages of MIT Technology Review.
Much has been made over the potentially dangerous flammability of lithium-ion batteries after major companies like Boeing, Sony, and Tesla have grappled with well-publicized battery fires. Researchers at Stanford University may have come up with a solution to this problem with a smart sensor for lithium-ion batteries that provides a warning if the battery is about to overheat or catch fire.
More:Blogs|News
Design News Webinar Series
10/7/2014 8:00 a.m. California / 11:00 a.m. New York
9/25/2014 11:00 a.m. California / 2:00 p.m. New York
9/10/2014 11:00 a.m. California / 2:00 p.m. New York
7/23/2014 11:00 a.m. California / 2:00 p.m. New York
Quick Poll
The Continuing Education Center offers engineers an entirely new way to get the education they need to formulate next-generation solutions.
Oct 20 - 24, How to Design & Build an Embedded Web Server: An Embedded TCP/IP Tutorial
SEMESTERS: 1  |  2  |  3  |  4  |  5  |  6


Focus on Fundamentals consists of 45-minute on-line classes that cover a host of technologies. You learn without leaving the comfort of your desk. All classes are taught by subject-matter experts and all are archived. So if you can't attend live, attend at your convenience.
Next Class: 10/28-10/30 11:00 AM
Sponsored by Stratasys
Next Class: 10/28-10/30 2:00 PM
Sponsored by Gates Corporation
Next Class: 11/11-11/13 2:00 PM
Sponsored by Littelfuse
Learn More   |   Login   |   Archived Classes
Twitter Feed
Design News Twitter Feed
Like Us on Facebook

Sponsored Content

Technology Marketplace

Copyright © 2014 UBM Canon, A UBM company, All rights reserved. Privacy Policy | Terms of Service