
Byu classroom robotics
ethan-ejh-hunter/byu-classroom-robotics
Welcome to the BYU Classroom Robotics project. It was built for the as a 2024 Immerse Broader Impacts Project by Ethan Hunter and Ephraim.

Welcome to the BYU Classroom Robotics project. It was built for the as a 2024 Immerse Broader Impacts Project by Ethan Hunter and Ephraim.
Controller is an open-source printed circuit board by ethan-ejh-hunter, from the ethan-ejh-hunter/byu-classroom-robotics repository on GitHub. It is a 2-layer board of 94.7 × 64.5 mm with 10 parts on 38 nets, routed with 79 tracks and 0 vias.
Its parts include 4 diodes, 3 ICs, 2 switches and 1 connector.
Welcome to the BYU Classroom Robotics project. It was built for the as a 2024 Immerse Broader Impacts Project by Ethan Hunter and Ephraim.
It utelizes a Rpi Pico for the main board and ESP32s for the controllers. Many features should move over to any other micropython based board, though the actual boards would need redesign.
Most of the files are not used in the actual robots! They are simply there as documenting the journey, and maybe helping give some basic examples for how to use some of the libraries.
The two you'll want to look at is main.py, for the main board and controller.py. Each board will also need to have ble_advertising.py copied to the board. The joystick will need joystick_channel.py as well.
The controller allows switching between tank drive & one joystick driving. The default is tank drive. It displays an animation when switching on the controller.
Each controller must be assigned a number. Make sure to put a file called "dev_name" with the number on the flash as well. When the controller and the robot connect, they will both light up the controller number in binary on the included LEDs.
The pairing is only... partially done. There's a few options I see for it now. Currently, the pairing code only really allows for one controller + one robot. I never got around to rewriting the bluetooth scan code for it to find a list of all bluetooth devices and than iterate thru them. The way I see it working is that the main board is constantly advertising how many connections it has. The controllers will cycle thru all available connections. When it connects to one, it checks to see if it has 1 or 0 connections. Then it waits a random amount of time, and then if it still says it's only connected to one, it "locks in." If another one is connected after that time, it flips a coin, 25% it switches. If it doesn't switch, it waits a random amount of time, and then switches again. Overall, they should all find their own connections eventually. It is already set up to transmit the controller number, and the main board transmits how many devices are connected.
The main board uses a seperate smaller board for the LEDs. The controller has them built in.
| Qty | Value | Footprint | References |
|---|---|---|---|
| 4 | SFH4346 | LED_THT:LED_D3.0mm_IRBlack | D1, D2, D3, D4 |
| 2 | SW_Push | Button_Switch_SMD:SW_Push_1P1T_NO_CK_PTS125Sx43PSMTR | SW1, SW2 |
| 2 | ~ | joystick:B10k-1 | U1, U2 |
| 1 | Screw_Terminal_01x02 | lab:2 wide through hole .5cm | J1 |
| 1 | ~ | lab:ESP32-wroom | U3 |

ethan-ejh-hunter/byu-classroom-robotics
Welcome to the BYU Classroom Robotics project. It was built for the as a 2024 Immerse Broader Impacts Project by Ethan Hunter and Ephraim.

ethan-ejh-hunter/byu-classroom-robotics
Welcome to the BYU Classroom Robotics project. It was built for the as a 2024 Immerse Broader Impacts Project by Ethan Hunter and Ephraim.

gusmanb/logicanalyzer
24 channel, 100Msps logic analyzer hardware and software

byrantech/laptop
anyon_e, a highly integrated, high end, open source laptop. Attempt the impossible.

joeycastillo/Sensor-Watch
A board replacement for the classic Casio F-91W wristwatch


OLIMEX/OLINUXINO
OLINUXINO is Open Source / Open Hardware, low cost from EUR 24 Linux Industrial grade Single Board Computer capable to operate -25+85C

rusefi/rusefi
rusefi - GPL internal combustion engine control unit

VoronDesign/Voron-Hardware
Cool Hardware designed by the Voron Design group

hoglet67/RGBtoHDMI
Bare-metal Raspberry Pi project that provides pixel-perfect sampling of Retro Computer RGB/YUV video and conversion to HDMI
It measures 94.7 × 64.5 mm and has 2 copper layers, 1.6 mm thick.
10 parts. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.
From the ethan-ejh-hunter/byu-classroom-robotics repository on GitHub, at the commit this page was made from: the board is Controller/controller/controller.kicad_pcb and its schematic Controller/alternate-version/alternate-controller-version/alternate-controller-version.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Its repository states no licence, so its author keeps all rights: ask ethan-ejh-hunter before reusing the design.