Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/juansalmeronmoya/barfibclock

Repository used to share my work for the clock installed on the Facultat d'Informàtica de Barcelona (FIB) bar
https://github.com/juansalmeronmoya/barfibclock

Last synced: 17 days ago
JSON representation

Repository used to share my work for the clock installed on the Facultat d'Informàtica de Barcelona (FIB) bar

Awesome Lists containing this project

README

        

![IMG_20200908_175020_Bokeh](https://user-images.githubusercontent.com/4519667/92978429-fff57b00-f48f-11ea-8e35-1595713e20d5.jpg)

# BarFIBclock
Repository used to share my work for the clock installed on the [Facultat d'Informàtica de Barcelona (FIB) bar](https://goo.gl/maps/2sY8hWTRuadKxtpD8)

## Materials
- 28 x 9g Servo [link](https://s.click.aliexpress.com/e/_ABv179)
- 1 x Arduino Pro mini Atmega328 [link](http://bit.ly/2NVvFll)
- 2 x I2C PCA9685 servo controller [link](https://s.click.aliexpress.com/e/_AAJpyf)
- 1 x DC 5V3A adapter [link](http://bit.ly/2NvYGVG)
- 1 x DC connector [link](http://bit.ly/33AKoJ4)
- 1 x DS3231 RTC module [link](http://bit.ly/32uphGY)
- 1 x CR2032 3v battery [link](http://bit.ly/2PYQaAa)
- 3 x 12mm Metal Push Button Switch Momentary High [link](https://bit.ly/337vpaj)
- 20 x 150~300mm Servo Extension Lead Wire Cable [link](https://bit.ly/3iaA7dB)
- 1 x Breadboard Jumper Cable Wires Kit 6cm [link](https://bit.ly/2ZxfuBp)
- 1 x Red/Black Cable 26AWG 150mm [link](https://bit.ly/35eJe9F)
- 12 x M2.5 Screws and nuts

### Extras
- 1 x FTDI USB to TTL UART FT232 [link](https://bit.ly/2R5Vjpw)
- Cable ties [link](https://s.click.aliexpress.com/e/_9ybz9t)
- Cyanoacrylate Glue (Superglue like)
- Heat-shrink tubing [link](https://s.click.aliexpress.com/e/_Aswi55)

## Printing 3D models

![image](https://user-images.githubusercontent.com/4519667/145512578-a717dd92-0428-43f0-900b-aa4dcf06545e.png)

| Qty | Filename
| --- | --------------------
| 4 | [dc_segment_a.stl](3dparts/frame_segments/dc_segment_a.stl)
| 4 | [dc_segment_b.stl](3dparts/frame_segments/dc_segment_b.stl)
| 4 | [dc_segment_c.stl](3dparts/frame_segments/dc_segment_c.stl)
| 4 | [dc_segment_d.stl](3dparts/frame_segments/dc_segment_d.stl)
| 4 | [dc_segment_e.stl](3dparts/frame_segments/dc_segment_e.stl)
| 4 | [dc_segment_f.stl](3dparts/frame_segments/dc_segment_f.stl)
| 4 | [dc_segment_g.stl](3dparts/frame_segments/dc_segment_g.stl)
| 4 | [custom_base.stl](3dparts/frame_segments/custom_base.stl)
| 1 | [dc_base_center.stl](3dparts/frame_segments/dc_base_center.stl)
| 2 | [dc_frame_corner1.stl](3dparts/frame_segments/dc_frame_corner1.stl)
| 2 | [dc_frame_corner2.stl](3dparts/frame_segments/dc_frame_corner1.stl)
| 1 | [dc_frame_top.stl](3dparts/frame_segments/dc_frame_top.stl)
| 1 | [dc_frame_bottom.stl](3dparts/frame_segments/dc_frame_bottom.stl)
| 18 | [dc_washer.stl](3dparts/frame_segments/dc_washer.stl)
| 8 | [custom_shoe_ag.stl](3dparts/frame_segments/custom_shoe_ag.stl)
| 8 | [custom_shoe_bf.stl](3dparts/frame_segments/custom_shoe_bf.stl)
| 8 | [custom_shoe_ce.stl](3dparts/frame_segments/custom_shoe_ce.stl)
| 4 | [custom_shoe_d.stl](3dparts/frame_segments/custom_shoe_d.stl)
| 2 | [dc_shoe_center.stl](3dparts/frame_segments/dc_shoe_center.stl)
| 1 | [custom_electronics_case_v2](3dparts/frame_segments/custom_electronics_case_v2.stl)

note: info extracted from http://www.otvinta.com/download14.html

## Electronics

![IMG_20211107_132917](https://user-images.githubusercontent.com/4519667/142078420-1a5874a4-e7d1-4994-b1f8-7ed3db5bdf1e.jpg)
![IMG_20211107_132942_Bokeh](https://user-images.githubusercontent.com/4519667/142078419-ac3f7bff-2913-480d-8846-dd72bfe842eb.jpg)

## How to program it

Using a USB FTDI controller you can flash the arduino pro mini using arduino IDE selecting this parameters:
* Board: "Arduino Pro or Pro mini"
* Processor: ATmega328P 5V
* Port: your USB FTDI serial port

The programmer is connected with this connection diagram:

![image](https://user-images.githubusercontent.com/4519667/214741642-203cf861-8089-4bac-bd7a-377243a29299.png)

## History and Maintenance Book

[Jan 2023]
* Servos replacement (caused by +800k cycles operation wear) some were died other just as prevention.
* Flashed new servo operation limits

[Dec 2021]
* Fixed segment movement order and timing to avoid segment collisions
* Upgraded to tighter segment shoes to avoid segment collisions
* Died servos replacement (caused by collisions)

[~2021]
* Died servos replacement (caused by collisions)
* Glued again some servos

[Sept 2020]
* Final hardware with top case and easy programming buttons and wiring
* Installation on the Bar FIB wall, Hurra!

[Dec 2019]
* Hardware and software development with arduino

## Previous work
This project is inspired and based on the otvinta3d clock.
Most of the 3D models used are the same, you can check them out at
https://www.thingiverse.com/thing:3266949

Arduino code are also inspired on the work of https://github.com/ardenpm/servo_clock and https://www.thingiverse.com/thing:3375870