{"id":26511211,"url":"https://github.com/tomazas/ledcube8x8x8","last_synced_at":"2025-03-21T02:30:09.857Z","repository":{"id":30823430,"uuid":"34380746","full_name":"tomazas/ledcube8x8x8","owner":"tomazas","description":"8x8x8 3D LED Cube source code","archived":false,"fork":false,"pushed_at":"2021-09-20T01:19:56.000Z","size":84473,"stargazers_count":129,"open_issues_count":1,"forks_count":52,"subscribers_count":26,"default_branch":"master","last_synced_at":"2023-11-07T17:25:31.363Z","etag":null,"topics":["cube","cube8x8x8","keil","led-cube","mcu","sdcc","serial","stc-mcu"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tomazas.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-04-22T09:13:09.000Z","updated_at":"2023-10-18T22:10:50.000Z","dependencies_parsed_at":"2022-08-24T14:20:35.939Z","dependency_job_id":null,"html_url":"https://github.com/tomazas/ledcube8x8x8","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomazas%2Fledcube8x8x8","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomazas%2Fledcube8x8x8/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomazas%2Fledcube8x8x8/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomazas%2Fledcube8x8x8/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tomazas","download_url":"https://codeload.github.com/tomazas/ledcube8x8x8/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244725151,"owners_count":20499544,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cube","cube8x8x8","keil","led-cube","mcu","sdcc","serial","stc-mcu"],"created_at":"2025-03-21T02:30:09.352Z","updated_at":"2025-03-21T02:30:09.856Z","avatar_url":"https://github.com/tomazas.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"About\n---------\nSource code and all files for the generic 8x8x8 3D LED Cube found on eBay \n(having STC 8051-based STC12C5A60S2 mcu), aka. 3D LightSquared 8x8x8 LED Cube DIY kit, ideasoft etc.\n\n`Note`: as received from manufacturer with additional cleanups/optimizations.\n\nFirmware v2\n---------\nThe `firmware/v2` directory contains an optimized and more advanced version of the ledcube firmware.\nAll animations were removed except one and UART/serial based control was implemented. \nSo the cube can be controlled with Arduino/Atmega or simple PC serial console.\n\n`Note`: The ledcube UART control mode is activated once the first command comes over serial connection.\n\nThe new firmware can be flashed/written to STC MCU through UART/serial connection. \nSoftware such as STC-ISP is required to transfer the hex file (machinecode) to the STC microcontroller. \n\n`Download here`: http://www.stcmcudata.com/STCISP/stc-isp-15xx-v6.86R.zip\n\n##### Serial connection: \n* USB-2-TTL converter/adapter/module can be used to connect to PC (e.g. search eBay)\n* Parameters: baud - 9600 bps, 1 stop bit, no parity\n* Cube UART pins: VCC, GND, P30(RXD), P31(TXD)\n\n##### Programming STC\n* Connect serial module to ledcube serial pins, RX to TX, TX to RX\n* Open STC-ISP and select STC12C5A60S2 and serial port\n* Select HEX file: ledcube8.hex and press `Download/Program` or `Re-Program`\n* Reset power to MCU to start programming\n\n![Alt text](/help/howto_stc.png \"Programming the STC mcu\")\n\n![Alt text](/help/programming_ok.png \"Programming successful\")\n\n##### Alternative programming/flashing tool: STCGAL\nIf you have trouble with the official STC-ISP, try using:\nhttps://github.com/grigorig/stcgal\n\n##### Extra - C51 project\nKeil uVision C51 project file is also available in the `firmware/v2` directory if compiling the source code is a must.\nKeil C51 compiler tools are required to open the project.\n\n`Download here`: https://www.keil.com/demo/eval/c51.htm\n\nThe required STC mcu C headers need to be installed from the STC-ISP tool via \"Keil ICE Settings\" tab.\nUse the \"Add MCU type to Keil\" button and point to your Keil install directory.\n\n![Alt text](/help/install_headers.png \"Install required STC headers to Keil\")\n\nFirmware v2 for SDCC\n---------\nSDCC compiler supports compiling code for STC12C5A60S2. \u003c/br\u003e\nAdapted version of v2 firmware for SDCC can be found in `firmware/v2-sdcc` folder (created by Michael Knyazev).\n\nLED Cube control\n---------\n![Control program](https://raw.githubusercontent.com/tomazas/DotMatrixJava/master/help/program_view.png)\n\nThe cube (with Firmware v2) can be controlled over serial port/console with: [PC Program](https://github.com/tomazas/DotMatrixJava). \u003c/br\u003e\nProgram allows to create animations and playback them.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftomazas%2Fledcube8x8x8","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftomazas%2Fledcube8x8x8","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftomazas%2Fledcube8x8x8/lists"}