# Sensor.Community clock

**URL:** <https://forum.sensor.community/t/sensor-community-clock/896>\
**Category:** Feature Requests\
**Created:** [October 12, 2021, 6:41am UTC](https://forum.sensor.community/t/sensor-community-clock/896 "2021-10-12T06:41:31Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![pjg](https://forum.sensor.community/user_avatar/forum.sensor.community/pjg/32/194_2.png) [@pjg](https://forum.sensor.community/u/pjg)\
**Post date:** [October 12, 2021, 6:41am UTC](https://forum.sensor.community/t/sensor-community-clock/896/1 "2021-10-12T06:41:31Z")

</div>

Pretty self explanatory:

 ![IMG_0031](https://forum.sensor.community/uploads/default/original/1X/dbb3500e45668397d3f1a131ff529157bd11c249.jpeg)

 ![Capture d’écran 2021-10-12 à 07.45.59](https://forum.sensor.community/uploads/default/original/1X/b74620355ac0936a5e7399cd8a0863abe7855e5b.png)

 ![Capture d’écran 2021-10-12 à 07.46.28](https://forum.sensor.community/uploads/default/original/1X/12a3e4e5612e6dbb10b507733d26b9dbb9022825.png)

 ![Capture d’écran 2021-10-12 à 07.46.37](https://forum.sensor.community/uploads/default/original/1X/8bd603ddb54f307e4ee25a4734e8ec6b28711982.png)

NodeMCU 0.9  
TM1637 4-Digit  
WS2812 RGB 8x8  
Push button

Who wants further explanations?

---

<div class="post-metadata">

**Author:** ![deewavo](https://forum.sensor.community/letter_avatar_proxy/v4/letter/d/c77e96/32.png) [@deewavo](https://forum.sensor.community/u/deewavo)\
**Post date:** [October 12, 2021, 9:23pm UTC](https://forum.sensor.community/t/sensor-community-clock/896/2 "2021-10-12T21:23:44Z")

</div>

keep up the good work!

---

<div class="post-metadata">

**Author:** ![Neobreton29](https://forum.sensor.community/letter_avatar_proxy/v4/letter/n/e99b99/32.png) [@Neobreton29](https://forum.sensor.community/u/Neobreton29)\
**Post date:** [October 15, 2021, 1:52am UTC](https://forum.sensor.community/t/sensor-community-clock/896/3 "2021-10-15T01:52:03Z")

</div>

Compte tenu de mon échec (pour l’instant) avec le moniteur de Nettigo, ton montage m’intéresse beaucoup.  
Apparemment il permet de “surveiller” plusieurs capteurs, dommage que la surexposition de ta photo ne montre pas bien de quelle façon la matrice 8x8 affiche.  
Merci d’avance pour tes éclaircissements.  
Salutations  
Neobreton29

---

<div class="post-metadata">

**Author:** ![pjg](https://forum.sensor.community/user_avatar/forum.sensor.community/pjg/32/194_2.png) [@pjg](https://forum.sensor.community/u/pjg)\
**Post date:** [October 15, 2021, 5:31am UTC](https://forum.sensor.community/t/sensor-community-clock/896/4 "2021-10-15T05:31:06Z")

</div>

The matrix shows only one colour (it is hidden behind a opalescent acryl plate for better light diffusion): the one of the current sensor. Every 5 min or after a button push, it calls another sensor in the list. After the button push, it shows the sensor ID for a while on the 4 digit screen and comes back to the time. Anyway, it could of course be possible to show 1 sensor pro vertical LED line but in that case the ESP would have to call 8 time the API in a row which could lead to some problems…

---

<div class="post-metadata">

**Author:** ![Herve5](https://forum.sensor.community/letter_avatar_proxy/v4/letter/h/85f322/32.png) [@Herve5](https://forum.sensor.community/u/Herve5)\
**Post date:** [October 15, 2021, 4:22pm UTC](https://forum.sensor.community/t/sensor-community-clock/896/5 "2021-10-15T16:22:31Z")

</div>

> [@pjg](#):
>
> (it is hidden behind a opalescent acryl plate for better light diffusion)

You mean this large square below the clock display is the output, and it changes color depending on the particle level? Is it yellow level in the picture?

If so I _definitely_ appreciate the work -but I’ll need some more detail to duplicate it…

Thank you!  
H.

---

<div class="post-metadata">

**Author:** ![pjg](https://forum.sensor.community/user_avatar/forum.sensor.community/pjg/32/194_2.png) [@pjg](https://forum.sensor.community/u/pjg)\
**Post date:** [October 15, 2021, 4:30pm UTC](https://forum.sensor.community/t/sensor-community-clock/896/6 "2021-10-15T16:30:05Z")

</div>

Yes! Otherwise you can See the 64 leds. It call the Sensors and reproducteur the RGB Color accordingly to the PM value.

---

<div class="post-metadata">

**Author:** ![manuelgomez\_1](https://forum.sensor.community/user_avatar/forum.sensor.community/manuelgomez_1/32/1119_2.png) [@manuelgomez\_1](https://forum.sensor.community/u/manuelgomez_1)\
**Post date:** [August 1, 2022, 3:59am UTC](https://forum.sensor.community/t/sensor-community-clock/896/7 "2022-08-01T03:59:07Z")

</div>

That is very cool! I also have the PM information in a clock I made with a small 5" CRT and a raspberry pi, but it’s much more boring, because it’s only b&w… that’s a mate though?

---

<div class="post-metadata">

**Author:** ![metron6](https://forum.sensor.community/user_avatar/forum.sensor.community/metron6/32/2393_2.png) [@metron6](https://forum.sensor.community/u/metron6)\
**Post date:** [February 26, 2025, 8:08pm UTC](https://forum.sensor.community/t/sensor-community-clock/896/8 "2025-02-26T20:08:34Z")

</div>

hello,  
i got the parts, time to assemble…

any schematic/photo on how to connect the parts ?  
which firmware do you use ?

---

<div class="post-metadata">

**Author:** ![pjg](https://forum.sensor.community/user_avatar/forum.sensor.community/pjg/32/194_2.png) [@pjg](https://forum.sensor.community/u/pjg)\
**Post date:** [February 26, 2025, 9:37pm UTC](https://forum.sensor.community/t/sensor-community-clock/896/9 "2025-02-26T21:37:49Z")

</div>

> **[GitHub - pjgueno/SCClock: A NTP clock with PM display](https://github.com/pjgueno/SCClock)**
>
> A NTP clock with PM display

In the code:  
**#define LED\_PIN 2**  
**#define BUTTON\_PIN 5**  
**#define CLK 2**  
**#define DIO 3**

There should be an issue. I will check in my own clock. But it so old…  
Send me a picture and the pinout of your microcontroller.

---

<div class="post-metadata">

**Author:** ![metron6](https://forum.sensor.community/user_avatar/forum.sensor.community/metron6/32/2393_2.png) [@metron6](https://forum.sensor.community/u/metron6)\
**Post date:** [February 28, 2025, 12:56am UTC](https://forum.sensor.community/t/sensor-community-clock/896/10 "2025-02-28T00:56:45Z")

</div>

> [@pjg](#):
>
> Send me a picture and the pinout of your microcontroller.

 ![EOb7Fhbu](https://forum.sensor.community/uploads/default/original/2X/a/adfd35ecd38be1c2a987e4725b857e61d631eee6.jpeg)  
 ![iWVCiugM](https://forum.sensor.community/uploads/default/original/2X/4/4fab1d8d5fe5b52d3e33f5d2f708307e86fc47dd.jpeg)

---

<div class="post-metadata">

**Author:** ![pjg](https://forum.sensor.community/user_avatar/forum.sensor.community/pjg/32/194_2.png) [@pjg](https://forum.sensor.community/u/pjg)\
**Post date:** [February 28, 2025, 7:07am UTC](https://forum.sensor.community/t/sensor-community-clock/896/11 "2025-02-28T07:07:48Z")

</div>

So.  
Try:

- D4 for WS2812B
- D1 and D2 for CLK and DIO of the 4 digit board
- D0 for button

Don’t forget to update the GPIO number in the code.
