Skip to content

0x007E/rcc_programmer

Repository files navigation

Version: 1.0 Release License CC By-NC-SA License GPLv3 Build

RCC_programmer - RCC (UPDI) Programmer

Ask DeepWiki

The RCC_programmer project is based on a pcb with an FT230XS to program the RCC (RGB LED Color Cube). It either can be programmed with the developed module or with a simple self-made UPDI converter. The deliverd software writes the defined settings with avr-dude over serialupdi onto the ATTiny402.

Experience Level
Soldering ?%
Mechanical ?%
Software ?%

Downloads

Type File Description
Schematic pdf / cadlab Schematic files
Board pdf / cadlab Board file
Drill pdf Drill file
PCB zip / tar KiCAD/Gerber/BoM/Drill files
Mechanical zip / tar FreeCAD/Housing and PCB (STEP) files
Installer exe ClickOnce installer (x64) for RCC Programming software
Portable zip / tar Software (x64) for Programming the RCC

Hardware

There are two parts of the hardware. The pcb and the housing of the RCC_programmer. The pcb is created with KiCAD and the housing with FreeCAD . The software is programmed with Visual Studio. All files are built with github actions so that they are ready for a production environment. The housing is printed with a 3D-printer (Dremel 3D40) and the software is build as ClickOnce application that can be installed over a simple setup file and keeps automatically up-to-date.

PCB

The circuit board is populated on one side (Top). The best way for soldering the SMD components is within a vapor phase soldering system.

Top Layer

Top Layer

Bottom Layer

Bottom Layer

Mechanical

The housing has a tolerance of 0.2mm on each side of the case. So the pcb should fit perfectly in the housing. The tolerance can be modified with FreeCAD in the Parameter Spreadsheet.

Assembled

Assembled

Exploded

Exploded

Programming/Setup

The RCC_programmer is powerd over USB with 5V and uses the internal 3V3 converter of the FT230XS as main programming voltage. The programming software itself uses avr-dude in background and a simple UPDI circuit to program the RCC. It can be programmed over UPDI on TP1. The firmware for the cube can be downloaded in the download section.

#               RCC                     RCC_programmer (Adapter)
#                                     +-------------------------+      +---------------------+
#                                     |          TXD     U  +---+---+  |                     |
#     +---------------------+         |     U     +      S  |  USB  |--+ +-----------------+ |
#     |                     |         |     P    +++     B  +---+---+  | | RCC Programmer  | |
#     |    RCC - Color Cube |         |     D    / \     /      |      | | ~~~~~~~~        | |
#     |                  +--+--+   +--+--+  I    +++     U      |      | | ~~~~~           | |
#     |              VCC | TP3 +---+ VCC |        |      A      |      | | ~~~~~~~~~~~~    | |
#     |              GND | TP2 +---+ GND |  B    +++     R      |      | |                 | |
#     |                  +--+--+   +--+--+  R    | |     T      |      | +-----------------+ |
#     |                     |         |     I    | |            |      |                     |
#     |                  +--+--+   +--+--+  D    +++   +------+ |      | Computer            |
#     |             UPDI | TP1 +---+ PDI +--G-----+    | 3V3  | |      |                     |
#     |                  +--+--+   +--+--+  E    RXD   +------+ |      +---------------------+
#     +---------------------+         +-------------------------+
#

Software

Icon Description
Programmer Icon ClickOnce installable

The app can be installed as clickonce application that automatically gets updated or run as portable app that need to be updated manually. Both files (setup/portable) are found in the download section.

The software loads avr-dude and the current firmware of the RCC from predefined repositories in appsettings.json. By clicking onto the LEDs the color of each LED can be defined. With the intensity trackbar the brightness of the LEDs can be adjusted. To program the RCC the correct selection of the serial port is necessary. By hitting the program button the RCC gets programmed over serialupdi with avr-dude (if the programmer is connected correctly with the RCC).

IMPORTANT: The battery should not be mounted during programming. There will be a short circuit between the internal 3V3 of the FT230XS and the battery!!!

Programmer Starting

Programmer Selection

Programmer Program

Additional Information

Type Link Description
ATtiny402 pdf ATtiny microcontroller
FT230XS pdf FT230XS Datasheet
UPDI web UPDI-Adapter with AVR-Dude
Visual Studio web Download page for Visual Studio
KiCAD web KiCAD project page
FreeCAD web FreeCAD project page

R. GAECHTER

About

Programming platform for RCC

Resources

License

Stars

Watchers

Forks

Languages