Skip to the content
PCBKitNew board
2 layers149.6 × 10.8 mmRgb led pcb, the printed circuit board in 3D

ROS and ROS2 packages for controller unicorn demo with HRP and SP. Also includes microcontroller code for controlling lights, actuators and distance sensors.

Size
149.6 × 10.8 mm
Copper layers
2
Thickness
1.6 mm
Parts
7
Nets
13
Pads
30
Tracks, vias
0, 0
Routed
Not yet
KiCad
KiCad 5 (file 20171130)
Created
7 Apr 2021
Updated
14 Apr 2021

Overview

Rgb led pcb is an open-source printed circuit board by sequenceplanner, from the sequenceplanner/unicorn_drivers repository on GitHub. It is a 2-layer board of 149.6 × 10.8 mm with 7 parts on 13 nets.

Its parts include 3 resistors, 3 diodes and 1 connector. It belongs with the lEDs and displays boards of this library.

README

README.md

Unicorn HRP Controller

ROS and ROS2 packages for controller unicorn demo with HRP and SP. Also includes microcontroller code for controlling lights, actuators and distance sensors.

Repository content

  • catkin_ws

    • Contains a subset of the code from the Husqvarna Research Platform repository. Gazebo simulation parts have been removed and only the necessary packages for control of the HRP hardware remain.
  • colcon_ws

    • hw_controller:

      ROS2 node that communicates via serial to the microcontroller that is responsible for interfacing with the garbage tipper, garbage sensors (detects if there is garbage placed on the platform), distance sensors for collision avoidance and LED light strips for status indication.

    • unicorn_hrp:

      ROS2 node that controls the HRP hardware

    • hrp_msgs:

      Custom ROS messages

  • hw-interface

    • Holds code for the microcontroller that interfaces directly with the additional sensors and actuators added to the HRP. Is controlled by the ROS 2 node hw_controller.

Installation

The current system has been tested on either a Nvidia Jetson Nano or Jetson Xavier NX. The following dependencies need to be installed for the system to work properly:

  • ROS2 eloquent guide

  • ROS melodic guide

  • ROS Bridge

Used to run a dynamic bridge that translates topics between the ROS2 and ROS. Can be installed by running:

bash
sudo apt-get update
sudo apt install ros-eloquent-ros1-bridge

Needed for serial communication with the microcontroller hardware.

  • GNU Screen

    Used for the hrp_start.sh script that starts up the system Check out this Quick Reference on how to use Screen.

By default Ubuntu does not allow users access to system serial ports. To solve this we need to add the current user to the dialout group:

bash
sudo usermod -a -G dialout $USER

Startup

Preparing the HRP for startup

  1. Make sure the power switch is in the on position
  2. Open the lid and enter code 1111
  3. Wait for the HRP to initialize and then press start and close the lid when prompted to

Run the startup shell script from the repository root folder

bash
./hrp_startup.sh

This will launch and automatically connect to a screen sessions with the following windows:

  1. ros-bash

    Regular terminal window with bash and ROS sourced

  2. am_driver

    Driver used to communicate with the HRP hardware

  3. ros1_bridge

    Bridge used to bidirectionally translate topics from ROS2 and ROS

  4. teleop

    Teleoperation and status of the HRP hardware

  5. ros2_hw_controller

    ROS2 node for interfacing with microcontroller

  6. ros2_hrp_controller

    ROS2 node for interfacing with am_driver

Troubleshooting:

  • am_driver is configured to launch with LOOP_OFF (the HRP in regular operation detects a wire signal to prevent it from going outside a specific area) but this does not always take effect. If this is the case navigate to the teleop window in screen and set LOOP_OFF manually

Parts

7
QtyValueFootprintReferences
3ARGB1313HSTRlocal:ARGB1313HSTRD1, D2, D3
3RResistor_SMD:R_1206_3216MetricR1, R2, R3
1Conn_01x04_MountingPinlocal:Molex_Micro_Lock_1x4_Vertical_5055680471J1

Questions

How big is the Rgb led pcb PCB?

It measures 149.6 × 10.8 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Rgb led pcb use?

7 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 Rgb led pcb KiCad files?

From the sequenceplanner/unicorn_drivers repository on GitHub, at the commit this page was made from: the board is hardware/rgb-led-pcb/rgb-led-pcb.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the Rgb led pcb design in my own project?

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

Similar boards

  • 2 layersEncoder, the printed circuit board in 3D

    Encoder

    byrantech/laptop

    anyon_e, a highly integrated, high end, open source laptop. Attempt the impossible.

    7 parts4.3kMIT
  • 2 layers40 × 20 mmSensor smd, the printed circuit board in 3D

    Sensor smd

    scottbez1/splitflap

    DIY split-flap display

    7 parts4.2k
  • 2 layers19.8 × 30 mmZ limit, the printed circuit board in 3D

    Z limit

    opulo-inc/lumenpnp

    The LumenPnP is an open source pick and place machine.

    7 parts3.7k
  • 2 layers35.6 × 58.2 mmDisplay Carrier, the printed circuit board in 3D

    Display Carrier

    AxxAxx/AxxSolder

    STM32 Based soldering station for JBC cartridges, 9-24 VDC and USB-PD power

    7 parts1.7kGPL-3.0
  • 2 layers20.3 × 16.3 mmMap MPX, the printed circuit board in 3D

    Map MPX

    rusefi/rusefi

    rusefi - GPL internal combustion engine control unit

    7 parts1.2k
  • 2 layers26 × 44 mmCompact carrier board, the printed circuit board in 3D

    Compact carrier board

    jamro/tiny-engineer

    A small desktop robot that brings an AI coding assistant to life, physically acting out when it reads files, thinks, writes code, and finishes work.

    7 parts1.1k
  • 2 layers26.4 × 53.8 mmAtari pickup, the printed circuit board in 3D

    Atari pickup

    hoglet67/RGBtoHDMI

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

    7 parts1kGPL-3.0
  • 2 layersRj45 breakout, the printed circuit board in 3D

    Rj45 breakout

    rene-dev/stmbl

    AC Servo Driver for STM32F4

    7 parts990GPL-3.0