Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/YuriyLogvin/CAN-RS485-adapter
The adapter can be used for sniff CAN-bus or other cases
https://github.com/YuriyLogvin/CAN-RS485-adapter
Last synced: 3 months ago
JSON representation
The adapter can be used for sniff CAN-bus or other cases
- Host: GitHub
- URL: https://github.com/YuriyLogvin/CAN-RS485-adapter
- Owner: YuriyLogvin
- Created: 2019-09-14T08:24:05.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-07-03T09:26:49.000Z (over 1 year ago)
- Last Synced: 2024-04-18T19:36:53.067Z (7 months ago)
- Language: C
- Homepage:
- Size: 1.18 MB
- Stars: 5
- Watchers: 2
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-canbus - CAN-RS485-adapter - CAN-RS485 Adapter (STM32F103). (Hardware / ARM)
README
# CAN-RS485-adapter
HW device in shop:
https://shop.emkit.net/ru_RU/shop/product/rs-485-can-21For first use:
- Clone repository to local folder
- Run SW4STM32 (System Workbench for STM32)
- Select "CAN-RS485-adapter/Firmware" workspace directory
- Close "Welcome" window
- In "Project explorer" via context menu call "Import/General/Exsting Project into Workspace" and select "CAN-RS485-adapter/Firmware/A11096" directory
- After first "Debug" command select "Ac6 STM32 C/C++ Application"For taking current, voltage or velocity from can-adapter you need detach other adapters. And select current, voltage, velocity sources from RS485.
If you want do not use current sensor on CAN-adapter (for example), comment _ProtocolHost->AddSelfAddr(EmkAddr::CurrentSensor);
void Kernel::Init()
{
_ProtocolHost = new ProtocolHost(EmkAddr::SpeedSensor);
_ProtocolHost->AddSelfAddr(EmkAddr::CurrentSensor);
_ProtocolHost->AddSelfAddr(EmkAddr::VoltageSensor);
.....
}