-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
138 additions
and
92 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,17 @@ | ||
import { Heading, Text } from 'theme-ui' | ||
const components = { | ||
h1: (props) => <Heading as="h1" sx={{ | ||
fontSize: 5, color: 'black' , | ||
fontSize: 5, | ||
fontFamily: 'var(--font-inter)', | ||
fontWeight:800 | ||
fontWeight:800, | ||
marginBottom: '10px' | ||
}} {...props} />, | ||
h2: (props) => <Heading as="h2" sx={{ fontSize: 4, color: 'black', fontFamily: 'var(--font-inter)', | ||
h2: (props) => <Heading as="h2" sx={{ fontSize: 4, fontFamily: 'var(--font-inter)', marginBottom: '10px' | ||
}} {...props} />, | ||
h3: (props) => <Heading as="h3" sx={{ fontSize: 3, color: 'black' }} {...props} />, | ||
h3: (props) => <Heading as="h3" sx={{ fontSize: 3, }} {...props} />, | ||
p: (props) => <Text sx={{ fontSize: 2, color: 'text' }} {...props} />, | ||
|
||
ol: (props) => <ol style={{ listStyleType: 'decimal', paddingLeft:'20px', marginLeft:'20px' }} {...props} />, | ||
li: (props) => <li {...props} />, | ||
|
||
} | ||
export default components |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,53 @@ | ||
|
||
# Hacky Holidays Guide | ||
|
||
## Hacky Holidays is a limited time YSWS event for making your own PCB tree decorations! There are **4** major steps in making a successful decoration: | ||
# **Hacky Holidays Guide** | ||
Hacky Holidays is a limited time YSWS event for making your own PCB tree decorations! There are **3** major steps in making a successful decoration: | ||
|
||
1. Choosing your Parts | ||
2. Making your Schematic | ||
3. Designing your Schematic | ||
4. Programming your PCB | ||
2. Designing your PCB | ||
3. Programming your PCB | ||
|
||
### **** This guide serves as a learning tool to help you get started, If you submit the guide PCB you will not be accepted! **** | ||
|
||
--- | ||
|
||
# Choosing Your Parts | ||
|
||
When choosing your parts, think about the function of each component, and try to wither out unneeded components. Unneeded components can reduce your decoration’s battery life! | ||
|
||
Components used for the tutorial: | ||
(1x) MCU | ||
Parts covered in the guide **(THESE MUST BE ON YOUR PCB TO WORK):** | ||
|
||
- Neopixels | ||
- MCU (separate guides for the ESP32 and ch552) | ||
- Batteries | ||
|
||
If you want to add any components **not** on the approved list, ask one of the organizers in #hacky-holidays! | ||
|
||
--- | ||
|
||
# **Designing your PCB** | ||
|
||
For this guide, we are going to be using KiCad, so if you are using a different tool your steps might be a bit different! | ||
|
||
First, open up KiCad, and go to File → New Project… and name it whatever you want! Just make sure you name it something you remember so you can come back to it :P | ||
|
||
![image.png](https://cloud-ho0oo25ks-hack-club-bot.vercel.app/0image__67_.png) | ||
|
||
Then Click on the **Schematic Editor** Button. It will take you to a blank page where you will start designing your PCB! | ||
|
||
![image (3).png](https://prod-files-secure.s3.us-west-2.amazonaws.com/51907c75-c258-4bc2-9858-58c3dcad7100/4c6c1b0e-1052-4e21-b6f9-44eefa94f9ae/b38b9519-5210-4b7c-9046-fbd9882d3ce7.png) | ||
|
||
Now it’s time to branch off…. Click on the link with the microcontroller you plan to use! | ||
|
||
Xiao Esp32C3 | ||
|
||
2nd Microcontroller | ||
|
||
--- | ||
|
||
# **Programming your PCB** | ||
|
||
() | ||
To program your PCB, use the Arduino IDE and the Neopixels library! Here is a helpful resource to help you get started: | ||
|
||
[General Info](https://www.notion.so/General-Info-153a1dc89099809d86c0fda32bbf66a9?pvs=21) | ||
https://learn.adafruit.com/adafruit-neopixel-uberguide/arduino-library-use | ||
|
||
[How to wire up your LEDs](https://www.notion.so/How-to-wire-up-your-LEDs-154a1dc890998077b10aecd282861452?pvs=21) | ||
# Submissions & Manufacturing |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.