Skip to content

Commit

Permalink
update script.py
Browse files Browse the repository at this point in the history
  • Loading branch information
am-oscar committed Oct 6, 2023
1 parent f210128 commit 8390899
Show file tree
Hide file tree
Showing 6 changed files with 331 additions and 77 deletions.
File renamed without changes.
File renamed without changes.
37 changes: 16 additions & 21 deletions content/home.html
Original file line number Diff line number Diff line change
@@ -1,26 +1,21 @@
<div class="container-fluid">
<div class="container-fluid">
<div class="row carousel_colour">
<div class="col-6 mx-auto">
<div id="Carousel" class="carousel slide" data-bs-ride="carousel">
<div class="carousel-inner">
<div class="carousel-item active" data-bs-interval="2000">
<img src="images/IMG_1997.jpg" class="d-block w-100" alt="...">
<div class="col-6 mx-auto">
<div id="Carousel" class="carousel slide" data-bs-ride="carousel">
<div class="carousel-inner">
<div class="carousel-item active" data-bs-interval="2000">
<img src="images/IMG_1997.jpg" class="d-block w-100" alt="...">
</div>
<div class="carousel-item" data-bs-interval="2000">
<img src="images/IMG_0949.JPG" class="d-block w-100" alt="...">
</div>
<div class="carousel-item" data-bs-interval="2000">
<img src="images/IMG_1127.jpg" class="d-block w-100" alt="...">
</div>
</div>
</div>
<div class="carousel-item" data-bs-interval="2000">
<img src="images/IMG_0949.JPG" class="d-block w-100" alt="...">
</div>
<div class="carousel-item" data-bs-interval="2000">
<img src="images/IMG_1127.jpg" class="d-block w-100" alt="...">
</div>
</div>
</div>
</div>
</div>
</div>

<div class="container text-center">
<h1>Popular Worksheets!</h1>

{{ Content }}
</div>

</div>
{{Content}}
98 changes: 42 additions & 56 deletions content/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,9 @@ <h1>Popular Worksheets!</h1>
<a href="worksheets/Microbit/Microbit_Gravity/microbit_zero_g.pdf">
<div class="image_desc h-100 p-3">
<img src="images/tech-jam-website-logo-1280x1280.png" class="images_worksheet">
<h2>0 Gravity Microbit Description</h2>
<p>Difficulty - Beginner</p>
<p>In this tutorial, we will explore the concept of zero gravity (zero-G) and learn how to demonstrate it using Microbits, making it an engaging and educational activity. Zero gravity is the sensation of weightlessness experienced by astronauts in free fall, and we'll simulate this phenomenon using accelerometer data from Microbits
</p>
<h2>Rainbow Predictor</h2>
<p>Difficulty - Not set</p>
<p>The Rainbow Predictor project is a fun and educational endeavor. It involves using the Sense HAT's temperature and humidity sensors to forecast the likelihood of spotting a rainbow. When the optimal weather conditions are detected, a vibrant rainbow will be displayed on the Sense HAT's LED Matrix. To simulate this project in the Trinket emulator, you can manipulate sliders to adjust the temperature and humidity levels. This engaging project encourages experimentation and learning about weather patterns and sensor technology.</p>
</div>
</a>
</div>
Expand All @@ -21,10 +20,9 @@ <h2>0 Gravity Microbit Description</h2>
<a href="worksheets/Microbit/microbit_neopixel_card/microbit_card_neopixels.pdf">
<div class="image_desc h-100 p-3">
<img src="images/tech-jam-website-logo-1280x1280.png" class="images_worksheet">
<h2>Card Neopixels Desc</h2>
<p>Difficulty - Beginner</p>
<p>This tutorial provides step-by-step instructions for creating an engaging coding project using a MicroBit and Neopixels. Designed for educational purposes, particularly for beginners in programming and electronics, this tutorial guides participants through the process of lighting up a piece of card with Neopixels. Neopixels are special LEDs capable of displaying various colors and brightness levels.
</p>
<h2>Compass Maze</h2>
<p>Difficulty - Not set</p>
<p>The "Compass Maze" is an engaging and educational project designed for coding clubs or individuals interested in learning Python programming and exploring the capabilities of the Raspberry Pi Sense HAT. In this project, participants will utilize the Sense HAT's magnetometer (compass) to navigate through a maze of colorful rooms</p>
</div>
</a>
</div>
Expand All @@ -33,10 +31,9 @@ <h2>Card Neopixels Desc</h2>
<a href="worksheets/Microbit/microbit_pixel_ring/microbit_neopixel_ring.pdf">
<div class="image_desc h-100 p-3">
<img src="images/tech-jam-website-logo-1280x1280.png" class="images_worksheet">
<h2>Neopixel Ring Description</h2>
<p>Difficulty - Beginner</p>
<p>This tutorial provides step-by-step instructions for coding a micro:bit to control a Neopixel ring, which is a circular arrangement of addressable LEDs. It is designed for individuals looking for a bit more challenge than working with a single Neopixel sheet.
</p>
<h2>Pixel Pet</h2>
<p>Difficulty - Not set</p>
<p>This tutorial guides you through the creation of a digital pet using the Raspberry Pi Sense HAT. The digital pet will be capable of detecting movement, allowing you to take it for a virtual walk. Through this project, you will learn how to use Python programming to manipulate the Sense HAT's LED matrix, employ loops and functions, and utilize the Sense HAT's accelerometer for interactive behavior.</p>
</div>
</a>
</div>
Expand All @@ -45,10 +42,9 @@ <h2>Neopixel Ring Description</h2>
<a href="worksheets/Microbit/microbit_rovers/microbit_short_rover_worksheet.pdf">
<div class="image_desc h-100 p-3">
<img src="images/tech-jam-website-logo-1280x1280.png" class="images_worksheet">
<h2>Rover Tutorials Description</h2>
<p>Difficulty - Beginner</p>
<p>In this exercise, you will create a remote control system for the Mars Rover using a MicroBit and Python programming. Your goal is to program a second MicroBit to send instructions via radio to control the rover. You'll be using the Mu Python editor for coding and flashing your code onto the MicroBit.
</p>
<h2>Flappy Astronaut</h2>
<p>Difficulty - Not set</p>
<p>Flappy Astronaut is an engaging Raspberry Pi project that guides learners through the creation of a Flappy Bird-inspired game using the Sense HAT and Python. Participants will explore various aspects of digital making and coding while creating a fun and interactive game. They will learn how to illuminate Sense HAT LEDs, use the Sense HAT joystick for navigation, and utilize 2D lists to represent the game screen. This project provides hands-on experience in physical computing and game development. Whether using physical hardware or an emulator, participants will enjoy the process of coding their own Flappy Astronaut game on the Raspberry Pi platform.</p>
</div>
</a>
</div>
Expand All @@ -57,10 +53,9 @@ <h2>Rover Tutorials Description</h2>
<a href="worksheets/Microbit/microbit_satellite/microbit_satellite_communications.pdf">
<div class="image_desc h-100 p-3">
<img src="images/tech-jam-website-logo-1280x1280.png" class="images_worksheet">
<h2>Microbit Satellite Communication Description</h2>
<p>Difficulty - Beginner</p>
<p>This tutorial guides users through the process of setting up communication between BBC Microbits using radio signals, effectively creating a simple satellite communication system.
</p>
<h2>Count Down Using Sense Hat</h2>
<p>Difficulty - Not set</p>
<p>This tutorial guides coding clubs through the creation of a countdown timer using the Sense HAT, a hardware add-on for the Raspberry Pi. By following the steps outlined in the tutorial, participants will learn how to utilize the Sense HAT's colored LED matrix to display a countdown timer.</p>
</div>
</a>
</div>
Expand All @@ -69,10 +64,9 @@ <h2>Microbit Satellite Communication Description</h2>
<a href="worksheets/Microbit/microbit_snowflakes/christmas_microbit_stars.pdf">
<div class="image_desc h-100 p-3">
<img src="images/tech-jam-website-logo-1280x1280.png" class="images_worksheet">
<h2>Microbit Stars Description</h2>
<p>Difficulty - Beginner</p>
<p>In this fun and festive tutorial, you'll learn how to use a Microbit to create messages, animations, and interactive displays on a Christmas-themed star. You'll bring your holiday spirit to life by programming the Microbit to respond to button presses and display various images and animations.
</p>
<h2>Snowpi Description</h2>
<p>Difficulty - Not set</p>
<p>This tutorial guides you through coding a Microbit to control NeoPixel LEDs on a Snowman-shaped board called SnowPi using Python. It covers setting up the Microbit and Mu Editor, lighting up individual LEDs, organizing LED groups with lists and functions, and adding interactivity with button inputs. </p>
</div>
</a>
</div>
Expand All @@ -81,10 +75,9 @@ <h2>Microbit Stars Description</h2>
<a href="worksheets/Microbit/Microbit_Snowpi/microbit_snowpi.pdf">
<div class="image_desc h-100 p-3">
<img src="images/tech-jam-website-logo-1280x1280.png" class="images_worksheet">
<h2>Snowpi Description</h2>
<p>Difficulty - Beginner</p>
<p>This tutorial guides you through coding a Microbit to control NeoPixel LEDs on a Snowman-shaped board called SnowPi using Python. It covers setting up the Microbit and Mu Editor, lighting up individual LEDs, organizing LED groups with lists and functions, and adding interactivity with button inputs.
</p>
<h2>Microbit Stars Description</h2>
<p>Difficulty - Not set</p>
<p>In this fun and festive tutorial, you'll learn how to use a Microbit to create messages, animations, and interactive displays on a Christmas-themed star. You'll bring your holiday spirit to life by programming the Microbit to respond to button presses and display various images and animations.</p>
</div>
</a>
</div>
Expand All @@ -93,10 +86,9 @@ <h2>Snowpi Description</h2>
<a href="worksheets/Microbit/Microbit_Timing_Gate/toy_cars_timing_gate.pdf">
<div class="image_desc h-100 p-3">
<img src="images/tech-jam-website-logo-1280x1280.png" class="images_worksheet">
<h2>Time Gate Description</h2>
<p>Difficulty - Beginner</p>
<p>This tutorial guides coding club members in creating a time gate for toy cars using Microbits and lights. Participants will set up a sloping track with two torches, Microbits as timing traps, and radio communication. They will code the Microbits to start and stop timing when a car's shadow passes in front of an LED, then calculate and display the car's speed. The tutorial emphasizes the importance of spelling, punctuation, and code structure in Python programming.
</p>
<h2>0 Gravity Microbit Description</h2>
<p>Difficulty - Not set</p>
<p>In this tutorial, we will explore the concept of zero gravity (zero-G) and learn how to demonstrate it using Microbits, making it an engaging and educational activity. Zero gravity is the sensation of weightlessness experienced by astronauts in free fall, and we'll simulate this phenomenon using accelerometer data from Microbits</p>
</div>
</a>
</div>
Expand All @@ -105,11 +97,9 @@ <h2>Time Gate Description</h2>
<a href="worksheets/Scratch/traffic lights/scratch3_traffic_lights.pdf">
<div class="image_desc h-100 p-3">
<img src="images/tech-jam-website-logo-1280x1280.png" class="images_worksheet">
<h2>Traffic Light Description</h2>
<p>Difficulty - Beginner
</p>
<p>This tutorial guides beginners in coding clubs or those new to coding on how to use Scratch 3 and a Raspberry Pi to control a set of three LEDs simulating a traffic light sequence. It explains the basics of connecting the LEDs to GPIO pins, accessing Scratch 3 on the Raspberry Pi, and using Scratch's visual coding blocks. The tutorial covers topics such as turning LEDs on and off, creating sequences with broadcasts, and building a complete traffic light sequence. It concludes with an extra challenge to modify the program for flashing amber lights and encourages learners to experiment with their own LED sequences. Overall, it provides a hands-on introduction to programming and hardware interaction in a fun and educational way.
</p>
<h2>Neopixel Ring Description</h2>
<p>Difficulty - Not set</p>
<p>This tutorial provides step-by-step instructions for coding a micro:bit to control a Neopixel ring, which is a circular arrangement of addressable LEDs. It is designed for individuals looking for a bit more challenge than working with a single Neopixel sheet.</p>
</div>
</a>
</div>
Expand All @@ -118,10 +108,9 @@ <h2>Traffic Light Description</h2>
<a href="worksheets/SenseHAT/compass_maze/compass_maze.pdf">
<div class="image_desc h-100 p-3">
<img src="images/tech-jam-website-logo-1280x1280.png" class="images_worksheet">
<h2>Compass Maze</h2>
<p>Difficulty - Beginner</p>
<p>The "Compass Maze" is an engaging and educational project designed for coding clubs or individuals interested in learning Python programming and exploring the capabilities of the Raspberry Pi Sense HAT. In this project, participants will utilize the Sense HAT's magnetometer (compass) to navigate through a maze of colorful rooms
</p>
<h2>Microbit Satellite Communication Description</h2>
<p>Difficulty - Not set</p>
<p>This tutorial guides users through the process of setting up communication between BBC Microbits using radio signals, effectively creating a simple satellite communication system. </p>
</div>
</a>
</div>
Expand All @@ -130,10 +119,9 @@ <h2>Compass Maze</h2>
<a href="worksheets/SenseHAT/count_down_timer/countdown_timer.pdf">
<div class="image_desc h-100 p-3">
<img src="images/tech-jam-website-logo-1280x1280.png" class="images_worksheet">
<h2>Count Down Using Sense Hat</h2>
<p>Difficulty - Beginner</p>
<p>This tutorial guides coding clubs through the creation of a countdown timer using the Sense HAT, a hardware add-on for the Raspberry Pi. By following the steps outlined in the tutorial, participants will learn how to utilize the Sense HAT's colored LED matrix to display a countdown timer.
</p>
<h2>Card Neopixels Desc</h2>
<p>Difficulty - Not set</p>
<p>This tutorial provides step-by-step instructions for creating an engaging coding project using a MicroBit and Neopixels. Designed for educational purposes, particularly for beginners in programming and electronics, this tutorial guides participants through the process of lighting up a piece of card with Neopixels. Neopixels are special LEDs capable of displaying various colors and brightness levels.</p>
</div>
</a>
</div>
Expand All @@ -142,10 +130,9 @@ <h2>Count Down Using Sense Hat</h2>
<a href="worksheets/SenseHAT/flappy_astronaut/flappy_astronaut.pdf">
<div class="image_desc h-100 p-3">
<img src="images/tech-jam-website-logo-1280x1280.png" class="images_worksheet">
<h2>Flappy Astronaut</h2>
<p>Difficulty - Hard</p>
<p>Flappy Astronaut is an engaging Raspberry Pi project that guides learners through the creation of a Flappy Bird-inspired game using the Sense HAT and Python. Participants will explore various aspects of digital making and coding while creating a fun and interactive game. They will learn how to illuminate Sense HAT LEDs, use the Sense HAT joystick for navigation, and utilize 2D lists to represent the game screen. This project provides hands-on experience in physical computing and game development. Whether using physical hardware or an emulator, participants will enjoy the process of coding their own Flappy Astronaut game on the Raspberry Pi platform.
</p>
<h2>Rover Tutorials Description</h2>
<p>Difficulty - Not set</p>
<p>In this exercise, you will create a remote control system for the Mars Rover using a MicroBit and Python programming. Your goal is to program a second MicroBit to send instructions via radio to control the rover. You'll be using the Mu Python editor for coding and flashing your code onto the MicroBit.</p>
</div>
</a>
</div>
Expand All @@ -154,10 +141,9 @@ <h2>Flappy Astronaut</h2>
<a href="worksheets/SenseHAT/pixel_pet/pixel_pet.pdf">
<div class="image_desc h-100 p-3">
<img src="images/tech-jam-website-logo-1280x1280.png" class="images_worksheet">
<h2>Pixel Pet</h2>
<p>Difficulty - Beginner</p>
<p>This tutorial guides you through the creation of a digital pet using the Raspberry Pi Sense HAT. The digital pet will be capable of detecting movement, allowing you to take it for a virtual walk. Through this project, you will learn how to use Python programming to manipulate the Sense HAT's LED matrix, employ loops and functions, and utilize the Sense HAT's accelerometer for interactive behavior.
</p>
<h2>Time Gate Description</h2>
<p>Difficulty - Not set</p>
<p>This tutorial guides coding club members in creating a time gate for toy cars using Microbits and lights. Participants will set up a sloping track with two torches, Microbits as timing traps, and radio communication. They will code the Microbits to start and stop timing when a car's shadow passes in front of an LED, then calculate and display the car's speed. The tutorial emphasizes the importance of spelling, punctuation, and code structure in Python programming.</p>
</div>
</a>
</div>
Expand All @@ -166,9 +152,9 @@ <h2>Pixel Pet</h2>
<a href="worksheets/SenseHAT/rainbow_predictor/rainbow_predictor.pdf">
<div class="image_desc h-100 p-3">
<img src="images/tech-jam-website-logo-1280x1280.png" class="images_worksheet">
<h2>Rainbow Predictor</h2>
<p>Difficulty - Beginner</p>
<p>The Rainbow Predictor project is a fun and educational endeavor. It involves using the Sense HAT's temperature and humidity sensors to forecast the likelihood of spotting a rainbow. When the optimal weather conditions are detected, a vibrant rainbow will be displayed on the Sense HAT's LED Matrix. To simulate this project in the Trinket emulator, you can manipulate sliders to adjust the temperature and humidity levels. This engaging project encourages experimentation and learning about weather patterns and sensor technology.
<h2>Traffic Light Description</h2>
<p>Difficulty - </p>
<p>
</p>
</div>
</a>
Expand Down
Loading

0 comments on commit 8390899

Please sign in to comment.