newb's first project

I’ve been lurking through these forums for some time now, trying to resolve my issues, but I haven’t seen exactly what I’m looking for. I’m hoping someone can give me some direction.

I’m building a really simple circuit. It consists of 4 components, which I bought from Mouser:

[1 KOhms resistor

[Diode

[Resistor

[SSD

I have them wired up on my breadboard with no problems. The circuit works beautifully, so the next step was to build a PCB.

I read so much about EAGLE being great, so I downloaded it, and started reading. I made a schematic: http://i200.photobucket.com/albums/aa13 … ematic.png The only issues with this schematic that I can see, are that EAGLE didn’t have parts for the SSR or the resistor.

I printed out the first board design I made, and the SSR is about 4x the times of my actual SSR. I started reading several tutorials on designing your own libraries, but I guess I’m having issues with this. I know enough to be dangerous, and not enough to figure this out. It’s probably that I just don’t understand the datasheets.

I’m hoping for some direction as to what to do. I thought maybe using a generic resistor would be ok for that, but the SSR I can’t find anything similar. Should I just do a self-etch at home or something? I thought having a nice pretty PCB would be nice.](OJE-SH-105DM,095 TE Connectivity / OEG | Mouser)](http://www.mouser.com/Search/ProductDetail.aspx?R=2N2222Avirtualkey51120000virtualkey511-2N2222A)](http://www.mouser.com/Search/ProductDetail.aspx?R=1N4004virtualkey53310000virtualkey821-1N4004)](http://www.mouser.com/Search/ProductDetail.aspx?R=PR01000101001JR500virtualkey59420000virtualkey594-5073NW1K000J)

mandreko:
[SSD
[/quote]This is a PCB mounted coil relay. Is the link

above in error?

mandreko:
I made a schematic:

You can post EAGLE *.SCH and *.BRD files as there are

many EAGLE users on this forum. The actual files

contain much more insight into a design (and include

the part’s library files) than an image or screen shot.

mandreko:
I printed out the first board design I made, and the SSR is about 4x the times of my actual SSR. I started reading several tutorials on designing your own libraries, but I guess I’m having issues with this. I know enough to be dangerous, and not enough to figure this out. It’s probably that I just don’t understand the datasheets.

There’s a lot to be said for using existing parts!

(Even so, do check them carefully - a few library parts

have errors).

mandreko:
I’m hoping for some direction as to what to do. I thought maybe using a generic resistor would be ok for that, but the SSR I can’t find anything similar. Should I just do a self-etch at home or something? I thought having a nice pretty PCB would be nice.

A lot depends upon your timetable (BatchPCB takes 20days

give or take to deliver a PCB). If you’re set up to etch

boards at home there’s nothing quicker! I’ve been down

that path and decided its not for me.

I found a [very helpful tutorial here. It helped me with

creating my own library parts. Also, many of the

common parts were placed in generic libraries by the

Cadsoft folks in Germany. These use local vendors and

are metric, so they may not be very familiar to users

in the Americas.](Page not found - Seattle Pacific University)](OJE-SH-105DM,095 TE Connectivity / OEG | Mouser)

Odds are you’re going to have to make your own relay part. There aren’t too many standardized sizes for those. Just follow the SparkFun tutorial, and post here with questions.

Check the RCL library, which contains many random resistors, both through hole and surface mount. You’ll have to do some metric conversion to figure out sizes. Also, open up the library in the library editor, and hunt through the packages so you can see scale.

bigglez:
This is a PCB mounted coil relay. Is the link above in error

[EDIT: I see my mistake now. I meant to write “SSR” instead of “SSD”. That would make a huge difference]

I believe that link is correct. It is at least what I purchased. I thought it was an SSR, but perhaps it’s not. The part number was 677-OJE-SH-105DM. It does mention a coil in the specs, so perhaps it is. I’m not honestly sure. I know the part is a small blue box with 4 pins, and it functions correctly on my breadboard :wink:

Thanks also for the library tutorial. I have attempted to make a part library (mandreko.lbr), however I can’t seem to connect any net wires to it like I could the SSR which was in a pre-made library. I’ve gone through the instructions, as well as another great one on instructables.com a few times, and I’m not seeing what is being missed.

As you mentioned, I’ve posted all the files (hopefully) here: http://www.mediafire.com/file/kxnyzjnjw … switch.zip. The board is not laid out how I wanted, I’m dealing with another issue before I get that ready (I think the wires are getting mixed up going to the SSR when I convert to a board for some reason). It will be much more organized and compact when I’m done.

Most definitively a conventional relay. If nothing else, you’d notice on the price. You wouldn’t need the shunt diode for a Solid State version either :slight_smile:

Now, for the library:

Your pins are flipped, the connection point (the green circle) is inside the box.

Secondly, your pins are not on the default grid. You will save yourself MUCH heartache by ALWAYS putting pins and nets on the 0.1 inch grid in the schematic view. Eagle has a tendency to not connect stuff if its off the grid in this view (one of its quirks). Feel free to place text, lines, decorations around, just not pin connections and nets.

Here I thought the green circles would go in the box, since the pins are underneath the device. Chalk that one up to learning.

If I use the default grid, it becomes a little harder to get the pins exactly where they are on the device. However if I do it just on the symbol view of the component, that won’t affect the actual pcb creation will it, if they’re a little off? That’ll be the other view I had to create.

Just to clarify, default grid ONLY on the SCHEMATIC view. For footprints and board layout, you do need to change the grid :).

Your schematic pins were off the grid, basically making it impossible to reliably connect schematic nets to. Remember that the schematic is just a pretty picture and need not match reality.