Tuning Internal Oscillator of ATTiny85 - Hardware Setup for Two Way Serial?

Hi Everyone,

I’ve been researching quite a bit, and haven’t found what I’m looking for. I found the poor man’s tiny tuner by coding badly and I’m looking for the right two-way serial communiction to accomplish this with regards to the right hardware to connect to the ATtiny to get two-way serial communication. In particular, can I use a Duemilnove to do it? As a “Serial Converter”

I got one-way communication working: Communication with Tiny's

I grabbed the featured download - TinyTuner_0003.

Which sketch from the example should I be using?
My findings:
Interactive_to_Serial_with_Details.pde is the only one that compile without errors. and I can use the TX on my deumilanova to receive. But cannot send the ‘x’ yet…

Interactive_to_Serial.pde compiles with multiple errors mainly ‘TinyTuner was no declared in this scope’
Interactive_with_NewSoftSerial.pde - Not sure this is updated for latest arduino with softserial. I even added NewSoftSerial library from here: NewSoftSerial | Arduiniana and installed it. Then I get Tiny84Tuner not delcared in this scope. I replaced it with TinyTuner and get TinyTuner has no member “getState”…I stopped there.

Anyway, just looking for clarification and the best way to accomplish this so I can tune my ATTinys.

Thanks.

ref: http://forum.arduino.cc/index.php/topic,8553.0.html
&
http://forum.arduino.cc/index.php/topic,5621.0.html ← it’s not precisely clear what to do here with regards to ATTiny.

Update:

It appears to be working 8) ...Thanks Codingbadly for the Poor Man's Tuner code... Here are my steps to implement.:

a)Assumptions: Attiny85 with Tiny Core running @ 8mhz. b)You have an Duemilanove laying around. Other boards may work, but I only tested with my Duemilenova

  1. Download TinyTuner v0003 here: https://code.google.com/p/arduino-tiny/downloads/detail?name=TinyTuner-0003.zip
  2. Load Interactive_to_Serial_with_Details.pde onto your ATtiny85.
  3. Take your Duemilanova and load the BareMinimum sketch onto it. http://arduino.cc/en/Tutorial/BareMinimum
  4. Unplug Duemilanova from USB/power
  5. The wiring: 10uF cap between Reset and Ground(do this after you load the sketch! otherwise it won't load) (I'm betting it's probably good to have a 330 ohm resistor with the RX pin as well, but I didn't have any, and I just gave it a shot. it worked. 6.Plug in USB and load serial monitor at 9600 baud rate.)
  6. Follow on-screen instructions...(pressing 'x')

I hope this helps some guys out there and saves a few hours of googling.

gismo: It appears to be working 8) ...Thanks Codingbadly for the Poor Man's Tuner code...

You are welcome. I'm glad you got it working.

Have you considered using Tiny Tuner 2?

[quote author=Coding Badly link=topic=221296.msg1610503#msg1610503 date=1393471730]

gismo: It appears to be working 8) ...Thanks Codingbadly for the Poor Man's Tuner code...

You are welcome. I'm glad you got it working.

Have you considered using Tiny Tuner 2?

[/quote]

I'll give it a shot!...Briefly, what are the differences/advantages of Version 2?

Also, before I start digging deeper...what is Tiny Debug Knock Bang? Lastly, will the hardware setup above work for this tuner?

[quote author=Coding Badly link=msg=1610503 date=1393471730] You are welcome. I'm glad you got it working.

Have you considered using Tiny Tuner 2?

[/quote]

Hi There,

I am trying to Implement the steps stated above, Unfortunately when I compile the Interactive_to_Serial_with_Details.pde, I get an error saying Serial was not declared in this scope. Any help is appreciated.

I get an error saying Serial was not declared in this scope.

Are you using this tiny core:

http://code.google.com/p/arduino-tiny/

Are they different from the cores from the URL below? https://raw.githubusercontent.com/damellis/attiny/ide-1.6.x-boards-manager/package_damellis_attiny_index.json

That's what i am using as Instructed via MIT Hi-Low Labs.

Yes, they are different.

There are a lot of versions of the core. Obviously, I think my ATtiny core is the best, because it supports lots of different chips (it, like some others, provides a software serial named Serial for chips that don't have a hardware uart, against my better judgement; I don't like the idea of making a software serial port look like a hardware one to the developer, since software serial has limitations which the programmer should be aware of) - mine would be the second link in my sig; (that's a link to the repo, not a board manager url, install the old fashion way as described in readme).

Other people, naturally, maintain that their version of the core, or whatever version they've been using successfully is the best ;-)

Really Appreciate the quick response! However I can't seem to open the README file to install these cores, any suggestions?

EDIT: Never Mind, got it :)

However, I still get garbage Text Printed to the Serial Monitor :(

babsndeep: Really Appreciate the quick response! However I can't seem to open the README file to install these cores, any suggestions?

No, this is a quick response ;-)

The readme file can be opened in any text editor, but it looks way better (and has a picture showing how you want the hardware folder to look) if you just view it in github. Just go to the URL in the sig, and scroll down - that's the readme ;-)