IOT123 - ATTINY85 SOFTWARE SERIAL JIG Assembly

Published

Introduction: IOT123 - ATTINY85 SOFTWARE SERIAL JIG Assembly

About: The tension between novelty and familiarity...

I've been using ATTINY85's for low-power sensor mashups. Originally I thought there was no way to debug these chips using a console and used some pretty "out there" methods to peek whats happening run-time.

Then I came across SoftwareSerial. Its a library, you define your TX and RX pins (yes we aint got many) and you get console debugging via a TTL-232 adapter.

I created an adapter that marries the relevant pins between an ATTINY and a TTL-232 (VCC and GND) and breaks out TX and RX for your own mapping. A header rail for VCC and GND are also broken out. This article describes the assembly of the jig; this article gives instructions for using SoftwareSerial with ATTINY85 using the Arduino Console window.

As the ATTINY85 seats lower than the surrounding headers in the DIL IC Socket, it is recommended a tag of Mylar (durable) tape is added to the chip(s) to facilitate easy removal from the Jig.

Step 1: Materials and Tools

  1. Double sided protoboard (6 x 7 holes)
  2. 8 Pin DIL IC Socket (1)
  3. 4P Female header with long pins (2)
  4. 6P Female header with short pins (3)
  5. Cyanoacrylate glue (1)
  6. Hookup wire (7)
  7. Solder Iron (1)
  8. Solder (1)

Step 2: Jig Assembly

  1. On the designated top of the board attach the DIL IC Socket through BLUE1 - BLUE8, bend pins outward on bottom and solder.
  2. On the top, apply Cyanoacrylate adhesive to sides of DIL IC Socket and insert 4P long pin headers into GREEN1 - GREEN4 and GREEN5 - GREEN8. When dry solder pins on underside, ensuring a solder bridge to adjacent pins (BLUE dots).
  3. On the top, apply Cyanoacrylate adhesive to other sides of DIL IC Socket, and insert 6P Headers into YELLOW/ORANGE holes and PINK holes. When dry solder pins on underside.

  4. On the top, apply Cyanoacrylate adhesive to the last gap onto the 6P header glued in #3. Insert 6P Header into RED/exposed holes. When dry solder pins on underside.

  5. On the bottom, bridge the pins from PINK1 to PINK6. Then connect that bridge with a black wire to RED1.

  6. On the bottom, bridge the pins from ORANGE1 to ORANGE4. Then connect that bridge with a red wire to RED2 and to BLUE1.

  7. On the bottom, connect a green wire from RED3 to YELLOW1.

  8. On the bottom, connect a white wire from RED4 to YELLOW2.

Step 3: Adding the Label

  1. Print the attached label with the width at 68mm onto adhesive labels.
  2. Cover with clear tape/contact.
  3. Cut to outer dotted line.
  4. Remove wax film and wrap label as shown.
  5. Add trimmed tape to seam on corner.

Step 4: Next Steps

  1. Attach jumpers from your preferred ATTINY pins for TX and RX to to the breakouts YELLOW1 and YELLOW2.
  2. Follow instructions for using SoftwareSerial. As stated in the article this method covers debugging, not the initial upload of the software.
  3. Careful with how you use strings in println statements: they suck memory.
  4. Peek values whilst developing your code.

Check out these other DIY Projects and D1M BLOCKS.

Share

    Recommendations

    • Clocks Contest

      Clocks Contest
    • Creative Misuse Contest

      Creative Misuse Contest
    • Water Contest

      Water Contest

    Discussions

    The article referenced (Easy Serial on the ATtiny) mentions "the Programmer option in the IDE needs to be set to AVRISP mkil for this to work". I found keeping the IDE Programmer as "Arduino as ISP" also works.