TeamKuOn / Concordia

2022 Solar Car Race in Akita & Shirahama
MIT License
0 stars 0 forks source link

データ処理全般について #3

Open xwasoux opened 2 years ago

xwasoux commented 2 years ago

今回の実装では割り込み処理やRTOSを利用したタスク管理を取り入れたいと考えている.

以下の表に,現状の検討・実装状況をまとめる.

Processing Description
RTOS feilipu / Arduino_FreeRTOS_Library
Board Arduino Mega 2560
Development Enviroment PlatformIO
xwasoux commented 2 years ago

各処理についてまとめる.

Device I/O Connection PIN Interrupt Handling Library name
CAN Module (MCP2515) Output SPI SCK(52)
MOSI(51)
MISO(50)
SS(53)
Timer Interrupt
(100 ms)
autowp / arduino-mcp2515
MicroSD Card Adapter Output SPI SCK(52)
MOSI(51)
MISO(50)
SS(53)
Timer Interrupt
(100 ms)
arduino-libraries / SD
IMU (HWT905-TTL) Input UART Tx1(18)
Rx1(19)
Timer Interrupt
(100 ms)
JY901.h on WITMOTION / HWT905-TTL
GPS Module (NEO-6M) Input UART Tx2(16)
Rx2(17)
Hard Interrupt mikalhart / TinyGPSPlus
Air-speed meter (MS4525DO) Input I2C SDA
SCL
Timer Interrupt
(100 ms)
bolderflight / ms4525do
Temperature Sensor (DHT11) Input Digital pin D2, D3 Timer Interrupt
(1000 ms)
adafruit / DHT-sensor-library
Current Sensor (INA226) Input I2C SDA
SCL
Timer Interrupt
(100 ms)
asukiaaa / INA226_asukiaaa
or
Zanduino / INA