Skip to the content
2 layers68.6 × 53.3 mmIntegration arduino shield, the printed circuit board in 3D

Integration arduino shield

RudradevArya/pimpMyRide

Part 3 of pimpMyRide where i intergrate my previous 2 projects namely the Speedometer and the NeoPixel indicators, This time with proper schematics , a bit cleaner code etc

Size
68.6 × 53.3 mm
Copper layers
2
Thickness
1.6 mm
Parts
21
Nets
36
Pads
80
Tracks, vias
101, 0
Routed
Yes
KiCad
KiCad 7 (file 20221018)
Created
15 Aug 2023
Updated
24 Jul 2024

Overview

Integration arduino shield is an open-source printed circuit board by RudradevArya, from the RudradevArya/pimpMyRide repository on GitHub. It is a 2-layer board of 68.6 × 53.3 mm with 21 parts on 36 nets, routed with 101 tracks and 0 vias.

It is built around the WS2812B. Its parts include 4 resistors, 4 connectors, 3 capacitors, 3 switches and 1 diode. It belongs with the microcontroller boards boards of this library.

Main components

1

README

readme.md

Pimp My Ride - Part 3

Arduino Speedometer and NeoPixel FastLED Strip

This project combines a speedometer functionality with an LED light controller for a bicycle or similar vehicle. It uses an Arduino board to read speed data from a magnetic sensor and control a series of LED light patterns.

Project Progress Videos

Video Title

Task List

Here's a task list for further development of the project:

  • iNtErgRaTiOn (just for making fun of myself bcz in a hurry i couldn't type "integration" properly)
  • Implement basic speedometer functionality
  • Set up LCD display for speed and distance
  • Integrate WS2812B LED strip control
  • Create multiple LED patterns
  • Implement brake light feature
  • Optimize code for better performance
  • Implement power-saving features
  • Create a PCB design for a more compact build
  • Develop a weatherproof enclosure
  • Add Bluetooth connectivity for mobile app control
  • Implement data logging feature
  • Create user manual and assembly instructions
  • ✨ENJOY✨

Features

  1. Speedometer
    • Calculates and displays current speed
    • Tracks total distance traveled
    • Shows total time in motion
  2. LED Light Controller
    • Multiple light patterns for visibility and aesthetics
    • Turn signal and brake light functionality
    • Customizable LED colors and patterns

Hardware Requirements

  • Arduino board (e.g., Arduino Uno)
  • LCD display (16x2 characters)
  • Magnetic sensor (Hall effect sensor)
  • WS2812B LED strip
  • Buttons for mode selection and turn signals
  • Appropriate resistors and wiring

For a complete list of parts, refer to tinkerCADParts list.png in the project root.

Wiring Diagram and Schematic

  • The circuit diagram can be found in tinkerCAD circuit diagram.png
  • The schematic is available in tinker_cad-schematics.png
  • For the PCB design, refer to KiCAD PCB screenshot.png

For the most up-to-date schematic and PCB design, open the following files in KiCad:

  • Schematic: intergration/integration-arduino-shield/integration.kicad_sch
  • PCB: intergration/integration-arduino-shield/integration.kicad_pcb

Libraries Used

  • FastLED
  • LiquidCrystal

Pin Configuration

  • LCD: pins 13, 12, 11, 10, 9, 8
  • Magnetic sensor: pin 7
  • LED strip data: pin 3
  • Right turn signal button: pin 4
  • Left turn signal button: pin 5
  • Brake signal: pin 2
  • Mode selection button: pin 13
  • Main control button: pin 12

Setup

  1. Connect all components according to the pin configuration.
  2. Install the required libraries in your Arduino IDE.
  3. Upload the provided code to your Arduino board.
  4. Adjust the Wheel_circumference_in_Cm constant to match your wheel size.

Usage

  • The speedometer will automatically start tracking when motion is detected.
  • Use the mode selection button to cycle through different LED patterns.
  • Use the turn signal buttons to activate left or right turn signals.
  • The brake light will activate automatically when the brake signal is received.

Customization

You can customize the LED patterns by modifying the Pattern1() through Pattern9() functions in the code. Adjust colors, timing, and sequences to create your desired effects.

Project Structure

bash
PimpMyRide/
│
├── intergration/
│   ├── integration-arduino-shield/ (run the .pcb & .sch files from here)
│       ├── integration.kicad_sch
│       ├── integration.kicad_pcb
│
├── intergration.ino (the main arduino file to run)
├── tinkerCAD circuit diagram.png
├── tinkerCADParts list.png
├── tinker_cad-schematics.png
├── KiCAD PCB screenshot.png
└── README.md

Note

This project combines multiple functionalities and may require fine-tuning based on your specific hardware setup and requirements. Always ensure proper visibility and adhere to local regulations when using this on public roads.

Parts

21
QtyValueFootprintReferences
4MountingHole_3.2mmArduino_MountingHole:MountingHole_3.2mmMH1, MH2, MH3, MH4
4RResistor_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P2.54mm_VerticalR1, R2, R3, R4
3C_PolarizedCapacitor_THT:CP_Radial_D4.0mm_P1.50mmC1, C2, C3
1AnalogConnector_PinSocket_2.54mm:PinSocket_1x06_P2.54mm_VerticalJ3
1Digital/PWMConnector_PinSocket_2.54mm:PinSocket_1x10_P2.54mm_VerticalJ2
1Digital/PWMConnector_PinSocket_2.54mm:PinSocket_1x08_P2.54mm_VerticalJ4
1PowerConnector_PinSocket_2.54mm:PinSocket_1x08_P2.54mm_VerticalJ1
1R_PotentiometerPotentiometer_THT:Potentiometer_Bourns_3266W_VerticalRV1
1SW_PushButton_Switch_THT:SW_DIP_SPSTx01_Slide_6.7x4.1mm_W7.62mm_P2.54mm_LowProfileSW2
1SW_ReedConnector_PinSocket_2.54mm:PinSocket_1x02_P2.54mm_VerticalSW1
1SW_SPDT_MSMConnector_PinSocket_2.54mm:PinSocket_1x03_P2.54mm_VerticalSW4
1WC1602AConnector_PinSocket_2.54mm:PinSocket_1x16_P2.54mm_VerticalDS1
1WS2812BLED_SMD:LED_WS2812B_PLCC4_5.0x5.0mm_P3.2mmD1

Similar boards

  • 4 layers99 × 53.3 mmPSLab, the printed circuit board in 3D

    PSLab

    fossasia/pslab-hardware

    PSLab Hardware Design and Schematics https://pslab.io

    199 parts1.7kApache-2.0
  • 2 layers26 × 30 mmMicrocontroller, the printed circuit board in 3D

    Microcontroller

    FrameworkComputer/ExpansionCards

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

    34 parts1.1kCC-BY-4.0
  • 4 layers82.6 × 82.5 mmJumperless2, the printed circuit board in 3D

    Jumperless2

    Architeuthis-Flux/Jumperless

    A jumperless breadboard

    208 parts914
  • 2 layers95.3 × 161.9 mmDfh badge, the printed circuit board in 3D

    Dfh badge

    tanaes/whopping_Voron_mods

    135 parts787GPL-3.0
  • 2 layers42.8 × 28.8 mmMM Skirt, the printed circuit board in 3D

    MM Skirt

    PrintersForAnts/Micron

    If you want to purchase full kits there are 3 available (Kits are slowly updating to R1 hardware just make sure to double check the included hardware in your kit and if you have any questions reach out in the discord)

    11 parts741GPL-3.0
  • 2 layers149.6 × 127.1 mmErgodash, the printed circuit board in 3D

    Ergodash

    omkbd/ErgoDash

    keyboard

    187 parts732MIT
  • 2 layers285.5 × 95 mmReviung46 ver1 1, the printed circuit board in 3D

    Reviung46 ver1 1

    gtips/reviung

    The REVIUNG41 is 41-key column staggered keyboard.

    119 parts517MIT
  • 2 layers177.7 × 144.5 mmCOMM PANEL, the printed circuit board in 3D

    COMM PANEL

    jrsteensen/OpenHornet

    OpenHornet 1:1 F/A-18C Simulator Repository

    275 parts431

Questions

How big is the Integration arduino shield PCB?

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

What parts does the Integration arduino shield use?

21 parts, built around the WS2812B. 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 Integration arduino shield KiCad files?

From the RudradevArya/pimpMyRide repository on GitHub, at the commit this page was made from: the board is integration_Old/integration-arduino-shield/integration-arduino-shield.kicad_pcb and its schematic integration-arduino-shield/integration-arduino-shield.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Integration arduino shield design in my own project?

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