: No, that's OK, you can renege on your promise
I won't mind. Not at all. No, don't do it. Nooooooooooooooooooooooooooooooooooooooo o.
I won't mind. Not at all. No, don't do it. Nooooooooooooooooooooooooooooooooooooooo
![]() | You are viewing Log in Create a LiveJournal Account Learn more | Explore LJ: Life Entertainment Music Culture News & Politics Technology |
exiledbearRecent Entries | ||
|
|
You are viewing the most recent 20 entries November 16th, 2009: No, that's OK, you can renege on your promise I won't mind. Not at all. No, don't do it. Nooooooooooooooooooooooooooooooooooooooo : Adventures in thru-hole soldering ![]() I need to get a smaller iron tip. And a table lamp. And one of those magnifying glasses. If you do much soldering you start to want one of those. This is an assembled kit that follows the arduino standard. It's 100% thru-hole components. It has two less LEDs than the "official" arduino, and it doesn't do USB at all. But that's no problem - I have a USB to RS232 dongle laying about, and it works just fine with it. It's somewhat cheaper than the USB version, but the nice feature I like about it is that you can program it while it's hooked up to an external power supply. The other style, you have to program it, detach it from USB and then hook it up to your external circuits. And now I have a backup (or main) in case of another magic smoke event. : Hmm, charge pumps aren't that bad http://www.edn.com/contents/images/3218 I actually understand this schematic, and why everything is where it is. The basic principle is to put capacitors initially in parallel and then switch them in series. It's slightly tacky - it actually inverts the waveform, because those are PNP BJTs, but I can understand why he's using PNP's. Oh yes. He doesn't care - because he's dealing with a 50/50 duty cycle. For me, inverting a PWM pin means that the max value becomes zero and zero becomes the max value. Annoying but manageable. I think the RC values would have to be retuned as well. Not sure what frequency he's tuned this for. I dunno. The pMOSFETs are still more straightforward. : I should add Colorado Springs in there From Colorado Springs to Boulder to Littleton to Granby to Longmont to (now) Fort Collins, welcome to Colorado. Watch your back. November 14th, 2009: Take a walk on the high side Grr. nMOSFETs are really really annoying to use on the high side. Charge pumps, push-pull arrays, level lifters, and none of those things are trivial. Just on charge pumps alone, try it - do a Google search. People are patenting shit on that stuff, if they're not writing academic papers on it. There are people out there and that's all they do. Someone wakes up in the morning and says, I need to build a better charge pump. Must build a charge pump for my thesis advisor. pMOSFETs aren't quite as annoying, but not straightforward either. To get it to switch, you still need something that will sink to ground and you probably need a pull-up resistor to keep the gate stable. But still, it's a circuit I can visualize in my head, and a schematic that does not look hilarious. One of the design goals of this thing, is to keep the number of integrated components to a minimum. The only real black box in this whole thing should be the Atmega chip - and everything else should be widely available. I don't want to put another black box in the design, like a charge pump chip. You know, people publish these theoretical schematics, and you see a switch there, and there's some handwaving, and presto, this is how it works, and then you go and try to build something that actually does work, and nobody, and I mean nobody says something like "Oh, and if you're gonna switch something on the high side, you might want to use a pMOSFET and control the gate with a BJT and a pull-up resistor". Something that would've been really helpful to know. November 13th, 2009: Yeah, I think it's working With a 1.6kOhm resistor, that's a whopping load of .20 W, that is, when the panel voltage is set to 18V (which is the peak, it probably won't get there much). But at least I can twiddle the PW, of the PWM pin on the arduino and get varying voltages across the "load". Widen the PW, get more voltage, shorten it, get less. That's pretty much all a buck converter is supposed to do. What turns it into a charge controller is reading the voltage and temp sensors and dynamically changing the PWM pin on the fly. But that's just software. Ones and zeros. So now I have several paths to take. I can focus on turning the schematic into a PCB, and get a real 12V lead-acid battery. I've done the current capacity calculations for the PCB design. I can try to fake out a 12V battery by taking a bunch of rechargeable AA's and wiring them in series. Except that NiCD and NiMH have different charging characteristics than a lead acid battery. So I'd have to write the controller software twice and there's no guarantee that much of it would be reusable either. I dunno. I need to think about it. : Cross your fingers and hope we don't have a burnout ![]() Those components on the left side, they're too big to fit on a breadboard. So I punched holes in a cardboard box and have a bunch of wires with alligator clips connecting them all up on the other side. I call it a redneck breadboard. Yee. Ha. I suppose if the arduino would pump out a higher PWM frequency, I could reduce that honking inductor down to something more manageable. I've got the frequency as high as it will go, otherwise that inductor would be even larger than it is. It's 100uH (remember we're measuring things in microTons, so this is a huge amount), but it's a high current component - rated to 14A or so, although if you notice in the datasheets, they qualify that with a gale force cooling system blowing on it. But still, at 50% capacity, that's 7A which is nothing to sneeze at. That 4th TO220 (the black square thingy way over on the left) on the breadboard is a 300V,30A power MOSFET. That in turn (you might have to squint) is connected to a PWM pin on the arduino. That's the switch part of what makes a switched mode power converter. Everything on the redneck breadboard is downstream from the MOSFET, and is a standard buck converter. I don't really have a proper load to test this out with, and I need to be very careful, as although the components can handle high current, those wires cannot. At this point though, I just wanted to get it all wired together and see if the magic smoke would stay inside everything. So far the magic seems to be holding. It's good to prototype before committing to a PCB. I think I'll redo the schematic and put the MOSFET on the ground side of the buck converter, as it makes it easier to wire the PWM pin in. November 12th, 2009: Another reason to use something like an Arduino ![]() The consequences of failure are cheaper. I miswired the arduino to the high-output LED on the left and created a short a few days ago. I didn't see the magic smoke, but I did start smelling something plastic and hot. Those little boards are designed quite well, because the only thing fried was the atmega328 chip. Simple - pop it out, order another one and pop it in. If I did this to that FPGA, something like this would really really hurt. And I knew sooner or later I'd see the magic smoke. But this is nice, I can dial the "panel" power up and down (I'm using a lab DC power supply to simulate the panel), the arduino keeps ticking, and the LED on the left changes colors at 17V, 16V and 14V. While I was waiting for the replacement atmega, I got bored and ripped some more stuff out of the DSL modem and put two of its LEDs just past the 9V and 12V linear regulators, so I have some idea of what's on when, if there's no arduino around. I'm getting pretty good at picking resistors now. Quick, you need to drop 7V and limit current to 20mA, what resistor do you need? Another nice thing about the arduino, is it's a completely open design, and you can source these things from multiple places. They're even sold in kit form, and in RS-232 form as well. : Um, er http://gizmodo.com/5402152/surfing-t Just because you can do something, doesn't necessarily mean that you, um, should. You know, with a little bit of mechanical knowledge, they could've hooked into the throttle with a servo. Would've required less power and they could've kept the seats in the car. I think they could've built something that controlled the steering wheel without destroying it. To measure the speed, they could've hooked into the OBD. Jesus Christ this could've been done way more elegantly. Yeah, it's only a $300 car, but still why be more destructive than you have to be? Great, they're using wifi. You do know the security model of wifi is swiss cheese... November 11th, 2009: It's harder than it looks http://dontjudgemyhair.com It requires discipline of a certain sort, just to look and accept. November 10th, 2009: Anyone want to take bets On how long Nidal has to live, now that's he's awake and can talk? Something tells me he won't be giving press interviews, that's for sure. November 9th, 2009: Did you catch that? http://www.nytimes.com/2009/11/09/opini At this point Newt Gingrich is what passes for a sober, reasonable elder statesman of the G.O.P. And he has no authority: Republican voters ignored his call to support a relatively moderate, electable candidate in New York’s special Congressional election. Newt Gingrich is now considered reasonable. Repeat that again in your head. And that he's being ignored because he's too leftist. Newt Gingrich is too leftist for the Republican Party. Repeat that again in your head. I think I understand why people are resorting to McNuggetini's to cope with what's going on. And if Tea Party Republicans do win big next year, what has already happened in California could happen at the national level. In California, the G.O.P. has essentially shrunk down to a rump party with no interest in actually governing — but that rump remains big enough to prevent anyone else from dealing with the state’s fiscal crisis. If this happens to America as a whole, as it all too easily could, the country could become effectively ungovernable in the midst of an ongoing economic disaster. In fact, I'd bet on it. Although I don't think that's such a bad thing. What I've seen, if they're just merely useless, that's better than being worse than useless. In any case, I wouldn't make any plans that depended on government policy, that's for sure... : It is government policy to not have a middle class anymore http://online.wsj.com/article/SB1000142 Something you'll never hear from any politician, oh no. I'm sure if you asked them they'd say they're for Mom and Apple Pie too. However, actions speak louder than words. : Now that's what I call cynical http://prorev.com/2009/11/hidden-re One of the most important reasons for marijuana prohibition is that, without it, it would be hard to justify the drug war. Not on moral or medical grounds, but based on weight and popularity. While pot is a drug less harmful than vodka or cigarettes, it is also is the bulkiest and most used illegal substance and thus the easiest for cops to find. |
|