Currently reading:
How to shield a live wire at 240V ?

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

_q12x_

DIY
Reaction score
212
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 !
 
The receiver module, working just perfect from first built and try. Just excellent.
20210416_110649.jpg


And now the transmitter with 2x555's. You can see those small pads there. So hard to make and place them. So hard.
20210416_110848.jpg
 
Thank you ! Though is a bit too overwhelming hard and the little pads, with way too many problems. But the good news is, it can be built like that as well. Hard but possible.
You can see in the right side some black marks, is because the solder does not stick after awhile. Problems. But it seems ok so far. It is not my first smd IC that i worked with, but is a first with all the pads mounted. What a hell. And I have a second one to make as well.
This one is clearly a test as you can see it sits by it's own. I can easily integrate it on the main circuit board now that has all its pads.
If you zoom in the image you can read its a 555. Heh.
20210416_160926.jpg
 
I remember visiting a US electronics manufacturer called Allied Signal and being astonished by the automated line which produced circuit boards, inspected and tested them and then sent them off for environmental stress testing - without any human hands touching the boards.

Here is a youtube clip of another firm's production line which I thought you'd enjoy watching.


The printed circuit boards in the equipment I am familiar with were multilayer boards in order to make all the necessary connections, so crammed were the the boards with ics. Quite how this was achieved I must one day look up. I know they cost hundreds or more £ pounds each. Costing so much they were often repaired where possible to do so.
 
Thank you for the video, very nice and I watched a couple of similar ones in the past. I know about their real existence and how cool they are.
So, mister @marconi I am in need of your assistance. If you can, of course.
It is a side project but is still important to get it rolling. I mentioned I have a pickit2 ready and 10pcs of PIC 12f508.
I stay like 14h to figure out how to install all the necessary software for pickit2 and to actually see the pickit2 listed as normal option to select, because it was gray out and I could not select it as an option. In MPLAB :
Screenshot_1.jpg

Again, I did this thing in the past, and programmed some 16f84A and some others, but not many.
Now that my pickit2 is alive, all I need is the correct stuff to send to it and to it's 12f508 that I installed on a "pickit2 DemoBoard" exactly like this one:

1618642065297.png

Please tell me what to start to send to it.
I started with these lines yesterday.
As you can see, PICkit 2 is recognized.
Screenshot_2.jpg
But I am not sending something important to him in the code. And I have no clue what is the correct way to send instructions anymore. Maybe you can help me. I know I made it work in 2001 with a special "recipe" in the beginning. But I dont know what it was anymore. Or it was only for certain PIC's like 16F84?
Or at least where to look and search how to transmit the correct header or start of the code?
Thank you !
If I try to program it, I get this error: (the red line)
1618643361312.png
 
Last edited:
And here is how it looks in reality.
The position of the PIC chip is correct, it's chip key pointing up towards the pickit2 black thing programmer.
The leds are connected through those 4 white jumper wires, because this is a 8pin chip and you have to rewire those pins.
I connected:
07-10 = RA0-RC0 = led1=DS1
08-11 = RA1-RC1 = led2=DS2
09-12 = RA2-RC2 = led3=DS3
03-06 = RA3-RC3 = led4=DS4
20210417_101147.jpg
 
Good morning. I would have to do some reading up first - quite a bit - before I could begin to help. I will see what I can do but it would be at the expense of my Version 3 so I would prefer not to. You might want to ask elsewhere for an earlier response. I have not used a Pickit before. One day I want to buy a Raspberry Pi but at the moment I rather like doing digital circuits 'long hand' using discrete logic ics.
 
Good morning and thank you for your response.
If you didn't work with this kind of hardware then I will not put you to trouble.
I will ask somewhere else then.
Here is the datasheet for this particular pic 12f508.
Maybe you have luck and you can find the initializing code for it. Take a quick look, maybe you are lucky. If not, then is good that I try it through you as well.
That code that i write there is from other codes, I didnt look (too hard) in this datasheet yet. I did peek in it but not for too long. But I will in the end if nothing else come out.
 
Is there a forum group for the PICS where you could ask a question? Or even the Manufacturer's help line? I am of no help I'm afraid to say.

I'd agree with Marconi, check out a more relevant forum. It's over twenty years I think since I programmed PICs, so I won't be much help either.

I used a home made programmer, a very simple one if I remember rightly, to program 16F84s I think. Or was it 16C84s maybe. Anyway, I'm waffling now, but hope you get it sorted.
 
I used a home made programmer to program 16F84 as well.
But I have all these 12F508 and I want to use them in some very smart little projects i have in mind.
I managed to built successfully a 16f690 with an older program i had saved there. But nothing on the demoboard, the 4 red leds are not doing anything, yet. I have to figure out the protocol which i totally forgot.
Im not sure exactly what i did back then. I think those saved (working) files were working for this pickit2? or for a serial port? I am not sure.
 
Thank you for the update. I have constructed the three regulated power supplies for Version 3 (+5V logic, +12V and -15V for the op amps and comparators). Now they need testing.

My progress on V3 will halt for a short while because my wife is in hospital, we have a new puppy and I have a new project starting for a client who wants to install a Ground Source Heat Pump to replace his oil fired boiler. He will soon have the solar photovoltaic panels ( 2 x 5kW systems) I mentioned before and already has a solar thermal hot water system. So some thermodynamics will occupy me rather than electronics and I will have to think about the integration of the renewable systems together. :)

I look forward to seeing the wireless remote IR control system in action. Rest assured I will construct Version 3 to see how well it works. I have decided to stick to the flash A-D converter method but use the strobed comparators I mentioned.

Am I allowed to know were you live to city or region level as I did with 'London'. Just adds to the 'pen pal' interest for me to look up on line and in my atlas of the world.
 
Good luck with the heating system project. If you need good ideas, you can talk to me as well. I can return the help.
I am from Romania - Botosani. It is a small town.
I watched your video. Basically, that system is using the heat emanated by a refrigerator to heat water for home appliances. It is a new system I am getting acquainted just now. It is interesting. It is new.
 
Many, many, thanks to mister Steve for the remote control module. If it was not him, I could not make it work so good. It's just fantastic when using it live, way batter than my imagination or than watching it in the movie.
A super update:
 
Good work - and pleasing to hear you are happy with your achievements.

How does the remote perform when there is sunlight or high ambient IR in the room? I am interested to know because that is what I am tackling with my Version 3. I have made slow progress this week but some nevertheless as I illustrate in the attached video which shows 5, 0, 12, -15V regulated power supplies and the 555 clock running at 25kHz to run my logic and pulse the LED sensor illuminators.
 

Attachments

  • FullSizeRender 6.mp4
    23.7 MB
Last edited:
When is exposed to sunlight it is absolutly no problem
We take care of this problem by pulsating the signal from the remote in a band of 33 something. It is definetly not my domain. We first made it with 2x555's and then with a PIC 12f508 , basically doing the same thing the 2x555 did before but with way less components. As you could observed from the movie.
By the way, VERY COOL osciloscope you have there! Very cool. I remember you mention it to me before and it was quite cheap.
I will probably have to make a movie about how i made my remote, because like you here, I did the exact thing, I put my osciloscope to the circuit and veryfy the hell out of it until we figure out the bugs and it worked perfectly.
And yes the square wave you have on your osciloscope I have it on my "dinki" osciloscope as well, but your signal is much more cleaner and true. Mine is noisy and unclean. Its the osciloscope I use.
I will have to think to make the presentation video... phui... hard stuff. But it must be done.
 
As you begin to think about and design your motorised wings features, have you done a quick measurement and analysis to find out if your current power supplies can cope with the extra load when they operate?
 
As you begin to think about and design your motorised wings features, have you done a quick measurement and analysis to find out if your current power supplies can cope with the extra load when they operate?
Very good question !
But that was one of the first things I took in consideration.
My power supply that is over the door, the one that is powering the Led Wings, is marked as 5V 2A. It happens coincidentally that I just took it out yesterday and installed an indicator green led on it. Also I checked its power settings in this time so I know for sure now. I usually forget things along the way. But I know so well now because of the update yesterday.
I also took your advice and go to microchip forums and open the discuttion about PIC's there, before, when I was in trouble. They kind of helped but mostly I figure it out myself alone, and some help from mister Steve, my good american friend. He literally stay all the time near me, and poke with me this thing, until we made it work. If I was alone it would have took me much more time to figure the PIC out, but with him, I think I speed it up considerable. I work best when I have good people around me. If i'm alone, as you can see and know already, i am VERY slow. Because I am an artist, not an electrician or electronist.
I didnt think on the "movement" part very much yet. I only have 2 ideas so far. And they are complex and hard as f.a.c.
Idea #1 the wings from cardboard moving by means of memory wire (which is very expensive and I dont have it) OR my little motors I already presented, those vibrators motors I hacked.
Idea #2 a "smart" ball. Something like these image references :
1619256226852.png
1619256288530.png

And actually to follow me around, when Im walking in my room.
But this is a very complex task I might not be able to accomplish and I know it. But is a very nice idea that is on the table, as my saying is. Yah...well. I will conform to what I can do and come with better ideas than these, that are not very complex to make and realistic to make by me and my tools and components I have.
I was thinking to go on a robotics forum for this smart ball. THey might have all the hardware and software already made for such a project. I will see in the future.
For now, is just cool to imagine. Haha.
 
See? I don't lie (haha)

Screenshot_1.jpg

While doing this, I was thinking actually to your light plastic pylons. In this particular case, I really needed one. But.. is good enough as it is. THough from my other table, in the back, the angle is too wide and I can see a little dot of green, almost invisible. But this is not a big concern, im just happy I have this option installed there.
I am strongly recomanding to leave the edit option alive all the time in this forum !!!
- So, mister @marconi , did you like my PIC movie?
 
Last edited:
If it was me...... I would take one little motor and connect it to your power supply and full wings board and switch it on and off to discover ’what happens’. Put a freewheeling/fly back diode across the motor to reduce the back emf when it turns off. Might want to try at various 0 and 5 Volt tap off points to investigate volt drop effects on modules.
 
Last edited:
q12x I thought you would like to see the shape of the voltage waveform produced by each of the four black 940nm photodiodes when they receive infra red light from the four LEDs pulsed equally on and off at 25kHz. You can clearly see the effect of the reverse biased photodiode‘s capacitive depletion layer and resistance producing a CR time constant which is too long to respond immediately to the ir light being turned very quickly on and off. You can make out the classic CR circuit charge and discharge exponential curves. One way of improving photo response time would be to increase the reverse bias which widens the depletion layer and thus reduces its capacitance thereby making the time constant shorter. The sensor array is picking up the side of the scope.

So, one might have expected nice crisp straight sided pulse outputs from the photodiode but other factors are at play causing waveform distortion.
 

Attachments

  • FD9E82D0-8E07-40D5-826E-34AEF3CDE673.jpeg
    398.3 KB · Views: 9
  • FullSizeRender 7.mp4
    21.6 MB

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

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
This website was designed, optimised and is hosted by untold.media Operating under the name Untold Media since 2001.
Back
Top
AdBlock Detected

We get it, advertisements are annoying!

Sure, ad-blocking software does a great job at blocking ads, but it also blocks useful features of our website. For the best site experience please disable your AdBlocker.

I've Disabled AdBlock