kitchen-clock-poc

Public

@mark-271

Download board files

Files for version 1. Pick what you came for.

Share kitchen-clock-poc

Check access before sharing the link.

Who can open this board

Anyone can open this board. No sign-in is required.

This link opens the latest version. Copying it does not grant additional access.

Loading…

README

Kitchen clock

This is the project of the kitchen clock with the following functions:

  • date
  • alarm
  • clock
  • 24 hour time format
  • thermometer

Breadboard connection

Electrical wiring diagram

Used electronic components

  • STM32VLDISCOVERY board with the STM32F100RB MCU
  • digital thermometer DS18B20
  • LCD screen WH1602
  • matrix keyboard 2x2
  • RTC module DS3231
  • piezoelectric buzzer
  • resistors:
    • 1 kohm (x2)
    • 4.7 kohm (x1)
    • 3.3 kohm (x1)
  • NPN transistor BC547 (x1)
  • breadboard
  • jumper wires

Building and installing

Prerequisites

Building requires libopencm3 and an arm-none-eabi toolchain. The build must be tuned with limited number of parameters in Makefile, by specifying them as environment variables, for example:

export PATH=/opt/gcc-arm-none-eabi-9-2020-q2-update/bin:$PATH
export CROSS_COMPILE=arm-none-eabi-
export OPENCM3_DIR=$HOME/repos/libopencm3
  • CROSS_COMPILE contains arm-none-eabi- prefix
  • OPENCM3_DIR contains path to root directory of libopencm3 source tree (must be built)

Serial console

Serial communication (used in the project, for example, for debug) is performed via minicom through RS-232 adapter. PA9 as the default USART1_TX pin is used on the STM32VLDISCOVERY board.

UART configuration:

115200 8N1
No flowcontrol

Building

$ make

Flashing

For flashing st-flash utility is used.

$ make flash

Author

Mark Sungurov [email protected]

License

This project is licensed under the GPLv3.

Comments

No comments yet. Be the first to ask about this board.

Ask about this board

Sign in to BoardRepo

New here? Signing in creates your account; there is no separate sign-up.