{"id":19832016,"url":"https://github.com/danielmartensson/opensourcelogger-qt","last_synced_at":"2025-10-12T09:36:19.105Z","repository":{"id":120604494,"uuid":"382861486","full_name":"DanielMartensson/OpenSourceLogger-Qt","owner":"DanielMartensson","description":"Open Source Data Acquisition System","archived":false,"fork":false,"pushed_at":"2022-12-20T15:59:42.000Z","size":87564,"stargazers_count":22,"open_issues_count":0,"forks_count":5,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-01T16:42:05.003Z","etag":null,"topics":["c","cpp","daq","measurement","mysql","pcb","qt","sql","stm32"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DanielMartensson.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-07-04T13:40:58.000Z","updated_at":"2024-11-19T05:43:49.000Z","dependencies_parsed_at":null,"dependency_job_id":"a76132e6-bdfd-4118-80fc-e83734f8d5a8","html_url":"https://github.com/DanielMartensson/OpenSourceLogger-Qt","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/DanielMartensson/OpenSourceLogger-Qt","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanielMartensson%2FOpenSourceLogger-Qt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanielMartensson%2FOpenSourceLogger-Qt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanielMartensson%2FOpenSourceLogger-Qt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanielMartensson%2FOpenSourceLogger-Qt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DanielMartensson","download_url":"https://codeload.github.com/DanielMartensson/OpenSourceLogger-Qt/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanielMartensson%2FOpenSourceLogger-Qt/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279010938,"owners_count":26084837,"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","status":"online","status_checked_at":"2025-10-12T02:00:06.719Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["c","cpp","daq","measurement","mysql","pcb","qt","sql","stm32"],"created_at":"2024-11-12T11:35:58.649Z","updated_at":"2025-10-12T09:36:19.093Z","avatar_url":"https://github.com/DanielMartensson.png","language":"C++","readme":"# OpenSourceLogger\n\nThis is a logging software for measuring and control. With this software you can measure different types of signals and control different types of acturators. This software has also CAN-bus such as regular CAN, SAE J1939. All communications goes over USB. That means that this software \nis a CAN-bus diagnostic tool as well. When the data is measured, it can later be uploaded to a database and later bring back for plotting the data.\n\n# Features\n\nThis software has the following\n\n * 8 x PWM NPN-drain with adjustable PWM frequency\n * 3 x Analog 0-20mA output\n * 12 x 0-20mA 16-bit Single Analog To Digital Converter with programmable gain\n * 5 x 0-20mA 16-bit Differential Analog To Digital Converter with programmable gain\n * 3 x 16-bit Encoder\n * 4 x 0 kHz to 10 kHz Input Capture\n * 10 x Digital inputs\n * 1 x CAN channel with support for different CAN protocols\n * 1 x Database connection\n * 1 x USB connection for sending signals between the computer and STM32 microcontroller\n\n# How to build this project\n\n## Using pre-compiled\n1. Go to [STM32-PLC](https://github.com/DanielMartensson/STM32-PLC) and build that PCB\n2. Install MySQL/MariaDB/MSSQL and download the pre-compiled OpenSourceLogger from `pre-compiled` folder.\n\n## Compile from source\n3. QT 6.3.0 and QT Creator\n4. Download this repository\n5. Download the [MySQL Driver For QT](https://github.com/thecodemonkey86/qt_mysql_driver) and extract `release\\sqldrivers\\qsqlmysql.dll` to `C:\\QT6.3.0\\mingw_64\\plugins\\sqldrivers`\n6. Start the `.pro` project with QT Creator and compile the project with `release` configuration, not debug configuration.\n7. Make sure that everything is working e.g connect to database and connect to USB. \n8. If everything is working, then deploy it e.g `c:\\QT\\6.3.0\\mingw_64\\bin\u003ewindeployqt.exe --release \"C:\\Users\\danie\\Documents\\GitHub-Workspace\\build-OpenSourceLogger-Desktop_Qt_6_3_0_MinGW_64_bit-Release\\release\\OpenSourceLogger.exe\"` Make sure that `OpenSourceLogger.exe` is empty in the folder `release`.\n9. Then extract `release\\sqldrivers\\qsqlmysql.dll` from your `.zip` file to your `sqldrivers` folder in your `release` folder\n10. Extract also the rest of the `.dll` files at the same folder location as `OpenSourceLogger.exe` is. Done!\n\nIt's the same step for Linux and Mac. Just other extensions of the files.\n\n# Minimum requriments for software\n\n- MySQL 8\n- QT Creator 4.15.1\n- QT 6.3.0\n- QCustomPlot 2.1.0\n\n# Pictures\n\nMain view window will show the measurements in real time\n\n![a](https://raw.githubusercontent.com/DanielMartensson/OpenSourceLogger-Qt/main/pictures/MainView.png)\n\nControl window is the user panel for sending CAN-bus signals or regular control signals\n\n![a](https://raw.githubusercontent.com/DanielMartensson/OpenSourceLogger-Qt/main/pictures/ControlWindow.PNG)\n\nOpenSourceLogger is also an ECU for CAN-bus\n\n![a](https://raw.githubusercontent.com/DanielMartensson/OpenSourceLogger-Qt/main/pictures/CANSettingsWindow.PNG)\n\nBut to make this work, you need to connect a to USB and database\n\n![a](https://raw.githubusercontent.com/DanielMartensson/OpenSourceLogger-Qt/main/pictures/ConnectionWindow.PNG)\n\nAdd a new measurement variable\n\n![a](https://raw.githubusercontent.com/DanielMartensson/OpenSourceLogger-Qt/main/pictures/MeasurementListWindow.PNG)\n\nChange the STM32 ADC and PWM prescalar settings\n\n![a](https://raw.githubusercontent.com/DanielMartensson/OpenSourceLogger-Qt/main/pictures/STM32Window.PNG)\n\nThis is the PCB board\n\n![a](https://raw.githubusercontent.com/DanielMartensson/OpenSourceLogger-Qt/main/pictures/PCB.PNG)\n\nSAE J1939 CAN bus protocol\n\n![a](https://raw.githubusercontent.com/DanielMartensson/OpenSourceLogger-Qt/main/pictures/SaeJ1939.PNG)\n\nUpload measurement to the datbase\n\n![a](https://raw.githubusercontent.com/DanielMartensson/OpenSourceLogger-Qt/main/pictures/UploadWindow.PNG)\n\nView past measurements\n\n![a](https://raw.githubusercontent.com/DanielMartensson/OpenSourceLogger-Qt/main/pictures/ViewWindow.PNG)\n\nAnd the results\n\n![a](https://raw.githubusercontent.com/DanielMartensson/OpenSourceLogger-Qt/main/pictures/FromDatabase.PNG)\n\n# Status of the project\nIt's working and I don't have any plans right now to add new functionality(perhaps in the future if it's needed e.g CANopen). Right now everything is working and it will remain like that for now.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielmartensson%2Fopensourcelogger-qt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanielmartensson%2Fopensourcelogger-qt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielmartensson%2Fopensourcelogger-qt/lists"}