How to shield a live wire at 240V ? | Page 20 | on ElectriciansForums

Discuss How to shield a live wire at 240V ? in the UK Electrical Forum area at ElectriciansForums.net

_q12x_

DIY
Joined
Jan 22, 2021
Messages
587
Reaction score
268
Location
New York
I have a electronic board with leds (made by me) that is driving a relay. When that relay is closing it’s contacts, is actually switching the 240V for the light bulb switch in my room. This board is quite long, like 50cm (half a meter). The relay is in the left corner, and the live wires from it goes in behind the board to the hole in the wall for the mains switch. I also have a mild steel sheet behind my board that is grounded. It is shielding the interference of the 50Hz from the live wires from the wall to my sensitive circuit. But even If I have this grounded metal shield behind my board, the live wires from the relay are still affecting my entire circuit board, keeping it ON all the time. If I am disconecting the live wires from the relay, the board is functioning very well. Another IF, is if I disconnect the ground from the metal shield, the circuit board goes nuts. So the shield is doing it's job fine, but only for the live wires inside the wall !!! But not for the wires from the relay to the live switch.
- I want a way to shield these wires !
Thank you !
 
These are the stages I am working through with my version of your project:

1. Movement sensor to control the ruler of LEDs - my work at the moment, about 80% complete and then thorough testing;
2. Build pulsed LED array with 940nm torches* and associated pulsed LED receiver to produce Vs - pulsed sensor to distinguish torch reflections from steady (albeit slowly changing) ambient IR ;
3. Ambient IR monitor and controller to adjust for ambient IR - circuit built but yet to be fully tested and developed further as required.
4. Beep/click sound signal each time a ruler LED turns on/off.

* My current sensor arrays are 850nm.
 
My breadboard a day later.
 

Attachments

  • [ElectriciansForums.net] How to shield a live wire at 240V ?
    07E2D4F2-1284-43D9-8E37-BD55FA14D2C0.jpeg
    601.8 KB · Views: 30
This is a video demonstrating my version 2 of the ir proximity switch which includes the bleep/click sound as each ruler led turns on or off. As I have run out of space I will do version 3 the pulsed ir on a new breadboard. Quite a lot of time was spent on eliminating oscillation of an led if the hand stopped at a threshold or went through a threshold slowly.
 

Attachments

  • FullSizeRender 4.mp4
    72.1 MB
This is a video demonstrating my version 2 of the ir proximity switch which includes the bleep/click sound as each ruler led turns on or off. As I have run out of space I will do version 3 the pulsed ir on a new breadboard. Quite a lot of time was spent on eliminating oscillation of an led if the hand stopped at a threshold or went through a threshold slowly.

Very nice Marconi
 
Very nice Marconi
I am a digital baby. So I aim to turn any problem into 1s And 0s as early as practical. Thereafter one has so many more options for signal processing. And it then becomes logical and mathematical which suits me. Analogue electronics is really an art which I have not had the opportunity or inclination to master. ?
 
I loved my 555 timer , but DIY ing it from op amps/comparators brings an understanding of Hysteresis and Long cycles for triangular waveform ... (I played with home brew car alarms !)
Analogue electronics is really an art which I have not had the opportunity or inclination to master.
 
Thank you for the video. You got good results. It's nice to hear the clicks.
It looks like it is finished. Can you make a circuit for me, with everything you have there? Thank you.
And this is my progress so far. Not that good.
 
Last edited:
q12 Good morning. If viewers were awarding marks you would receive high ones for the neatness of your construction whereas I most likely be told 'could do better'! I tend to be impatient and rush to see if something works and if it does I then leave it as is and move on to the next part. You are methodical and take the time to accurately record your circuits. I spent a good 2 hours trying to work out why my latest version did not toggle the lamp reliably. It turned out I had failed to connect the JK inputs to +5V ie logic 1 even though I had connected J and K together.

I am going to design next my 940nm pulsed sensor array and see how it performs. The major effort of version 3 is to maintain performance in spite of background IR from things inside the room and sunlight. I will keep you posted once I have something worthwhile to show. For this version I am using a better comparator LM311 which has the nice feature it can be 'strobed' ie told when in time to compare its inputs and produce an output - clearly necessary for a pulsed IR sensing system.

https://www.ti.com/lit/ds/symlink/lm311-n.pdf?ts=1617540813359&ref_url=https%3A%2F%2Fwww.google.com%2F

My versions 1 and 2 have used the LM339:

https://www.ti.com/lit/ds/symlink/l...rl=https%3A%2F%2Fwww.ti.com%2Fproduct%2FLM339

Happy Easter.
 
Last edited:
Happy Easter.
Thanks that you liked my "failure". Is kind of working as I said, but not that efficient (1 led always On), and only in night, when is out of day light. Also it is sensitive to my desk lamp as well, it is probably way too much amplified. But it works, in its limited way. It was more as an exercise with opamps for me, a practical one. The most used way of an opamp as I could seen it so far, is as a comparator. Then the other wonderful exceptions ways. At least is how I perceive it, now in the beginning. I must play more with it in the future.
Right now, I am planning on tweaking the amplification of the SCM - 2n7000, the one with the npn tr T3 and its led, somehow to make it work with the lm3914 pin 5. Currently, as a reminder, is only working directly from the Source of 2n7000 to pin5, because it is grounded by a 10k resistance R4.
[ElectriciansForums.net] How to shield a live wire at 240V ?


My good american friend has sent me already an IR detector that has a chip in it, very advanced component and very miniaturized, and it will receive and convert automatically the signal from any remote control or signal generator. It is quite common but is a bit more expensive than a simple direct IR receiver like the black 3mm ones I have. The package is on the way, and we all wait for it's arrival.
Until then, I will tweak what else can be tweak.
Thats why I asked for your circuit, to see where and how did you linked the buzzer. I can not understand from your real picture, since its full of wires and little "black boxes".
 
The click is produced by comparing the number of LEDs illuminated at one instant - let us call it time t - with the number illuminated a short time T earlier in other words at t-T. My version 2 is using synchronous logic circuitry driven by a 'clock' running at several kHz which produces my clock ticks. It is bottom left with a single faint red LED next to it. I can number the ticks since the power up using the letter n, so a sample taken at the nth tick of the clock is Sn, and n is increasing from 1 to infinity.

As there are eight LEDs on my ruler, I sample at regular time intervals of T, to see which ones are on or off. This produces an eight bit sample word viz Sn= ( L1, L2, L3, L4, L5, L6, L7, L8). If an LED is lit Lx = logical 1 otherwise Lx = 0.

I then load Sn into an 8 bit register called P. Several clock periods later - T - the contents of P are loaded into another 8 bit register Q.

After another interval of T another sample, Sn+1, is taken of the LED ruler state, Sn+1 and loaded into the register P. The content of P is now Sn+1 - the latest sample - and the content of Q is Sn - the previous sample. After a further interval of T the content of P is loaded into Q. And this sequence repeats over and over again.

Registers P and Q therefore hold samples taken at Sn+1 and Sn respectively as n counts upwards. I could write this as Sn and Sn-1 which makes it clearer with is the latest sample Sn and which was the previous sample Sn-1.

An 8 bit logical comparator compares the contents of P and Q by doing the subtraction X = P - Q. If X = 0 then Sn = Sn-1 which means there has been no change of the state of illumination of the LEDs on the ruler over the interval T. If X does not equal 0 then more or less LEDs are illuminated now than there were before.

https://www.ti.com/lit/ds/symlink/sn54ls684.pdf?ts=1617648996931&ref_url=https%3A%2F%2Fwww.google.com%2F

The logical state of X then is a signal on whether the number of LEDs which are lit is steady (X = 0) or changed over successive time intervals T.

I use the X signal to gate a 1kHz square wave to the sounder to make the beep. Actually, because X is such a short duration pulse since T is actually very short in time I send X to a pulse stretcher (a monostable) to produce a longer gate pulse. This creates the click sound every time there is a single change of state - on to off or off to on - of the most significant LED.
 

Attachments

  • [ElectriciansForums.net] How to shield a live wire at 240V ?
    7C42E14E-23C7-44E2-AB76-1933FCA5AB62.jpeg
    266.8 KB · Views: 30
Last edited:
q12 Some time ago you did not have in front of you a design of IR continuous wave active passive sensor which would gradually light your LEDs in response to the proximity of your hand. And now you do. To my mind then, describing your latest model of led wings as a ‘failure’ is unwarranted.
 
q12x Good morning. Just a thought on your latest IR sensor. The photodiode is operating in the photovoltaic mode which is ideal for low light levels because the dark current noise the photodiode produces is minimised. Any diode current flow is then mainly due to photons hitting the photodiode.

It may be that at the moment the single IR LED is not providing sufficiently intense illumination of your hand in front of the sensor which is compensated by using a high gain cascade of op amps (1) and (2) - (A = 100 x 10 = 1000). Of course this also means that ambient light from other sources will be detected and similarly amplified by a 1000.

What about brightening up the IR light you shine by having 2, 3 or 4 IR LEDs placed around the single IR photodiode? One might then reduce the gain of op amps (1) and (2) which would make your sensor less responsive to ambient light. The sensor would then mainly be reacting to the reflected light from the IR LEDs and tend to ignore ambient IR light. Worth a try? The second image shows my 850nm array of 4 ir LEDs and 4 pds.
 

Attachments

  • [ElectriciansForums.net] How to shield a live wire at 240V ?
    q12irsensor.png
    16.3 KB · Views: 26
  • [ElectriciansForums.net] How to shield a live wire at 240V ?
    EB9E420E-E1A7-434C-AF40-06EF5826A546.jpeg
    172.7 KB · Views: 25
Last edited:
Hello mister @marconi and thank you for your answers.
I kind of understand.... what you did there with the buzzer circuit, but PLEASE, make for me a simple circuit diagram. All I need is the output signal (pin1 to 10 of LM3914, or in other words the leds negative pins) and the input signal, (from what I understood, you used a comparator IC and a clock (quartz? or RC?)). But I still dont understand when the click sound is activated and by who. Explain in very simple words, not math words. Im an artist, I deal better with visual explanation than weird math algorithms explanations. Sorry but im not a math guy. Make me a short diagram please, draw it as simple and explicit as possible on paper and scan/photo it. Thank you ! I really appreciate your effort so far.
The other subject, the IR leds, YES, I will have to test more of them as you just did on your board. But again, this was more an educative circuit for me, since im quite new to both IR and opamps. Now im a bit more familiar with them. I will make it in the near future.
 
I hesitate to start designing circuits for you because I then become 'responsible' for them by working with you until they perform as desired when connected to your other modules. There is no point in copying the way I produced my 'buzzer' circuitry because my versions of your project are mainly using digital ics and techniques and as you can see from my video you do not have room. If you want me to guide you through the design process for something to work with your wings then that would be preferable to me. I spent quite some time making sure the LEDS on my ruler - so your wings LEDs - cleanly turned on or off without any fading or oscillation to ensure a single click each time there was a single LED change. As a fact your LM3914 fades the turning on and off of adjacent LEDs - it says so in the datasheet; I suspect - forgive I may be wrong - that you still have oscillations. Oscillations will be seen if you very slowly move your hand towards or away from the sensor or if you hold your hand in a position where adjacent LEDs turn on and off/off and on. Perhaps you could investigate.

In outline you would need to build a tone generator to drive the sounder. I suggest with a 555 chip. Is your sounder a piezo electric one and if so is it passive or active? If it an active one then it has an internal tone generator so you would not need to build a separate 555 tone generator. Mine is a passive one. Assuming a passive sounder driven by a 555 tone generator, we could use the trigger pin 4 to turn the tone on and off easily with a negative going pulse.

Next step would be to generate a negative pulse for each of the LED driver outputs of the LM3914 and then to combine them as logical OR (ie any driver output) to be used to turn the tone generator on briefly and thereby make the click sound. The sort of circuit I envisage for the negative pulse generator is a simple CR differentiator across each LM3914 LED driver transistor. Something like I have drawn in the attachment.

How does this sound to you?
 

Attachments

  • [ElectriciansForums.net] How to shield a live wire at 240V ?
    5BBC7DC4-60AA-4579-B0A8-46EFDF6822F0.jpeg
    250.6 KB · Views: 28

Reply to How to shield a live wire at 240V ? in the UK Electrical Forum area at ElectriciansForums.net

News and Offers from Sponsors

  • Article
Join us at electronica 2024 in Munich! Since 1964, electronica has been the premier event for technology enthusiasts and industry professionals...
    • Like
Replies
0
Views
307
  • Sticky
  • Article
Good to know thanks, one can never have enough places to source parts from!
Replies
4
Views
828
  • Article
OFFICIAL SPONSORS These Official Forum Sponsors May Provide Discounts to Regular Forum Members - If you would like to sponsor us then...
Replies
0
Views
924

Similar threads

I'm just trying to understand the current your suggested relay needs to handle. Surely the above is not the running current of the lamp? That...
Replies
2
Views
243
  • Question
This contactor you suggested unfortunately only has two NO switches rather than 1 NC and 1 NO required for the CR3 current sensing bypass...
Replies
14
Views
1K

OFFICIAL SPONSORS

Electrical Goods - Electrical Tools - Brand Names Electrician Courses Green Electrical Goods PCB Way Electrical Goods - Electrical Tools - Brand Names Pushfit Wire Connectors Electric Underfloor Heating Electrician Courses
These Official Forum Sponsors May Provide Discounts to Regular Forum Members - If you would like to sponsor us then CLICK HERE and post a thread with who you are, and we'll send you some stats etc

YOUR Unread Posts

This website was designed, optimised and is hosted by untold.media Operating under the name Untold Media since 2001.
Back
Top