News for hackers. Stuff that matters.
Re:Why Learn Basic Electronics? [video] by stevenspasbo on Tuesday June 16, 2015 @03:39AM (#9724276)
Electronics are something I've been interested in for a while, but I'm not really sure where to start. I have an arduino uno and some LEDs, but does anyone know of any good resources for beginners?
Re:Why Learn Basic Electronics? [video] by whizse on Tuesday June 16, 2015 @04:45AM (#9724485)
Make: Electronics is a great introduction and a lot of fun. http://www.makershed.com/products/make-electronics-book
Re:Why Learn Basic Electronics? [video] by reidrac on Tuesday June 16, 2015 @05:34AM (#9724661)
I liked reading it but I think I made a mistake getting it for Kindle instead the paper version; I'm not good using the ebook reader for reference material.

The projects are OK-ish, though. Still a good book.

Re:Why Learn Basic Electronics? [video] by emilburzo on Tuesday June 16, 2015 @04:33AM (#9724434)
After I bought my first Arduino, I did the pulsating LED tutorial, put it in a box and that was it.

Then, by accident, I found a "37 sensor kit" for Arduino on dx.com, and that was a game changer.

And I think that's the problem with getting hooked: pulsating LEDs are fun for a few seconds, robots are interesting but waaay too complex for starting out, but just having some sensors and simple tasks (measure the temperature, send it to another arduino hooked up to a PC, store the data, make a pretty web page and voila you have ambient info) is better.

Re:Why Learn Basic Electronics? [video] by jeffwass on Tuesday June 16, 2015 @04:05AM (#9724330)
Getting Started in Electronics by Forrest Mims III is a good one for a gentle introduction.

But the standard bible, which is also a great source for beginners, is the Art of Electronics by Horowitz & Hill (just came out with 3rd edition). There's an associated Lab Manual which I also recommend.

AoE stems from a set of lecture notes the authors used in their Physics 123 class at Harvard, which is electronics for experimentalists. I took this class in 1999, AoE was the textbook, and it was amazing. You had people across the spectrum, like psychology and music students, who in about 13 weeks learned from scratch most concepts and components of both analog and digital electronics. The pinnacle of the analog half was one lab where we designed and built a system to take an input audio signal, PWM modulate it as pulses of IR light and flash it across the room to a circuit that received, demodulated, and amplified back to audio. The second half of the class was digital electronics where we started with glue logic and ended by building a breadboard 68000 computer. We programmed it in machine code (they had available external assemblers end EEPROM burners for those of us that wanted to go further). Some students went to amazing depths beyond. Eg, in the Lab Manual they showed some student projects where they took two computer-controlled DAC's and fed them into an oscilloscope in XY mode and made games like PacMan and Asteroids.

Not bad for a one-semester class of students who came in with minimal understanding of electronics.

Re:Why Learn Basic Electronics? [video] by kyzyl on Tuesday June 16, 2015 @04:27AM (#9724404)
If my opinion on the matter is welcome here, I would recommend against AoE. It is, indeed, the 'bible' of electronics, but it's also huge, expensive, and not terribly helpful for someone who isn't in school for electronics. Great once you know a little more, though.
Re:Why Learn Basic Electronics? [video] by jeffwass on Tuesday June 16, 2015 @04:42AM (#9724470)
Of course your opinion is welcome :-D

As a counterpoint, I knew many hobbyists who were not in school for electronics use it to great effect.

Eg, in the Boston artist scene. One girl designed and built a whole bunch of home-brew analog synthesisers. Another guy made a performance art kinetic sculpture that would move and bang on drums and other percussives.

Like I mentioned in my comment, the book by Forrest Mims is a more gentle introduction that can get you started. But if you are hungry for more, AoE is the place to go.

Re:Why Learn Basic Electronics? [video] by BFay on Tuesday June 16, 2015 @11:10AM (#9726342)
Alright, you've piqued my interest! I've had a couple of electronics projects in mind, mostly audio-related, like building MIDI controllers, experimenting with modular synthesizers, setting up a MIDI-controlled Gameboy synthesizer.

AoE looks pretty good. Some of then intro material I've looked at before doesn't go into much technical detail, and I feel like I'm missing the fundamentals.

But if I want to actually start experimenting with my own circuits, what should I buy? Should I order components one-by-one off of Digi-key when I think I need them? Or is there a nice starter kit of components that would get me started?

Re:Why Learn Basic Electronics? [video] by jeffwass on Tuesday June 16, 2015 @04:33PM (#9728522)
Kyzyl gave some great advice below.

I'd only make a few extra comments :

- besides components you'll want at least a breadboard, DC power supply, and multimeter. For tools you'll want needle-nose pliers, wire cutters and a wire stripper. Down the road you will want to consider an oscilloscope and soldering iron but can hold off on those for now. Though if you have access to a university lab or hacker space maybe you can work there instead.

- what's your goal, to learn electronics while making synths, or just to make synths yourself? If you really want to go through the "rabbit hole" as Kyzyl said, besides the AoE text you may really want the students lab manual as well. Even if you don't do the labs, it will show you the material in a logical order, without overwhelming you. Maybe this is the frustration Kyzyl was referring to (ie not using that manual)?

- breadboarding is great for hacking around quickly. But it's also like giving your circuit lots of tiny antennas. And you can pick up radio and other signals through accidental rectification + low-pass filtering almost anywhere. So don't despair if your initial attempts have some interference problems, as eventually you may need to consider good noise-reduction methods, and/or use shielded boxes, shielded coaxial cables, etc.

- for components, you could start with a standard assortments of resistors and capacitors. Get one of those sets of pre-stripped wires for breadboards. You'll probably want a few transistors and op-amps. You but can start off with cheaper components as you're learning and hacking, but will likely want to eventually get some quality audio-grade op-amps.

Re:Why Learn Basic Electronics? [video] by jeffwass on Tuesday June 16, 2015 @04:46PM (#9728587)
One more blurb from me :

Check out PAIA Electronics http://www.paia.com

They make DIY audio kits. I built their Fatman synthesiser years ago after graduating university. It sounds great and may give you ideas both on audio generation and midi decoding. It uses an embedded CPU to decode the Midi, and output a voltage linear to the key's pitch. Then has the oscillators (two), filters, low-frequency oscillators, and envelope control. It's a kit you put together, so they give you all the parts. But also they give you schematics. And it could give you some ideas and also a starting place to mod it up yourself. (I had ideas to expound on but never got around to implementing).

Re:Why Learn Basic Electronics? [video] by kyzyl on Tuesday June 16, 2015 @02:10PM (#9727688)
If what you're interested in doing is analog/digital synth stuff, the AoE has the information you need. It leaves some gaps and presents it in a way that I am not fond of, but that's just me and I'm far from your typical learner. That said, be prepared for a long, dark rabbit hole ;-)

Depending on the level of "off the shelf" you're looking to deal with, a MIDI controller can be as simple as a USB controlled MIDI chip hooked up to some switches, or as complicated as a manually implemented digital synthesizer that talks to a USB bridge (don't try to implement a USB controller as your first, or tenth project).

Regarding kit/components, the key is trying to strike a balance between knowing what you want before you buy anything, and not waiting too long to start experimenting with real components. You can save yourself a lot of time by simulating the basic circuits in your project using a software like LTSpice[0] or TINATI[1]. They're both free and easy to use. However, simulations are never good enough, and often you don't have a model to simulate some important piece of your circuit, so the picture isn't complete. A good approach is to sketch out the circuits you want, do a quick sim or two to see if the basics like your power supply or oscillator or digital logic are going to basically do what you think, then order all the components you need from digikey. Shipping under $200 costs $8 from digikey, so it pays not to make too many orders. The bonus is that they are extremely timely with their orders (in US and Canada anyhow). Sometimes unbelievably so.

A note when ordering things from Digikey: First, make sure all the parts a in stock (check "in stock" in the search params). Back ordered parts take a long time, and for almost any part you can imagine there is a comparable replacement in stock. Second, when you want low volume stuff you'll be wanting the "cut tape", "bulk", "tube", or "tray" packaging options. "Tape and reel" or "Digi-reel" are for big rolls of one component and this the minimum order is 1000+ units. Almost everything is available in one of the low-volume options.

Regarding kits, take a look at sparkfun[2] for a wide range of boards, kits, etc. They have some good stuff and are targetted at hobbyists. A lot of their products come with not only a datasheet, but also a simplified "hookup diagram" that tells you how to wire everything up for a typical application. You can get some kits of basic components like resistors and caps, but they tend to get pricey and I always found that I would use one or two of the components up and never touch the rest, i.e. use all of the 10k resistors and the 1uF caps and nothing else. If there's a kit specifically for the project you want go for it though.

[0] http://www.linear.com/designtools/software/#LTspice

[1] http://www.ti.com/tool/tina-ti

[2] https://www.sparkfun.com/categories/157

Re:Why Learn Basic Electronics? [video] by BFay on Tuesday June 16, 2015 @03:36PM (#9728239)
Thank you! That's the best advice I've heard on ordering. If I can get my feet unstuck from their current rabbit-holes, I'll dive into this one.
Re:Why Learn Basic Electronics? [video] by kyzyl on Tuesday June 16, 2015 @04:23AM (#9724387)
It really depends on where you want to go with it. I found early on that I learned most by figuring out how to achieve self contained blocks of functionality to accomplish a more elaborate task. For example, to build a tape following robot you need to run the motors, read some IR sensors, implement some kind of PID control, build some kind of regulated power supply, etc. (I learned least from solving circuit problems out of a textbook).

Each of those tasks can pretty well be accomplished by building standalone circuits, none of which are particularly complicated. In the process of building and debugging each one, you'll find you need to figure out how some of the more basic building blocks of electronics work, for example, capacitors, LEDs, opamps, transistors. There are a huge amount of resources out there to learn from. For anything related to arduinos or microcontrollers, just google it. I don't mean to sound condescending, it really is something that can be googled very easily with relatively high quality results (unlike some other areas of electronics, such as analog amplifier design). For some more theoretical stuff, I suggest you check out MIT OpenCourseware as well as video lectures from Standford on youtube. I blundered my way through a physics degree and an electrical engineering degree using those sites. For a more gentle introduction to some electronics concepts and applications, maybe check out this: http://electronics.wisc-online.com/Category.aspx?ID=3

Now the bad news. You can do a lot of futzing around with arduinos and leds, and that's great, but you'll soon find out that it's interaction with sensors and actuators that makes electronics interesting. To do that you will find that you need to build/use external 'hard' circuits, and to do that you will eventually need an oscilloscope. You really can't get too far in the field without one, even if it's just a hacked sound card and audio cable. I say 'bad news' because a new benchtop scope is pretty expensive. A breadboard, some wires and a soldering iron don't hurt either ;-) For components and data sheets, digikey.com and octopart.com are your friends. For breakout boards and other hobbyist accessories, sparkfun.org and adafruit.com are your friends. There's also a arduino plugin for sublimetext, in case you're like me and can't stand using that atrocious java UI.