
Controller
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.
Byu classroom robotics 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 57.2 × 58.2 mm with 13 parts on 36 nets, routed with 88 tracks and 0 vias.
Its parts include 7 connectors, 1 IC and 1 switch. It belongs with the robots and motor control boards and the RP2040 boards of this library.
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 |
|---|---|---|---|
| 3 | Conn_02x01 | Connector_PinHeader_2.54mm:PinHeader_2x01_P2.54mm_Vertical | J4, J5, J7 |
| 2 | Conn_02x03_Odd_Even | Connector_PinHeader_2.54mm:PinHeader_2x03_P2.54mm_Vertical | J3, J6 |
| 1 | Conn_01x04 | Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_Vertical | J2 |
| 1 | Conn_01x04_Socket | Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_Vertical | J1 |
| 1 | Pico | MCU_RaspberryPi_and_Boards:RPi_Pico_SMD_TH | U1 |
| 1 | SW_Push | Button_Switch_SMD:SW_Push_1P1T_NO_CK_PTS125Sx43PSMTR | SW1 |
The 9 most common of 13 parts.

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.



samyk/magspoof
A portable device that can spoof/emulate any magnetic stripe, credit card or hotel card "wirelessly", even on standard magstripe (non-NFC/RFID) readers.

fossasia/pslab-scripts
Pocket Science Lab - Scripts for Sensor Experiments


willem-pennings/balancing-cube
A cube that balances itself in a corner or edge using reaction wheels

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 57.2 × 58.2 mm and has 2 copper layers, 1.6 mm thick.
13 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 main_board/main_board.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.