Home Forum Hardware DIY KIT1 assembly roundup/lessons: transistors swapped, high-resistance inductor

This topic contains 18 replies, has 4 voices, and was last updated by  Wolferl 9 months, 2 weeks ago.

Viewing 4 posts - 16 through 19 (of 19 total)
  • Author
    Posts
  • #6028

    Wolferl
    Moderator

    Hi Sam,

    18% seems very low indeed…

    Have you programmed the KIT1’s processor chip yourself? If yes: Did you set the programming fuses correctly?

    Do you have an oscilloscope or can you measure frequencies? You can monitor the PWM output that drives the high voltage generation stage. That should show 13 kHz.

    Cheers,
    Wolferl

    #6087

    Radu
    Keymaster

    Hi @sam, as @wolferl said, my guess is about your fuse settings. Please check those again.

    #6112

    sam
    Participant

    Hello, thank you for your replies and sorry for my late responses

    Following your suggestion I did find that my oscillator circuit wasn’t functioning because of my fuse settings.

    I now have the circuit oscillating but my device is rebooting frequently (on its own, without shorting or touching it)

    It may be possible I am still using the wrong fuses. Are these the correct settings?:

    LOW: 0xDC
    HIGH: 0xD7
    EXTENDED: 0x07

    #6113

    Wolferl
    Moderator

    Hi Sam,

    Correct fuse settings are:
    LFUSE: 0xDC
    HFUSE: 0xDF <– there’s your problem

    If you use avrdude to program the chip, this is the correct command line:

    avrdude -c usbasp -p m328p -e -U flash:w:prog.hex:i -U eeprom:w:eeprom.hex:i -U lfuse:w:0xdc:m -U hfuse:w:0xdf:m
    

    See my tutorial about compiling and flashing the KIT1 processor chip.

    Cheers,
    Wolferl

Viewing 4 posts - 16 through 19 (of 19 total)

You must be logged in to reply to this topic.