|
Erm, those jumpers are there to connect together parts of the circuit that other traces get in the way of. It's not going to work like normal with them removed. They aren't for troubleshooting. Edit: Also, judging by the fact that the diode is placed directly across the AC line, I'm going to say that's a bidirectional transient voltage suppression diode. No idea what the specific rating or replacement part is though. Mill Town fucked around with this message at 07:44 on Jul 12, 2009 |
# ¿ Jul 12, 2009 07:37 |
|
|
# ¿ May 21, 2024 13:21 |
|
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 ). 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! 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 |
# ¿ Jul 17, 2009 09:46 |
|
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. 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.
|
# ¿ Jul 18, 2009 08:30 |
|
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. 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.
|
# ¿ Jul 24, 2009 03:37 |
|
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. 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
|
# ¿ Jul 24, 2009 05:41 |
|
Corrupt Politician posted:Fantastic thread here guys! I have a question that hopefully someone here will be able to answer: A PIC or AVR with a pile of IO expanders seems like the the obvious choice. http://www.maxim-ic.com/products/interface/io_expanders.cfm How quickly does it need to refresh? I don't think you could get 30fps out of the thing, but I haven't crunched the numbers because edit: Oh hey they have a bunch of LED-specific driver chips too http://para.maxim-ic.com/en/search.mvp?fam=disp_driv&397=LED&tree=master Mill Town fucked around with this message at 08:31 on Aug 6, 2009 |
# ¿ Aug 6, 2009 08:28 |
|
Poopernickel posted:Actually, this project is a prime candidate for an FPGA-based solution. You can buy FPGAs with hundreds of output pins, all independently controllable. With some careful work you could probably PWM every single pin as well (maybe with one PWM circuit shared between every 16 LEDs or something similar). And all you have to do is learn VHDL! For someone with little experience, IO expanders or shift registers are going to take a lot less time to master.
|
# ¿ Aug 7, 2009 04:36 |
|
Poopernickel posted:verilog Until you publish a study of suicide rates in Verilog and VHDL programmers vs the general population, I'm not going to believe that one's any better than the other.
|
# ¿ Aug 7, 2009 07:02 |
|
Does anyone know where I can get some thin surface-mount coincell holders? I'm looking at the CR2016 specifically, but it seems everyone wants you to stack two of them in a CR2032 holder. Also, to go with this, I'm looking for some thin, bright, cheap SMT LEDs. So far this is the best deal I've found, but it's a bit thick. Is there anything comparable that's a bit thinner? http://search.digikey.com/scripts/DkSearch/dksus.dll?Detail&name=160-1414-1-ND
|
# ¿ Aug 7, 2009 08:45 |
|
ANIME AKBAR posted:there are much easier ways than learning to use fpgas and using discrete components. One is ICs that are essentially shift registers whose outputs are configurable current sources. You can daisy chain any amount of them on the same serial bus, so you could operate them all with a single microcontroller. Yeah, that's the same thing I linked in my first answer, just by a different manufacturer.
|
# ¿ Aug 7, 2009 20:13 |
|
Poopernickel posted:I've never used a skillet so I can't comment on how well it works or doesn't work. We use a regular hotplate at the lab. It works really well with the caveat that you need to move the work around to compensate for cool spots like the center of the element.
|
# ¿ Aug 8, 2009 22:10 |
|
BattleMaster posted:The cool thing is that everything the design needs is built right into the microcontroller except the SD card, audio amplifier, and the DAC crystal. If I used SMT components the design could be amazingly tiny but I'm not that good yet. SMT is easy. Tin pads beforehand. Discrete components: Hold down with tweezers, solder the 2 or 3 terminals in succession. QFP/TSSOP: Hold down with tweezers, tack down opposing corners so it stays lined up, solder the rest of the pins. Edit: you can often do several pins at once, especially if you are using solder paste. TQFN and the like are a bit trickier but can be handled with solder paste and a skillet or hotplate or some very careful hand-soldering (like above, but more careful). Test with multimeter if there is any doubt about open connections, remove shorts with solder braid and/or dental pick. People are much more afraid of SMT than they need to be. Mill Town fucked around with this message at 20:47 on Aug 31, 2009 |
# ¿ Aug 31, 2009 20:45 |
|
Exitlights posted:I'm just making sure that when I do get a wireless connection going, I'll have a fast enough connection between whatever receives the video and my computer to be able to display the video in real-time. The COM port functionality provided by the Arduino, from what I can tell, maxes out at 115200 baud, which isn't enough to communicate video to my computer with any sort of framerate. Before I get to the wireless transmission part, I'd just like to interface my computer directly with a CMOS camera in real-time, ignoring the wireless part until I can at least get the camera to work. No, the Arduino UART can definitely exceed those speeds, although you may have to set custom clock divisors and perform other magic. You just need a piece of equipment on the other end that can also operate that fast... Edit: yeah, if you look at page 199 of the ATmega168 datasheet (the microcontroller used in the Arduino), you will see that the maximum baud rate at a 20MHz clock speed is 2.5Mbps. At that speed you will be very limited in how much processing you can do before you have to shoot each byte out the port, of course, but you should be able to find a good tradeoff between speed and program complexity. Mill Town fucked around with this message at 22:42 on Sep 17, 2009 |
# ¿ Sep 17, 2009 22:32 |
|
BattleMaster posted:The cool thing about the Microchip USB implementation is that it uses DMA to keep the peripheral fed while you do other stuff. That is cool but I still don't know why you would run a USB cable to a boat?
|
# ¿ Sep 18, 2009 03:33 |
|
BattleMaster posted:Pretty much for the same reason you'd run an RS232 cable to it, because you didn't read his posts. He needs to connect a wireless transceiver of some sort to a computer so he can control the boat using it. I did read his posts. I thought he wanted to have the microcontroller on the boat, grabbing images from a camera, and sending the to a zigbee or similar wireless module. Then there'd be another zigbee or w/e on the other end connected directly to the computer, not another microcontroller.
|
# ¿ Sep 18, 2009 13:10 |
|
German Joey posted:Does anyone have a suggestion on the easiest, quick-n-dirty way to send data from a .txt file to an MSP430? I have a .txt on my computer., generated with a perl script, filled with 0's and 1's, and I'd like to stream that through a MSP430 (a MSP430FG4618IPZ to be precise), bit-by-bit. Multiple bits at a time would be preferred, but bit-by-bit is fine. What would you guys recommend? cat textfile.txt > /dev/lp0 The printer port is 8bits wide and has a strobe line that goes low when a new byte is presented. Edit: Oh wait, it's a text file filled with ASCII 1 and 0? You'd have to write another perl script to convert it back into raw bytes I guess. Edit x2: I also have a (completely unrelated) question. I have a bunch of routines in PIC assembly (written using MPLAB) that I need to pad out to exactly 27 instructions. Right now it's just done by filling in NOPs manually, but I feel like there has to be a better way. Can this be done with macros or something? Mill Town fucked around with this message at 19:48 on Oct 14, 2009 |
# ¿ Oct 14, 2009 19:41 |
|
BattleMaster posted:I can't speak for other brands but the internal oscillator in the PIC series isn't as accurate as an external crystal. This is important for things like accurate timing and asynchronous serial communication (USB, UART, etc.). I'm using a PIC18F26J50 in a design and its internal oscillator doesn't meet the frequency tolerance required for full-speed USB so it needs a crystal to work properly. This is true for other brands (eg Atmel) as well.
|
# ¿ Oct 16, 2009 09:18 |
|
Help me goons! I'm hooking up to an old piece of equipment from 1979 that expects your grandpa's RS232. I need a really beefy RS232 level converter. The CMOS-level side needs to be 3.3v compatible, and the RS232-level side needs to supply at least +/- 10v at a few milliamps. All of the Maxim ICs I've seen so far have been "EIA standard" +/- 5v or 6v, which is way too low for my application.
|
# ¿ Oct 27, 2009 11:20 |
|
Keebler posted:The old "True RS232" chip numbers are 1488 and 1489, the driver and transmitter are separate chips and require a bigger supply then the RS232 compatible chips. Maxim (and I'd imagine other companies like Intersil) do still make pin compatible versions of these. Maxim's is the MAX1488E and MAX1489E: Ah, thank you. The only downside is that those need +/- 12v from the power supply. I guess maybe I could steal power from the device I'm talking to...
|
# ¿ Oct 27, 2009 22:45 |
|
catbread.jpg posted:One solution would be to use a buck-boost converter, controlled to a fixed output voltage of 15V. I'd recommend that you get rid of the 12V regulator and just use a regulated buck-boost converter that outputs 12V directly. That will be more efficient, and also simpler. Edit: Something like this looks like a good place to start. Mill Town fucked around with this message at 01:54 on Oct 31, 2009 |
# ¿ Oct 31, 2009 01:48 |
|
I have a circuit design that uses PWM to dim a number of LEDs. It's run off of 24VDC and the LEDs are connected to switching MOSFETs which switch the anode side of the LEDs to ground at a very high rate (somewhere around 20KHz). The LEDs are arranged in series circuits of 7 with a power resistor. I just had someone tell me that the power resistor always needs to be between the cathodes and the +24V line, otherwise "any voltage spikes will not be dampened by a linear impedance". What the hell is he talking about here? Does it really matter which side of the LEDs I put my power resistor on?
|
# ¿ Dec 12, 2009 21:27 |
|
ANIME AKBAR posted:hahaha no That's what I thought, but this guy is an engineer and everything else he's told me so far has been right and he's normally smarter than me so I was really starting to doubt myself here. catbread.jpg posted:Also why are you switching LEDs at 20 kHz? FLICKER-FREE DIMMING!!!!1111oneoneone. It's his design, I'm just helping with it.
|
# ¿ Dec 13, 2009 16:38 |
|
Zuph posted:This chip doesn't need nearly the external hardware that the other one does. This one's available SOIC, too, so it won't be impossible to solder. There's such a thing as a "locally administered" MAC, which basically allows you to make up MAC addresses for your own private network. http://www.certsoft.com/mac.htm This also has the benefit of ensuring that your gear won't conflict with any off-the-shelf gear that has a properly registered OUI. You may be in danger of colliding with sketchy knockoff gear from China that didn't bother to pay for an OUI, but since you won't have any of that on your network, you're fine. I'm kind of curious now, what is this project?
|
# ¿ Dec 14, 2009 04:10 |
|
Zuph posted:For this particular project, I'd want to run the wires outside, so I'd just use an old, crappy switch that I don't care about (Plus, my Gigabit switch cranks down to 10/100 if a 10 mbps device is attached ). I'll disregard anything but unicast packets, anyway. If I have the time and tenacity, I might set the master node up with a full TCP stack, so I can interface to a PC that way, instead of through RS232 or similar. Or you could write a program that makes the PC spit out the raw ethernet frames the controllers are looking for.
|
# ¿ Dec 14, 2009 07:19 |
|
Metajo Cum Dumpster posted:Half way to the end. Three-quarters now... this poo poo is going quick. Still can't get to the checkout page
|
# ¿ Jan 7, 2010 18:41 |
|
Delta-Wye posted:The schematic is pretty much overkill - all you should need to reproduce is the three lines connecting the digital amp to the PIC (chip select [CS], serial clock [SCK] and slave out [SO]). The datasheet as all the info you SHOULD require, although deciphering a datasheet is a skill in-and-of itself. With such a simple SPI device (you're not even sending data to it) you can probably bit-bang it manually using digital ports pretty easy, although I'm not sure how much direct access an arduino would give you. You *can* bit-bang on the Arduino by accessing various registers directly, but there's an SPI library so you might was well use that, your code will be 10x shorter. http://www.arduino.cc/playground/Code/Spi (As an aside to your aside, I once had that happen when I bought an i2c EEPROM that has an 8-byte page size, but was referencing a datasheet for a nearly-identical part that had a 16 byte page size. That caused some errors in my program ) Mill Town fucked around with this message at 22:11 on Jan 8, 2010 |
# ¿ Jan 8, 2010 22:08 |
|
Twerpling posted:Anyone know of a cheap uC that possesses 2 UARTs, 2 PWMs, and does not require 3.6v or less? I am working on a project that requires one, everything is designed at 5V already and I don't want to go back and remake everything. The Atmega164PA seems to be the cheapest AVR that has what you need. 2 UARTs, 6 PWM channels, about $4.40 in single quantities from digikey. e: also 2.7v-5.5v supply. You can probably find an equivalent PIC for the same or cheaper. e2: but that PIC might be 3.3v only so who knows? Finding a PIC is left as an exercise to the reader. For future reference, I used the table here to pick this out: http://www.atmel.com/dyn/products/param_table.asp?family_id=607&OrderBy=1262&Direction=DESC#760 Mill Town fucked around with this message at 09:18 on Jan 11, 2010 |
# ¿ Jan 11, 2010 09:14 |
|
Hillridge posted:you can cut down the length of wire by adding power resistors in series with it. A 10 ohm resistor rated for 20W (or more) will reduce the wire needed by about a foot, but almost 17W of your power/heat is going to come from the resistor instead of the wire. Alternatively, just run it in a zigzag or spiral or coil pattern so you take up less space.
|
# ¿ Jan 13, 2010 03:44 |
|
Exitlights posted:Got my Xbees and explorers from Sparkfun the other day from the free day, soldered on some pin headers, wired 'em up in a quick loop... and I got a wireless echo over my COM port! Extremely exciting. Now it's just a matter of putting the Xbees in place of the wired serial connection I was using before, and I'll have a digital, wireless R/C car controllable from my laptop. I hate you so loving much
|
# ¿ Jan 21, 2010 10:05 |
|
BattleMaster posted:What's the trick to using an ADC and DAC with audio signals when the circuit only has a single positive supply? I've got a PIC with ADC, an SPI DAC, and an LM386 audio amp. I'd like to have the audio signal digitized by the ADC and recreated using the DAC but with the way I have it set up it only outputs varying high-frequency whines. Virtual ground, generally. Although a lack of virtual ground shouldn't cause a whine, but rather really bad distortion. You could narrow down the location of the problem by outputting a known audio signal (say, a 440Hz sine wave) through the DAC. If it works, the problem's on the ADC side, if it's still a high-pitched whine, problem's on the DAC side.
|
# ¿ Feb 2, 2010 01:15 |
|
Popete posted:So is this just saying that before the voltage/current re-enters the source it will equal 0? I just thought measuring voltage after it runs through a resistor still came out to a set voltage and not 0. Voltage is across things, current is through things. Talking about voltage "through" a resistor doesn't mean anything. E: This is also why you put your multimeter in series with something to measure current, but you put it in parallel with something to measure voltage.
|
# ¿ Feb 8, 2010 21:46 |
|
Keeping your iron tip clean and free of oxidation will help it last much longer. Use this after every connection or two and this any time the tip looks dirty and won't get clean and it should last for a long time.
|
# ¿ Feb 17, 2010 16:28 |
|
Cyril Sneer posted:3) You need to either have the dongle/amplifier physically at the antenna, or you'll have to located the antenna in close proximity to your PC. A 5m USb cable is fine, a 5m coax run is... less fine. Definitely put the dongle at the antenna and run a long USB cable.
|
# ¿ Mar 27, 2010 21:20 |
|
The Ferret King posted:Any idea what these are? Those are definitely capacitors. They look like the surface mount variety but the picture's too blurry to tell for sure. I'm not sure how the codes for these work, let me have a look around. e: They're electrolytics, the black band is the negative terminal e2: OK, it looks like the first number is probably capacitance in microfarads, the second probably voltage rating. The rest could be anything. This datasheet doesn't quite match up (2 lines of numbers instead of 3) but 100µF at 16V seems like a reasonable rating for a capacitor: http://industrial.panasonic.com/www-data/pdf/ABA0000/ABA0000CE2.pdf e3: Post some more numbers from different caps and let's see if they seem like reasonable ratings. Mill Town fucked around with this message at 20:14 on Mar 28, 2010 |
# ¿ Mar 28, 2010 20:05 |
|
Entone posted:Hey guys. I'm currently in the process of restoring a 1940's Silvertone radio/45rpm Record Player. Here's the original photoshop of my idea. I'm adding the avr32 ngw100 board as my microcontroller, and on top of that I'm adding an homemade board that has a ac97 codec for audio. I'm going to add 6 IN-4 nixie lights for a clock, plus 4 IN-13 tubes for a vu bargraph. On top of that it will have rca out, plus a dual am and fm transmitter; so, I can play my mp3s to other antiques around the house. Yes, please make a thread! To answer your question, here is a spring-return 3P3T part, on which you could just ignore two of the poles: http://search.digikey.com/scripts/DkSearch/dksus.dll?Detail&name=E3G0603N-2-ND Edit: Oh wait, I didn't see that price. Someone must have this sort of thing cheaper!
|
# ¿ Mar 31, 2010 22:23 |
|
ludnix posted:Does the light go off if you disconnect the SSR from the Arduino? How about if you disconnect the high-voltage side of the SSR as well? If not, you've probably wired something wrong on the high-voltage side. Can you draw us a diagram of that?
|
# ¿ Apr 3, 2010 19:24 |
|
bolind posted:Hello You can get adjustable time-delay relays. They are commonly found in elevator systems. However, they're expensive, and you can save a lot of money building something like this: http://www.aaroncake.net/circuits/relaytim.asp Note that the 555 is not very precise for long time delays, so it may not give you exactly the results you are looking for. It's cheap though, so it's probably worth trying. Also you'll need to make sure your relay draws less than 200mA, which should be easy enough.
|
# ¿ Apr 6, 2010 16:54 |
|
dv6speed posted:Instead of a relay you could also use a transistor and a triac and go the solid state route. The 555 should work fine for you coffee grinder needs. You will need to build a small power supply circuit unless you want to use batteries. You should probably use an optocoupler instead of a transistor to control the triac so you keep 120V out of your low-voltage stuff, but otherwise, yeah, that's good advice. e: You'll need one with a triac output, something like this: http://search.digikey.com/scripts/DkSearch/dksus.dll?Detail&name=160-1372-5-ND Mill Town fucked around with this message at 00:11 on Apr 7, 2010 |
# ¿ Apr 7, 2010 00:04 |
|
Scarboy posted:The valve looks like it just a switch that opens when you give it 12V. A solenoid valve is basically like a relay, but for fluids. This particular one is the equivalent of SPDT.
|
# ¿ Apr 16, 2010 04:55 |
|
|
# ¿ May 21, 2024 13:21 |
|
I'm not an expert either, but I'm wondering 1) what's with the voltage followers in there and 2) why aren't you using a dedicated comparator like the LM339?
|
# ¿ May 3, 2010 17:00 |