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
SnoPuppy
Jun 15, 2005

longview posted:

I have a small audio circuit that's powered by a step-up switching converter, I want to reduce the RF noise coupled to the output (a few mV).

The switching module runs at around 100 kHz, and I'm using ceramic bypassing caps near the ICs and electrolytics near the supply, I was thinking about adding a series inductor to the supply.
I'm concerned about instabilities during transients, how should I calculate the correct value/what frequency do I calculate for?

It depends on how large your transients will be - the capacitance after the inductor/ferrite will have to supply the charge.

As far as stability is concerned, Q=(1/R) * sqrt(L/C).
Try to minimize Q, but definitely keep it < ~0.7. Adding series resistance to the inductor can help, at the expense of power loss. Sometimes thats the only way though, if you have a large inductor and don't have room for a large amount of capacitance.

Adding an LDO will help clean up the low frequency noise too, if you can tolerate the power loss.

edit:
If you don't want to use a full on LDO, and can tolerate ~0.65V drop in your rail, you can use a single NPN transistor, a resistor, and a capacitor to make a very low noise voltage source.
Make an RC filter from your noisy power rail to the base of the transistor. Also connect the collector to the noisy power rail. The clean output is the emitter.

Down side is the voltage drop, and the clean output is no longer regulated so it will drift a bit more with temperature.

SnoPuppy fucked around with this message at 15:56 on Jun 13, 2012

Adbot
ADBOT LOVES YOU

bobua
Mar 23, 2003
I'd trade it all for just a little more.

SnoPuppy posted:

That sounds like ringing due to the cable inductance. Can you take a scope screen shot and post it?
Have you looked at the power rail at the part with your scope? Does it also show ringing?

Also, when you're probing, how long is the scope ground lead? It should be as short as possible to minimize probe parasitic effects.

What does this mean?

You should connect the capacitor between power and ground. That sounds like you just shorted the capacitor leads together, which as you found, does nothing.

edit:
Also, try to put power and ground on each half of the twisted pair.

I have never done a scope shot, but I'll give it a go today.

The power rail has a little noise, but doesn't seem much different than with a short cable.

On the capacitor, I usually hook it up correctly, but thought you guys were suggesting shorting it for some reason I didn't understand.

'shorting the ground pin' meant connecting the ground pin on the pandaboard's serial port directly to the ground rail on the far circuit via a short test lead.

I'll try the power\ground swap today and report back.

longview
Dec 25, 2006

heh.

SnoPuppy posted:

It depends on how large your transients will be - the capacitance after the inductor/ferrite will have to supply the charge.

As far as stability is concerned, Q=(1/R) * sqrt(L/C).
Try to minimize Q, but definitely keep it < ~0.7. Adding series resistance to the inductor can help, at the expense of power loss. Sometimes thats the only way though, if you have a large inductor and don't have room for a large amount of capacitance.

Adding an LDO will help clean up the low frequency noise too, if you can tolerate the power loss.

edit:
If you don't want to use a full on LDO, and can tolerate ~0.65V drop in your rail, you can use a single NPN transistor, a resistor, and a capacitor to make a very low noise voltage source.
Make an RC filter from your noisy power rail to the base of the transistor. Also connect the collector to the noisy power rail. The clean output is the emitter.

Down side is the voltage drop, and the clean output is no longer regulated so it will drift a bit more with temperature.

Wow that definitely sounds like more trouble than I want, I'll skip the series inductors and add LDO regulators like the LT1963/LT3015 with the right capacitors.

I measured the noise level on the output and we're only talking 5-6mV of 360kHz RF, noise in the audio band was less than 10µV so it's hardly a big problem.

E: I'll also put in a capacitor in the feedback loop to limit the bandwidth to about 100 kHz, currently it extends to about 800 kHz so there may be some coupling through the input.

longview fucked around with this message at 16:15 on Jun 14, 2012

SnoPuppy
Jun 15, 2005

longview posted:

Wow that definitely sounds like more trouble than I want, I'll skip the series inductors and add LDO regulators like the LT1963/LT3015 with the right capacitors.

I measured the noise level on the output and we're only talking 5-6mV of 360kHz RF, noise in the audio band was less than 10µV so it's hardly a big problem.

It's actually not that bad.

A 1uH inductor (ESR >= 20 mOhm) and a 100 uF cap (ESR >= 100 mOhm) should work for 500 mA transients and provide ~27 dB attenuation at 360 kHz.

Or 10 uH @ 250 mOhm ESR and 200 uF @ 50 mOhm ESR would give you ~45 dB loss.

To be honest, I usually just use spice to see if I'm getting too much ringing.

longview
Dec 25, 2006

heh.

SnoPuppy posted:

It's actually not that bad.

A 1uH inductor (ESR >= 20 mOhm) and a 100 uF cap (ESR >= 100 mOhm) should work for 500 mA transients and provide ~27 dB attenuation at 360 kHz.

Or 10 uH @ 250 mOhm ESR and 200 uF @ 50 mOhm ESR would give you ~45 dB loss.

To be honest, I usually just use spice to see if I'm getting too much ringing.

I've already ordered the regulators but maybe I'll put in a LC filter between the SMPS and the LDOs to improve the high frequency rejection, then it'll still have a properly regulated supply and the RF rejection.

Thanks!

bobua
Mar 23, 2003
I'd trade it all for just a little more.

Back to fundamentals time.

I was wrapping my head around the concept of high voltage\lower amps to reduce transmission power loss(which I finally 'got') but I'm confused on another point.

given a simple textbook circuit... 10v battery --> 100ohm resistor --> lightbulb --> 100ohm resistor --> negative terminal of battery, the book will always give you the resistance of the lightbulb and ask you for the the amps, of give you the amps and have you compute the resistance of the bulb... Same thing, if you replace the bulb with a pot, you can change the current flowing through the circuit at any time.

What I don't get, is when you replace the bulb with a device that pulls more amps. The voltage of the battery can't change, and a wire with 100ohms of resistance is going to continue to have 100ohms of resistance, but MORE amps can be pulled out of the battery. I'm missing something simple about ohm's law or something:(

Krenzo
Nov 10, 2004

bobua posted:

I'm missing something simple about ohm's law or something:(

P=I2*R <-> P=I*E Since the voltage/resistance stays constant, as power increases, current increases.

Corla Plankun
May 8, 2007

improve the lives of everyone

bobua posted:

Back to fundamentals time.

I was wrapping my head around the concept of high voltage\lower amps to reduce transmission power loss(which I finally 'got') but I'm confused on another point.

given a simple textbook circuit... 10v battery --> 100ohm resistor --> lightbulb --> 100ohm resistor --> negative terminal of battery, the book will always give you the resistance of the lightbulb and ask you for the the amps, of give you the amps and have you compute the resistance of the bulb... Same thing, if you replace the bulb with a pot, you can change the current flowing through the circuit at any time.

What I don't get, is when you replace the bulb with a device that pulls more amps. The voltage of the battery can't change, and a wire with 100ohms of resistance is going to continue to have 100ohms of resistance, but MORE amps can be pulled out of the battery. I'm missing something simple about ohm's law or something:(

The main problem with your understanding is the notion of "Pulling" more amps. It isn't really pulling them, it is just allowing them to pass through.

If there was nothing where the lightbulb was except a straight wire, the circuit would have much higher amperage because the resistance would be lower (and amperage is inversely proportional to resistance: I=V/R).

I struggled with these concepts at first too, because it seems like there are too many variables moving around at once. It is REALLY IMPORTANT to get this if you're pursuing an electrical engineering degree so keep working problems until you have a really strong understanding.

In most basic cases, one part of V=IR will be constant, one will be your independent variable, and one will be your dependent variable. In your case, V is constant, I is the dependent variable and the reistance of the lightbulb is your independent variable. Your function is going to be I = 10V / (100ohms + Lightbulb_Ohms +100ohms)

sixide
Oct 25, 2004

bobua posted:

What I don't get, is when you replace the bulb with a device that pulls more amps. The voltage of the battery can't change, and a wire with 100ohms of resistance is going to continue to have 100ohms of resistance, but MORE amps can be pulled out of the battery. I'm missing something simple about ohm's law or something:(

With a purely resistive load, the maximum current in this circuit would be 50mA with a dead short (10V/200R) Let's pretend there's a 1A constant current source replacing the light bulb. This might seem to not make sense, but in reality your "load" is now another "source" (these distinctions might be more of a hindrance than a boon).

Your source voltage is still fixed, the loop current is fixed, and the resistances are fixed. What does this mean? Basically, your CCS "input" must be 100V (1A*100R) lower than the positive output of the voltage source. Your CCS "output" must be 100V (1A*100R) higher than the negative output of the voltage source.

If you ground the negative terminal of the voltage source, this means +10V, -90V, +100V, 0V at the four nodes clockwise around the loop (starting at voltage source positive).

Likewise if you ground the "output" of the CCS, the four nodes are -90V, -190V, 0V, -100V.

This is probably not realizable, but in ideal-element circuits it is a good exercise.

bobua
Mar 23, 2003
I'd trade it all for just a little more.

I'm not dumb, you guys are obviously just terrible at explaining things :smug:

Let me ask it this way... if I have a 12v battery, and 4 ohms of resistance in the wires, will I have an absolute maximum current of 3amps in the circuit, no matter what I add to it?(assuming I never remove any of that 4ohms of resistance?

sixide
Oct 25, 2004

bobua posted:

I'm not dumb, you guys are obviously just terrible at explaining things :smug:

Let me ask it this way... if I have a 12v battery, and 4 ohms of resistance in the wires, will I have an absolute maximum current of 3amps in the circuit, no matter what I add to it?(assuming I never remove any of that 4ohms of resistance?

Assuming an ideal battery and no other energy sources, yes.

Delta-Wye
Sep 29, 2005
And assuming you're connecting everything in series. If you put another load in parallel with the resistance, the resistor will still draw 3 amps, and the other load will draw (12v/R) amps of current.

Slugworth
Feb 18, 2001

If two grown men can't make a pervert happy for a few minutes in order to watch a film about zombies, then maybe we should all just move to Iran!
I have a little fm transmitter for my ipod, and recently it began losing power unless the power cord was bent at a very specific angle where it enters the device. I figured "Oh, there must be a loose connection, I can totally fix that. I bet." and opened it up. When I did, I saw that the solder points for the power seem to be completely intact. So, any ideas as to what's wrong? I can't imagine it's the other end of the wire (the 12v plug) because the intermittent power loss was completely dependent on this end of the wire being bent in a specific direction.

I've stripped the cable sheathing about an inch from the end to see if either wire was damaged (And in the process, removed what appears to be shielding, so I've probably messed things up pretty decently anyways), but the wire seems ok. Can solder points look and feel fine, but not be functional for whatever reason?

ANIME AKBAR
Jan 25, 2007

afu~

Slugworth posted:

Can solder points look and feel fine, but not be functional for whatever reason?
Depends on how you're looking at the joint. You should be looking wherever solder contacts another conductor and verify it makes a sturdy and smooth transition between the two alloys.

Another possible issue is the power jack for the transmitter has bad solder joints. Find out if the intermittent behavior depends only on the wire bending, or on force/torque being exerted on the cable jack due to said bending.

Lets Play Arson
Aug 5, 2007
What kind of fidelity can you expect to get with the photo paper toner transfer method of etching PCBs? I'm thinking about trying to save money, plus maybe learn some stuff, by avoiding ordering PCBs from europe. But they make a bit use of surface mount ICs with relatively close pins.

Slanderer
May 6, 2007

Lets Play Arson posted:

What kind of fidelity can you expect to get with the photo paper toner transfer method of etching PCBs? I'm thinking about trying to save money, plus maybe learn some stuff, by avoiding ordering PCBs from europe. But they make a bit use of surface mount ICs with relatively close pins.

I can't remember exactly what pitch I was able to get down to, but it was pretty fine. I only judged it to be a waste of my time due to the effort needed to drill the vias, the lack of soldermask, and the difficulties of soldering some SMT parts without a tinned board (tinning by hand often puts down too much solder, and SMT parts dont lie flat for hand soldering).

Zuph
Jul 24, 2003
Zupht0r 6000 Turbo Type-R

Lets Play Arson posted:

What kind of fidelity can you expect to get with the photo paper toner transfer method of etching PCBs? I'm thinking about trying to save money, plus maybe learn some stuff, by avoiding ordering PCBs from europe. But they make a bit use of surface mount ICs with relatively close pins.

Here's a test board I did about a year ago:


pcbtest by bradluyster, on Flickr

.5mm pitch is possible only if you go back with magnification and cut out teeny slivers of leftover copper. Even then, it's iffy and labor intensive.

In these days of cheap Chinese PCBs, you're not going to save any money, especially if you legally dispose of your copper-infused etchent. And with the cheap chinese PCBs, you get solder mask, silk screen, the whole 9 yards.

Krenzo
Nov 10, 2004

Slanderer posted:

(tinning by hand often puts down too much solder, and SMT parts dont lie flat for hand soldering).

You can buy liquid tin that you immerse the board in for several minutes, and it coats the copper very nicely: https://www.alliedelec.com/search/productdetail.aspx?SKU=70125554

I never tried the toner transfer method, but I did use the photo developer method. It was easy to do, but it didn't turn out very good for SMDs. It's difficult to get the exposure just right and then dissolve the right amount of ink for very precise work.

Lets Play Arson
Aug 5, 2007
Thanks for the replies.

Kinda kills it when they do most of the leg work for you, but then it kinda kills it when you're paying extra for the privilege of doing the leg work yourself. Hobbies, huh?

Slanderer
May 6, 2007

Zuph posted:

Here's a test board I did about a year ago:


pcbtest by bradluyster, on Flickr

.5mm pitch is possible only if you go back with magnification and cut out teeny slivers of leftover copper. Even then, it's iffy and labor intensive.

In these days of cheap Chinese PCBs, you're not going to save any money, especially if you legally dispose of your copper-infused etchent. And with the cheap chinese PCBs, you get solder mask, silk screen, the whole 9 yards.

I'm fairly certain I got 5mm pitch to work just fine--except that when it came time to solder the part, the lack of soldermask meant preventing bridges was harder than usual.

I also rain into trouble with a few long, thin traces on the board that were broken in the middle.


But, still, drilling and filling vias was the hardest and most annoying part. While the top and bottom layers ended up lining up well enough, putting everything through the drill press was a huge timesink. I know they have weird rivet-via things that are easier than using tinned bus wire, but it's still a hassle.

My Rhythmic Crotch
Jan 13, 2011

I haven't touched hardware design in ... about 12 or 18 months, so I thought I would ask for some advice touching up an old design.

What's the cleanest way to automatically detect and switch between two power supplies, let's say USB and battery power? Switches or jumpers are out. I also don't want to do something cheesy like diode or-ing the supplies together... but then again I might if no other solutions pop up.

Fake edit: I have fuzzy recollections of a part from LT specifically for this job, but I thought I would ask anyway.

taqueso
Mar 8, 2004


:911:
:wookie: :thermidor: :wookie:
:dehumanize:

:pirate::hf::tinfoil:

My Rhythmic Crotch posted:

I haven't touched hardware design in ... about 12 or 18 months, so I thought I would ask for some advice touching up an old design.

What's the cleanest way to automatically detect and switch between two power supplies, let's say USB and battery power? Switches or jumpers are out. I also don't want to do something cheesy like diode or-ing the supplies together... but then again I might if no other solutions pop up.

Fake edit: I have fuzzy recollections of a part from LT specifically for this job, but I thought I would ask anyway.

Look for "ideal diode mosfet controller" or "power supply or-ing controller". I just made a board that uses a couple LM5050-1s to select between two sources. Voltages can be up to 24V in that project. The LM5050 might not be the best choice for a lower-voltage setup. I know I was looking at a few options that could do what I wanted with just 1 IC, but not at 24V.

Pretty much all of these ICs have sample circuit diagrams for USB/battery switching. I'd bet that it is one of the most common use cases.

taqueso fucked around with this message at 21:57 on Jun 19, 2012

ANIME AKBAR
Jan 25, 2007

afu~

My Rhythmic Crotch posted:

Fake edit: I have fuzzy recollections of a part from LT specifically for this job, but I thought I would ask anyway.
Yes, Linear Tech has tons of components to do this:
http://parametric.linear.com/powerpath_controllers_*_ideal_diodes

longview
Dec 25, 2006

heh.
Why aren't capacitor ESR meters built into multimeters?

I just improvised one using an audio generator to locate a broken capacitor in a crossover filter, measuring with a capacitor tester/diode tester/running a test signal through the filter into an AC voltmeter it read fine, but with the ESR meter it developed significantly higher voltage than a known-good one.

Poopernickel
Oct 28, 2005

electricity bad
Fun Shoe
I realize this might be starting a religious war, but can somebody recommend me a good family of microcontrollers to learn? I've got a fair amount of electronics experience, but I'd like to move some of my designs from FPGA-based systems to smaller microcontroller-based systems. I've worked with "soft" microcontrollers inside of FPGA logic, but I've never done a standalone uC design.

My main criteria are:
1) Easy to design circuits around.
2) Easy to obtain, although unit price isn't much of a concern for me.
3) Good design tools (ideally free ones) which work on Linux or Mac OS X.

The obvious choices are PIC, AVR, and MSP430 but I've had a hard time narrowing down my choice further. Or should I just start on 32-bit and stay there?

Poopernickel fucked around with this message at 08:56 on Jun 21, 2012

Delta-Wye
Sep 29, 2005

Poopernickel posted:

I realize this might be starting a religious war, but can somebody recommend me a good family of microcontrollers to learn? I've got a fair amount of electronics experience, but I'd like to move some of my designs from FPGA-based systems to smaller microcontroller-based systems. I've worked with "soft" microcontrollers inside of FPGA logic, but I've never done a standalone uC design.

My main criteria are:
1) Easy to design circuits around.
2) Easy to obtain, although unit price isn't much of a concern for me.
3) Good design tools (ideally free ones) which work on Linux or Mac OS X.

The obvious choices are PIC, AVR, and MSP430 but I've had a hard time narrowing down my choice further. Or should I just start on 32-bit and stay there?

All of those would be fine. I would posit that MSP430 has a steeper learning curve than PIC or AVR, but if you are starting at FPGA soft cores it shouldn't be overly outrageous. Any idea what peripherals you may need?

longview
Dec 25, 2006

heh.
What sort of projects do you want to use them with; do you need a lot of computing power in them?

There's a lot of fancy looking AVR and ARM things out there that someone else will have to talk about, personally I use PIC ones for no good reason other it's simple enough and it's what my school taught me.
Getting started with making something is very simple since you just need any clone PICKit 3, a micro of your choice and a (free) copy of MPLAB X and the HI-TECH C compiler.

The latest MPLAB X is based on Eclipse I think, it works pretty well, and no hidden pay-for features except some compiler optimizations. The HI-TECH C compiler for low-end devices is pretty decent, they charge money to enable certain optimizations but that's usually not critical.
Also the documentation on chip-specific things is often poor in the C-documentation so I often have to keep the datasheet open for registers to set, then cross-reference that with the .h file to see what names they gave it. It's not really a big deal once you've gotten started though.

They've also fallen slightly into the Arduino-trap of implementing a bunch of bit-banging functions as part of their API. It's probably useful for when you just need to make something work but it doesn't really warn you that you're doing SPI in software instead of using the controller, for example.

Microchip parts are also easy to find, both on ebay for buying bulk cheapos and reputable suppliers if you need really advanced ones or better QC. Their parts-selector is also very good.

Delta-Wye
Sep 29, 2005

longview posted:

The latest MPLAB X is based on Eclipse I think, it works pretty well, and no hidden pay-for features except some compiler optimizations. The HI-TECH C compiler for low-end devices is pretty decent, they charge money to enable certain optimizations but that's usually not critical.

Netbeans, for whatever it's worth. I've used Eclipse for some TI DSP chips and it was a... negative experience.

I've actually been able to use most of my development software totally crossplatform (OSX, Windows, and Linux) but have been hampered by hardware support on non-windows platforms for my programmers.

Blotto Skorzany
Nov 7, 2008

He's a PSoC, loose and runnin'
came the whisper from each lip
And he's here to do some business with
the bad ADC on his chip
bad ADC on his chiiiiip

longview posted:

PIC stuff

Nb. that if you use Microchip's compiler instead of the Hi-Tech one a lot more of the register names match. It also doesn't try to hide the fact that you really only have one ISR the way Hi-Tech does, and iirc has some handy bit manipulation helper things.

movax
Aug 30, 2008

I'm a PIC fan-boy, but if you're OK with the slightly-lower learning curve (steeper learning curves mean easier :argh:), the MSP430 has the lowest cost-of-entry thanks to the LaunchPad. PICKit3s are $50 I think, but the LaunchPad is $4.30. I do so much with PICs I bought a Real ICE and a LVDS driver-kit (~$650 all together I think) to make my life easier.

MPLAB X is starting to grow on me a bit; I stayed true to MPLAB IDE for the longest time, but it's OK I guess. Looks like Microchip released "new" compilers, or renamed their old ones? You can now get XC8/XC16/XC32.

Blotto Skorzany
Nov 7, 2008

He's a PSoC, loose and runnin'
came the whisper from each lip
And he's here to do some business with
the bad ADC on his chip
bad ADC on his chiiiiip
Current electronics status: meeting with the analog guy from Cypress in about an hour to see if we can get ENOB > 17 bits from the ADC on our PSOC 5 project without disabling Every Freaking Thing



PS movax what is your av from? I've always wondered.

movax
Aug 30, 2008

Otto Skorzeny posted:

Current electronics status: meeting with the analog guy from Cypress in about an hour to see if we can get ENOB > 17 bits from the ADC on our PSOC 5 project without disabling Every Freaking Thing



PS movax what is your av from? I've always wondered.

It's from the Algis Budrys book Who?


Pulp as gently caress (1958) but awesome. I got the super cleaned-up version for my avatar from a friend, forget which country's edition it came from.

Blotto Skorzany
Nov 7, 2008

He's a PSoC, loose and runnin'
came the whisper from each lip
And he's here to do some business with
the bad ADC on his chip
bad ADC on his chiiiiip

This is frequently the case; eg. Poul Anderson's Flandry stuff from the mid-late 50s was awesome in a very fun way, and probably peaked in the mid-60s when he had an optimal mix of pulp and (rather) hard sci-fi in the stories in that series.

movax
Aug 30, 2008

Otto Skorzeny posted:

This is frequently the case; eg. Poul Anderson's Flandry stuff from the mid-late 50s was awesome in a very fun way, and probably peaked in the mid-60s when he had an optimal mix of pulp and (rather) hard sci-fi in the stories in that series.

Aw man, those aren't available on Kindle :( Guess I'll order the paperbacks after I move, they look awesome.

Poopernickel
Oct 28, 2005

electricity bad
Fun Shoe

Delta-Wye posted:

All of those would be fine. I would posit that MSP430 has a steeper learning curve than PIC or AVR, but if you are starting at FPGA soft cores it shouldn't be overly outrageous. Any idea what peripherals you may need?

It's funny - I started with FPGA-based systems so I'm pretty good at making really complex electronics, but I have almost no experience with making really simple electronics (arguably an art in of itself).

Do the peripheral sets differ much between different manufacturers? Anybody have any peripherals that set them apart? I'd say my main selection criteria is about half "ease of engineering" and half peripherals. I don't build the volumes where I care if a chip costs $2 or $5, and learning curve doesn't worry me much as long as there are good tutorials.

EDIT: Also, which of the various families have reasonable RTOS support? I've been using a home-rolled cooperative task scheduler on my Microblaze projects, but I'd like to step up my game to something with threads and communications primitives.

Poopernickel fucked around with this message at 19:49 on Jun 21, 2012

Delta-Wye
Sep 29, 2005

movax posted:

:words: (steeper learning curves mean easier :argh:) :words:

:aaaaa: Everything I know is a lie!

quote:

Do the peripheral sets differ much between different manufacturers? Anybody have any peripherals that set them apart? I'd say my main selection criteria is about half "ease of engineering" and half peripherals. I don't build the volumes where I care if a chip costs $2 or $5, and learning curve doesn't worry me much as long as there are good tutorials.

It's mostly the same stuff everywhere. Configuration difficulty and edge-case features differ, but unless you're doing something fairly exotic everyone you mentioned provides processors in their product lines with whatever peripherals you may need.

Delta-Wye fucked around with this message at 20:19 on Jun 21, 2012

movax
Aug 30, 2008

Poopernickel posted:

It's funny - I started with FPGA-based systems so I'm pretty good at making really complex electronics, but I have almost no experience with making really simple electronics (arguably an art in of itself).

Do the peripheral sets differ much between different manufacturers? Anybody have any peripherals that set them apart? I'd say my main selection criteria is about half "ease of engineering" and half peripherals. I don't build the volumes where I care if a chip costs $2 or $5, and learning curve doesn't worry me much as long as there are good tutorials.

EDIT: Also, which of the various families have reasonable RTOS support? I've been using a home-rolled cooperative task scheduler on my Microblaze projects, but I'd like to step up my game to something with threads and communications primitives.

Most of them will share the same basic stable of peripherals; ADCs, SPI, I2C, UARTs, etc. The differences come in what families each brand chooses to shove them in (product/market segmentation I guess). MSP430s even at the low-end have a nice LCD control peripheral. Some tiny PICs come with an EEPROM for "free", or an integrated thermal sensor.

As for RTOS support, last I looked at FreeRTOS, they had solid support for bigger AVRs (ARM/AVR32), PICs (16-bit/32-bit) and MSP430, so you should be good there.

Delta-Wye posted:

:aaaaa: Everything I know is a lie!

I got it from a list of common misconceptions, now I'm "that guy" and will point it out to people. Steep learning curves are good!

Blotto Skorzany
Nov 7, 2008

He's a PSoC, loose and runnin'
came the whisper from each lip
And he's here to do some business with
the bad ADC on his chip
bad ADC on his chiiiiip

Otto Skorzeny posted:

Current electronics status: meeting with the analog guy from Cypress in about an hour to see if we can get ENOB > 17 bits from the ADC on our PSOC 5 project without disabling Every Freaking Thing

Btw as per this meeting, the answer to high precision analog problems with the PSoC 5 is "use a PSoC 3 instead because the PSoC 5 isn't actually a mature product; the SP1 for the PSoC 5 which actually works is in tape out and will be available Real Soon Now(tm)" :argh:

Poopernickel
Oct 28, 2005

electricity bad
Fun Shoe

movax posted:

I got it from a list of common misconceptions, now I'm "that guy" and will point it out to people. Steep learning curves are good!

Just to also be that guy, a learning curve could be [gain vs. time] just as easily as it could be [time vs. gain]. So be that guy at your own risk :v:

Adbot
ADBOT LOVES YOU

movax
Aug 30, 2008

Poopernickel posted:

Just to also be that guy, a learning curve could be [gain vs. time] just as easily as it could be [time vs. gain]. So be that guy at your own risk :v:

B-but the dependent variable goes on y :eng99:

(I'm bad at this)

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