Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

A pseudo-falling-sand toy using an ATtiny85

License

NotificationsYou must be signed in to change notification settings

obono/ATtiny85FallingSand

Repository files navigation

Movie

A pseudo-falling-sand toy using an ATtiny85.

Instruction

  • Some LEDs of the 16×16 LED matrix light like sands in a box. You can enjoy falling sands by tilting the device.
  • The amount of sand can be changed by pressing one button.
  • The arrangement pattern of the wall can be changed by pressing the other button.
  • If it's powered on with holding both buttons down, the maintenance mode starts.
    • You can check current values of the axis accelerometer.
    • The calibration procedure will starts by holding both buttons down for a while. If it starts, place the device on a flat surface.

Hardware

Components

Schematic

Click to expand

Examples

Click to expandClick to expand

Software

Build environment

Install ATTinyCore boards to the Arduino IDE and configure the settings as follows.

AttributeValue
BoardATtiny25/45/85 (No bootloader)
ChipATtiny85
Clock16 MHz (PLL)
B.O.D. LevelB.O.D. Disabled (saves power)
Save EEPROMEEPROM retained
Timer 1 ClockCPU (CPU frequency)
LTOEnabled
millis()/micros()Enabled

Acknowledgement

  • SimpleWire.h
    • Copyright (c) 2020 Sasapea's Lab. All right reserved.

License

These codes are licensed underMIT License.

References

About

A pseudo-falling-sand toy using an ATtiny85

Topics

Resources

License

Stars

Watchers

Forks

Languages


[8]ページ先頭

©2009-2025 Movatter.jp