CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

AC on breadBoard
Goto page 1, 2  Next
 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
Paula



Joined: 27 Mar 2013
Posts: 4

View user's profile Send private message

AC on breadBoard
PostPosted: Fri Apr 05, 2013 3:49 pm     Reply with quote

Dear Experts,

I am Paula and I have a general electronic question. Can I use AC Current on breadboard? The current should not exceed 2A. I have a small circuit which I need to test before design PCB.

Paula
Mike Walne



Joined: 19 Feb 2004
Posts: 1785
Location: Boston Spa UK

View user's profile Send private message

PostPosted: Fri Apr 05, 2013 4:09 pm     Reply with quote

Yes and no.

Depends on what you intend doing with the AC.

Please elaborate.

Mike
Paula



Joined: 27 Mar 2013
Posts: 4

View user's profile Send private message

PostPosted: Fri Apr 05, 2013 4:29 pm     Reply with quote

Thanks for your reply. Infact i would like to build a small transformerless powersupply to driver a small circuit which includes a relay.
Mike Walne



Joined: 19 Feb 2004
Posts: 1785
Location: Boston Spa UK

View user's profile Send private message

PostPosted: Fri Apr 05, 2013 5:00 pm     Reply with quote

Yes it's possible

I must warn you. Without experience, potentially LETHAL.

This is CCS 'C' compiler forum.
I'm assuming you intend including a PIC on your board.

Mike

I'm also assuming you intend to use live mains.
And I mean lethal for the PIC & YOU.
SherpaDoug



Joined: 07 Sep 2003
Posts: 1640
Location: Cape Cod Mass USA

View user's profile Send private message

PostPosted: Fri Apr 05, 2013 6:25 pm     Reply with quote

AC or DC makes no difference. But if the voltages get dangerous, above 24V or 48V, think about the consequences of a wire coming loose.

For high voltages you are really better off soldering wires or using some other very secure method.
_________________
The search for better is endless. Instead simply find very good and get the job done.
temtronic



Joined: 01 Jul 2010
Posts: 9161
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Fri Apr 05, 2013 7:16 pm     Reply with quote

You can put 2 amps though a 'solderless breadboard', but 'double up' the conductors in the 'pin holes'! It'll reduce the chance of 'meltdown' due to high resistance of a single conductor. Yes, I've melted breadboards before.
Main concern, after high voltages /currents is noise to the PIC. Assuming you're building a SMPS type circuit,any kind of 'stray noise' could be disasterous for the PIC. You might run into 'program' problems caused by erratic resets, bad data in RAM,etc. None of which is really the code or programs fault. No amount of second guessing why the code is acting 'funny' or trying suggestions from here will really help if the basic hardware is faulty.
I know this thread is a bit off topic, but we could spend hours trying to find the 'bug' in your code when there is none, just a bad ground or other hardware issue.
I have to admit I try all my circuits/code on breadboards. If it runs at 64MHz, it'll work on perfboard or a real PCB, reducing the 'real' problems to my coding skills.


hth
jay
Mike Walne



Joined: 19 Feb 2004
Posts: 1785
Location: Boston Spa UK

View user's profile Send private message

PostPosted: Sat Apr 06, 2013 1:40 am     Reply with quote

Still on the assumption that you're intending working directly on live mains with a transformerless converter.

How are you going to SAFELY probe your circuit?

You need to tell us a lot more about what you are trying to do.
There are now several of us warning you about the dangers.
It is done in commercially available products.
My home central heating controller uses a cap dropper power supply and includes two 24V coil relays.

Mike
Ttelmah



Joined: 11 Mar 2010
Posts: 19326

View user's profile Send private message

PostPosted: Sat Apr 06, 2013 2:22 am     Reply with quote

Would you understand what I meant if I said to 'put one hand in your pocket', and why I say it?.
If not, then you are not safe to even start to think about this design.
You should go and do a basic 'working with high voltage' safety course _first_ otherwise you risk killing yourself (or somebody else).

Best Wishes
SherpaDoug



Joined: 07 Sep 2003
Posts: 1640
Location: Cape Cod Mass USA

View user's profile Send private message

PostPosted: Sat Apr 06, 2013 5:49 am     Reply with quote

If you are working with line voltage and you don't have one I STRONGLY suggest you invest in an isolation transformer like one of these on ebay:
271181561888 or 390571257004

Not everything listed on ebay as an isolation transformer is really an isolation transformer. In a pinch at low power you can use two bell transformers. One to go from line voltage to say 12V and another used backwards to go from 12V back up to line voltage. But the losses add up and the resulting isolated line voltage is not very stable.

With care an isolation transformer can save a lot of accidental damage. Without care you are doomed anyway.
_________________
The search for better is endless. Instead simply find very good and get the job done.
Paula



Joined: 27 Mar 2013
Posts: 4

View user's profile Send private message

PostPosted: Sat Apr 06, 2013 6:50 am     Reply with quote

Dear all,

Thanks for your reply. In fact the reason I'm going to use transformerless power supply for my circuit is that i need to fit my circuit in a 3x3 box and there is no room for transformer. And since the load is very small, i thought that transformerless power supply is ideal.
Ttelmah



Joined: 11 Mar 2010
Posts: 19326

View user's profile Send private message

PostPosted: Sat Apr 06, 2013 9:23 am     Reply with quote

3x3 what?. Inches?. cm?. mm?. The last time I used transformer-less, the entire circuit had to go into a volume less than 0.5cc. It was actually built into the plastic of a mains plug.
Small transformers are readily available, and a _lot_ safer. Off the shelf transformers about 3cm*3cm*1.5cm are readily available.

Best Wishes
Paula



Joined: 27 Mar 2013
Posts: 4

View user's profile Send private message

PostPosted: Sat Apr 06, 2013 11:10 am     Reply with quote

If i am not mistaken, i already said that it will be an electrical project. 3x3 is the british standard wall box. Sorry i assumed that everybody is aware. Sorry i took it for granted! In fact as you said Ttelmah this will be a kind of project similar to yours. Can you send me some photos if you have to have an idea of the design? Really appreciated.
bkamen



Joined: 07 Jan 2004
Posts: 1611
Location: Central Illinois, USA

View user's profile Send private message

PostPosted: Sat Apr 06, 2013 3:25 pm     Reply with quote

Paula wrote:
3x3 is the british standard wall box. Sorry i assumed that everybody is aware.



"everyone" is from different parts of the world.
Those different parts can use very different forms of AC power.

So right from your initial post, you failed to mention which electrical standard you wanted to work with.

"AC on a breadboard" using only "2A" can mean a wide range of things.

1: AC -- well, Audio is AC. So can be a digital square wave.
2: 2amps -- well, this could be at 5V or 12V or 1,000,000 volts.

Ultimately, I'm concerned that if you need to ask these questions on a forum where the primary top is NOT concerning your question: You need to find a professional to help you.

moreso in the UK than the, 220VAC will KILL you.

On a breadboard, there may or may not be enough insulation between contact sets to handle 220VAC (311volts peak) to restrain arcing.

You should really seek out a qualified instructor/professional to guide you through your design.

Regards,

-Ben
_________________
Dazed and confused? I don't think so. Just "plain lost" will do. :D
ezflyr



Joined: 25 Oct 2010
Posts: 1019
Location: Tewksbury, MA

View user's profile Send private message

PostPosted: Sat Apr 06, 2013 3:43 pm     Reply with quote

Hi Paula,

Just to steer the thread back "on topic", which PIC are you using, and what is your compiler version Rolling Eyes ?

John
Mike Walne



Joined: 19 Feb 2004
Posts: 1785
Location: Boston Spa UK

View user's profile Send private message

PostPosted: Sun Apr 07, 2013 4:07 am     Reply with quote

You're still telling us very little about exactly what you're trying to do.

1) Student/hobby project, commercial product?
2) PIC?
3) Compiler version?
4) Inputs / Outputs?
5) Where does the 2A appear?
6) Could you use an isolated power supply?
7) Your experience?

We're not trying to discourage you from using PICs.
We're all concerned that without experience, working on live mains is very dangerous.


Mike
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group