Ultimate Kitchen Timer - Page 1
Forum section: electronics / projects

author: caswal
author_rank: Contributor
timestamp: July 13, 2020, 01:11:20 pm
content: Hi all,I've been wanting to make the leap from designing some simple PCB logic/connector boards for my Arduino based projects. To making PCBs with the MCU integrated.While cooking dinner the other night, I wanted to quickly keep time of a couple of things. I ended up using my phone. I guess I could get a google home or something. But I thought it would be cool to have a digital kitchen timer with a rotary encoder to roll on time. Have that nice satisfying tactile feedback and also doesn't matter too much if your hands are covered in something.I then thought about why not 4 Timers with 4 Encoders? When not in use it could display the Date, Time, Temp and something else. I think I could get quite a cool aesthetic look, with a knob on each corner, and 4 separate OLED displays.My learning goals for this are:Learn to AVR MCU Integrated into the PCBLearn how to flash it with ISPLearn charge control and protection of Li-Ion batteriesLearn EasyEDA and see what its integration with JLC PCB is likeSo my design requirements for the timer are4 Cheap Aliexpress OLED Displays4 Rotary EncodersMicro USB rechargingCharge control and protection of Lion BatteryDate, Time, Temp and Humidy display when not in useAnd I almost forgot, make sound when finishedMy Equipment on hand:Large Format 3D FDM PrinterFine detail FDM PrinterCNC RouterDS1052 Scope, Multimeters, Bench Power supplySoldering and rework station.This is my schematic, and beginnings of some board layout here:https://easyeda.com/caswal/kitchentimerI would love some feedback on the schematic, as I really feel like I don't know what I am doing.Thanks for any help.

author: sokoloff
author_rank: Super Contributor
timestamp: July 13, 2020, 02:05:23 pm
content: Free thoughts (double your money back if not satisfied):You might consider an ESP(8266 or 32, though 8266 is "plenty" for this app) if you have any idea that this might end up with an Alexa/Home or phone integration down the line.It's another buck or two in BOM cost at most but gets you WiFi connectivity.I might also go for a single, larger display which will probably look more "finished/right" than trying to get 4 separate displays to look good.Use a PCB for the outer panel as a cheap and fast way to get a good looking panel with good dimensions and labels.There are rotary encoders with nice feeling detents if that's important to you.But honestly, even since we got our Alexa Show that's been the kitchen timer of choice for us. (You talk about having your hands gross or tied up. That's totally true, which makes voice control a killer feature IMO.)

author: IamSynthetiC
author_rank: Regular Contributor
timestamp: July 13, 2020, 02:12:51 pm
content: Right away i can see you have no oscillator for your arduino. I suggest looking at the official Arduino website for the schematics of an arduino Uno (whitch uses the Atmega328P-PU) and copying as much as possible.https://www.arduino.cc/en/uploads/Main/Arduino_Uno_Rev3-schematic.pdfYou will also need a programmer (externall, onboard, or another arduino) (the programmer is included on the above schematic).GreatScott has made a very nice video about Standalone Arduino Circuits where he explains how to build one, and how to program it.As far as the battery goes, i am no expert. In my experience however Li-po batteries are easier to work with. (18650 batteries are a prime example)They have a plethora of BMS modules you can choose from, and are incorporated into many designs which you can find and follow.GreatScott has again two videos regarding BMSs that are both great. (spoiler : dont build one, buy one)Also i see no power supply in your design. You should use an SMPS (No Post-SMPS LDO required) aimed toward battery-powered applications, they are not hard to find. The topology of the SMPS is dependent on your battery's voltage.I do not see any other problem at this time. Overall your idea is sound. But in my experience the procces of integrating arduino modules on a single PCB is not always cost effective . I would personally buy the external modules, put them all together, and then hide as much as possible in a box. But this is your choice. Regardless your idea is great, and i might even follow it in the future with some spare nixie tubes i have lying around.Good luck in your efforts.

author: caswal
author_rank: Contributor
timestamp: July 13, 2020, 09:21:21 pm
content: Quote from: sokoloff on July 13, 2020, 02:05:23 pmI have used ESP's for things before, but this project was about playing with Atmel/AVR's. I plan to also use this as my first foray into Atmel Studio. I could always add an ESP extension via the UART in the future.The 4 separate displays are a part of my design language, of having the timer display physically tied to the encoder.I did do a bit of search for a rotary encoder, and found some 24 Step encoders for musical instruments. I assume it will have pretty good feel.Quote from: IamSynthetiC on July 13, 2020, 02:12:51 pmThe 328p has an internal 8mhz oscillator. This is supported by the Arduino IDE, with an extra board configuration. Is described here:https://www.arduino.cc/en/Tutorial/ArduinoToBreadboardAlthough I plan for this to also be my first Atmel Studio project.Using the External RTC I'm not too fussed by the timing fluctuations of the internal oscillator. So don't need the stability of the external clock.I have a SMPS on the Battery/Power Sheet producing 5V?Another learning reason for this project, is that I am helping a friend build an EV Hillclimb race car. I want to adapt the diyBMS v4 by Stuart Pittaway to make custom modules for the batteries we want to use. It is based around the ATTiny841. Hence the specific AVR focus. Although this has no relation battery management circuitry of this project. We will need to get around 50 balance boards produced.Thanks for the feedback so far. Is appreciated.

author: caswal
author_rank: Contributor
timestamp: July 15, 2020, 11:09:25 am
content: A few updates, like adding a reset button. Working on the layout,I just need some help confirming I have got this right. I did look over the Schemtic IamSynthetiC linked. And that gave me the idea that it might be nice to run this just off USB. Which it could not due to the +5V rail is from the boost controller that sources from the battery.So I think I have successfully adapted the Arduino's USB/VIN Selection, of a P Channel Mosfet and Op Amp to do the same trick. To close togther the USB +5V and Boost Converter's +5V line when USB is plugged in. But Block the Boost Conveter's +5V Output from running back into the charge controller, not not attempting to charge itself. Schematic Here, Battery/Power Sheet:https://easyeda.com/caswal/kitchentimer

author: ledtester
author_rank: Super Contributor
timestamp: July 15, 2020, 11:56:32 am
content: Working in the kitchen can get messy. May I suggest using some touch sensors - i.e. something like the TTP223. You can find these ready to use modules on amazon/ebay/aliexpress for cheap:https://uge-one.com/image/cache/catalog/001/TTP223-Touch-Button-Module-600x315w.jpgThat way you can be holding a bowl with one hand, a spatula with the other and still manipulate the timer with your pinky.Also, they don't have to be exposed to work. You can place the them in an enclosure (right up against the top surface) and they'll still work.

author: IamSynthetiC
author_rank: Regular Contributor
timestamp: July 15, 2020, 08:30:59 pm
content: Quote from: caswal on July 13, 2020, 09:21:21 pmI didnt know i could scroll down.I had a closer look of your schematics and layout, and it all seems fine.if you are planning on running this allong withusb power, it may be best not toblockthe Boost converter but to outright disable it ,if there is such an option (to save some battery).*Edit : On Q4 pin 6 labeled S2, it seems to be connected right, but idealy there should be 2 dots. EasyEDA is inconsistent, so you sould check the connection regardless.(on the PCB it is right)

author: caswal
author_rank: Contributor
timestamp: July 15, 2020, 09:09:08 pm
content: Quote from: ledtester on July 15, 2020, 11:56:32 amAll depends what we want in the kitchen timer. I just imagine having a finger covered in something wet, leaving that on the capacitive button and sending in bonkers.Quote from: IamSynthetiC on July 15, 2020, 08:30:59 pmAppears to have run the wire behind the other and linked to the Dot next to pin 7. Fixed. Thanks.

author: Sampea
author_rank: Newbie
timestamp: October 26, 2020, 09:25:17 am
content: hmm, I had some problems with my kitchen timer but they all seem to have gone away now... on their own. I don't really understand the technical part of all this stuff but I really love designing the kitchen. I don't know why, but it brings me so much joy when I design a kitchen and each time it is different. I came across thiscabinetselect.comnot so long ago when I was searching for ideas for our kitchen and found great samples there! As a designer I have found it rather inspiring and useful. If anyone needs help, you can write me in pm