Skip to content
This repository has been archived by the owner on Oct 6, 2019. It is now read-only.

Commit

Permalink
Refactor challenges
Browse files Browse the repository at this point in the history
* Remove challenge content and init new section template and challenge template

* Create challenge section partial

* Init challenge badges

* Add badges

* Add hardware

* Add footer

* Only intermediate and advanced

* Add PEye

* Add PICar-S

* Add Arduino Bot

* Remove en

* Add morse gateway

* Add ArduiPi-Sandbox

* Use normal footer

* Add translation for F-PICar-V CV

* Add translation for Raspberry PEye

* Use en suffix

* Remove unused ##

* Add translation PICar-S

* Add translation Arduino Bot

* Translation Raspberry Pi Morse-to-Email-Gateway

* ArduiPi-Sandbox

* Add translations for levels

* Fix inconsistencies of "sensors"
  • Loading branch information
ioboi authored and DonGiovanni83 committed Jan 16, 2019
1 parent 469da7c commit 98dc049
Show file tree
Hide file tree
Showing 25 changed files with 288 additions and 184 deletions.
11 changes: 11 additions & 0 deletions assets/sass/_variables.scss
Expand Up @@ -15,5 +15,16 @@ $strongColor: $h1Color;
// Menu component
$menuBorderColor: $secondaryColor;

// Badges
//$beginnerBadgeBackground: #3ddc97;
$beginnerBadgeBackground: #1b998b;
$beginnerBadgeFontColor: darken(white, 5%);

$intermediateBadgeBackground: #115990;
$intermediateBadgeFontColor: darken(white, 5%);

$advancedBadgeBackground: #d81159;
$advancedBadgeFontColor: darken(white, 5%);

//TODO
$logoColor: $primaryColor;
35 changes: 35 additions & 0 deletions assets/sass/components/_ChallengeBadgeList.scss
@@ -0,0 +1,35 @@
ul.ChallengeBadgeList {
display: flex;
list-style: none;
margin: 0;
padding: 0;
}

ul.ChallengeBadgeList > :first-child {
margin-left: 0em!important;
}

@mixin badgify($color, $background) {
color: $color;
background: $background;

font-size: 0.8em;
line-height: 0.8em;

padding: 0.4em;
margin: 0em 0.2em;
border: $background 1px solid;
border-radius: 2px;
}

li.ChallengeBadgeList-Element--Beginner {
@include badgify($beginnerBadgeFontColor, $beginnerBadgeBackground);
}

li.ChallengeBadgeList-Element--Intermediate {
@include badgify($intermediateBadgeFontColor, $intermediateBadgeBackground);
}

li.ChallengeBadgeList-Element--Advanced {
@include badgify($advancedBadgeFontColor, $advancedBadgeBackground);
}
1 change: 1 addition & 0 deletions assets/sass/main.scss
Expand Up @@ -4,6 +4,7 @@

@import "general";

@import "components/ChallengeBadgeList";
@import "components/LEDBanner";
@import "components/Logo";
@import "components/Container";
Expand Down
16 changes: 16 additions & 0 deletions content/challenges/arduino-bot.de.md
@@ -0,0 +1,16 @@
---
title: "Arduino Bot"
levels:
- Beginner
- Intermediate
hardware:
- SF-PiCar-V
- Sensoren deiner Wahl
---
Diese Challenge ist in 3 Tasks aufgeteilt:

* Steuerung des Bots (vorwärts, rückwärts, links, rechts)
* Kollisionsvermeidung mit dem Ultraschallsensor
* Line-tracking mithilfe von 5 IR Sensoren

Die selber erstellten Libraries sollen zu einem weiteren Task genutzt werden. Der Roboter soll autonom in einem Parkour Hindernisse umfahren und Linien folgen. Der Roboter kann mit weiteren Sensoren ausgestattet werden und den Parkour dementsprechend erweitert werden.
16 changes: 16 additions & 0 deletions content/challenges/arduino-bot.en.md
@@ -0,0 +1,16 @@
---
title: "Arduino Bot"
levels:
- Beginner
- Intermediate
hardware:
- SF-PiCar-V
- Sensors of your choice
---
This Task is structured in 3 main tasks which will be documented and guided:

* Controlls for your bot (forward, backward, left, right)
* Collision avoidance using the US Sensor
* Line tracking using 5 IR Sensors

After implementing those libraries your free to tune the robot as you like.
14 changes: 14 additions & 0 deletions content/challenges/arduipi-sandbox.de.md
@@ -0,0 +1,14 @@
---
title: "ArduiPi-Sandbox"
levels:
- Beginer
- Intermediate
- Advanced
hardware:
- SF-PiCar-V
- Sensoren deiner Wahl
---
Raspberry Pis und Arduinos sollen zusammen mit einer Auswahl an Sensoren zur Verfügung
stehen. Die Teilnehmenden können so an ihrem eigenen Projekt arbeiten oder ein Projekt aus
dem Internet wie z.B. Projekte aus [PiMyLifeUp](https://www.pimylifeup.com) und diese am Ende des
Events vorstellen.
14 changes: 14 additions & 0 deletions content/challenges/arduipi-sandbox.en.md
@@ -0,0 +1,14 @@
---
title: "ArduiPi-Sandbox"
levels:
- Beginer
- Intermediate
- Advanced
hardware:
- SF-PiCar-V
- Sensors of your choice
---
Raspberry Pis, Arduinos and many sensors of different kind are provided to be combined
into any project you like. Build and develop something you've seen on the internet like
for example projects from [PiMyLifeUp](https://www.pimylifeup.com) or something you've
had in mind. These project can be presented at the ent of the event if desired.
92 changes: 0 additions & 92 deletions content/challenges/index.de.md

This file was deleted.

92 changes: 0 additions & 92 deletions content/challenges/index.en.md

This file was deleted.

13 changes: 13 additions & 0 deletions content/challenges/morse-to-email-gateway.de.md
@@ -0,0 +1,13 @@
---
title: "Raspberry Pi Morse-to-Email-Gateway"
levels:
- Beginner
- Intermediate
hardware:
- Bereitgestellt von AdNovum
- Sensoren deiner Wahl
---
Der Raspberry Pi soll mit einem Tasten und LEDs ausgestattet werden. Der Raspberry Pi
soll Morsenachrichten über Email senden können. Ein Knopf soll die Nachricht aufzeichnen
können, Ein weiterer soll die Nachricht über ein LED wiedergeben, und ein dritter Knopf
soll die nachricht als Email Nachricht senden.
12 changes: 12 additions & 0 deletions content/challenges/morse-to-email-gateway.en.md
@@ -0,0 +1,12 @@
---
title: "Raspberry Pi Morse-to-Email-Gateway"
levels:
- Beginner
- Intermediate
hardware:
- Provided by AdNovum
- Sensors of your choice
---
The Raspberry Pi will be set up with push buttons and LEDs. This setup will be used
to send Morse code via email. A button will be recording the message, another will
play back the recorded message and a third button will send the message via email.
19 changes: 19 additions & 0 deletions content/challenges/picar-s.de.md
@@ -0,0 +1,19 @@
---
title: "PICar-S"
levels:
- Beginner
- Intermediate
hardware:
- PiCar-S
- Sensoren deiner Wahl
---
Diese Challenge ist in 3 Tasks aufgeteilt:

* Steuerung des Roboters (vorwärts, rückwärts, links, rechts)
* Kollisionsvermeidung mit dem Ultraschallsensor
* Line-tracking mithilfe von 4 IR Sensoren

Die in den Tasks erstellten Libraries sollen nun dazu verwendet werden den Roboter
autonom durch einen Parkour fahren zu lassen, in welchem der Roboter Hindernisse umfahren und Linien
nachgefahren muss. Zusätzlich kann man das eingebaute WIFI des Raspberry Pis nutzen, um
den Roboter über eine lokale Internetverbindung von Smartphone oder Laptop aus zu steuern.
17 changes: 17 additions & 0 deletions content/challenges/picar-s.en.md
@@ -0,0 +1,17 @@
---
title: "PICar-S"
levels:
- Beginner
- Intermediate
hardware:
- PiCar-S
- Sensors of your choice
---
This Task is structured in 3 main tasks which will be documented and guided:

* Controlls for your bot (forward, backward, left, right)
* Collision avoidance using the US Sensor
* Line tracking using 4 IR Sensors

Having implemented those essential libraries for your bot you are free to implement
additional features using either software or hardware to make your car smart.
12 changes: 12 additions & 0 deletions content/challenges/raspberry-p-eye.de.md
@@ -0,0 +1,12 @@
---
title: "Raspberry PEye"
levels:
- Intermediate
- Advanced
hardware:
- Raspberry Pi Zero
- Raspberry Pi Camera
- Camera Pan/Tilt-Halter
---
Mit diesem Setup kannst du frei basteln.
Mit der bereitgestellten Hardware kannst du beispielsweise eine einfache Überwachungskamera mit Email-Benachrichtigung,[Google Assistant](https://pimylifeup.com/raspberry-pi-google-assistant/) und [Personenerkennung](https://www.hackster.io/mjrobot/real-time-face-recognition-an-end-to-end-project-a10826) implementieren.

0 comments on commit 98dc049

Please sign in to comment.