

USBPS
Truck Traffic Counting System using a Raspberry Pi
- Size
- 69.9 × 45.7 mm
- Copper layers
- 2
- Thickness
- 1.6 mm
- Parts
- 13
- Nets
- 5
- Pads
- 34
- Tracks, vias
- 32, 4
- Pours
- 1
- Routed
- Yes
- KiCad
- KiCad 3
- Created
- 26 Aug 2015
- Updated
- 7 Jun 2016
Overview
USBPS is an open-source printed circuit board by AndrewTheTM, from the AndrewTheTM/piCount repository on GitHub. It is a 2-layer board of 69.9 × 45.7 mm with 13 parts on 5 nets, routed with 32 tracks and 4 vias.
Its parts include 3 connectors, 2 capacitors, 1 resistor, 1 IC and 1 diode.
README
README.mdRaspberry Pi Truck Counting System
This is a system to eventually count trucks using a Raspberry Pi and it's camera. Ideally, this would be placed near a business (with a known number of employees). Currently, there is a classifier included for cars based on the instructions at http://abhishek4273.com/2014/03/16/traincascade-and-car-detection-using-opencv/.
The Plan
I've collected some internet pictures of trucks that I am going to use to train the classifier for trucks. I will also set this up to save images and count the frames to see what the count is and do some comparisons (eventually).
One of the biggest (if not THE biggest) todo items is to make this run even when someone isn't pulling up the webpage. That sounds more difficult than it likely will be.
Included
The included classifier (cascade.xml) is for cars and trucks. I generated it using the instructions on the link above.
piCount.py is the actual program. It runs a python service that can be viewed by going to http://ip_address:9090. This runs extremely slow as it is, so I would highly recommend not using it as a streaming server.
Don't use piTruckTrain.py yet. I haven't been working on it.
Current Status
Don't use this yet. Please. If you want to help, contact Andrew Rohne @okiAndrew or arohne@oki.org
Parts
13| Qty | Value | Footprint | References |
|---|---|---|---|
| 4 | P*** | 1pin | , , , |
| 2 | USBA | USB_A | J1, J2 |
| 1 | 0.1uF | SM0805 | C2 |
| 1 | 12V INPUT | bornier2 | P1 |
| 1 | 310 | SM0805 | R1 |
| 1 | 470uF | c_elec_10x10 | C1 |
| 1 | 7805 | DPAK3 | U1 |
| 1 | FUSE | FUSE5-20 | F1 |
| 1 | LED | LED-5MM | D1 |
Similar boards
- 2 layers40 × 20 mm

- 2 layers74.9 × 49.5 mm

- 2 layers35 × 29 mm

MagSpoofTC
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.
13 parts4.2k - 2 layers20.6 × 23.6 mm

AO-03 signal amplifier
fossasia/pslab-scripts
Pocket Science Lab - Scripts for Sensor Experiments
13 parts1.6kApache-2.0 - 2 layers47 × 35.6 mm

- 2 layers95 × 95 mm

Cube batteryboard
willem-pennings/balancing-cube
A cube that balances itself in a corner or edge using reaction wheels
13 parts1.1kGPL-3.0 - 2 layers15.2 × 20.3 mm

Pt100stick
VoronDesign/Voron-Hardware
Cool Hardware designed by the Voron Design group
13 parts1.1kGPL-3.0 - 2 layers53.9 × 23.2 mm

Buffer
hoglet67/RGBtoHDMI
Bare-metal Raspberry Pi project that provides pixel-perfect sampling of Retro Computer RGB/YUV video and conversion to HDMI
13 parts1kGPL-3.0
Questions
How big is the USBPS PCB?
It measures 69.9 × 45.7 mm and has 2 copper layers, 1.6 mm thick.
What parts does the USBPS use?
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.
Where can I download the USBPS KiCad files?
From the AndrewTheTM/piCount repository on GitHub, at the commit this page was made from: the board is schematics/PowerSupply/KiCAD/USBPS.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.
Can I use the USBPS design in my own project?
Its repository states no licence, so its author keeps all rights: ask AndrewTheTM before reusing the design.