Results 1 to 1 of 1
  1. #1
    Wii U Section Moderator
    Computer Engineer
    MrOwnership's Avatar

    Badge

    Join Date
    Jun 2011
    Location
    Maryland
    Posts
    1,435
    Points
    2,862
         User Info     Contact     Gamer ID
    Join Date
    Jun 2011
    Location
    Maryland
    Posts
    1,435
    Points
    2,862
    Gamer IDs

    Steam ID: MrOwnership Wii Code: MrOwnership

    Default [Assembly] AVR Butterfly Code Lock

    This is a simple program I wrote in AVR Assembly to run on my AVR Butterfly. It is a simple code lock that takes input from the built in joystick on the Butterfly and beeps whenever a button is pressed. The passcode can be reprogrammed from the UART on the Butterfly using a computer, shown in the middle of the video. The Butterfly is connected to a AVR Dragon via JTAG cable for debugging in Atmel Studio.

    LED Status
    • On when the system is locked.
    • Blinking when the system is taking input.
    • Off when the system is unlocked, only for 5 seconds then it relocks itself.


    Reprogramming the lock is simple, just use the string "^{'C1','C2','C3','C4'}C" where C1-4 are 'U', 'D', 'L', or 'R'. I took a screen shot of reprogramming the device and put it in the video mid way through.


    Some pictures


    Code:
    Code upon request

    0 Not allowed! Not allowed!
    Last edited by MrOwnership; 11-18-2013 at 04:33 AM.

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -10. The time now is 01:55 AM.
Powered by vBulletin®
Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.