Introduction: ATTiny Tea Maker

Picture of ATTiny Tea Maker

This is my very first instructable. I would like to thank all the hobbyists who have shared their knowledge so that it helps us learn and improve.

I was inspired by this excellent instructable which uses Littlebits to make the tea brewing robot.

My project however, involves ATTiny 85

Parts Required

  • Central Processing Unit :)
  • Framework
    • 3mm plywood
    • Small Screw
  • Utility Knife.. Can't live without this one...
  • Double sided tape
  • A teacup and teabag (of course)

The whole project would cost you around $15 - $20.

Now.. to the works.

Step 1: The Circuit

Picture of The Circuit


The brain is an ATTiny 85 chip with the PB0 (pin 5) driving the pwm for the servo and the PB1 connected to the buzzer.

If you are using a 5v supply then you can avoid using the 7805 in the circuit (U1, C1 and C2)

J1 - Power

J2 - Power indicator LED

JP3 - Servo motor

J4 - Buzzer

As you would have noticed the buzzer is connected to the Attiny pin and 5v supply. Hence PB1 should be initialized to HIGH for initializing the buzzer during the tea making process. Inorder to get it to buzz you should set PB1 to LOW. You could connect it to Ground and the PB1 and have PB1 go to HIGH for buzzing. I did it this way to help me shrink the circuit a bit.

I would suggest using the prototype board for the circuit assembly. The PCB i had created is bigger than what I could create with the prototype board.


I searched quite a bit for servo libraries for Attiny 85. Got some but didn't do the trick. Then I stumbled accross this one. I honestly do not understand how it works, but it was able to make my servo respond. So I took this one. With a lot of trial and error came up with a fairly satisfactory one for my little project.

I am not happy about the way I have coded it. You might wonder what the hell is this guy doing, but bear with me.

If you guys could improve this code, I would be more than happy.

That said, here is the code

Step 2: The Robot Framework

Picture of The Robot Framework

Well. Now that we have the brains,will go ahead and make the framework for the robot.

I would suggest that you try making this using cardboard as it saves a lot of time. I just wanted this one to look good so went with wood option

3mm thick plywood sheets you could buy from hobby shops or hardware shops would do the trick. Don't use basswood or balsa, they tear off pretty easy.

The face plate is 2.8 inch X 7 inch

For the Servo and buzzer holes were 7/16 inch drill bit

For the switch and the Led, I used a 1/4 inch drill bit

I didn't make any specific measurements regarding the stand. Just went with my guts on the slot positioning and depth. Had to to a lot of sanding to get them to fit together. All in all it ended up pretty well I believe.

Step 3: Finishing It Up !

Picture of Finishing It Up !

Inserted all the components to the slots.

Tightened to servos into position with screws.

Tied up the loose wires and fixed the circuit and the 9v battery with the help of double sided tape.

Then used double sided tape to attach the servo gear to the robot's hand. Used a small screw at the end of robot hand to make it easy to tie the tea bag

Hope at least some of you would try this out and have fun...

Thank you all. Kindly post your feedback in the comments.

Step 4: A 'Timely' Update :)

Picture of A 'Timely' Update :)

Was thinking about a useful upgrade for the teamaker. Came up with adding a potentiometer to control the brewing time. I was able to incorporate the change into the existing protoboard itself :)

The new control makes it possible to select the brewing time in fixed 1, 2, 3, 4 and 5 minute intervals. There are no in-betweens, for example you cant select a time say 2.5 minutes :)

Updated code is here

Please note that the time is not exact. For example 5 minute gives you 4:40 minutes of brewing time and 3 minute option gives 2:50 minutes of brewing time. Didn't have the patience to tinker it to perfection :)

Note went through an upgrade and now it is crazy hard to edit the circuit and pcb :(. So had to resort to saving the schematic instead of giving you guys a link. Sorry about that.


SørenK3 made it! (author)2017-05-08

Nice and "easy" project. I made my own code - for the sake of learning - and because i used an Arduino nano ;)

Very inspiring and well written instructable.

mazzmn (author)2014-11-23

Very cute and useful, good job!

EndresLPS (author)2014-11-20

Great stuff,

but - sorry - the code is not working on my CodeVisionAVR (hpinfotech)

compiler / IDE ;-(

Thanks for any comments / corrections ;-)


suvinks (author)EndresLPS2014-11-21

Sorry buddy i havent used CodeVisionAVR

I used the Arduino IDE and used

Even with this it took quite some tweaking to get it working as I expected. Hope this helps

Ploopy (author)2014-11-07

RussellA (author)2014-09-18

hi, good job, i make teabag jigglers too, these are wind up though.

suvinks (author)RussellA2014-09-20

Wow!! These look awesome. Can only wish i knew how to make stuff as beautiful as this :) Thanks for sharing

mubi15 (author)2014-09-19

WolfMan02 (author)2014-09-15

Great idea and made well too. now just do this but with coffee... lol have fun with it!

Shortcircui (author)2014-09-14

brilliant job. well explained and lots of detail. definitely a vote from me

suvinks (author)2014-09-14

Thank you :)

MsSweetSatisfaction (author)2014-09-13

Yay! more high tech ways to drink tea! You should definitely enter this in Remix contest! Thanks for sharing!

Thank you. I did enter the contest :)

littoa (author)2014-09-13

Excellent work Suvin.

bergerab (author)2014-09-13

Awesome instructable! I love the pictures and video. The whole concept is great and the fact that it was done with an ATTiny is even cooler! Keep up the good work

About This Instructable




Bio: Am a software engineer by trade. Works mainly with mainframes. Even though I learned Electronics as my degree major and was interested in building stuff ... More »
More by suvinks:ATTiny Tea Maker
Add instructable to: