Skip to content
Open
Show file tree
Hide file tree
Changes from 19 commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
7437dac
documentation milestone
Apr 25, 2026
8749a0b
Merge branch 'main' into project/ioana.bumbacea
sarahioana05-ship-it Apr 25, 2026
eda1890
Merge branch 'main' into project/ioana.bumbacea
sarahioana05-ship-it Apr 25, 2026
f0b4bac
Merge branch 'main' into project/ioana.bumbacea
sarahioana05-ship-it Apr 26, 2026
030c707
documentation milestone
Apr 28, 2026
35ee8a1
Merge branch 'main' into project/ioana.bumbacea
sarahioana05-ship-it Apr 28, 2026
d3af6ee
Merge branch 'main' into project/ioana.bumbacea
sarahioana05-ship-it Apr 28, 2026
4e83e87
Merge branch 'UPB-PMRust:main' into project/ioana.bumbacea
sarahioana05-ship-it Apr 30, 2026
033dc86
deleted schematic
Apr 30, 2026
43375ab
Merge branch 'main' into project/ioana.bumbacea
sarahioana05-ship-it May 3, 2026
c20dec1
Delete website/versioned_docs/version-fils_en/project/2026/sarah_ioan…
sarahioana05-ship-it May 3, 2026
ddb9438
documentation milestone
May 10, 2026
9b9037c
Merge branch 'main' into project/ioana.bumbacea
sarahioana05-ship-it May 10, 2026
60a52ac
Merge branch 'main' into project/ioana.bumbacea
sarahioana05-ship-it May 11, 2026
27c27c9
Merge branch 'main' into project/ioana.bumbacea
sarahioana05-ship-it May 12, 2026
e26792d
update project page
May 29, 2026
fd79203
Merge branch 'main' into project/ioana.bumbacea
sarahioana05-ship-it May 29, 2026
de5e67e
Merge branch 'main' into project/ioana.bumbacea
sarahioana05-ship-it May 31, 2026
4326ab1
Merge branch 'main' into project/ioana.bumbacea
sarahioana05-ship-it May 31, 2026
45d23d3
Merge branch 'main' into project/ioana.bumbacea
sarahioana05-ship-it Jun 2, 2026
32bc7ed
Update index.md
sarahioana05-ship-it Jun 2, 2026
aeb7484
Merge branch 'main' into project/ioana.bumbacea
sarahioana05-ship-it Jun 7, 2026
12a8432
Merge branch 'main' into project/ioana.bumbacea
sarahioana05-ship-it Jun 18, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -73,12 +73,21 @@ continued working on the model and finished setting half of the components
### Week 4 - 10 May
started soldering components


### Week 11 - 17 May
hardware soldered and assembled and tested

### Week 18 - 28 May
finished software and model design



## Hardware

The project is built around an STM32 microcontroller and includes multiple input and output components to create an interactive lighting system. The power supply is based on two 18650 Li-ion batteries, connected through a boost converter to provide 12V for the LEDs and a step-down regulator to supply 5V to the microcontroller and other components.
STM32 Nucleo board – main controller
RGB LEDs – main light source
MOSFET transistors (IRF1405) – used to control LED channels
MOSFET transistors (IRF1405) – used to control LED channels!!
Potentiometers (x4) – color and brightness control
Capacitive touch sensor (TTP223) – mode switching
LCD display – system feedback (brightness, time, etc.)
Expand All @@ -87,20 +96,56 @@ DC motor – interactive energy generation element
Boost converter (XL6009) – steps voltage up to 12V
Step-down converter (LM2596) – regulates voltage to 5V
18650 batteries + holder + charger – portable power supply
CR2032 battery suport for powering rtc on stm



### Schematics

![Sakura Lamp Schematic](hardware_kicad_1024x768.webp)


![Sakura Lamp im1](im1w.webp)
![Sakura Lamp im2](im2w.webp)
![Sakura Lamp im3](im3w.webp)
![Sakura Lamp im4](im4w.webp)
![Sakura Lamp im5](im5w.webp)
![Sakura Lamp im6](im6w.webp)

### Bill of Materials


### Bill of Materials

```

| Device | Usage | Price |
|--------|--------|-------|
| [STM32_Nucleo-U545RE] | The microcontroller | [125RON](https://ro.mouser.com/ProductDetail/511-NUCLEO-U545RE-Q) |
| [LCD_de_1.44''_pentru_STC,_STM32_și_Arduino_(5V)] | the lcd screen | [34,99RON](https://www.optimusdigital.ro/ro/optoelectronice-lcd-uri/8589-lcd-de-144-pentru-stc-stm32-i-arduino-5-v.html) |

| [Rezistor_Variabil_10k_WH148] | The potentiometers | [2,39*4 RON](https://www.optimusdigital.ro/ro/componente-electronice-potentiometre/12360-rezistor-variabil-10k-wh148-poteniometru-fara-aiba-i-piulia.html) |
| [Buton_6x6x6] | five buttons | [1,80*2 RON](https://www.optimusdigital.ro/ro/butoane-i-comutatoare/1119-buton-6x6x6.html) |
| [Modul_DC-DC_Boost_XL6009] | voltage booster to 12V | [9,99 RON](https://www.optimusdigital.ro/ro/surse-ridicatoare-reglabile/160-modul-dc-dc-boost-xl6009.html) |
| [Tranzistor_Mosfet_IRF1405_(Canal_N,_200W,_55V)] | three mosfets for the leds | [29,97 RON](https://www.optimusdigital.ro/ro/componente-electronice-tranzistoare/11856-tranzistor-mosfet-irf1405-canal-n-200w-55v.html) |
| [Suport_de_Baterii_2_x_18650] | Battery support | [3,99 RON](https://www.optimusdigital.ro/ro/suporturi-de-baterii/941-suport-de-baterii-2-x-18650.html) |
| [Modul_cu_Senzor_Capacitiv_TTP223] | touch sensor | [2,97 RON](https://www.optimusdigital.ro/ro/senzori-senzori-de-atingere/861-modul-cu-senzor-capacitiv-ttp223.html) |
| [Baterie_Reincarcabila_18650_ISR_Li-Ion_3.6V_2600mAh] | power supply | [38,96 RON](https://www.emag.ro/baterie-reincarcabila-18650-isr-li-ion-3-6v-2600mah-2-6a-cu-descarcare-maxima-7-65a-ted-electric-a0116012-01/pd/DYFNB73BM/) |
| [Modul_DC-DC_Step_Down_LM2596] | the voltage regulator for 5V | [9,46 RON](https://www.emag.ro/modul-dc-dc-step-down-lm2596-765464701237/pd/DWHHRGBBM/?utm_source=mobile%20app&utm_medium=ios&utm_campaign=share%20product) |
| [Intrerupator_Negru_On/Off] | Button for the power supply | [1,98 RON](https://www.optimusdigital.ro/ro/butoane-i-comutatoare/7434-buton-negru-onoff.html?search_query=Intrerupator+Negru+On%2FOff&results=1) |
| [Buzzer_Pasiv_de_3.3V_sau_3V] | buzzer for the alarm | [1,98 RON](https://www.optimusdigital.ro/ro/audio-buzzere/12247-buzzer-pasiv-de-33v-sau-3v.html?search_query=Buzzer+Pasiv+de+3.3V+sau+3V&results=1) |
| [Breadboard_90_x_52_x_8.5_mm] | two breadboards | [11,98*2 RON](https://www.optimusdigital.ro/ro/prototipare-breadboard-uri/13247-breadboard-90-x-52-x-85-mm.html?search_query=Breadboard+90+x+52+x+8.5+mm&results=91) |
| [Set_de_LED-uri_Asortate_de_5_mm_si_3_mm_(310_buc)_cu_Rezistoare_Bonus] | LEDs and resistors | [26,99 RON](https://www.optimusdigital.ro/ro/kituri-optimus-digital/9517-set-de-led-uri-asortate-de-5-mm-si-3-mm-310-buc-cu-rezistoare-bonus.html?search_query=Set+de+LED-uri+Asortate+de+5+mm+si+3+mm+%28310+buc%29+cu+Rezistoare+Bonus&results=1) |
| [Capac Colorat pentru Potențiometru Negru cu Roșu] | cover for the potentiometers | [0,99*4 RON](https://www.optimusdigital.ro/ro/cautare?controller=search&orderby=position&orderway=desc&search_query=Capac+Colorat+pentru+Potențiometru+Negru+cu+Roșu&submit_search=) |
| [Buton cu Capac Rotund Alb] | button with cover | [1,99 RON](https://www.optimusdigital.ro/ro/butoane-i-comutatoare/1115-buton-cu-capac-rotund-alb.html?search_query=Buton+cu+Capac+Rotund+Alb&results=3) |
| [Suport pentru Baterie CR2032 cu 3 Pini] | battery suport | [0,89 RON](https://www.optimusdigital.ro/ro/suporturi-de-baterii/13045-suport-pentru-baterie-cr2032-cu-3-pini.html?search_query=Suport+pentru+Baterie+CR2032+cu+3+Pini&results=1) |
| [Mini Breadboard Negru] | mini breadboard | [2,36*4 RON](https://www.optimusdigital.ro/ro/prototipare-breadboard-uri/246-mini-breadboard-colorat.html?search_query=Mini+Breadboard+Negru&results=7) |
| [Set de fire cu izolație PVC (22AWG, 6 culori, 10m fiecare)] | wires for soldering | [44,99 RON](https://www.optimusdigital.ro/ro/kituri/12264-set-de-fire-cu-izolaie-pvc-22awg-6-culori-10m-fiecare-0721248989765.html?search_query=Set+de+fire+cu+izolație+PVC+%2822AWG%2C+6+culori%2C+10m+fiecare%29&results=1) |
| [Diodă 1N4148-NXP] | diode for controling current of the cr2032 battery | [0,49 RON](https://www.optimusdigital.ro/ro/componente-electronice-diode/7456-dioda-1n4148-nxp.html?search_query=%09Dioda+1N4148-NXP&results=1) |
| [IRLZ44NPBF TRANZISTOR CANAL N MOSFET UNIPOLAR] | mosfet for the led strip | [9,50*3 RON](https://electroniclight.ro/irlz44npbf-tranzistor-canal-n-mosfet-unipolar-hexfet-55v-41a-83w/7586.htm) |
| [ZD-200N LETCON 50W REZISTENTA CERAMICA] | soldering gun - replaced the previous one i had that broke | [59 RON](https://electroniclight.ro/zd-200n-letcon-50w-rezistenta-ceramica/8817.htm) |
| [TOTAL] | . | [446,3 RON]|()

| [Rezistor_Variabil_10k_WH148] | The potentiometers | [2,39*4RON](https://www.optimusdigital.ro/ro/componente-electronice-potentiometre/12360-rezistor-variabil-10k-wh148-poteniometru-fara-aiba-i-piulia.html) |
| [Buton_6x6x6] | five buttons | [1,80RON](https://www.optimusdigital.ro/ro/butoane-i-comutatoare/1119-buton-6x6x6.html) |
| [Modul_DC-DC_Boost_XL6009] | voltage booster to 12V | [9,99RON](https://www.optimusdigital.ro/ro/surse-ridicatoare-reglabile/160-modul-dc-dc-boost-xl6009.html) |
Expand All @@ -117,6 +162,7 @@ Step-down converter (LM2596) – regulates voltage to 5V
```
Comment on lines 108 to 135

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
| Device | Usage | Price |
|--------|--------|-------|
| [STM32_Nucleo-U545RE] | The microcontroller | [125RON](https://ro.mouser.com/ProductDetail/511-NUCLEO-U545RE-Q) |
| [LCD_de_1.44''_pentru_STC,_STM32_și_Arduino_(5V)] | the lcd screen | [34,99RON](https://www.optimusdigital.ro/ro/optoelectronice-lcd-uri/8589-lcd-de-144-pentru-stc-stm32-i-arduino-5-v.html) |
| [Rezistor_Variabil_10k_WH148] | The potentiometers | [2,39*4 RON](https://www.optimusdigital.ro/ro/componente-electronice-potentiometre/12360-rezistor-variabil-10k-wh148-poteniometru-fara-aiba-i-piulia.html) |
| [Buton_6x6x6] | five buttons | [1,80*2 RON](https://www.optimusdigital.ro/ro/butoane-i-comutatoare/1119-buton-6x6x6.html) |
| [Modul_DC-DC_Boost_XL6009] | voltage booster to 12V | [9,99 RON](https://www.optimusdigital.ro/ro/surse-ridicatoare-reglabile/160-modul-dc-dc-boost-xl6009.html) |
| [Tranzistor_Mosfet_IRF1405_(Canal_N,_200W,_55V)] | three mosfets for the leds | [29,97 RON](https://www.optimusdigital.ro/ro/componente-electronice-tranzistoare/11856-tranzistor-mosfet-irf1405-canal-n-200w-55v.html) |
| [Suport_de_Baterii_2_x_18650] | Battery support | [3,99 RON](https://www.optimusdigital.ro/ro/suporturi-de-baterii/941-suport-de-baterii-2-x-18650.html) |
| [Modul_cu_Senzor_Capacitiv_TTP223] | touch sensor | [2,97 RON](https://www.optimusdigital.ro/ro/senzori-senzori-de-atingere/861-modul-cu-senzor-capacitiv-ttp223.html) |
| [Baterie_Reincarcabila_18650_ISR_Li-Ion_3.6V_2600mAh] | power supply | [38,96 RON](https://www.emag.ro/baterie-reincarcabila-18650-isr-li-ion-3-6v-2600mah-2-6a-cu-descarcare-maxima-7-65a-ted-electric-a0116012-01/pd/DYFNB73BM/) |
| [Modul_DC-DC_Step_Down_LM2596] | the voltage regulator for 5V | [9,46 RON](https://www.emag.ro/modul-dc-dc-step-down-lm2596-765464701237/pd/DWHHRGBBM/?utm_source=mobile%20app&utm_medium=ios&utm_campaign=share%20product) |
| [Intrerupator_Negru_On/Off] | Button for the power supply | [1,98 RON](https://www.optimusdigital.ro/ro/butoane-i-comutatoare/7434-buton-negru-onoff.html?search_query=Intrerupator+Negru+On%2FOff&results=1) |
| [Buzzer_Pasiv_de_3.3V_sau_3V] | buzzer for the alarm | [1,98 RON](https://www.optimusdigital.ro/ro/audio-buzzere/12247-buzzer-pasiv-de-33v-sau-3v.html?search_query=Buzzer+Pasiv+de+3.3V+sau+3V&results=1) |
| [Breadboard_90_x_52_x_8.5_mm] | two breadboards | [11,98*2 RON](https://www.optimusdigital.ro/ro/prototipare-breadboard-uri/13247-breadboard-90-x-52-x-85-mm.html?search_query=Breadboard+90+x+52+x+8.5+mm&results=91) |
| [Set_de_LED-uri_Asortate_de_5_mm_si_3_mm_(310_buc)_cu_Rezistoare_Bonus] | LEDs and resistors | [26,99 RON](https://www.optimusdigital.ro/ro/kituri-optimus-digital/9517-set-de-led-uri-asortate-de-5-mm-si-3-mm-310-buc-cu-rezistoare-bonus.html?search_query=Set+de+LED-uri+Asortate+de+5+mm+si+3+mm+%28310+buc%29+cu+Rezistoare+Bonus&results=1) |
| [Capac Colorat pentru Potențiometru Negru cu Roșu] | cover for the potentiometers | [0,99*4 RON](https://www.optimusdigital.ro/ro/cautare?controller=search&orderby=position&orderway=desc&search_query=Capac+Colorat+pentru+Potențiometru+Negru+cu+Roșu&submit_search=) |
| [Buton cu Capac Rotund Alb] | button with cover | [1,99 RON](https://www.optimusdigital.ro/ro/butoane-i-comutatoare/1115-buton-cu-capac-rotund-alb.html?search_query=Buton+cu+Capac+Rotund+Alb&results=3) |
| [Suport pentru Baterie CR2032 cu 3 Pini] | battery suport | [0,89 RON](https://www.optimusdigital.ro/ro/suporturi-de-baterii/13045-suport-pentru-baterie-cr2032-cu-3-pini.html?search_query=Suport+pentru+Baterie+CR2032+cu+3+Pini&results=1) |
| [Mini Breadboard Negru] | mini breadboard | [2,36*4 RON](https://www.optimusdigital.ro/ro/prototipare-breadboard-uri/246-mini-breadboard-colorat.html?search_query=Mini+Breadboard+Negru&results=7) |
| [Set de fire cu izolație PVC (22AWG, 6 culori, 10m fiecare)] | wires for soldering | [44,99 RON](https://www.optimusdigital.ro/ro/kituri/12264-set-de-fire-cu-izolaie-pvc-22awg-6-culori-10m-fiecare-0721248989765.html?search_query=Set+de+fire+cu+izolație+PVC+%2822AWG%2C+6+culori%2C+10m+fiecare%29&results=1) |
| [Diodă 1N4148-NXP] | diode for controling current of the cr2032 battery | [0,49 RON](https://www.optimusdigital.ro/ro/componente-electronice-diode/7456-dioda-1n4148-nxp.html?search_query=%09Dioda+1N4148-NXP&results=1) |
| [IRLZ44NPBF TRANZISTOR CANAL N MOSFET UNIPOLAR] | mosfet for the led strip | [9,50*3 RON](https://electroniclight.ro/irlz44npbf-tranzistor-canal-n-mosfet-unipolar-hexfet-55v-41a-83w/7586.htm) |
| [ZD-200N LETCON 50W REZISTENTA CERAMICA] | soldering gun - replaced the previous one i had that broke | [59 RON](https://electroniclight.ro/zd-200n-letcon-50w-rezistenta-ceramica/8817.htm) |
| [TOTAL] | . | [446,3 RON]|()
| [Rezistor_Variabil_10k_WH148] | The potentiometers | [2,39*4RON](https://www.optimusdigital.ro/ro/componente-electronice-potentiometre/12360-rezistor-variabil-10k-wh148-poteniometru-fara-aiba-i-piulia.html) |
| [Buton_6x6x6] | five buttons | [1,80RON](https://www.optimusdigital.ro/ro/butoane-i-comutatoare/1119-buton-6x6x6.html) |
| [Modul_DC-DC_Boost_XL6009] | voltage booster to 12V | [9,99RON](https://www.optimusdigital.ro/ro/surse-ridicatoare-reglabile/160-modul-dc-dc-boost-xl6009.html) |
@@ -117,6 +162,7 @@ Step-down converter (LM2596) – regulates voltage to 5V




## Software

```
Expand All @@ -126,12 +172,22 @@ Step-down converter (LM2596) – regulates voltage to 5V
| [embassy-time](https://github.com/embassy-rs/embassy) | Time handling for async systems | Used for delays, timers, and scheduling (lamp timer) |
| [embedded-graphics](https://github.com/embedded-graphics/embedded-graphics) | 2D graphics library | Used to draw text and UI on the LCD display |
| [embedded-hal](https://github.com/rust-embedded/embedded-hal) | Hardware abstraction layer | Used for general GPIO, ADC, and PWM control |

| [emabssy-executor](https://github.com/embassy-rs/embassy/tree/main/embassy-executor) | Async task executor for embedded systems | Used for running async tasks and timers |
| [heapless](https://github.com/rust-embedded/heapless) | Fixed-capacity data structures without dynamic memory allocation | Used for strings and memory-safe embedded data handling |
| [core](https://doc.rust-lang.org/core) | Minimal Rust standard library for no_std environments | Used for formatting, traits, and low-level functionality |



| [lcd driver]() | LCD driver | Used to control the LCD display |
```
Comment thread
sarahioana05-ship-it marked this conversation as resolved.


## Links


1. [STM32U5 Documentation](https://www.st.com/resource/en/data_brief/nucleo-c031c6.pdf)
2. [monster can](https://www.ifit.ee/en/a/monster-ultra-500ml-black-cherry)
3. [project ideas](https://www.youtube.com/watch?v=aQA7mI2LcJQ)
4. [digital desk clock](https://www.youtube.com/watch?v=35zs2J3Prxo)
...
Loading