2025년 2월 3일 월요일

구조체

 struct { // Communication structures

bool rf; // Receive flag, indicating if data has been received uint8_t tb[50]; // Transmit buffer (stores data to be transmitted) uint8_t rb[50]; // Receive buffer (stores received data) uint8_t tc; // Transmit count (tracks the number of bytes to be sent) uint8_t rc; // Receive count (tracks the number of bytes received) uint8_t rt; // Receive timeout (20ms * 5 = 100ms, used for handling communication timeouts) uint8_t fn; // Field name (used for identifying communication fields) uint8_t hi, lo; // Used for Modbus communication (high and low byte storage) } cm0; //----------------------- hw_timer_t *timer1 = NULL; // 25ms Timer instance for periodic tasks struct { // Timer-related variables uint8_t fg; // Flag to indicate timer-related events byte tc; // Timer counter for general use byte t100ms; // Counter for 100ms intervals byte t500ms; // Counter for 500ms intervals byte sec; // Second counter } tim; //----------------------- struct { uint16_t reg[50]; // Array for storing data (e.g., sensor values, Modbus registers) } ccu;

참고!!

2025년 1월 5일 일요일

AVANTE AD 2016 year regulator

 AVANTE  AD 2016 year  regulator

part number   373702A400



알터네이터(발전기) 카본 브러시가 차량운행에 따라 닳아서 점점 짧아짐


레귤레이터 어셈블리, 373702A400, 37370-2A400, 신제품

알터네이터 충전 불량, 레귤레이터 어셈블리 교환

레귤레이터 어셈블리 해체및 조립시 7mm, 8mm 복스알 필요

알터네이터 및 알터네이터 벨트 해체시 14mm, 11mm  복스알 필요

국내에서 부품을 구할수 없어서  https://ko.aliexpress.com/ 에서 주문함