You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Initial Documentation
* Rename file
* Initial Documentation 2
* Rename file
* Fix image filename case in architecture diagram
* New Diagram
* Diagram
* Diagram
* Last one
* Finale
* ok
* new file
* new try
* kicad and hardware
* new file size
* final_doc
Copy file name to clipboardExpand all lines: website/versioned_docs/version-acs_cc/project/2026/constantin.trufas/index.md
+30-13Lines changed: 30 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ A smart defense turret that uses 3D scanning to detect objects and launch a phys
11
11
12
12
## Description
13
13
14
-
The project is an **Air Defense Turret** designed for continuous environment scanning and target interaction. The system is built around an STM32 Nucleo microcontroller, coordinating a dual-axis positioning system: a stepper motor that performs a 0° to 359° horizontal sweep and a servomotor for vertical pitch control.
14
+
The project is an **Air Defense Turret** designed for continuous environment scanning and target interaction. The system is built around an STM32 Nucleo microcontroller, coordinating a dual-axis positioning system: a stepper motor that performs a 0° to 359° horizontal sweep and a servomotor for vertical pitch control. A YS-27 Hall effect sensor is integrated to precisely detect the position where the rotational sweep must stop.
15
15
16
16
Distance detection is handled by a Time-of-Flight sensor, providing high-precision mapping as the turret pans. The system operates autonomously, identifying targets within its scanning arc and triggering a mechanical solenoid strike upon detection. Real-time system data and target telemetry are displayed on an integrated TFT screen. To ensure stable operation, the turret includes a dedicated power management circuit designed to handle the high-current requirements of the solenoid and drive motors.
17
17
@@ -28,16 +28,16 @@ The project is built like a team where every part has a specific job, all coordi
28
28
Main Components:
29
29
30
30
***The Controller**: An STM32 Nucleo board acts as the central processor. It monitors sensors, processes user input and coordinates all motor movements.
31
-
***Power Supply**: A 12V source is distributed into three specific rails:
32
-
* 12V for the stepper motor and solenoid;
33
-
* 6V for the servo;
34
-
* 5V for the logic circuits and sensors.
31
+
***Power Supply**: A 12V source is distributed into two specific rails:
32
+
* 12V for the stepper motor;
33
+
* 5V for the logic circuits, servo and sensors.
35
34
***The Aiming System**: Enables dual-axis motion using a Stepper Motor for horizontal rotation (Pan) and a Servomotor for vertical positioning (Tilt), while a Potentiometer allows for manual calibration and fine-tuning.
36
35
***The Sensors**: A Distance Sensor provides real-time ranging data.
36
+
***The Endstop**: A YS-27 Hall effect sensor is used to find the exact position where the rotational sweep must stop.
37
37
***The Trigger**: A Solenoid Piston handles the mechanical firing. It is controlled via a MOSFET, which allows the microcontroller to safely switch the high-current 12V load.
38
-
***The Display**: A TFT Screen provides a real-time interface, showing target distance, system telemetry and operational status.
38
+
***The Display**: A TFT Screen provides a real-time interface.
39
39
40
-

40
+

41
41
42
42
## Log
43
43
@@ -56,38 +56,50 @@ Main Components:
56
56
* This week was dedicated to hardware testing and physical assembly.
57
57
* I focused on verifying the functionality of the sensors, motors and power management modules, ensuring all components integrated correctly during the build process.
58
58
59
+
### Week 11 - 17 & 18 - 24 May
60
+
* I resolved the solenoid issue to ensure the correct launch distance and force for the projectile.
61
+
* I integrated the YS-27 Hall effect sensor to precisely detect the stopping position for the rotational movement.
62
+
63
+
### Week 25 - 27 May
64
+
* I finished the code implementation for the project.
65
+
59
66
## Hardware
60
67
61
-
The project integrates high-performance components to achieve autonomous detection and response. The STM32 Nucleo acts as the brain, processing data from the VL53L1X ToF sensor to map the environment. Motion is handled by a Nema 17 stepper motor for precise horizontal scanning and an MG996R servomotor for manual vertical adjustment via a potentiometer.
68
+
The project integrates high-performance components to achieve autonomous detection and response. The STM32 Nucleo acts as the brain, processing data from the VL53L1X ToF sensor to map the environment. Motion is handled by a Nema 17 stepper motor for precise horizontal scanning and an MG996R servomotor for manual vertical adjustment via a potentiometer. A YS-27 Hall effect sensor is integrated to precisely detect the position where the rotational sweep must stop.
62
69
63
-
To handle physical action, an IRF520 MOSFET triggers a solenoid piston. The entire system is powered by a 12V 5A source, stabilized by LM2596 buck converters. Visual feedback is provided by a ST7789 TFT display, showing real-time radar telemetry.
70
+
To handle physical action, an IRF520 MOSFET triggers a solenoid piston. The entire system is powered by a 12V 5A source, stabilized by a LM2596 buck converter. Visual feedback is provided by a ST7789 TFT display, showing real-time radar telemetry.
64
71
65
72

66
73

74
+

75
+

76
+
67
77
68
78
### Schematics
69
79
70
-

80
+

71
81
72
82
### Bill of Materials
73
83
74
84
| Device | Usage | Price |
75
85
|--------|--------|-------|
76
86
|[STM32 Nucleo-64 Board](https://www.st.com/en/evaluation-tools/nucleo-u545re-q.html)| Central processing unit that controls sensors and motors |[112.47 RON](https://ro.mouser.com/ProductDetail/STMicroelectronics/NUCLEO-U545RE-Q?qs=mELouGlnn3cp3Tn45zRmFA%3D%3D)|
77
87
| Distance Sensor | ToF sensor used for high-precision object detection |[60 RON](https://sigmanortec.ro/senzor-distanta-vl53l1x-ic-original-tof-3-5v)|
88
+
| Hall Sensor Module YS-27 | Hall effect sensor used for precise rotational stop detection |[7 RON](https://www.optimusdigital.ro/en/hall-sensors/596-modul-cu-senzor-hall-ys-27.html?srsltid=AfmBOoo6Y0kpDOf3nXlSHnaXe9iB7Map2UxHYs6Uz77sfkQ2JNDdEwC4)|
78
89
| Servomotor | Controls the vertical tilting of the turret |[29.51 RON](https://sigmanortec.ro/servomotor-mg996r-180-13kg)|
79
90
| Stepper Motor | Drives the horizontal 360° rotation of the system |[91.62 RON](https://sigmanortec.ro/motor-pas-cu-pas-nema17-18-grade-42x42x48mm)|
80
91
| Stepper Driver | Translates logic signals into power for the stepper motor |[8.09 RON](https://sigmanortec.ro/Driver-stepper-A4988-Radiator-p125711037)|
81
-
| Step-down Converter | Steps down 12V to 5V/6V for logic and servo power |[2x 6.69 RON](https://sigmanortec.ro/Modul-coborator-tensiune-adjustabil-LM2596-DC-DC-4-5-40V-3A-p134532509)|
92
+
| Step-down Converter | Steps down 12V to 5V|[6.69 RON](https://sigmanortec.ro/Modul-coborator-tensiune-adjustabil-LM2596-DC-DC-4-5-40V-3A-p134532509)|
82
93
| Stepper Expansion Board | Simplifies wiring between the driver and the motor |[9.97 RON](https://sigmanortec.ro/placa-expansiune-driver-motor-stepper-drv8825-si-a4988-5v)|
83
94
| TFT Display | Shows real-time radar data and system telemetry |[30.64 RON](https://sigmanortec.ro/display-tft-13-ips-spi-65k-culori-lcd-st7789v-240x240-7p)|
84
95
| Solenoid Piston | Provides the mechanical strike when a target is detected |[24.74 RON](https://sigmanortec.ro/piston-electromagnetic-jf-0530b-cu-solenoid-12v-push-pull)|
85
96
| Rotary Potentiometer | Allows manual adjustment of the turret's vertical tilt angle |[13.65 RON](https://sigmanortec.ro/modul-potentiometru-rotativ-10k-liniar-3-5v)|
86
97
| 12V 5A Power Adapter | The main power source for the entire turret system |[50.70 RON](https://www.emag.ro/alimentator-12v-5a-cu-mufa-5-5-2-1-mm-cablu-de-alimentare-inclus-ev-5a/pd/DY6PTDBBM/)|
87
98
| DC Female Jack Adapter | Connects the power adapter to the breadboard wires |[4.14 RON](https://www.emag.ro/mufa-alimentare-mama-cu-surub-201801013096/pd/D9FK8GBBM/)|
88
-
| IRF520 MOSFET Module | Electronic switch used to trigger the 12V solenoid |[12.60 RON](https://www.emag.ro/modul-bazat-pe-tranzistorul-n-mosfet-irf520-elektroweb-3-5-v-5-a-2-m-114/pd/DSGC35MBM/)|
99
+
| IRF520 MOSFET Module | Electronic switch used to trigger the 6V solenoid |[12.60 RON](https://www.emag.ro/modul-bazat-pe-tranzistorul-n-mosfet-irf520-elektroweb-3-5-v-5-a-2-m-114/pd/DSGC35MBM/)|
0 commit comments