{"id":19832074,"url":"https://github.com/danielmartensson/opensourcelogger","last_synced_at":"2025-06-21T16:39:30.792Z","repository":{"id":120604484,"uuid":"571499490","full_name":"DanielMartensson/OpenSourceLogger","owner":"DanielMartensson","description":"Data acquisition software with STM32-PLC. Collect measurement, analyze CAN-messages and send SAE-J1939 messages to other ECUs.","archived":false,"fork":false,"pushed_at":"2023-06-19T22:41:22.000Z","size":374506,"stargazers_count":20,"open_issues_count":0,"forks_count":9,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-08T21:35:05.062Z","etag":null,"topics":["c","cpp","data-aquisition","imgui","opengl","stm32"],"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/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}},"created_at":"2022-11-28T09:13:36.000Z","updated_at":"2025-04-07T08:41:34.000Z","dependencies_parsed_at":"2024-01-24T15:15:39.338Z","dependency_job_id":null,"html_url":"https://github.com/DanielMartensson/OpenSourceLogger","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/DanielMartensson/OpenSourceLogger","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanielMartensson%2FOpenSourceLogger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanielMartensson%2FOpenSourceLogger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanielMartensson%2FOpenSourceLogger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanielMartensson%2FOpenSourceLogger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DanielMartensson","download_url":"https://codeload.github.com/DanielMartensson/OpenSourceLogger/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanielMartensson%2FOpenSourceLogger/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261160396,"owners_count":23118182,"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":["c","cpp","data-aquisition","imgui","opengl","stm32"],"created_at":"2024-11-12T11:36:20.961Z","updated_at":"2025-06-21T16:39:25.778Z","avatar_url":"https://github.com/DanielMartensson.png","language":"C","readme":"# OpenSourceLogger\n\nThis is a data acquisition software made in C++ with ImGui framwork and OpenGL.\nThe purpose with this software is to collect measurement data and store that data inside a database\nand also downloading measurement data from that database. \n\n# This software is no longer maintained. The work of OpenSourceLogger will be in https://github.com/DanielMartensson/GoobySoft\n\nIn order to use this software, the following need to be known:\n\n* Calibration with straight line equation\n* CAN-bus frame\n* Sampling measurement\n* Comma Separated Value (CSV) file structure\n* MySQL connection\n* SAE-J1939 protocol\n* Unsigned 8-bit, 16-bit, 32-bit maximum values\n\n# Functionality\n\n* 12 x ADC at 16-bit resolution for 0-20mA input with programmable gain\n* 5 x Differential ADC at 16-bit for 0-20mA input with programmable gain\n* 3 x DAC at 12-bit with 0-20mA output\n* 8 x PWM for 0-2.2A with N-channel MOSFET\n* 10 x Digital Input\n* 1 x CAN-bus channel\n* 4 x Input Capture for 0 kHz to 10kHz\n* 3 x Encoder for -32768 to 32767 pulses\n* 1 x USB port for connecting with [STM32-PLC](https://github.com/DanielMartensson/STM32-PLC)\n* MySQL database connection\n* SAE-J1939 communication standard with the software [Open-SAE-J1939](https://github.com/DanielMartensson/Open-SAE-J1939)\n* CAN-terminal analyzer\n\n# How to use this software\n\n## Building from source\n\nDownload Microsoft Visual Studio. I have been using Microsoft Visual Studio 2022 to create this software.\nYou need a MSVC-compiler as well. The C++ standard of this project is C++20. Clone the project and \nrun the `.sln` file.\n\nAlso install these following dependencies from `vcpkg`\n\nVCPKG dependencies:\n  - imgui[core,glfw-binding,opengl3-binding]:x64-windows\n  - opengl:x64-windows\n  - boost-asio:x64-windows\n  - mysql-connector-cpp:x64-windows\n  - nlohmann-json:x64-windows\n  - stb:x64-windows\n\n\n## Run pre-built binaries\n\nInside `x64/Release` there is a file called `OpenSourceLogger.exe`. Run that.\n\n# Pictures\n\n![a](https://raw.githubusercontent.com/DanielMartensson/OpenSourceLogger/main/Pictures/Mainview.png)\n\n![a](https://raw.githubusercontent.com/DanielMartensson/OpenSourceLogger/main/Pictures/Databaseview.png)\n\n\n# Status of the project\n\n* Bug testing - This is just the first version\n* Work on design \n* Calibration factor for the analog measurements due to leakage of the zener diodes of STM32-PLC\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielmartensson%2Fopensourcelogger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanielmartensson%2Fopensourcelogger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielmartensson%2Fopensourcelogger/lists"}