SparkFun will be closed May 25, 2015 for Memorial Day. Orders placed after 2pm on Friday the 22nd will ship out on Tuesday. Thanks!
Frequently Asked Questions
Mon-Fri, 9am to 5pm
U.S. Mountain Time:
Chat With Us
July 7, 2010
Tutorial - Sizing a heat sink for a heavy load
about 2 years ago
That means that ALL your I/O ports, together, can source/sink up to 200mA. Each individual pin can only source/sink up to 25mA. In other words, you could have eight pins do 25mA, and your MCU would be doing 200mA. You could also have ten pins do 20mA and have a total of 200mA. What you can’t do is, say, have four pins draw 50mA for a total of 200mA (too much per pin) or have ten pins draw 25mA for a total of 250mA (too much total). To answer your question directly, your I/O ports will draw up to a maximum of 200mA (plus any losses to heat in the chip).
Tutorial - Beginning Embedded Electronics - 2
about 5 years ago
I’m guessing you’ve got this by now, but I’ll leave this note for others. I got the same error.
Open the makefile, and find the line AVRDUDE_WRITE_FLASH. You can append AVRDude command-line options to this line and they will be run automatically when you choose Tools > [WinAVR] Program. Add -F to the end of this line and it will force the write.
As far as I can tell there’s no reason you can’t use 168 code on a 328 (same chip, more memory) but AVRDude doesn’t like it.
No public wish lists :(
Forgot your password?
No account? Register one!