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
ANIME AKBAR
Jan 25, 2007

afu~

catbread.jpg posted:

That's a pretty high efficiency requirement for 10 mW. Sure, it would be important if you wanted to extend it much further than 1 metre.
The power level really doesn't matter; that specification isn't possible at any power level. I'm not even factoring in the efficiency of the driving/receiving circuitry. It's impossible just due to the energy losses due to ESR and radiation of solid copper windings.

quote:

If you were sticking to a 1m design range, surely 0.1% efficiency would be tolerable for that power level.
What's tolerable isn't up to me, I'm afraid.

Adbot
ADBOT LOVES YOU

catbread.jpg
Feb 22, 2007
What winding configurations have you been looking at? If you've got directionality, a nice broad pancake winding will give good linkage in the mid-field.

A limit of a 5cm diameter will be the biggest problem there...

Zero crossing detection could be a good way of pumping an LC tank, I've never done anything like that.

Cyril Sneer
Aug 8, 2004

Life would be simple in the forest except for Cyril Sneer. And his life would be simple except for The Raccoons.
Why does the efficiency have to be 10%?

ANIME AKBAR
Jan 25, 2007

afu~

catbread.jpg posted:

What winding configurations have you been looking at? If you've got directionality, a nice broad pancake winding will give good linkage in the mid-field.
I'm building a test fixture on a 16cm wide, 1.5 meter long cardboard tube. I'll wind coils around each end so they're coaxial and coplanar.

quote:

Zero crossing detection could be a good way of pumping an LC tank, I've never done anything like that.
It's good when you just want to drive the hell out of it with no regard for efficiency and you have decent coupling. And most zero crossing/split phase driving schemes don't actually detect the crossings or use any kind of feedback. You'd normally just run the switches in complementary drive and tune the frequency to give the best output.

Cyril Sneer posted:

Why does the efficiency have to be 10%?

completely arbitrary, as far as I can tell.

catbread.jpg
Feb 22, 2007

quote:

It's good when you just want to drive the hell out of it with no regard for efficiency and you have decent coupling. And most zero crossing/split phase driving schemes don't actually detect the crossings or use any kind of feedback. You'd normally just run the switches in complementary drive and tune the frequency to give the best output.

Yeah, that sounds a bit poo poo. Especially when you have a variable resonance.

You'd want actual zero crossing detection coupled with a PLL with phase correction.

ANIME AKBAR
Jan 25, 2007

afu~
Eh, the more I think about it the more apparent it is that I'm going to have to settle for just driving the series resonant tank with a square wave. Class E amps require switches that are both low resistance and tolerate high voltages, which isn't feasible at the frequencies I'm dealing with. At least with square wave drive I don't need to worry about the voltage requirements. Just need to find good FETs with very low losses.

Mill Town
Apr 17, 2006

So, I just made my first SMT board the other day. It's a 3-channel LED dimmer controlled by an ATmega168 (not an Arduino, straight up assembly, bitches :whatup:).

Anyway, in order to connect the various connectors and things to the board, I used 1.27mm pads rather than headers because this board can't have any through-hole components. I'm finding that some of the solder pads are starting to lift, though, due to the various wires bending when open the case for debugging. How can I reduce the likelihood of this happening? I'm thinking larger pads and thicker traces leading up to them. Anything else?

Bonus: here's the board design. Sorry it's a bit busy.



Also, C1 is shorting out now so I can't enjoy my shiny new dimmer! :argh:

Edit: I'm not asking for any advice on C1, I know exactly why it's shorted and what I need to do to fix it.

Mill Town fucked around with this message at 09:58 on Jul 17, 2009

SnoPuppy
Jun 15, 2005

Mill Town posted:

So, I just made my first SMT board the other day. It's a 3-channel LED dimmer controlled by an ATmega168 (not an Arduino, straight up assembly, bitches :whatup:).

Anyway, in order to connect the various connectors and things to the board, I used 1.27mm pads rather than headers because this board can't have any through-hole components. I'm finding that some of the solder pads are starting to lift, though, due to the various wires bending when open the case for debugging. How can I reduce the likelihood of this happening? I'm thinking larger pads and thicker traces leading up to them. Anything else?

Tape. Or super glue.

Really you just need some type of strain relief so that the wires don't exert any force on the pads.

ANIME AKBAR
Jan 25, 2007

afu~
Strain relief will help (though it's hard if you can't drill any holes in the board), and so will using stranded wires.

Scarboy
Jan 31, 2001

Good Luck!
Yeah, using solid wire is pretty much asking to rip pads off the board.

Poopernickel
Oct 28, 2005

electricity bad
Fun Shoe
When soldering wires directly onto traces or pads, it's always a good idea to tack down a little bit of glue right by the pad for strain relief. Otherwise you're just asking to lift the pad and the trace along with it.

Superglue is aces if you're sure you want to keep the wire there. If you want something a little bit less permanent, I'd recommend hot glue. I use it all the time in prototypes because it's somewhat flexible when dry and melts right off. Hot glue is also really good if you ever need to lift a pin from an surface-mount IC and solder to it. Without something for mechanical stability, your chances of ripping the pin right off of the IC increase significantly.

Here's what I usually do when I want "just a dab" of hot glue or when I need to put a little bit under a pin I've lifted. I cut off a tiny tiny piece of the glue stick and just put it wherever I want the glue to be. Then I dab it with a fine-tip soldering iron and it melts pretty much instantly. Since it melts at a much lower temperature than solder, you can do it without desoldering anything if you're careful.

Seriously, this is some protip poo poo right here

Mill Town
Apr 17, 2006

Poopernickel posted:

When soldering wires directly onto traces or pads, it's always a good idea to tack down a little bit of glue right by the pad for strain relief. Otherwise you're just asking to lift the pad and the trace along with it.

Superglue is aces if you're sure you want to keep the wire there. If you want something a little bit less permanent, I'd recommend hot glue. I use it all the time in prototypes because it's somewhat flexible when dry and melts right off. Hot glue is also really good if you ever need to lift a pin from an surface-mount IC and solder to it. Without something for mechanical stability, your chances of ripping the pin right off of the IC increase significantly.

Here's what I usually do when I want "just a dab" of hot glue or when I need to put a little bit under a pin I've lifted. I cut off a tiny tiny piece of the glue stick and just put it wherever I want the glue to be. Then I dab it with a fine-tip soldering iron and it melts pretty much instantly. Since it melts at a much lower temperature than solder, you can do it without desoldering anything if you're careful.

Seriously, this is some protip poo poo right here

Thanks. Everything already had tape on it and was either stranded 26 gauge wire or 30 gauge wirewrap wire so "hot glue" is pretty much the only thing I haven't done. I'll try this on the next iteration of the board.

For now, the repaired board with a few extra components stuck in convenient places is pumping out light next to me. :)

therunningman
Jun 28, 2005
...'e 'ad to spleet.
This thread has inspired me to learn more about electronics. I am basically starting from zero. I've been reading some basic stuff and want to get dirty with a soldering iron and some simple kits.

Would I be better off looking at schematics and getting the individual parts and generic boards or the pre-packaged kits?

Cyril Sneer
Aug 8, 2004

Life would be simple in the forest except for Cyril Sneer. And his life would be simple except for The Raccoons.

ANIME AKBAR posted:

Eh, the more I think about it the more apparent it is that I'm going to have to settle for just driving the series resonant tank with a square wave. Class E amps require switches that are both low resistance and tolerate high voltages, which isn't feasible at the frequencies I'm dealing with. At least with square wave drive I don't need to worry about the voltage requirements. Just need to find good FETs with very low losses.

What frequencies are you working at?

Again, the solid state tesla coil guys operate in the ~100s kHz range.

ANIME AKBAR
Jan 25, 2007

afu~

Cyril Sneer posted:

What frequencies are you working at?

Again, the solid state tesla coil guys operate in the ~100s kHz range.

I was aiming for 1MHz, but I'll likely have to go lower to avoid huge losses in my capacitors.

And again, tesla coils are completely impractical for the loads I'm driving. Those guys are driving kilowatts into their loads; I'm driving milliwatts. And it doesn't scale down nicely.

Delta-Wye
Sep 29, 2005

therunningman posted:

This thread has inspired me to learn more about electronics. I am basically starting from zero. I've been reading some basic stuff and want to get dirty with a soldering iron and some simple kits.

Would I be better off looking at schematics and getting the individual parts and generic boards or the pre-packaged kits?

It largely depends on what you are trying to do. If you can find pre-packaged kits that interest you, by all means try them out. If you know what you want to do, I suspect there is very few kits that meet your interest, and getting parts and reproducing schematics that you have found is probably the way to go.

What are you interested in doing? Any particular kits interest you?

You can build am amazing number of things with a small selection of through-hole components and a breadboard, for what it is worth.

therunningman
Jun 28, 2005
...'e 'ad to spleet.
Thanks for the reply.
I hope to ultimately work my way up to interactive light and sound displays. I realize that it is pretty far off at this point.
I've decided to start with these http://www.kpsec.freeuk.com/proj.htm small projects. All the parts are cheap as well.

BattleMaster
Aug 14, 2000

How do you feel about programming? What you want to do sounds like it would benefit from knowing how to use microcontrollers but those require more programming skill than electronics skill.

AbsentMindedWelder
Mar 26, 2003

It must be the fumes.
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!

therunningman
Jun 28, 2005
...'e 'ad to spleet.

BattleMaster posted:

How do you feel about programming? What you want to do sounds like it would benefit from knowing how to use microcontrollers but those require more programming skill than electronics skill.

If the programming required is something that a reasonably intelligent person could be expected to slowly pick up, then it sounds like something for me.
I would be starting at "hello world", so any kind of early direction would be important to be put on the right track early.

Looking around briefly I keep seeing the name "Arduino". Good starting point?

therunningman fucked around with this message at 03:25 on Jul 24, 2009

Mill Town
Apr 17, 2006

therunningman posted:

If the programming required is something that a reasonably intelligent person could be expected to slowly pick up, then it sounds like something for me.
I would be starting at "hello world", so any kind of early direction would be important to be put on the right track early.

Looking around briefly I keep seeing the name "Arduino". Good starting point?

Yes, the Arduino is really easy to get started with, has a great development environment and a lot of interested community members who can help you out, and has bits specifically geared towards interactive light and sound installations and other forms of art.

BattleMaster
Aug 14, 2000

The Arduino is an Atmel AVR microcontroller with training wheels. The PICAXE is a similar product but with a Microchip PIC microcontroller instead. Those are the two microcontroller brands that you'll find used the most in hobby projects and even consumer electronics (I've found PICs in joysticks and remote controls) so either one of those will be a great starting point.

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.

clredwolf
Aug 12, 2006
There should be a game called 'find the PIC'. Just rip something vaugely dealing with electricity apart and see how many PIC microcontrollers you can spot.

There's a good reason PICs and AVRs tend to be used a lot. They're incredibly rugged, easy to use processors. The other day, a friend of mine had a board that was powering up AVRs (Arduino Nanos actually) without anything connected on the 5V rail. Turns out he was pushing 24V into one of the analog pins, which was actually powering the part! He fixed the problem, and the analog pin still works correctly!

For a lot of applications, you really don't need much more than a PICAXE or Arduino. Both are nice due to their ease of use. Arduino happens to be open source, and I see a ton of projects out there for it. I happen to like the Arduino better, but both are perfectly reasonable starting points.

If you get an Arduino, I recommend starting with a Duemilanove. Those tend to have the most useful accessories, and most projects are based around them. The Arduino Nano is another good one, and it has the advantage of being able to fit right into a breadboard.

Mill Town
Apr 17, 2006

clredwolf posted:

There should be a game called 'find the PIC'. Just rip something vaugely dealing with electricity apart and see how many PIC microcontrollers you can spot.

There's a good reason PICs and AVRs tend to be used a lot. They're incredibly rugged, easy to use processors. The other day, a friend of mine had a board that was powering up AVRs (Arduino Nanos actually) without anything connected on the 5V rail. Turns out he was pushing 24V into one of the analog pins, which was actually powering the part! He fixed the problem, and the analog pin still works correctly!

For a lot of applications, you really don't need much more than a PICAXE or Arduino. Both are nice due to their ease of use. Arduino happens to be open source, and I see a ton of projects out there for it. I happen to like the Arduino better, but both are perfectly reasonable starting points.

If you get an Arduino, I recommend starting with a Duemilanove. Those tend to have the most useful accessories, and most projects are based around them. The Arduino Nano is another good one, and it has the advantage of being able to fit right into a breadboard.

The AVRs generally have supply-voltage clamping diodes on their inputs, which means you can pull a ton of stupid AVR tricks like this one:
http://scanwidget.livejournal.com/32928.html

Dobermaniac
Jun 10, 2004
I know this is pretty simple, but I just finished my portable iPhone/usb device charger. I'm going to Vegas in a few weeks and my 1st gen iphone is starting to show it's age when playing games or watching videos. I wanted to get some extra juice while on the strip. I know it is pretty crude, but it was my first time using a soldering iron with such small components. I'm wish it could have been a bit smaller, but I'll work on that for the next one.

I used 2 9v batteries in parallel, a 100uF capacitor, 5v regulator, .1uF capacitor, switch, usb connector, and a lot of silicon. EDIT: Also, had to use a 12k ohm resistor to get the iPhone to charge.
Here is where I got the instructions, however, I think a few things on his diagrams are wrong.
http://www.instructables.com/id/SF007H5F5LDFNMM/


Click here for the full 1600x1200 image.



Click here for the full 1600x1200 image.



Click here for the full 1518x795 image.



Click here for the full 1600x1200 image.

Keebler
Aug 21, 2000
So I've got a neat little project that I'm working on in my spare time and I was wondering if I could get some input on setting up glue logic. What I'm trying to do is interface a flash chip with an old NES along with a pair of SRAMs such that the NES loads it's program ROM data and graphics ROM data from the flash chip into the SRAM (program data in one, graphics in the other). This itself doesn't have much use but if I can get this working I hope to take this into some other directions.

The graphics data isn't a problem as it has it's own CPU and is on a separate bus. The program data is where I'm having an issue:

The CPU exposes a 16 bit address bus and a 8 bit data bus. On power up the program ROM in the cartridge is mapped into 0x8000-0xFFFF in the CPU's address space and execution begins at 0x8000.

I'm going to wire in my flash chip to 0x8000 so that is executes my code on power up. This code will copy itself into a tiny bit of unused internal memory available on the CPU and then proceed to copy data from the flash chip to the SRAM. When it's finished it will begin executing the program ROM now in the SRAM, this will also have to be located at 0x8000.

My problem is, the flash chip and SRAM both have to be mapped into the 0x8000 address space. I need a way to read from the flash, disable the flash and enable the SRAM, write to the SRAM and then disable the SRAM and re-enable the flash and start the process over again. When everything is copied I need to permanently disable the flash/enable the SRAM until power down while leaving the CPU's address space unchanged.

I think I've got everything worked out except for one detail. I'm going to borrow the 0x6000-0x7FFF address space which I know to be unused by the CPU while I'm doing my copying. Whenever an address in that space is placed on the address bus, I'll latch the current value of D0 which will determine the /CE lines for my flash and SRAM (one will be inverted). I figure I can do this with a pair of inverters, a latch and an AND gate (!A15 && A14 && A13 = latch D0). My problem is that after my copy is finished how do I permanently disable the flash and enable the SRAM? The CPU will need the 0x6000-0x7FFF range back so I can't simply rely on no more data being written there to maintain the value of the latch.

Sorry for the massive background for one little question.

catbread.jpg
Feb 22, 2007
Would you be able to post a diagram of the physical connection of the hardware?

I think one solution might lie with the use of more data pins (and an appropriate section in the software) to encode a value which sets up another latch (with power reset logic), that overrides the first latch through more logic (OR, before going to your /CE inverter section).

the wizards beard
Apr 15, 2007
Reppin

4 LIFE 4 REAL
Why does the NES need to copy the data out of flash and into SRAM? You could use a small microcontroller to look at the address lines and move data around as needed. This would probably be the same price as buying some logic gates if you want DIP chips. IIRC some larger NES games had special memory mapping chips to do just this.

Keebler
Aug 21, 2000

catbread.jpg posted:

Would you be able to post a diagram of the physical connection of the hardware?

I think one solution might lie with the use of more data pins (and an appropriate section in the software) to encode a value which sets up another latch (with power reset logic), that overrides the first latch through more logic (OR, before going to your /CE inverter section).

I think that will work just fine, thanks!

I dusted off my digital logic book and it looks like if I add a second SR latch with it's reset tied to ground, input tied to the second data pin and output put in OR with the input to the second latch, it will act as a one shot. Once it's set it will always force the second latch to 1 enabling SRAM until a power cycle.

All my notes are in my notebook right now and I don't have a scanner but if you want to get an idea of what I'm working with you can view the CPU/PPU and memory schematic here (not shown is the power and video circuitry):



I'm hooking into the cart connector shown in the upper right. PRG refers to the program ROM and CHR the graphics ROM. CIRAM is the internal 2k RAM tied directly to the PPU. The CPU also has 2k internal but it's /CE signal is not exposed on the cart connector.

quote:

Why does the NES need to copy the data out of flash and into SRAM? You could use a small microcontroller to look at the address lines and move data around as needed. This would probably be the same price as buying some logic gates if you want DIP chips. IIRC some larger NES games had special memory mapping chips to do just this.

That's the other way to do it. My ultimate goal is to have ROM's loaded off a compact flash cartridge via a menu system. Other people have done this so I'm basically reinventing the wheel but it's a great project for me since it covers a lot of things that I've wanted to learn about.

I did think about using a micro controller but I thought it would be more elegant to have the NES CPU do all the work (plus I know it's possible as someone else managed to pull it off). The mappers themselves are a whole other beast. Any game worth playing uses a mapper. The only ones that don't are Super Maro Brothers, Excite Bike and a handful of single screen arcade conversions (Burgertime, Joust, etc). I initially toyed around with using a micro controller to simulate the mappers through software emulation. Ultimately I decided to use a FPGA instead, mostly because my experience with them is very limited and I wanted to learn more. It also potentially could do away with some of the inaccuracies I hear exist with software emulation of the mappers.

the wizards beard
Apr 15, 2007
Reppin

4 LIFE 4 REAL

Keebler posted:

I did think about using a micro controller but I thought it would be more elegant to have the NES CPU do all the work (plus I know it's possible as someone else managed to pull it off). The mappers themselves are a whole other beast. Any game worth playing uses a mapper. The only ones that don't are Super Maro Brothers, Excite Bike and a handful of single screen arcade conversions (Burgertime, Joust, etc). I initially toyed around with using a micro controller to simulate the mappers through software emulation. Ultimately I decided to use a FPGA instead, mostly because my experience with them is very limited and I wanted to learn more. It also potentially could do away with some of the inaccuracies I hear exist with software emulation of the mappers.

Cool, if you want to look into emulating mappers in an FPGA you should check this (http://tripoint.org/kevtris/Projects/console/) out and maybe contact the author.

ohgodwhat
Aug 6, 2005

Poopernickel posted:

Just to check - you do mean 40-60 _milliseconds_ right? That's pretty reasonable based on the system you're describing. I would bet that 90% or more of the latency lies within the operating system and driver.

Most data aquisition cards are FPGA-based, so you can probably expect that the total latency of the signal input will look something like this:

[Input] ->

(latency of analog filters) ->
(latency of ADC) ->
(sample collection time) ->
(latency of on-board FIR filters, if present) ->
(latency of miscellaneous FPGA data pipelines) ->
(latency of PCI interface) ->
(latency of the operating system) ->
(latency of the MATLAB driver)

Now, most of these are pretty neglible. Unless you have monster lowpass analog filters your analog delay is maybe a couple of milliseconds tops. The latency of the ADC varies from device to device, but I've never seen an ADC with higher latency than 1ms (many are much lower). Then there is the sample collection time, which is the time required to transmit a sample from the ADC to whatever logic chips it feeds. The worst case delay for this is one sample's worth.

Once the sample has made it into the DAQ card's processors (which are probably FPGA, CPLD, or ASIC), there is delay equal to whatever digital filters you have the card programmed to perform (if any). Then add the delay of a few pipeline stages just to be safe. If the card isn't doing any digital filtering then you're looking at _maybe_ 10 samples worth of delay at max.

The latency of the PCI interface is negligible at audio frequencies.

If you add all of those together (except for any custom digital filters within the DAQ) you would _maybe_ see 3-4ms of total delay. At most. (assuming you're sampling at some reasonable frequency.)

Then you have the monsters, which are OS latency and MATLAB driver latency. I don't have any clue how you could eliminate those. There are some sound cards that come with very low-latency drivers (for use in DSP/MIDI applications), but I couldn't recommend on. Also the MATLAB driver hooks have much higher latency than you'd expect.

Now, I would bet writing new MATLAB hooks or aquisition drivers is probably not high on your interest list. If processing latency is a big concern for your lab, consider moving the calculations out of MATLAB and into silicon (FPGA or otherwise). A lot of DAQ cards can be set up to perform on-board filtering. Alternatively, consider buying an FPGA evaluation board that comes with an ADC, a DAC, and a UART serial interface and then perform all the calculation on the FPGA.

I'm sorry it took so long to get back to this. I appreciate all of the information. In fact, I wound up installing real time Linux and have gotten latencies down to around 10 microseconds which is pretty drat good. There's still some issues to work out though with various poo poo causing massive latency fairly randomly (think DMA, TSC). For that, I'd like to move to FPGAs but it doesn't seem like it will happen.

There is in fact a DAQ made by National Instruments that has an FPGA built into it. Unfortunately, since my project mainly exists to suck up the extra scraps of my professor's budget, I doubt I'll ever see that being purchased.

BattleMaster
Aug 14, 2000

Keebler posted:

I did think about using a micro controller but I thought it would be more elegant to have the NES CPU do all the work (plus I know it's possible as someone else managed to pull it off). The mappers themselves are a whole other beast. Any game worth playing uses a mapper. The only ones that don't are Super Maro Brothers, Excite Bike and a handful of single screen arcade conversions (Burgertime, Joust, etc). I initially toyed around with using a micro controller to simulate the mappers through software emulation. Ultimately I decided to use a FPGA instead, mostly because my experience with them is very limited and I wanted to learn more. It also potentially could do away with some of the inaccuracies I hear exist with software emulation of the mappers.

The only problem I can think of with using a microcontroller to software-emulate a memory circuit is speed. For instance, one time I designed a parallel ATA hard drive interface for a Z80 system but I was unhappy with the fact that it required several 74-series logic gate ICs. I tried to replace them with a single low-pin PIC16. The idea was that the input pins would change and wake the microcontroller up, which would then read the value of the input port as a number, feed it into a lookup table, and write the resulting number to the output port.

It worked perfectly but even though the software was written completely in assembly and only needed to execute about 6 instructions every time the inputs changed, which is as efficient as you can possibly get it, it was still too slow to interface with a Z80 without adding wait-states.

Now that was a PIC16 running with the internal 8MHz oscillator, so maybe it would be fast enough if I useda PIC18 with proper table read instructions and an external 40MHz crystal. I just ended up scrapping it and plan on redoing the design with a proper programmable logic device, though.

BattleMaster fucked around with this message at 02:48 on Jul 31, 2009

Slung Blade
Jul 11, 2002

IN STEEL WE TRUST

Anyone know where I can get a 0-5k potentiometer with a 90 degree sweep?

Canary Yellow
Sep 18, 2006

withdrawn

Canary Yellow fucked around with this message at 12:10 on Aug 5, 2009

ANIME AKBAR
Jan 25, 2007

afu~

Slung Blade posted:

Anyone know where I can get a 0-5k potentiometer with a 90 degree sweep?

you mean a 90 degree range of rotation? can't say I've seen one, but one likely exists.

Hillridge
Aug 3, 2004

WWheeeeeee!
Here's a nifty little chip I just started to use in some designs:

NC7SZ57 and NC7SZ58
http://www.fairchildsemi.com/ds/NC/NC7SZ57.pdf


It's a 6 pin configurable 2 input logic gate. Rather than having a bunch of different bins for simple gates, keep a few of each flavor of these around.
Here's what it can do:

code:
-----------------------------------------------
2-Input Logic Function                | Device
-----------------------------------------------
2-Input AND                           | NC7SZ57 
2-Input AND with inverted input       | NC7SZ58
2-Input AND with both inputs inverted | NC7SZ57 
2-Input NAND                          | NC7SZ58 
2-Input NAND with inverted input      | NC7SZ57
2-Input NAND with both inputs inverted| NC7SZ58 
2-Input OR                            | NC7SZ58
2-Input OR with inverted input        | NC7SZ57
2-Input OR with both inputs inverted  | NC7SZ58
2-Input NOR                           | NC7SZ57
2-Input NOR with inverted input       | NC7SZ58
2-Input NOR with both inputs inverted | NC7SZ57
2-Input XOR                           | NC7SZ58
2-Input XNOR                          | NC7SZ57


The NC7Z57 uses this logic:
Y= (I0')•(I2')+(I1)•(I2)

The NC7Z58 uses this logic:
Y= (I0')•(I2')+(I1')•(I2)

Slung Blade
Jul 11, 2002

IN STEEL WE TRUST

ANIME AKBAR posted:

you mean a 90 degree range of rotation? can't say I've seen one, but one likely exists.


Yep, exactly.

I'm thinking I'm going to have to find a gearing system to translate the 90' into the 270' that most pots offer.

ante
Apr 9, 2005

SUNSHINE AND RAINBOWS
Just attach a head to the pot that has a peg hits something on the chassis at 90'.

Adbot
ADBOT LOVES YOU

catbread.jpg
Feb 22, 2007
Alternately, depending on whether your measurement circuit is end-to-end resistance based (and depending on how it treats the polarity of low vs high resistance), or 3-terminal voltage based with an input-wiper-ground, you could:

a) use a bigger value pot and sweep less of it

b) use a higher input voltage to compensate

electrical solutions to an electrical problem :smugdog:

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