Home › Evil Mad Scientist Forums › Other kit and product support › ATtinyx313 dev kit
- This topic has 5 replies, 2 voices, and was last updated 12 years, 2 months ago by SpitfireMike.
-
AuthorPosts
-
October 7, 2012 at 7:44 pm #20109SpitfireMikeParticipant
I just ordered a few of these, getting things ready. Is the capacitor in the kit required? If it is, where does it go?
October 7, 2012 at 8:23 pm #20903Windell OskayKeymasterThe cap is not required; some people like to put them across the power supply, in location C4.
October 10, 2012 at 9:42 pm #20904SpitfireMikeParticipantSweet. I’m a software guy by nature, just getting into hardware. I know that when someone sells me stuff they usually don’t throw in extras, figured I’d check. Thanks.
October 30, 2012 at 2:36 pm #20905SpitfireMikeParticipantBeen a few weeks, just about ready to switch my plans for the kits from functional to something more artistic…melting all the parts together would make a nice hat pin or something. What should be relatively simple is proving to be more frustrating than I had planned.
Let’s say that someone bought a ATtinyx313 dev kit with the 4313, and the 16mhz crystal/caps from y’all. What fuse settings would you recommend to use the UART at 9600?
<details>
I’m working on a relay control board for my car. Pre-OBD, most advanced piece of electronics on this thing is a voltage stabilizer for the temp gauge. I built the relay board, programmed a Netduino, made a program for my Android tablet and phone that interfaces with the Netduino via Bluetooth, can start and stop the engine, reads all of sending unit values, nice little display. All that was left was some way to control everything without the Android device. I pick up some 4×4 matrix keypads, but those require 8 pins, and my Netduino only has 3 left. So, I figure I’d use a 4313 to whip up something that would read the keypad and send key presses through UART to the Netduino.Using the USBTiny programmer, the Atmel Sudio 6 IDE and AVRDude, I’ve been trying for the past two weeks to just send something through the 4313’s UART to a Sparkfun 4 digit 7-segment LED. The LED works fine from Netduino or Arduino at 9600 8N1, but all I get is garbage coming from the 4313. I do have the 16mhz crystal and caps from y’all (on the XTL/C1/C2 pads), tried all kinds of fuse settings, built all of the dev boards I got from here, etc, etc, ad nauseum, but still haven’t been able to get the UART to send the right characters.
</details>October 31, 2012 at 2:47 am #20906Windell OskayKeymasterHi Mike,
You might start with our “basics” article on serial communication with AVR microcontrollers:Use the avr fuse calculator to pick appropriate fuse values. Test the actual clock speed, if you have a chance, by counting down the clock to give you a 1 Hz blink on an LED, and make sure that it’s what it’s supposed to be.October 31, 2012 at 10:45 am #20907SpitfireMikeParticipantOh good golly, that’s exactly what I spent the past few weeks looking for. Maybe I’ll just limit my searches to evilmadscientist.com. I’ll have to find some way to leave work early to try this out. Thanks.
-
AuthorPosts
- You must be logged in to reply to this topic.