TinyISP Tuner

Updated: All Leave a Comment

[cs_content][cs_section parallax=”false” style=”margin: 0px;padding: 15px 0px 0px;”][cs_row inner_container=”true” marginless_columns=”false” style=”margin: 0px auto;padding: 0px;”][cs_column fade=”false” fade_animation=”in” fade_animation_offset=”45px” fade_duration=”750″ type=”1/1″ style=”padding: 0px;”][cs_text]Old Version of docs for older IDE http://learn.friedcircuits.us/tinyisp-tuner-old/[/cs_text][/cs_column][/cs_row][/cs_section][cs_section parallax=”false” style=”margin: 0px;padding: 5px 0px 45px;”][cs_row inner_container=”true” marginless_columns=”false” style=”margin: 0px auto;padding: 0px;”][cs_column fade=”false” fade_animation=”in” fade_animation_offset=”45px” fade_duration=”750″ type=”1/1″ style=”padding: 0px;”][cs_block_grid type=”three-up” builder=”false”][cs_block_grid_item title=”FriedCircuits” builder=”false”]FC_TextLogo[/cs_block_grid_item][cs_block_grid_item title=”Version” builder=”false”]

Current
Version 1.1

[/cs_block_grid_item][cs_block_grid_item title=”Tindie” builder=”false”]
I sell on Tindie[/cs_block_grid_item][/cs_block_grid][/cs_column][/cs_row][/cs_section][cs_section parallax=”false” style=”margin: 0px;padding: 45px 0px;”][cs_row inner_container=”true” marginless_columns=”false” style=”margin: 0px auto;padding: 0px;”][cs_column fade=”false” fade_animation=”in” fade_animation_offset=”45px” fade_duration=”750″ type=”1/2″ style=”padding: 0px;”][cs_text]

  1. FTDI Connection
  2. ATmega328p – Runs TinyISP Sketch configured with Tuning enabled. (Pre-programmed)
  3. 20pin Socket for ATtiny23134313
  4. 14pin Socket for ATtiny844424
  5. 8pin Socket for ATtiny854525
  6. Status LED controlled by ATmega328p and TinyISP Sketch on pin 9
  7. ATmega328p ICSP Program header

[/cs_text][/cs_column][cs_column fade=”false” fade_animation=”in” fade_animation_offset=”45px” fade_duration=”750″ type=”1/2″ style=”padding: 0px;”][x_image type=”none” src=”http://learn.friedcircuits.us/wp-content/uploads/2013/09/TinyISP-Tuner_Diagram.jpg” alt=”” link=”false” href=”#” title=”” target=”” info=”none” info_place=”top” info_trigger=”hover” info_content=””][/cs_column][/cs_row][/cs_section][cs_section parallax=”false” style=”margin: 0px;padding: 45px 0px;”][cs_row inner_container=”true” marginless_columns=”false” style=”margin: 0px auto;padding: 0px;”][cs_column fade=”false” fade_animation=”in” fade_animation_offset=”45px” fade_duration=”750″ type=”1/1″ style=”padding: 0px;”][x_custom_headline level=”h2″ looks_like=”h3″ accent=”false”]Assembly[/x_custom_headline][/cs_column][/cs_row][cs_row inner_container=”true” marginless_columns=”false” style=”margin: 0px auto;padding: 0px;”][cs_column fade=”false” fade_animation=”in” fade_animation_offset=”45px” fade_duration=”750″ type=”1/1″ style=”padding: 0px;”][x_accordion][x_accordion_item title=”Accordion Item 1″ open=”true”]Add some content to your accordion item here.[/x_accordion_item][x_accordion_item title=”Accordion Item 2″ open=”false”]Add some content to your accordion item here.[/x_accordion_item][/x_accordion][/cs_column][/cs_row][/cs_section][cs_section parallax=”false” style=”margin: 0px;padding: 20px 0px;”][cs_row inner_container=”true” marginless_columns=”false” style=”margin: 0px auto;padding: 0px;”][cs_column fade=”false” fade_animation=”in” fade_animation_offset=”45px” fade_duration=”750″ type=”1/1″ style=”padding: 0px;”][x_custom_headline level=”h2″ looks_like=”h3″ accent=”false”]Important Notes[/x_custom_headline][/cs_column][/cs_row][cs_row inner_container=”true” marginless_columns=”false” style=”margin: 0px auto;padding: 0px;”][cs_column fade=”false” fade_animation=”in” fade_animation_offset=”45px” fade_duration=”750″ type=”1/1″ style=”padding: 0px;border-style: double;border-width: 0px;border-color: #dd3333;”][cs_text class=”cs-ta-justify”]

  • Never have more than 1 ATtiny in one of the sockets.
  • Always check the orientation before powering up.
  • Always power down before insertingremoving an IC.
  • If you don’t want the hassle of removing the IC you can slightly push it in the socket instead of all the way.
  • You can use this just to program ATtinys without tuning them or if you have already tuned them.

[/cs_text][/cs_column][/cs_row][/cs_section][cs_section parallax=”false” style=”margin: 0px;padding: 45px 0px;”][cs_row inner_container=”true” marginless_columns=”false” style=”margin: 0px auto;padding: 0px;”][cs_column fade=”false” fade_animation=”in” fade_animation_offset=”45px” fade_duration=”750″ type=”1/1″ style=”padding: 0px;”][x_custom_headline level=”h2″ looks_like=”h3″ accent=”true”]Downloads[/x_custom_headline][/cs_column][/cs_row][cs_row inner_container=”true” marginless_columns=”false” style=”margin: 0px auto;padding: 0px;border-style: solid;border-width: 0px;”][cs_column fade=”false” fade_animation=”in” fade_animation_offset=”45px” fade_duration=”750″ type=”1/1″ style=”padding: 5px;”][cs_block_grid type=”two-up” builder=”false”][cs_block_grid_item title=”Requirements” builder=”false”]All we need is the Arduino IDE 1.6.4+

Arduino IDE Download[/cs_block_grid_item][cs_block_grid_item title=”Note” builder=”false”]Now with Arduino IDE 1.6.4+ setup for the Attiny’s are much easier.[/cs_block_grid_item][/cs_block_grid][/cs_column][/cs_row][cs_row inner_container=”true” marginless_columns=”false” style=”margin: 0px auto;padding: 0px;”][cs_column fade=”false” fade_animation=”in” fade_animation_offset=”45px” fade_duration=”750″ type=”1/1″ style=”padding: 0px;”][x_custom_headline level=”h2″ looks_like=”h3″ accent=”true”]Setup Tiny Core[/x_custom_headline][/cs_column][/cs_row][cs_row inner_container=”true” marginless_columns=”false” style=”margin: 0px auto;padding: 0px;”][cs_column fade=”false” fade_animation=”in” fade_animation_offset=”45px” fade_duration=”750″ type=”1/1″ style=”padding: 20px;”][cs_block_grid type=”two-up” builder=”false”][cs_block_grid_item title=”Add to pref” builder=”false”]

Add board URL to Arduino Board Manager

  1. Go to File | Preferances
  2. Enter the following URL
  3. http://drazzy.com/package_drazzy.com_index.json
  4. Go to Tools | Board | Boards Manager
  5. Due to a bug open board manager twice.

 [/cs_block_grid_item][cs_block_grid_item title=”Arduino IDE” builder=”false”]Arduino_IDE_Add_Board[/cs_block_grid_item][cs_block_grid_item title=”Install Boards” builder=”false”]

  1. In the Board Manager scroll to the bottom
  2. There should be two entries ATtiny Core / ATtiny Modern
  3. Click on the ATtiny Core and click install
  4. Now you can select the ATtiny from the boards list
  5. Then select your options and the version of the series you want

[/cs_block_grid_item][cs_block_grid_item title=”Board Manager” builder=”false”]Arduino_IDE_Board_Manager[/cs_block_grid_item][/cs_block_grid][/cs_column][/cs_row][cs_row inner_container=”true” marginless_columns=”false” style=”margin: 0px auto;padding: 0px;”][cs_column fade=”false” fade_animation=”in” fade_animation_offset=”45px” fade_duration=”750″ type=”1/1″ style=”padding: 0px;”][x_custom_headline level=”h2″ looks_like=”h3″ accent=”true”]Programming Basic Sketch[/x_custom_headline][/cs_column][/cs_row][cs_row inner_container=”true” marginless_columns=”false” style=”margin: 0px auto;padding: 0px;”][cs_column fade=”false” fade_animation=”in” fade_animation_offset=”45px” fade_duration=”750″ type=”1/1″ style=”padding: 0px;”][cs_text]Be careful with setting the external oscillator since the TinyISP-Tuner does not have a clock source. Once you burn the “bootloader” you will not be able to program it again unless you add a clock source. [/cs_text][/cs_column][/cs_row][cs_row inner_container=”true” marginless_columns=”false” style=”margin: 0px auto;padding: 0px;”][cs_column fade=”false” fade_animation=”in” fade_animation_offset=”45px” fade_duration=”750″ type=”1/1″ style=”padding: 0px;”][cs_block_grid type=”two-up” builder=”false”][cs_block_grid_item title=”Blink” builder=”false”]Now lets test programming the ATtiny.

  1. Select the chip you are using from

    Tools | Board | ATtiny (Series)
  2. Select the B.O.D option you want.
    Tools | B.O.D
  3. Select the chip in that series
    Tools | Chip
  4. Select the clock
    Tools | Clock
  5. Programmer should be Arduino as ISP from
    Tools | Programmer
  6. Then test with the blink sketch from
    File | Examples | Basics | Blink
  7. Lightly insert the ATtiny to the apporate socket with the notch/dimple facing the LED.
  8. Load fuse settings by running
    Tools | Burn bootloader. This isn’t actually burn a bootloader.
  9. Finally load the sketch using the right arrow button or
    Sketch | Upload

[/cs_block_grid_item][cs_block_grid_item title=”IDE Screenshots” builder=”false”]Arduino_IDE_Board_ATtiny

Upload Button[/cs_block_grid_item][/cs_block_grid][/cs_column][/cs_row][cs_row inner_container=”true” marginless_columns=”false” style=”margin: 0px auto;padding: 0px;”][cs_column fade=”false” fade_animation=”in” fade_animation_offset=”45px” fade_duration=”750″ type=”1/1″ style=”padding: 0px;”][x_custom_headline level=”h2″ looks_like=”h3″ accent=”true”]ATtiny Tuning[/x_custom_headline][/cs_column][/cs_row][cs_row inner_container=”true” marginless_columns=”false” style=”margin: 0px auto;padding: 0px;”][cs_column fade=”false” fade_animation=”in” fade_animation_offset=”45px” fade_duration=”750″ type=”1/1″ style=”padding: 0px;”][cs_text]Tuning improves serial communications when running on the internal oscillator. If you plan on using a resonator/crystal then you can skip tuning.[/cs_text][/cs_column][/cs_row][cs_row inner_container=”true” marginless_columns=”false” style=”margin: 0px auto;padding: 0px;”][cs_column fade=”false” fade_animation=”in” fade_animation_offset=”45px” fade_duration=”750″ type=”1/1″ style=”padding: 0px;”][cs_block_grid type=”two-up” builder=”false”][cs_block_grid_item title=”Block Grid Item 1″ builder=”false”]
Download the TinyTuner Library from
https://github.com/Coding-Badly/TinyTuner2
Use the “Download Zip” button the right. [/cs_block_grid_item][cs_block_grid_item title=”Block Grid Item 2″ builder=”false”]IDE Projects/Library[/cs_block_grid_item][/cs_block_grid][/cs_column][/cs_row][cs_row inner_container=”true” marginless_columns=”false” style=”margin: 0px auto;padding: 0px;”][cs_column fade=”false” fade_animation=”in” fade_animation_offset=”45px” fade_duration=”750″ type=”1/1″ style=”padding: 0px;”][x_custom_headline level=”h2″ looks_like=”h3″ accent=”true”]Using Serial[/x_custom_headline][/cs_column][/cs_row][cs_row inner_container=”true” marginless_columns=”false” style=”margin: 0px auto;padding: 0px;”][cs_column fade=”false” fade_animation=”in” fade_animation_offset=”45px” fade_duration=”750″ type=”1/1″ style=”padding: 0px;”][cs_block_grid type=”two-up” builder=”false”][cs_block_grid_item title=”Block Grid Item 1″ builder=”false”]Placeholder[/cs_block_grid_item][cs_block_grid_item title=”Block Grid Item 2″ builder=”false”]Placeholder[/cs_block_grid_item][/cs_block_grid][/cs_column][/cs_row][/cs_section][/cs_content]

Leave a Reply