Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Post
  • Reply
Chalupa Joe
Mar 4, 2007

clredwolf posted:

It's a great little program actually, but it does no simulation and it does not automatically lay traces (which is half the reason to use a PCB making program). The free version of Eagle is a bit harder to use, but can automatically figure out the best way to connect everything together and lay traces for you.

In my experience, 99.99% of the time where the Auto-router is used, you end up with a board that won't work properly (i.e. susceptible to EMI), as they're all variations on "Drunkard dragging a wet bit of string around".

this page: http://www.alternatezone.com/electronics/pcbdesign.htm has a good tutorial including examples of what, and what not to do when laying out boards.

Adbot
ADBOT LOVES YOU

Chalupa Joe
Mar 4, 2007
I found that toner transfer using paper took too long, and was too much hassle as it took me 3 or 4 tries (at 15 minutes each go) before I got something that I could etch.

Using Press-N-Peel blue available here, is much quicker, and nine times out of ten transfers perfectly on the first attempt.



mrbill posted:

I now have a Tek 453 scope on the way. :dance:

I received a Tek TDS2012B scope yesterday :woop: with a current probe on the way.

Chalupa Joe
Mar 4, 2007

babyeatingpsychopath posted:

I model this thing in LTSpice, and the waveform looks good. When I wire it on the breadboard, the LED is always on. What did I do wrong? If I don't hook the 555 to voltage, the LED is NOT on, so I know that's doing something.

The most likely problem is that something is hooked up wrong. Double-check your wiring and component pinouts.
It is also possible although less likely, that your transistor is leaky/damaged. Try another one.

Chalupa Joe
Mar 4, 2007

Nerobro posted:

So, tonight I actually got some silicon hooked up on my bicycle headlight project. I'm using a 7805 vreg to cut down the power from a 9.6v 2.3ah battery pack. I'm looking to drive 50leds at 20ma each. That butts right up against the limit of the 7805.

I'm using groups of 10leds and 10ohms of resistors. I'm getting exactly the right voltage drop across the LED's. (that's 3.2v) So I think I've got that part right.

Tonight I hooked up the 7805 and 20 leds. The 7805 got quite warm. I do not yet have a heatsink on it. That's something I can address easily... it's something I'd like to NOT address, if you get my drift. Which brings us to my question.

I've never built a SMPS. I'd like to build one. Every switch mode power supply I've looked at seems to have a whole bunch of components. And I get somewhat lost while searching digikey for the proper one.

Can any of you give me recommendations on a chip to go with? I was hoping to find something in a 5 pin to-220 package. And what I should do for the inductor?

The 7805 is rated to max current of either 1A or 3A (depending on the version) and only with an adequate heatsink.

If you need more current output (and you do), you can use a shunt circuit something like this:
http://www.rason.org/Projects/vreg/vreg.htm

R1 and R2 are used to increase the output voltage, so aren't necessary for your application.

you should also have a 5.1V Zener connected between Vout, and Gnd, which will clamp the voltage to a non-LED destroying level if the 7805 fails.

Chalupa Joe
Mar 4, 2007

ante posted:

What a classmate of mine started doing out of frustration at our limited options, was just using a cellphone charger.
Buy a 5v cellphone charger at a mall or something, shouldn't cost more than $10. Then, just split the output wire. Put them in banana jack output plugs or something from radio shack.

Just a quick word of warning, if the charger is 1) switchmode, and 2) has a two pin (ungrounded) plug, the output may float at half your mains voltage (wrt ground) due to one or more class Y1 capacitors which may be connected between the primary (mains) and secondary (5V) circuits to lessen EMI.

see the schematic here on page 6 (CY1 is the capacitor in question).

This can be more than enough to destroy sensitive parts... and damage some not so sensitive parts if you plug in connections to other grounded equipment while things are powered up.

SMPSs with a 3 pin plug (i.e. they're grounded) or linear supplies don't have this problem.

Chalupa Joe
Mar 4, 2007
why not do two gain stages in series each with a gain of somewhere around 10?
The LM324 is a quad opamp IC after all, and this will give you an overall gain of 100 leaving one opamp free for an output buffer.


Other thoughts: is a gain of 100 close to your supply rails?
Even though the LM324 can work on a single supply, you'll still need to bias your input signal.

something like:


This should give a voltage gain of 121 (11x11).

R1 and R2 set your bias voltage, in this case 4.5V or half of the supply (9V, but 12V should be fine)

Because resistors (and active components) have thermal noise, and reactances (capacitors/inductors) don't, we add some more components to our biasing network...

C1 (47uF, the value like everything else in the schematic, was just chosen arbitrarily) is used to decrease thermal noise from the biasing resistors by shunting it to ground, R3 is a high value resistor (any value higher than 470k is fine) to 1) stop the voltage divider being loaded down by whatever you're biasing, and 2) the lower current through the resistor = the lower the noise.

Edit: your volume control should be after the output of the gain sections, otherwise you're just moving your input closer to the noise floor and amplifying that.

Edit2: clarification? Noise a result of EMI/RFI is not what I'm talking about.
Resistors: have Thermal noise proportional to their absolute temperature (in degrees Kelvin), current noise proportional to the current through them, and some more noise depending on what they're made from (carbon is noisier than metal film).

Inductors generate as much noise as a piece of wire does, i.e. next to none, yes it's always there but for practical purposes it can be ignored.

If your electrolytic capacitors aren't bubbling, you're doing it wrong. :colbert:

Chalupa Joe fucked around with this message at 21:20 on Jun 13, 2008

Chalupa Joe
Mar 4, 2007

Jonny 290 posted:


Edit: Further question: On my supply I used a 3 prong cord, used hot/neutral and heatshrinked the ground wire inside the supply, so it's currently disconnected. My PS has a metal case, and the secondary center tap connected to ground. Is it a good idea for me to connect the AC ground to chassis ground?

If you'd like to avoid possible electrocution, it is absolutely imperative that you do this.

As for ground loops... in a linear supply, your primary and secondary sides should be electrically isolated?

Chalupa Joe fucked around with this message at 10:54 on Jun 17, 2008

Chalupa Joe
Mar 4, 2007

Snaily posted:

I'm fairly sure this is exactly what the mirror command in Eagle CAD does.

It is:

In the schematic editor MIRROR flips the symbol over so that your nets can be laid out clearly without messes of wire going everywhere.

In board layout MIRROR moves a component (or group of components) from one side of the board to the other.

Of course... in board layout view, you're looking down on the top (component side for through hole) of the board, anything on the bottom layer appears to be "backwards" but when the actual PCB is made, it ends up around the right way.

Chalupa Joe
Mar 4, 2007
I don't get what you're trying to do? maybe some pictures would help?
is PINSWAP is what you need...
From the Manual

Cadsoft posted:

Pinswap and Gateswap
Pins or Gates that have the same Swaplevel can be exchanged with one 
another. These properties are specified either when the Symbol is defined 
(Pinswap) or when the Device is created (Gateswap).

The PINSWAP command will swap the pins of non-polarised components (resistors/inductors/some capacitors), i.e. This is the same as physically putting the device in "backwards"

Or for things like logic gates, will swap input pins since they are equivalent (you'd do this to make the board easier to lay out).
GATESWAP is for things like dual op-amps etc. where you have multiple copies of the same thing in one package.

Chalupa Joe
Mar 4, 2007

dv6speed posted:

I'm looking for a product, kind of like a heat sink grease, that can be applied to mechanical electrical connections to help improve electrical conductivity and prevent future oxidation of the metal.

Does such a product exist, and if so, what is it called and where do I get it? If it does not exist, I could use the names and phone numbers of a good chemist and patent attorney.

Thanks for any help!

Switch lubricant, or Contact cleaner with lubricant is what you're looking for.

Chalupa Joe
Mar 4, 2007

ANIME AKBAR posted:

I posed the same question on the altera forums, and got a snarky reply from an admin that any output ports defined in your top level file will be assigned to pins, whether or not they were done explicitly in the pin planner. I normally have a few ports in my design that are only there for the sake of simulation, and aren't pinned out manually, so they were being randomly assigned pins during compilation. I still have no idea why this is the case or how to prevent it, and was pretty much told to deal with it by the admin. Anyways, removing the extra ports in my design appeared to solve the issue, but it's a pain in the rear end to have to add and remove ports every time I want to simulate.

As for this multitrack interconnect feature, I searched through those documents for the term but couldn't find anything that suggests it's related to my problem. I'm pretty sure it's an issue with quartus, not the device itself.

I'm assuming by simulation you mean the waveform viewer?

You can prevent this "problem" by not assigning ports (which get mapped to pins on the device either explicitly by you, or implicitly by the compiler) to internal signal nets, and instead, naming your internal nets something other than "wire000001" or whatever they default to.

These internal signals can all be accessed from within the waveform viewer. When you add signals it defaults to a filter of "pins: all" but you can change it to show nets/registers/etc.

It's not a problem in Quartus, there's a difference between what you're telling the software to do, and what you want the software to do.

Edit: had some terminology mixed up.

Chalupa Joe fucked around with this message at 04:43 on Apr 9, 2010

Chalupa Joe
Mar 4, 2007

AnomalousBoners posted:

I talked to a well learned man about this today and he suggested getting an analog multimeter to test the caps. The reason being it allows you to see a quick spike and then the discharge... Though apparently we have cap testers here at school....so yea I will probably be bringing them in here. Also yes these are polarized "can type" caps.


It's a good idea to have both an analogue and a digital multimeter as there are situations for both types where one gives nonsensical measurements where the other doesn't.

Chalupa Joe
Mar 4, 2007

Slanderer posted:

Curved lines?! That's just weird

Wires going through components? That's just wrong.

Chalupa Joe
Mar 4, 2007

Silver Alicorn posted:

Here's an issue, though. The inverter board used some sort of RoHS solder, so I had to alloy it with my own to get it to melt, and it left some solder plugs in the vias. I tried a solder sucker and three brands of solder wick, and I couldn't get them clear, so I ended up just dremeling it out, which may or may not have damaged the vias. Is there something obvious I missed here?

Yes, melt the solder, then poke a wooden toothpick into the hole, thus displacing the solder for easy wicking...
Or, if you have spare hands, or some means of holding the board steady: heat one side of the hole, and use a solder sucker on the other side sucking the molten solder through the board, alternatively there's the much more dangerous version of this method: melt the solder and blow it out of the hole with compressed air (this is a terrible idea, please don't do this). :supaburn:

Chalupa Joe fucked around with this message at 08:38 on May 2, 2012

Chalupa Joe
Mar 4, 2007
This is probably anecdotal, but all the ones I've replaced were 10V rated CapXon brand capacitors, in the range of 1000-3300uF. They don't appear to be low ESR, so standard caps are probably fine to use.

Panasonic caps of the same value, 16 or 25V and minimum 85șC temp rating depending on space are what I've used for replacements

Chalupa Joe
Mar 4, 2007

Stabby McDamage posted:

I'm using EAGLE to design a PCB with a big giant matrix of connections. I could whip up a spreadsheet of connections very easily, but hand connecting them in EAGLE would be tedious to the max. Is there a way to automate import of bulk connections?

I don't even care how clean the schematic looks at this point, I just want to tell EAGLE what's up so I can get to the layout tool and be done.

I'm not sure what you mean by matrix, but would using a BUS (a multi-wire net) instead of multiple single NETs help?

It should be possible to script but it's not something I've ever looked into.

Adbot
ADBOT LOVES YOU

Chalupa Joe
Mar 4, 2007
Autodesk have released their updated version of Eagle after buying out CadSoft , and basically if you haven't switched to KiCad yet, now is a good time.

Always on subscription only pricing is the main thing people are upset about, the standard licence is limited to 2 layers (it was 4), and routable area for the free version has been halved.

Chalupa Joe fucked around with this message at 19:23 on Jan 23, 2017

  • 1
  • 2
  • 3
  • 4
  • 5
  • Post
  • Reply