Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
06f43b2
Create index.md
SaraCapp Apr 26, 2026
83d37d7
Update index.md
SaraCapp Apr 26, 2026
228d30d
Add files via upload
SaraCapp Apr 26, 2026
fb7ddb7
Add files via upload
SaraCapp Apr 27, 2026
17d91bf
Update index.md
SaraCapp Apr 27, 2026
68c60b5
Update index.md
SaraCapp Apr 27, 2026
245f721
Update index.md
SaraCapp Apr 27, 2026
2122118
Update index.md
SaraCapp Apr 28, 2026
7fce8d9
Update index.md
SaraCapp Apr 28, 2026
4ff1d8e
Delete versioned_docs/version-fils_en/project/2026/sara.capp/diagram.png
SaraCapp Apr 28, 2026
5a76757
Add files via upload
SaraCapp Apr 28, 2026
8fa0993
Delete versioned_docs/version-fils_en/project/2026/sara.capp/diagram …
SaraCapp Apr 28, 2026
c2c41ee
Add files via upload
SaraCapp Apr 28, 2026
678d41f
Update index.md
SaraCapp Apr 28, 2026
f536262
Update index.md
SaraCapp Apr 28, 2026
0d50020
Update index.md
SaraCapp Apr 28, 2026
313342f
Update index.md
SaraCapp Apr 28, 2026
487e341
documentation dddl
SaraCapp Apr 28, 2026
79b756e
solved issue
SaraCapp Apr 28, 2026
6da5cce
Delete website/versioned_docs/version-acs_cc/project/2026/sara.capp/d…
SaraCapp Apr 28, 2026
b378440
Add files via upload
SaraCapp Apr 28, 2026
29c82d0
Update index.md
SaraCapp Apr 28, 2026
d0351b4
Update index.md
SaraCapp Apr 28, 2026
6459757
repaired table
SaraCapp Apr 28, 2026
d2b5c50
Delete website/versioned_docs/version-acs_cc/project/2026/sara.capp/r…
SaraCapp May 13, 2026
f5ec51f
Add files via upload
SaraCapp May 13, 2026
360d589
Merge branch 'main' into Project/sara_cristiana.capp
SaraCapp May 13, 2026
246ad67
Add files via upload
SaraCapp May 13, 2026
8f22fbf
Delete website/versioned_docs/version-acs_cc/project/2026/sara.capp/d…
SaraCapp May 13, 2026
78b7f31
Update index.md
SaraCapp May 13, 2026
bd43337
Update index.md
SaraCapp May 13, 2026
8732e07
Update index.md
SaraCapp May 13, 2026
230cccb
Delete website/versioned_docs/version-acs_cc/project/2026/sara.capp/d…
SaraCapp May 13, 2026
da6d997
Add files via upload
SaraCapp May 13, 2026
90f3f35
Add files via upload
SaraCapp May 13, 2026
85c5aed
Delete website/versioned_docs/version-acs_cc/project/2026/sara.capp/d…
SaraCapp May 13, 2026
d2c5f5d
Update index.md
SaraCapp May 13, 2026
aa3875e
Delete website/versioned_docs/version-acs_cc/project/2026/sara.capp/d…
SaraCapp May 13, 2026
5d0e649
Add files via upload
SaraCapp May 13, 2026
8da838e
Merge branch 'main' into Project/sara_cristiana.capp
SaraCapp May 14, 2026
eceaa60
Merge branch 'main' into Project/sara_cristiana.capp
SaraCapp May 14, 2026
1e4d008
Update index.md
SaraCapp May 17, 2026
85b032d
Update index.md
SaraCapp May 25, 2026
133042e
Update index.md
SaraCapp May 26, 2026
c1798cd
Update index.md
SaraCapp May 27, 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.
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
# Robotic Bloom – Interactive Flower

An artificial flower that opens when a person approaches and rotates towards the strongest light source.

:::info

**Author**: Sara-Cristiana Capp \
**GitHub Project Link**: https://github.com/UPB-PMRust-Students/acs-project-2026-SaraCapp

:::

## Description

This project consists of an artificial flower that opens when a person approaches it. The system uses an ultrasonic sensor (HC-SR04) to measure the distance and multiple servomotors to control the movement of the petals.

The entire system is controlled by an STM32 microcontroller, which reads data from the sensor and sends commands to the servos using a PCA9685 PWM driver.

Another feature of the project is that the flower can rotate towards the strongest light source. This is done using multiple photodiodes placed around the flower. The STM32 compares the light values and controls a servo motor to rotate the flower in the direction where the light is stronger.

## Motivation

I chose this project because I wanted to build something interactive, not just theoretical. It combines several concepts learned during the course, such as working with sensors, controlling motors and using communication protocols like I2C.

Also, I liked the idea of creating something visual that reacts to people.

## Architecture

The system is composed of the following main components:

- sensing module (HC-SR04 and photodiodes)
- control module (STM32 microcontroller)
- actuator control module (PCA9685 PWM driver)
- movement module (servomotors)
- power module (external power supply)

The STM32 reads the distance using GPIO pins and reads the light values from photodiodes using ADC inputs. It communicates with the PCA9685 module via I2C. The PCA9685 generates PWM signals used to control the servomotors.

![Architecture diagram](./diagram.webp)

## Log

### Week 5 - 11 May
Project idea and components selection.

### Week 12 - 18 May
System architecture design and addition of light tracking feature.

### Week 19 - 25 May
Created diagrams, schematic and documentation.

## Hardware

The project uses an STM32 board as the main controller. The HC-SR04 sensor is used for distance measurement, while six photodiodes are used to detect the direction of the strongest light source.

The PCA9685 module is used to control multiple servomotors using PWM signals. Servomotors are powered using an external 5V power supply because they require high current.

All components share a common ground to ensure proper operation.

### Schematics

![Schematic](./robotic_bloom.svg)

### Bill of Materials

| Device | Usage | Price |
|--------|--------|-------|
| STM32 board | Main microcontroller | TBD |
| HC-SR04 | Distance measurement | TBD |
| PCA9685 | PWM control for servos | TBD |
| MG996R servomotors x9 | 8 for petals + 1 for rotation | TBD |
| Photodiodes x6 | Light detection | TBD |
| Resistors x6 | Used with photodiodes (voltage divider) | TBD |
| Level shifter | Voltage compatibility | TBD |
| External power supply | Power for servos | TBD |
| Capacitors | Power stabilization | TBD |
| Wires | Connections | TBD |

## Software

| Library | Description | Usage |
|---------|-------------|-------|
| embedded-hal | Hardware abstraction | Interface control |
| pca9685 driver | PWM driver | Control servomotors |

## Links

1. https://cdn.sparkfun.com/datasheets/Sensors/Proximity/HCSR04.pdf
2. https://cdn-shop.adafruit.com/datasheets/PCA9685.pdf
3. https://github.com/embassy-rs/embassy
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading