-
-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathlearn.php
More file actions
129 lines (128 loc) · 7.6 KB
/
Copy pathlearn.php
File metadata and controls
129 lines (128 loc) · 7.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
<?php
require('template/top.php');
head('Learn', true);
// Getting-started guides: each topic points to genuinely good, free, beginner
// tutorials students can follow at home. Links verified before publishing.
$guides = array(
array(
'title' => 'Arduino',
'icon' => 'thin-icon-pointer',
'body' => "The Arduino Uno is the best place to start — cheap, beginner-friendly, and the controller behind most of our Botathon bots. Install the free Arduino IDE, run the <em>Blink</em> example, then work up to reading sensors and driving outputs.",
'links' => array(
array('Official “Getting Started with Arduino”', 'https://docs.arduino.cc/learn/starting-guide/getting-started-arduino/'),
array('Paul McWhorter’s Arduino video course (YouTube)', 'https://www.youtube.com/playlist?list=PLGs0VKk2DiYw-L-RibttcvK-WBZm8WLEP'),
),
),
array(
'title' => 'Raspberry Pi',
'icon' => 'thin-icon-study',
'body' => "When a build needs a real computer — cameras, computer vision, ROS — we use a Raspberry Pi. Flash the OS with the official Imager, boot into Linux, and start driving its GPIO pins with Python.",
'links' => array(
array('Official “Getting started with Raspberry Pi” pathway', 'https://projects.raspberrypi.org/en/pathways/getting-started-with-raspberry-pi'),
array('More beginner projects (projects.raspberrypi.org)', 'https://projects.raspberrypi.org/en/projects'),
),
),
array(
'title' => 'Motors & the L298N Driver',
'icon' => 'thin-icon-car',
'body' => "A microcontroller can’t power a motor directly. Our standard setup is a basic 6V DC motor driven by an <strong>L298N</strong> H-bridge: direction pins pick which way it spins, a PWM pin sets the speed, and one L298N runs two motors — enough for a two-wheel robot.",
'links' => array(
array('L298N + Arduino, step by step (Last Minute Engineers)', 'https://lastminuteengineers.com/l298n-dc-stepper-driver-arduino-tutorial/'),
array('DroneBot Workshop: controlling DC motors', 'https://dronebotworkshop.com/dc-motors-l298n-h-bridge/'),
),
),
array(
'title' => 'Servos',
'icon' => 'thin-icon-lightbulb',
'body' => "Servos hold a precise angle — perfect for steering, arms, and grippers. Three wires, one line of code (<code>servo.write(90)</code>). We use them everywhere, from Sofabot’s steering to Scrapp-E’s animatronic hand.",
'links' => array(
array('Control a servo with Arduino (official)', 'https://docs.arduino.cc/learn/electronics/servo-motors/'),
array('Servo motor deep-dive (Last Minute Engineers)', 'https://lastminuteengineers.com/servo-motor-arduino-tutorial/'),
),
),
array(
'title' => 'Electronics & Soldering',
'icon' => 'thin-icon-box',
'body' => "Before the code, you need a circuit that works. Learn to use a breadboard, read a simple schematic, and solder a clean joint — the hands-on skills behind every project. (We cover all of this in our workshops too.)",
'links' => array(
array('SparkFun: How to Solder (through-hole)', 'https://learn.sparkfun.com/tutorials/how-to-solder-through-hole-soldering'),
array('SparkFun: How to Use a Breadboard', 'https://learn.sparkfun.com/tutorials/how-to-use-a-breadboard'),
),
),
array(
'title' => 'CAD & 3D Printing',
'icon' => 'thin-icon-chart',
'body' => "Design custom parts — brackets, mounts, gripper fingers — and print them on our <a href=\"/projects\">printer fleet</a>. Onshape is free for students and runs in the browser, so you can start modeling today.",
'links' => array(
array('Onshape self-paced CAD courses (free)', 'https://learn.onshape.com/'),
array('3D-printing basics that work (MatterHackers)', 'https://www.matterhackers.com/articles/how-to-succeed-when-3d-printing-with-pla'),
),
),
);
?>
<style>
.learn-hero { padding: 60px 0 10px; text-align: center; }
.learn-hero p { max-width: 720px; margin: 12px auto 0; color: #555; font-size: 17px; line-height: 1.6; }
.learn-grid { max-width: 1040px; margin: 0 auto; padding: 30px 15px 40px; }
.learn-card { background: #fff; border: 1px solid #ececec; border-radius: 10px; padding: 26px 28px; height: 100%; box-shadow: 0 3px 14px rgba(0,0,0,.05); display: flex; flex-direction: column; }
.learn-card .icon { color: #24c57c; }
.learn-card h3 { margin: 12px 0 10px; font-size: 21px; }
.learn-card > p { color: #444; line-height: 1.6; font-size: 15px; margin: 0 0 14px; }
.learn-card code { background: #f2f4f2; padding: 1px 5px; border-radius: 3px; font-size: 13px; color: #1f6b46; }
.learn-links { list-style: none; padding: 0; margin: auto 0 0; border-top: 1px solid #eee; padding-top: 12px; }
.learn-links li { margin-bottom: 8px; line-height: 1.4; }
.learn-links a { color: #24c57c; font-weight: 600; font-size: 14px; text-decoration: none; }
.learn-links a:hover { text-decoration: underline; }
.learn-links a::before { content: "\2192"; margin-right: 6px; }
.learn-cell { margin-bottom: 20px; }
.learn-cta { text-align: center; padding: 10px 15px 60px; }
.learn-cta p { color: #555; margin-bottom: 16px; }
</style>
<main class="page-content">
<section class="breadcrumb-classic">
<div class="rd-parallax">
<div data-speed="0.25" data-type="media" data-url="/images/headers/learn.jpg" class="rd-parallax-layer"></div>
<div data-speed="0" data-type="html" class="rd-parallax-layer section-top-75 section-md-top-150 section-lg-top-260">
<div class="shell">
<ul class="list-breadcrumb">
<li><a href="/">Home</a></li>
<li><a href="/about">About</a></li>
<li>Learn Robotics</li>
</ul>
</div>
</div>
</div>
</section>
<section class="learn-hero">
<div class="shell">
<h1>Learn Robotics</h1>
<p>New to robotics? Start here. These are the components and skills we use most, each with hand-picked free tutorials you can work through at home — then come to a workshop and build the real thing with us.</p>
</div>
</section>
<div class="learn-grid">
<div class="range">
<?php foreach ($guides as $g): ?>
<div class="cell-md-6 cell-lg-4 learn-cell">
<div class="learn-card">
<span class="icon icon-lg <?php echo htmlspecialchars($g['icon']); ?>"></span>
<h3><?php echo $g['title']; ?></h3>
<p><?php echo $g['body']; ?></p>
<ul class="learn-links">
<?php foreach ($g['links'] as $l): ?>
<li><a href="<?php echo htmlspecialchars($l[1]); ?>" target="_blank" rel="noopener"><?php echo $l[0]; ?></a></li>
<?php endforeach; ?>
</ul>
</div>
</div>
<?php endforeach; ?>
</div>
</div>
<div class="learn-cta">
<p>Working through these on your own is a great start — but the fastest way to learn is alongside people who’ve done it before. Come to a workshop and jump in.</p>
<a href="/join/discord" class="btn btn-primary">Join us on Discord</a>
<a href="/events" class="btn btn-default">See upcoming events</a>
</div>
</main>
<?php
footer();