Free 173 Best Homemade Tools eBook:  
Get 500+ homemade tool plans, tool build guides, ebooks, and much more.

User Tag List

Results 1 to 2 of 2

Thread: Debugging Code on an Arduino ATTiny85

  1. #1
    Supporting Member rgsparber's Avatar
    Join Date
    Nov 2012
    Location
    Phoenix, AZ
    Posts
    834
    Thanks
    411
    Thanked 1,735 Times in 450 Posts
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    rgsparber's Tools

    Debugging Code on an Arduino ATTiny85

    I really enjoy playing with devices that are tiny, intricate, and low in cost. The ATTiny85 certainly fits that description. It is an entire computer system that easily rests on a fingernail. It can be bought for under $1.50. So what's not to like? Well, with the tiny package comes a tiny number of Input/Output pins. This is fine if that is what the application needs but sure makes debugging code difficult.

    In my present application, I was able to borrow a single pin on the ATTiny85 in order to send out debugging information. This article describes the software that runs inside the ATTiny85 plus software that runs on a companion Pro Micro. Together they let me send bytes out this single pin and have them show up on my laptop.

    For those of you with far more experience programming Arduinos, I welcome suggestions on how to make the code on the ATTiny85 smaller and use less real time. I would also like to speed up the throughput of the Pro Micro.

    If you are interested, please see

    http://rick.sparber.org/SPrint.pdf


    Your comments are welcome. All of us are smarter than any one of us.

    Rick
    Rick

  2. #2
    Content Editor
    Supporting Member
    DIYer's Avatar
    Join Date
    Aug 2013
    Posts
    3,090
    Thanks
    552
    Thanked 1,322 Times in 1,193 Posts
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks Rick! We've added your ATTiny85 Debugging Method to our Electronics category, as well as to your builder page: Rick's Homemade Tools. Your receipt:



    Post your reply!
    Join 42,532 of us and get 500+ tool plans, tool eBooks, build guides, and much more.



    eBooks for Supporters

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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
  •