HotOrNot Coffee Stirrer

by dailydiy in Circuits > Electronics

265 Views, 1 Favorites, 0 Comments

HotOrNot Coffee Stirrer

Hot Or Not Coffee Stirrer

A smart Beverage Stirrer to notify when it is safe to drink without getting burnt.

The inspiration for this project was my own. I tend to drink tea too fast, and get singed or burnt in the lips or the tongue and then have to wait for a while for the tea to cool down.

Recently, there was a research that pointed a relation between drinking hot tea and esophageal cancer. Here is the link to the original paper https://onlinelibrary.wiley.com/doi/full/10.1002/ijc.32220 https://edition.cnn.com/2019/03/20/health/hot-tea-linked-to-higher-cancer-risk-study-intl/index.html

The project is a Low power attempt at creating a simple Stirrer which can be dipped inside a hot beverage. The heart of the whole project is a ATtiny85 chip running at 8Mhz. The temperature sensing is provided by a DS18b20 Sensor.

Supplies

ATtiny85 SOIC Chip or a Digispark Module

DS18b20 Sensor

WS2812B LED's

A03416 Mosfet

Requirements and Analysis

466081557917318519.jpg

I started the idea with imagining how the user would like to interact with the device and what would their experience be. I interviewed a couple of my friends using social media and chat groups. This helped me figure out underlying common requirements.

Here are the common requirements

1) I expect the device to work twice a day for a month, without needing to charge.

2) I expect to know the exact temperature my beverage is at.

3) I should be able to clean the device easily and with running water.

4) It should not be heavy at all, and should weigh roughly about a pencil.

5) It should have the form factor of a stirrer.

6) It should be able to adapt to every known kind of tea/coffee mug available around me.

Some of these were easy to meet( based on experience), but some were big question marks. Nevertheless, I started to order parts and put together a basic working circuit I could test and refine my objectives.

I initially thought of not putting a Li Ion Battery because of export restrictions and certifications I would require to go through. I planned my design around a CR2032 battery.

The battery ran for quite a few days before it drained and was rejected as the product size was starting to get cumbersome. Some of my friends down voted the whole idea of a replaceable battery.

My initial prototype was also with a Red, Yellow and Green discrete LED tied to the I/O pins of the Attiny85.

I got better and better information about the behavior of the system, which brought confidence to go ahead and attempt the Low Power code for the Attiny85.

Shift to WS2812B and Low Power MOSFET

7298651557918015271.jpg

I shifted my LED from discrete to RGB WS2812 ones, because I realised i may need more I/0 Pins for other uses.

I also figured out that the discrete LED's cannot provide for a good range of illumination i was hoping for, without resorting to PWM.

I had experience using the WS2812B LED's and I liked them a lot, but my only worry was their standby current draw when they are not lit. Each LED can draw about 1mA from the Battery when it is not on, thereby wasting power when it serves no purpose.

Even when the Attiny85 was sleeping, the current draw of the DS18B20
and the WS2812LED strip of 8 LED's was about 40mA, which was a big problem area.

There was an idea. I could switch on the LEDs and the DS18b20 sensor using a Logic Level Mosfet.

I set my eyes on the AO3416 MOSFET which has a low Rds(on) of 22mohm when the Vgs was 1.8v. This MOSFET was a perfect choice to put in my circuit and try.

I managed to lower the standby power need from 40mA to under 1uA by using the MOSFET. I did gain a little on time, because once the power to the LED was cut off, it has to be reinitialized and that took some time to happen.

The tactile button in the image is used to wake up the Attiny85 from deep sleep and start measuring the temperature.

Overall, I was happy with the whole circuit and decided it was time to design a PCB for the whole circuit.

Designing a PCB

8813351557929201268.jpg
5765321557928956459.jpg
197561557929248191.jpg
5601191557929254517.jpg
PCB_NEW-PCB_20190725200320.png

It took me a while to design a PCB in EasyEDA.

Firstly there were two leaps of faith I took

1) I did not test the SK6812 LED because I had none. I read up on the LED documentation and it was identical to the WS2812B LED.

2) The LTC4054 Li Ion charger chip, I had no experience designing with it.

I read up on a lot of design notes for both the devices and figured out what was that I needed.

For the SK6812 LED, I figured out that soldering it by hand will be a pain. But I couldn't find an alternative to it. Easy EDA had the component designed, and I used it. I also ended up verifying the pad layout of the design against the LED mechanical drawings and confirmed it was within spec.

The LTC4054 was a simple enough chip to work with. I set the charging current of the Li Ion Battery to 200mA, as my battery was 300mA, which makes the charging current less than 1C, and is overall good for the battery and the charger.

I purchased a battery and sized my PCB to it. The PCB dimensions are 30mm x 15mm, and all the components are on the top side of the PCB.

I put in a order at JLCPCB in last week of April, and the PCB's came by the first week of May.

A friend who has a steady hand and repairs phone for a living helped
me solder all the parts for the PCB. The most difficult was the SK6812 LED. Everything was soldered exceptionally well, and I have done basic tests on the LED's and the ATtiny as well. In image below, the SK6812 LED's are the two white rectangles on the edge of the board, on the right of the USB Micro connector. The LTC4054 is the small 5 legged chip in the middle of the board. The white rectangle on the bottom edge of the board( right of the LTC4054) is the reset button. The ATtiny85 is the 8 legged SOIC chip. the three pads at the very extreme right are to connect the DS18b20 temperature sensor.

I have a SOIC clip adapter which I am using to program the ATtiny85 as shown below.

I keep updating my project progress on Instagram, with videos as well.

Using the Stirrer

Hot Or Not Coffee Stirrer

To use the stirrer, all you have to do is

1) Dip the metal sensor into your beverage.

2) Press the button on the Stirrer

3) Wait for the leds on the stirrer to start blinking yellow. Your beverage is at the right temperature to drink.

Taking the Idea Forward

1608876.jpg

I realized after research that it would be a good idea to talk about the project and generate interest around the idea before i commit more resources to it.

The device has been operational since the last two months when used twice daily.

I have the choice to move to a thermocouple or stay with the current sensor choice. The thermocouple is more resistant to temperatures and is available in really tiny size. The DS18b20 on the other hand is big enough to not be able to be inserted in the small oval slot that is available in most coffee cups, when you purchase coffee at a Starbucks or Dunkin Donuts.

There are issues with safety as well. It is possible that chemical used during the soldering and manufacturing process will leach into the coffee. Cleaning the stirrer is another problem, as there will be a battery inside it, so the design must be able to allow it. It is not difficult to design something like this, but it isn't trivial as well.

I have started preliminary discussion with a couple of helpful industrial designers who seem to be interested in contributing, let see where the project leads to. It will be awesome if the project becomes a commercial success and helps save lives. Fingers Crossed!