Show Posts
Pages: 1 2 [3]
31  Using Arduino / Project Guidance / Re: Motor Controller with ATMega168 on: January 25, 2013, 11:29:58 pm
My garsh; thank you both very much. I've been bouncing back and forth between eBay, Mouser, and SparkFun in order to better understand the direction you gave me, and slowly, illumination ramps. The only bit that I'm having a time with, Larry, is when you said, "I compiled your electricEelWheel.pde sketch, it was 2,748 bytes. The 168 has 16 Kbytes and the 328 has 32 Kbytes". I guess I'm not sure how to interpret that unless it was to suggest another good reason to upgrade the microchip? Well, I think I will, and I also think I'll get an extra one or two just in case.

You both also have my gratitude for not having sent me to buy a pre-made Arduino board. This is a lot more interesting, and I feel much more a part of the project by building the board, and learning about it, even if I'm merely following a recipe.

Osgeld, my apoloies for not having mentioned the bootloader. I don't fully understand what that means (I do a little), but I had read, and seen enough to know that it was important, and I intended to include it in my topic subject line.

Finally, Osgeld suggests the USBASP, while Larry recommends a Arduino UNO (could you point me to something that looks like you mean, there are a number of things that come up when I search for that). Do these two approaches accomplish the same thing? Does one have an advantage over the other?

ETA: Drat. Sorry, Larry; the first time I looked at those two links, I didn't catch what I was seeing.
32  Using Arduino / Project Guidance / Motor Controller with ATMega168 on: January 25, 2013, 08:39:59 pm
Hello;

I'm a retired art teacher making a laptop electric spinning wheel for one of my high school art teachers, now in a wheel chair. I've never done anything with electronics before starting this project, but have always wanted to. When the opportunity presented itself, I was eager to dig in. I've been following the directions for the Electric Eel Wheel http://www.dreamingrobots.com/ElectricEelWheel/BuildersGuideElectronics_v1200/ by Maurice Ribble.

The URL above lists all the recommended parts to build the PCB, including an ATMega168 which I seem to have ordered just before it was retired. My custom PCB just arrived today, and I'm anxious to dig in.  So, in reading here on the Arduino site and elsewhere around the web, as well as in watching tutorial videos on YouTube, I get the idea that a USB connection is used to connect to my PC. There is some confusion in my mind about that, however, in that Maurice includes no USB connection, and Sparkfun Electronics https://www.sparkfun.com/products/8846? says:

Quote
To get this chip working with Arduino IDE, you will need an external 16MHz crystal or resonator, a 5V supply, and a serial connection.

I presume the serial connection is typically be made by USB?  My question then is, given what I've purchased so far, can I install his Arduino program on the ATMega168 http://www.dreamingrobots.com/ElectricEelWheel/files/electricEelWheel.pde?  If so, can someone point me to a tutorial, or give this lay person directions? If not, well, what might you do in my shoes?
Pages: 1 2 [3]