Skip to the content
2 layers22.6 × 51.8 mmFoocars led flipboard, the printed circuit board in 3D

Foocars led flipboard

fubarlabs/foocars15

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

Size
22.6 × 51.8 mm
Copper layers
2
Thickness
1.6 mm
Parts
11
Nets
43
Pads
64
Tracks, vias
50, 0
Routed
Yes
KiCad
KiCad 5 (file 20171130)
Created
23 Mar 2018
Updated
6 Jul 2023

Overview

Foocars led flipboard is an open-source printed circuit board by fubarlabs, from the fubarlabs/foocars repository on GitHub. It is a 2-layer board of 22.6 × 51.8 mm with 11 parts on 43 nets, routed with 50 tracks and 0 vias.

Its parts include 3 resistors and 1 connector.

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

11
QtyValueFootprintReferences
3LEDLED_THT:LED_D5.0mmAuton, Collect, Shutdown Pi
3RResistor_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P5.08mm_HorizontalR1, R2, R3
2SW_DIP_x01Button_Switch_THT:SW_DIP_SPSTx01_Piano_10.8x4.1mm_W7.62mm_P2.54mmAuto, Collect Data
2SW_PushButton_Switch_THT:SW_PUSH_6mmPower, SW1
1Conn_02x20_Odd_EvenConnector_PinSocket_2.54mm:PinSocket_2x20_P2.54mm_VerticalJ1

More from fubarlabs/foocars

1
  • 2 layers53.3 × 44.2 mmFoocars pwm teensy, the printed circuit board in 3D

    Foocars pwm teensy

    fubarlabs/foocars

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

    18 parts15

Similar boards

  • 2 layers60 × 30 mmController, the printed circuit board in 3D

    Controller

    google/mozc-devices

    Circuit diagrams and firmware source code for Gboard DIY keyboards

    11 parts3kApache-2.0
  • 2 layers103 × 30.5 mmTS Front Endcap, the printed circuit board in 3D

    TS Front Endcap

    EEVengers/ThunderScope

    ThunderScope GitHub Repo

    11 parts1.3kMIT
  • 2 layers26 × 30 mmExpansion Card, the printed circuit board in 3D

    Expansion Card

    FrameworkComputer/ExpansionCards

    Reference designs and documentation to create Expansion Cards for the Framework Laptop

    11 parts1.1kCC-BY-4.0
  • 2 layers53.9 × 23.2 mmBuffer, the printed circuit board in 3D

    Buffer

    hoglet67/RGBtoHDMI

    Bare-metal Raspberry Pi project that provides pixel-perfect sampling of Retro Computer RGB/YUV video and conversion to HDMI

    11 parts1kGPL-3.0
  • 2 layers10 × 20 mm2 connector Sensor Board, the printed circuit board in 3D

    2 connector Sensor Board

    hackclub/OnBoard

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

    11 parts915
  • 2 layersFet module, the printed circuit board in 3D

    Fet module

    ByteWelder/Decktility

    A handheld PC

    11 parts855CC-BY-SA-4.0
  • 2 layers47 × 33 mmSevensegment led display module, the printed circuit board in 3D

    Sevensegment led display module

    tardate/LittleArduinoProjects

    a collection of "Little Electronic & Arduino Projects", most involving electronics or an Arduino in one way or another!

    11 parts803MIT
  • 2 layers42.5 × 36.8 mmDevboard, the printed circuit board in 3D

    Devboard

    basilfx/TRADFRI-Hacking

    Hacking IKEA TRÅDFRI products, such as light bulbs, window blinds and other accessories.

    11 parts743CC-BY-4.0

Questions

How big is the Foocars led flipboard PCB?

It measures 22.6 × 51.8 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Foocars led flipboard use?

11 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 led flipboard KiCad files?

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

Can I use the Foocars led flipboard design in my own project?

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