학술논문

A Customized Python Interface for Windows OS for a Low Budget USB-to-CAN-Adapter
Document Type
Conference
Source
2022 International Conference on Electrical, Computer and Energy Technologies (ICECET) Electrical, Computer and Energy Technologies (ICECET), 2022 International Conference on. :1-5 Jul, 2022
Subject
Bioengineering
Communication, Networking and Broadcast Technologies
Components, Circuits, Devices and Systems
Computing and Processing
Engineered Materials, Dielectrics and Plasmas
Engineering Profession
Fields, Waves and Electromagnetics
General Topics for Engineers
Power, Energy and Industry Applications
Robotics and Control Systems
Signal Processing and Analysis
Training
Costs
Power demand
Reliability theory
Universal Serial Bus
Hardware
Transceivers
Controller area network
User Interface
USB to CAN
Windows
python-CAN
Language
Abstract
Over the last three decades, the Controller Area Network (CAN) has become the dominant communication in embedded systems. Especially for automotive systems it offers advantages including high robustness, low error rate and high reliability combined with low power consumption. Therefore, learning the basics of this bus system is substantial in this field. Nowadays, various media about the functionality and use of CAN exist which make it easy to read into the topic. But often, theory alone is not sufficient. To deepen the understanding, practical implementation contributes significantly. However, affordable and easy-to-use CAN devices for training purposes are scarce. Existing equipment can be divided into expensive professional devices, which have many functions and inexpensive ones for hobbyists, which require difficult configurations. Therefore, a practical solution is a low-budget device equipped with an overlay which deals with the time consuming configurations. This paper covers the development of a python interface for a purchasable cost effective CAN device for Windows OS. The intention is to create an easy-to-use program that enables beginners to get in touch with CAN and collect practical experience. At the start, a brief explanation of the CAN functionality is given. After that, we introduce the hardware used in this project. Next, the software part covers the development of the interface and the integration of this interface into python-can. Furthermore, a virtual playground is introduced for testing purposes. Also, to demonstrate the functionality of the interface, a test program is executed in conjunction with a logic analyzer.