ATtinyx313 dev kit

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #20109
    SpitfireMike
    Participant

    I just ordered a few of these, getting things ready.  Is the capacitor in the kit required?  If it is, where does it go?

    ATtiny2313/4313 Mini Dev Kits

    #20903
    Windell Oskay
    Keymaster

    The cap is not required; some people like to put them across the power supply, in location C4.

    #20904
    SpitfireMike
    Participant

    Sweet.  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.

    #20905
    SpitfireMike
    Participant

    Been 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>

     

    #20906
    Windell Oskay
    Keymaster

    Hi 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.
    #20907
    SpitfireMike
    Participant

    Oh 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.

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.