-
Notifications
You must be signed in to change notification settings - Fork 527
Project/sara cristiana.capp #1024
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
SaraCapp
wants to merge
45
commits into
UPB-PMRust:main
Choose a base branch
from
SaraCapp:Project/sara_cristiana.capp
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 42 commits
Commits
Show all changes
45 commits
Select commit
Hold shift + click to select a range
06f43b2
Create index.md
SaraCapp 83d37d7
Update index.md
SaraCapp 228d30d
Add files via upload
SaraCapp fb7ddb7
Add files via upload
SaraCapp 17d91bf
Update index.md
SaraCapp 68c60b5
Update index.md
SaraCapp 245f721
Update index.md
SaraCapp 2122118
Update index.md
SaraCapp 7fce8d9
Update index.md
SaraCapp 4ff1d8e
Delete versioned_docs/version-fils_en/project/2026/sara.capp/diagram.png
SaraCapp 5a76757
Add files via upload
SaraCapp 8fa0993
Delete versioned_docs/version-fils_en/project/2026/sara.capp/diagram …
SaraCapp c2c41ee
Add files via upload
SaraCapp 678d41f
Update index.md
SaraCapp f536262
Update index.md
SaraCapp 0d50020
Update index.md
SaraCapp 313342f
Update index.md
SaraCapp 487e341
documentation dddl
SaraCapp 79b756e
solved issue
SaraCapp 6da5cce
Delete website/versioned_docs/version-acs_cc/project/2026/sara.capp/d…
SaraCapp b378440
Add files via upload
SaraCapp 29c82d0
Update index.md
SaraCapp d0351b4
Update index.md
SaraCapp 6459757
repaired table
SaraCapp d2b5c50
Delete website/versioned_docs/version-acs_cc/project/2026/sara.capp/r…
SaraCapp f5ec51f
Add files via upload
SaraCapp 360d589
Merge branch 'main' into Project/sara_cristiana.capp
SaraCapp 246ad67
Add files via upload
SaraCapp 8f22fbf
Delete website/versioned_docs/version-acs_cc/project/2026/sara.capp/d…
SaraCapp 78b7f31
Update index.md
SaraCapp bd43337
Update index.md
SaraCapp 8732e07
Update index.md
SaraCapp 230cccb
Delete website/versioned_docs/version-acs_cc/project/2026/sara.capp/d…
SaraCapp da6d997
Add files via upload
SaraCapp 90f3f35
Add files via upload
SaraCapp 85c5aed
Delete website/versioned_docs/version-acs_cc/project/2026/sara.capp/d…
SaraCapp d2c5f5d
Update index.md
SaraCapp aa3875e
Delete website/versioned_docs/version-acs_cc/project/2026/sara.capp/d…
SaraCapp 5d0e649
Add files via upload
SaraCapp 8da838e
Merge branch 'main' into Project/sara_cristiana.capp
SaraCapp eceaa60
Merge branch 'main' into Project/sara_cristiana.capp
SaraCapp 1e4d008
Update index.md
SaraCapp 85b032d
Update index.md
SaraCapp 133042e
Update index.md
SaraCapp c1798cd
Update index.md
SaraCapp File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Binary file added
BIN
+9.58 KB
website/versioned_docs/version-acs_cc/project/2026/sara.capp/diagram.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
89 changes: 89 additions & 0 deletions
89
website/versioned_docs/version-acs_cc/project/2026/sara.capp/index.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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/SaraCapp/website | ||
|
|
||
| ::: | ||
|
|
||
| ## 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. | ||
|
|
||
|  | ||
|
|
||
| ## 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 | ||
|
|
||
|  | ||
|
|
||
| ### 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 | ||
1 change: 1 addition & 0 deletions
1
website/versioned_docs/version-acs_cc/project/2026/sara.capp/robotic_bloom.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add here the link generated by accepting the assignment.