GithubHelp home page GithubHelp logo

niklauslee / cooking-timer Goto Github PK

View Code? Open in Web Editor NEW
5.0 2.0 0.0 470 KB

A cooking timer made with 7-segment LED, knob and buzzer

License: MIT License

JavaScript 100.00%
7-segment kaluma led buzzer raspberry-pi-pico rotary-encoder

cooking-timer's Introduction

Overview

A cooking timer made with Raspberry Pi Pico, a 7-segment LED display (TM1634), a rotary encoder, and an active buzzer.

cover

Components

Part Quantity Note
Raspberry Pi Pico 1
TM1634 1 4-digits 7-segment
Rotary Encoder 1 with push button
Active Buzzer 1
3D printed case 3 pieces
Slide switch 1
2xAAA Battery holder 1
M2x5 crews 11
Perfboard 1 3cm x 7cm
Rare-earth magnets 8 diameter 3mm, thickness 3mm

components

Wiring

I first made a prototype on a breadboard and then wiring parts on a perfboard.

Pico TM1634 Encoder Buzzer Battery Switch
VSYS P
+ O
3V3 VCC VCC (+) VCC
GND GND GND GND -
GP0 CLK
GP1 DIO
GP2 CLK
GP3 DT
GP4 SW
GP5 IO

circuit

assembly1

assembly2

Assembly

I made a 3D model for the case with Tinkercad and then print it with FDM-type 3D printer (Ender 5). Here is the link of the model.

design

After the case printing, the magnets should be inserted into the 8 holes. Pay attention to the insertion direction of the magnets so that the two case pieces can be stick well.

case1

Then mount 7-segment display, active buzzer, and perfboard into the case body with screws. The rotary encoder should be mounted with a nut in the top hole and the battery holder and the slide switch should be mounted on the case back cover. Before mounting the Pico, the code should be uploaded.

case2

Lastly the rotary encoder should be inserted into the 3D-printed top handle.

Usage

Set time by turning the encoder (increate in clockwise, decrease in anti-clockwise). To start the timer press the encoder. When timer get to zero, the buzzer will generate beep sound.

In default 30 seconds is the step of the encoder. You can change by set step variable in the code.

See also

cooking-timer's People

Contributors

niklauslee avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.