Difference between revisions of "Spike Prime - Avalanche Cannon - Jakub Vojtek"

From RoboWiki
Jump to: navigation, search
(Created page with "Back to: Spike up Prime Interest in Science and Technology with Raspberry Pi Build Hat|List of projects of ''Spike up Prime Interest in Science and Technology with Raspberry...")
 
m
 
(4 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
== About the project ==
 
== About the project ==
  
In this project, students will create a sophisticated cannon control system using a combination of hardware and software. The project utilizes a Flask web app library to integrate interactive elements such as buttons, canvas, and text fields directly into Python code. This web app communicates user actions and data via signals. The project will also use Arduino board with gyroscope for calculating pitch. provides
+
In this project, students will create a sophisticated cannon control system using a combination of hardware and software. The project utilizes a Flask web app library to integrate interactive elements such as buttons, canvas, and text fields directly into Python code. This web app communicates user actions and data via signals. The project will also use Arduino board with gyroscope for calculating pitch.
 +
*PS: on the video the battery was almost dead so don't worry the camera and movement will be smoother.
  
 
[[Image:BuildHat_cannon_model.png|600px]]
 
[[Image:BuildHat_cannon_model.png|600px]]
Line 10: Line 11:
  
 
== Video ==
 
== Video ==
<youtube width="600" height="340">?</youtube>
+
<youtube width="600" height="340">-KZO35uOKiQ</youtube>
  
 
== Build a robot ==
 
== Build a robot ==
Line 30: Line 31:
 
*[[Cannon - Code|Avalanche Cannon - Code]]
 
*[[Cannon - Code|Avalanche Cannon - Code]]
 
*[[Web Page - Code|Web Page - Code]]
 
*[[Web Page - Code|Web Page - Code]]
 +
*[[Web Page CSS - Code|Web Page CSS - Code]]
 
*[[Arduino - Code|Arduino - Code]]
 
*[[Arduino - Code|Arduino - Code]]
  

Latest revision as of 23:47, 22 May 2024

Back to: List of projects of Spike up Prime Interest in Science and Technology with Raspberry Pi Build Hat


About the project

In this project, students will create a sophisticated cannon control system using a combination of hardware and software. The project utilizes a Flask web app library to integrate interactive elements such as buttons, canvas, and text fields directly into Python code. This web app communicates user actions and data via signals. The project will also use Arduino board with gyroscope for calculating pitch.

  • PS: on the video the battery was almost dead so don't worry the camera and movement will be smoother.

BuildHat cannon model.png BuildHat cannon fotka.jpg

Video

Build a robot

  • Be careful with balancing your robot so it doesn't fall over under the weight of the cannon and camera.

Building instructions:


Get the robot ready

  • Make sure the gyroscope is set in place for example with a double sided tape.

Raspberry Python Code:


Ideas for improvement

  • Save yaw from the gyroscope as well for even better mapping of the shots.
  • Interactively draw your pitch.
  • Find a way to make the robot move.

Evaluate your performance

  • Think about how you approached the problem and about how else could it be solved.
  • Evaluate yourself on how you adapted when something didn't work as you hoped it would.


Teacher Resources