Skip to the content
2 layers53.3 × 44.2 mmFoocars pwm teensy, the printed circuit board in 3D

Foocars pwm teensy

fubarlabs/foocars15

Low Cost Racing Autonomous Vehicles: RC Cars to Power Wheels Racers

Size
53.3 × 44.2 mm
Copper layers
2
Thickness
1.6 mm
Parts
18
Nets
18
Pads
74
Tracks, vias
151, 18
Pours
2
Routed
Yes
KiCad
KiCad 5 (file 20171130)
Created
23 Mar 2018
Updated
6 Jul 2023

Overview

Foocars pwm teensy is an open-source printed circuit board by fubarlabs, from the fubarlabs/foocars repository on GitHub. It is a 2-layer board of 53.3 × 44.2 mm with 18 parts on 18 nets, routed with 151 tracks and 18 vias.

Its parts include 7 connectors, 4 resistors and 1 diode.

README

README.md

What is FOO Cars?

This autonomous vehicle project's goal is to create autonomous racing vehicles in the simplest possible way—a good first car. The name is a mash-up of Fubar Labs, the mysterious planes called "foo fighters" and "foobar" the ubiquitous getting started variables for programming. The control system can scale to any vehicles using RC controls.

How has this project been used?

  • CHI@Edge 2022 Summer Internship
  • Virtual exercises to access the Cameras, Serial Devices, GPIO Devices, and Machine Learning Environments
  • CHI@Edge 2021 Summer Internship
    • Virtualize the deployment of vehicle and code on the edge of super computer envrionment.

FUBAR Labs Autonomous Racing Vehicles

Autonmous Vehicle Project at Fubar Labs for the Autonomous Powerwheels Racing compeition.

  • Bergen Technical Highschool Workshop Spring 2023
  • Bergen Technical Highschool Workshop Spring 2021
  • Autonomous Powerwheels Racing Pittsburg Makerfiare 2017
  • We totally did laps. We were on the track on time and ready to go!
  • Autonmous Powerwheels Racing Makerfaire NYC 2017
  • Autonmous Vehicle Competition via Sparkfun at Denver Makerfaire 2017

Quickstart

Car Code

Prepare your PI

Obtain the car code by cloning the project

text
git clone https://github.com/fubarlabs/foocars

For the Tensorflow 1.15 version fetch the wheel file to the local system:

text
cd ~/foocars
sh get_tensorflow.sh

Install system packages

text
sudo apt-get  install build-essential cmake pkg-config libjpeg-dev libtiff5-dev libjasper-dev libpng-dev libavcodec-dev libavformat-dev libswscale-dev libv4l-dev libxvidcore-dev libx264-dev libfontconfig1-dev libcairo2-dev libgdk-pixbuf2.0-dev libpango1.0-dev libgtk2.0-dev libgtk-3-dev libatlas-base-dev gfortran libhdf5-dev libhdf5-serial-dev libhdf5-103 libqtgui4 libqtwebkit4 libqt4-test python3-pyqt5

Install poetry

text
sudo pip3 install poetry

Install platformio

text
sudo pip3 install platformio

Use poetry to create the generate the car

text
cd ~/foocars/cargenerator
poetry install
poety run generatecar --name yourhostname --output_dir /home/pi/foocars/cars/

Use poetry to create the car code and service

text
cd ~/foocars/cars/carservices
poetry install

Test the PI Hat

text
poetry run test_pihat

Test the Car Runner

text
poetry run car_runner

Verify the leds and switches are working.

Pepare the RC Car and Arduino

Note for Arduino

Code is installed from the Raspberry PI using PLatform IO

text
sudo pip3 install platformio

Teensy 3.2 Code

text
cd ./cars/templatecar/arduino/teensy-FullAutoDrive-port

Arduino Code

text
pio run -t upload

Finish the PI set up

Set up the raspberry pi services

text
cd /etc/systemd/system/
sudo ln -s ~/foocars/cars/carservices/carservices/car.service 
sudo systemctl start car
tail -f /var/log/syslog

Verify the car service is running the car runner

Training code

Find a system with a good gpu. It was slow but worked on a Raspberry PI 4.

text
cd ~/foocars/training

poetry install
poetry shell

The training command:

text
Using TensorFlow backend.
usage: train.py [-h] [--weight_filename WEIGHT_FILENAME]
                [--init_weights INIT_WEIGHTS] [--delay DELAY]
                [--epochs EPOCHS] [--save_frequency SAVE_FREQUENCY]
                directories [directories ...]

Run the training:

text
python train.py --epochs 100 --save_frequency 2 ../cars/youcar/data/collected

Alternately use this example Google Colab Notebook

2023 Training with Docker

https://colab.research.google.com/drive/1oT3M4QVUoNYkFh4pzktVNBfT0zULwSpM?usp=sharing

Parts

18
QtyValueFootprintReferences
4Jumper_2_OpenJumper:SolderJumper-2_P1.3mm_Open_TrianglePad1.0x1.5mmJP1, JP2, JP3, JP4
4RResistor_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P5.08mm_HorizontalR1, R2, R3, R4
2Conn_01x04Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_HorizontalJ6, J7
2MountingHoleMountingHole:MountingHole_2.5mm_PadH1, H2
1BOTTOM_HALFConnector_PinSocket_2.54mm:PinSocket_1x14_P2.54mm_VerticalJ2
1BattMonConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ5
1InputConnector_PinHeader_2.54mm:PinHeader_2x03_P2.54mm_HorizontalJ4
1OutputConnector_PinHeader_2.54mm:PinHeader_2x03_P2.54mm_HorizontalJ3
1TOP_HALFConnector_PinSocket_2.54mm:PinSocket_1x14_P2.54mm_VerticalJ1
1TVS SuppressionPackage_TO_SOT_SMD:SOT-23-6_HandsolderingD1

More from fubarlabs/foocars

1
  • 2 layers22.6 × 51.8 mmFoocars led flipboard, the printed circuit board in 3D

    Foocars led flipboard

    fubarlabs/foocars

    Low Cost Racing Autonomous Vehicles: RC Cars to Power Wheels Racers

    11 parts15

Similar boards

  • 2 layers27.9 × 16.5 mmPowerSSO-24 breakout, the printed circuit board in 3D

    PowerSSO-24 breakout

    rusefi/rusefi

    rusefi - GPL internal combustion engine control unit

    18 parts1.2k
  • 2 layers42.7 × 13.7 mmStm32-mini12864, the printed circuit board in 3D

    Stm32-mini12864

    VoronDesign/Voron-Hardware

    Cool Hardware designed by the Voron Design group

    18 parts1.1kGPL-3.0
  • 2 layers41.2 × 46.6 mmThumb cluster left, the printed circuit board in 3D

    Thumb cluster left

    JesusFreke/lalboard

    A 3D-printed keyboard inspired by the DataHand

    18 parts993
  • 2 layers44 × 51.3 mm4272MAVcoder R4, the printed circuit board in 3D

    4272MAVcoder R4

    hackclub/OnBoard

    💡 Join 1,000 teenagers and make your first PCB with a $100 grant!

    18 parts915
  • 2 layers28.3 × 14.3 mmTap Photosensor PCB, the printed circuit board in 3D

    Tap Photosensor PCB

    VoronDesign/Voron-Tap

    Tap is a nozzle-based z-probe for the V2 and Trident printer designs. The entire toolhead moves to trigger an optical switch. Tap offers many advantages:

    18 parts716GPL-3.0
  • 2 layers20.3 × 15.2 mmL0 stepper driver, the printed circuit board in 3D

    L0 stepper driver

    Luos-io/luos_engine

    Open-source and real-time orchestrator for cyber-physical-systems, to easily design, test and deploy embedded applications and digital twins.

    18 parts546MIT
  • 2 layersMooltipass, the printed circuit board in 3D

    Mooltipass

    limpkin/mooltipass

    Github repository dedicated to the mooltipass project

    18 parts531
  • 2 layers42.5 × 28.8 mmC5VRX JACK DIY V2, the printed circuit board in 3D

    C5VRX JACK DIY V2

    Twotoz/C5VRX

    Ultra-minimal, zero-CPU 5.8 GHz analog FPV video receiver using ESP32-C5 Wi-Fi 6 PHY MODEM_DIAG, BitScrambler WBFM demodulation & resistor DAC CVBS

    18 parts515GPL-3.0

Questions

How big is the Foocars pwm teensy PCB?

It measures 53.3 × 44.2 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Foocars pwm teensy use?

18 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.

Where can I download the Foocars pwm teensy KiCad files?

From the fubarlabs/foocars repository on GitHub, at the commit this page was made from: the board is schematics/teensy-board/foocars-pwm-teensy.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the Foocars pwm teensy design in my own project?

Its repository states no licence, so its author keeps all rights: ask fubarlabs before reusing the design.