Thingiverse
Arduino Hourglass Timer
by Thingiverse
Last crawled date: 4 years, 2 months ago
A while ago I brought one of those $3 Hourglass Shape Flashing LED DIY Kits from eBay. While it is a nice kit to build, it really has no practical purpose other than to show off its animation of an hour glass. It is not designed as a timer. I wanted to make mine into something useful yet keep the animation. I created a custom board that contains an Arduino, two mercury switches to detect the hourglass orientation, a rotary encoder to set the time from 1 to 99 minutes and a piezo electric speaker. I used the PCB that came in the kit to hold the LEDs. The STC15W201S microcontroller is replaced with a 16 pin ribbon cable that connects to my custom Arduino board.
See "Hourglass Shape Flashing LED DIY Kits"https://www.instructables.com/id/Hourglass-Shape-Flashing-LED-DIY-Kits/
Video
https://youtu.be/0LKmR9BtNaw
Parts
1x Hourglass Shape Flashing LED DIY Kit
1x ATMega328
1x 28pin IC Socket
1x 16pin IC Socket
2x 16pin IC Plugs
1x 50mm 16 way Ribbon Cable
5x 10K 1/8W resistors
5x 0.1uf Monolithic Ceramic Capacitors (5mm hole spacing)
2x 22pf Disc Ceramic Capacitors
1x 10uF 16V electrolytic capacitor
1x 8Mhz HC-49S Crystal
1x EC11 Rotary encoder with switch
2x Glass 5mm Mercury Switch Angle Tilt Switch
1x Universal Passive Buzzer AC / 2KHz 3V 5V 12V
2x M3x5+6mm Male-Female spacers
2x 6mm M3 screws
1x 3.7V 400mAh LIPO battery
1x Mini Rocker Switch app 10x15mm
1x JST XH 2.5-2 Pin Battery Connector Plug Female & Male
Programming
The ATMega328 runs a 8Mhz crystal on a 3.7V supply. I used my home-made Arduno UNO board to program the ATMega328 chip. This board has a ZIF socket for the ATMega328 and allows me to change the crystal, supply voltage and program the chip via a USBTinyISP board or a FTDI board.
Create a new entry in the Boards.txt file for a 8Mhz Arduino UNO. (%USERPROFILE%\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.1\boards.txt)
##############################################################
uno8.name=Arduino Uno (8Mhz)
uno8.vid.0=0x2341
uno8.pid.0=0x0043
uno8.vid.1=0x2341
uno8.pid.1=0x0001
uno8.vid.2=0x2A03
uno8.pid.2=0x0043
uno8.vid.3=0x2341
uno8.pid.3=0x0243
uno8.upload.tool=avrdude
uno8.upload.protocol=arduino
uno8.upload.maximum_size=32256
uno8.upload.maximum_data_size=2048
uno8.upload.speed=57600
uno8.bootloader.tool=avrdude
uno8.bootloader.low_fuses=0xFF
uno8.bootloader.high_fuses=0xDA
uno8.bootloader.extended_fuses=0xFE
uno8.bootloader.unlock_bits=0x3F
uno8.bootloader.lock_bits=0x0F
uno8.bootloader.file=optiboot/optiboot_atmega328.hex
uno8.build.mcu=atmega328p
uno8.build.f_cpu=8000000L
uno8.build.board=AVR_UNO_8
uno8.build.core=arduino
uno8.build.variant=standard
##############################################################
In the Arduino IDE
Select "Tools - Board - Arduino Uno (8Mhz)"
Select "Tools - Programmer - USBtinyISP"
Plug in your USBtinyISP to the ATMega328 (should be running a 8Mhz crystal)
Select "Tools - Burn bootloader"
Load up the sketch in the IDE
Select "Sketch - Upload using programmer"
Remove the ATMega328 from your development environment and place it on the PCB
I found that the EEPROM on the ATMega328 didn't read or write when running on 3V3 but was fine on 5V. If anyone finds a solution, please let me know.
See "Hourglass Shape Flashing LED DIY Kits"https://www.instructables.com/id/Hourglass-Shape-Flashing-LED-DIY-Kits/
Video
https://youtu.be/0LKmR9BtNaw
Parts
1x Hourglass Shape Flashing LED DIY Kit
1x ATMega328
1x 28pin IC Socket
1x 16pin IC Socket
2x 16pin IC Plugs
1x 50mm 16 way Ribbon Cable
5x 10K 1/8W resistors
5x 0.1uf Monolithic Ceramic Capacitors (5mm hole spacing)
2x 22pf Disc Ceramic Capacitors
1x 10uF 16V electrolytic capacitor
1x 8Mhz HC-49S Crystal
1x EC11 Rotary encoder with switch
2x Glass 5mm Mercury Switch Angle Tilt Switch
1x Universal Passive Buzzer AC / 2KHz 3V 5V 12V
2x M3x5+6mm Male-Female spacers
2x 6mm M3 screws
1x 3.7V 400mAh LIPO battery
1x Mini Rocker Switch app 10x15mm
1x JST XH 2.5-2 Pin Battery Connector Plug Female & Male
Programming
The ATMega328 runs a 8Mhz crystal on a 3.7V supply. I used my home-made Arduno UNO board to program the ATMega328 chip. This board has a ZIF socket for the ATMega328 and allows me to change the crystal, supply voltage and program the chip via a USBTinyISP board or a FTDI board.
Create a new entry in the Boards.txt file for a 8Mhz Arduino UNO. (%USERPROFILE%\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.1\boards.txt)
##############################################################
uno8.name=Arduino Uno (8Mhz)
uno8.vid.0=0x2341
uno8.pid.0=0x0043
uno8.vid.1=0x2341
uno8.pid.1=0x0001
uno8.vid.2=0x2A03
uno8.pid.2=0x0043
uno8.vid.3=0x2341
uno8.pid.3=0x0243
uno8.upload.tool=avrdude
uno8.upload.protocol=arduino
uno8.upload.maximum_size=32256
uno8.upload.maximum_data_size=2048
uno8.upload.speed=57600
uno8.bootloader.tool=avrdude
uno8.bootloader.low_fuses=0xFF
uno8.bootloader.high_fuses=0xDA
uno8.bootloader.extended_fuses=0xFE
uno8.bootloader.unlock_bits=0x3F
uno8.bootloader.lock_bits=0x0F
uno8.bootloader.file=optiboot/optiboot_atmega328.hex
uno8.build.mcu=atmega328p
uno8.build.f_cpu=8000000L
uno8.build.board=AVR_UNO_8
uno8.build.core=arduino
uno8.build.variant=standard
##############################################################
In the Arduino IDE
Select "Tools - Board - Arduino Uno (8Mhz)"
Select "Tools - Programmer - USBtinyISP"
Plug in your USBtinyISP to the ATMega328 (should be running a 8Mhz crystal)
Select "Tools - Burn bootloader"
Load up the sketch in the IDE
Select "Sketch - Upload using programmer"
Remove the ATMega328 from your development environment and place it on the PCB
I found that the EEPROM on the ATMega328 didn't read or write when running on 3V3 but was fine on 5V. If anyone finds a solution, please let me know.
Similar models
thingiverse
free
ATMega Development System
...e the serial object to write messages to the ardunio console, you will need to have a usb cable plugged into the ftdi programmer.
thingiverse
free
FabDuino v1.1 by dimrobotics
...al
:::upd::: i reccomend to buy sparkfun arduino ready version of atmega328 so you do not need to flash bootloader by your own.
3dwarehouse
free
Joy-it Kompatibles Board Arduino Uno R3 DIP Joy-IT ATMega328
...arduino uno r3 dip joy-it atmega328
3dwarehouse
einfaches model vom joy-it kompatibles board arduino uno r3 dip joy-it atmega328
thingiverse
free
USBTinyISP AVR ISP Programmer Case by Aegys3D
... avrdude supports ( as atmel chips )
suscribe my facebook page for the next releases : https://www.facebook.com/aegys3d
thank you
grabcad
free
Arduino UNO
...arduino uno
grabcad
an atmega328-based arduino uno
grabcad
free
Airsoft - Flash Bang 10w LED
...oft - flash bang 10w led
grabcad
use 3.7v li ion battery.
flash bang airsoft.
arduino nano _ mode relay _ 3.7v li ion battery.
thingiverse
free
DC motor control with PID by brunoschaefer41
...
1x schield moto
1x motoreducteur rb-mab-248
1x potentiomètre 1kr mono tour
la video montre 2 mouvements avec des pid différents.
thingiverse
free
top cover for smars robot by xplp
...838 for arduino
3x tcrt5000 tracker sensor
ultrasonic module hc-sr04
l9110s dc stepper motor driver
2x 16340 3.7v
arduino nano v3
thingiverse
free
EQ Direct for EQ6 Pro by RomanHujer
...socket
4x 1.4x4.5 mm screw
2x 4/40 unc screw for db lock
note
solder the d-sub socket last, after placing the board in the box !
thingiverse
free
Arduino Uno Case with Module Space
...; on top for airflow to the arduino uno.
an open area where a moto driver or other arduino module can be housed for diy projects.
Hourglass
3d_ocean
$4
HOURGLASS
... of the rods in the glass . uses light of target spots to be fast rendered in default renderer of max (scanline). it also incl...
3d_ocean
$5
Animated Hourglass
... a desk piece. comes with a hdri and 7 materials. the purchase includes the complete scene with materials, illumination and re...
3d_ocean
$9
Sauna sand-timer hourglass
... this was modelled and prepared for photo-realistic renderings, close-ups, cg visualization. the hourglass is ready to be inse...
3d_ocean
$5
Sauna Hourglass
... this was modelled and prepared for photo-realistic renderings, close-ups, cg visualization. the hourglass is ready to be inse...
3ddd
$1
theodore alexander Empire Hourglass
...buya burl and sycamore strung lamp table, the circular top above a plain frieze, on an open hourglass base joined by an undertier
archive3d
free
Hourglass 3D Model
...urglass 3d model
archive3d
hourglass clock
hourglass1 - 3d model for interior 3d visualization.
3d_export
$25
Grandfather Clocks Howard Miller 615-074 3D Model
...clock forging howard miller steampunk metal iron arrows sand hourglass arrow rust paint business time hour minute 3d grandfather...
3ddd
free
PYRAMID James Tan coffee table
...3ds max 2010 fbx obj textures materials real size hourglass ...
cg_studio
$24
Grandfather Clocks Howard Miller 615-0743d model
...clock forging howard miller steampunk metal iron arrows sand hourglass arrow rust paint business time hour minute .obj .max...
cg_studio
$49
Hourglass3d model
...lass3d model
cgstudio
.3ds .c4d .max .obj - hourglass 3d model, royalty free license available, instant download after purchase.
Timer
3d_export
$9
Dynamite with an electronic dial 3D Model
...dynamite with an electronic dial 3d model 3dexport dinamite timer dial weapon bomb explosion diversion checker electronics tnt dynamite...
3d_ocean
$14
Robot Alarm Clock
...alarm clock 3docean alarmclock architecture clock highpoly metall robot timer vray watch alarm clock in the form of the...
3d_ocean
$12
Floor Clock
...floor clock 3docean clock horologe timekeeper timepiece timer watch hello! is pleased to present you my new...
3d_ocean
$5
Animated Hourglass
...decoration design glass hour hourglass minute sand second timepiece timer vintage animated 3d model of an hourglass with falling...
3d_ocean
$9
Sauna sand-timer hourglass
... this was modelled and prepared for photo-realistic renderings, close-ups, cg visualization. the hourglass is ready to be inse...
3d_ocean
$4
Alarm Clock
...clock asleep bed bedroom clock morning night reminder sleep timer modeled and rendered in blender 2.71 3d model include...
3d_ocean
$5
Sauna Hourglass
...hour glass hourglass measure minutes model mounted sand sandclock sandtimer sauna steam time timer wall wood general this is...
3d_ocean
$15
Kaboom
...kaboom 3docean bomb bomb dynamite dynamite explosive explosive timer weapon weapons weapons wire kaboom! which wire would you...
cg_studio
$29
Analog Chess Timer3d model
...del
cgstudio
.obj .lwo .max .3ds - analog chess timer 3d model, royalty free license available, instant download after purchase.
3d_ocean
$19
Watch plywood
...watch plywood 3docean clock horologe plywood timekeeper timepiece timer watch wood watch plywood +...
Arduino
3d_ocean
$7
The housing for the 3d Printer
...the housing for the 3d printer 3docean arduino device housing stl the housing consists of two portions:...
3d_export
$60
Arduino Uno Rev3 Microcontroller 3D Model
...mega328p circuit board spark cable wire 5v 74v 9v 111v
arduino uno rev3 microcontroller 3d model danielgarnier4403 97237 3dexport
3d_export
$5
arduino satellite
...rt
this model is the exact arduino based satellite model with some basic sensors and camera modules and also includes batteries.
3d_export
$5
esp8266 box arduino
...esp8266 box arduino
3dexport
box for esp8266 module with wire hole. inside dimensions: 49x26 mm. height 15 mm.
3d_export
free
arduino rover kit
...no!!! materials: no!!! rigged: no animated: no uv mapped: no it is not an exact copy of the original! not subject to 3d printing!
3d_export
$5
solar tracker
...machine for the frame . list of material : -arduino uno -2 step motor with driver -4 ldr sensor...
3d_export
$5
robot 2in1
...children and beginner in robotics. __**list of material : [1]-arduino uno [2]-l298 motor driver [3]-4 motor + wheel [4]-servo...
3d_export
$5
arm 4 axis
...uno -4 servo motor 180° -3 joystick (x,y) for arduino -mdf wood -some wires -cnc laser cut...
turbosquid
$7
Arduino
...turbosquid
royalty free 3d model arduino for download as max on turbosquid: 3d models for games, architecture, videos. (1197165)
turbosquid
$3
Arduino
...turbosquid
royalty free 3d model arduino for download as c4d on turbosquid: 3d models for games, architecture, videos. (1305484)