Pin | Desc. |
---|---|
G0 | Button |
G7 | Motor FL |
G1 | Motor FR |
G12 | Motor RL |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "freertos/FreeRTOS.h" | |
#include "freertos/task.h" | |
#include "esp_system.h" | |
#include "esp_event.h" | |
#include "esp_task_wdt.h" | |
#include "driver/gpio.h" | |
TaskHandle_t loopTaskHandle = NULL; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <M5Unified.h> | |
#include <Avatar.h> | |
using namespace m5avatar; | |
Avatar avatar; | |
#define SERVO_PIN_A 21 | |
#define SERVO_PIN_B 22 | |
void setup() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <M5Stack.h> | |
#define PACKED __attribute__((packed)) | |
#define SERIAL_BAUDRATE 420000 // ELRS モジュールの通信速度 | |
#define GPIO_PIN_RCSIGNAL_TX 21 // ELRS TX モジュールとの接続ピン(半二重) | |
#define GPIO_PIN_RCSIGNAL_RX 21 // ELRS TX モジュールとの接続ピン(半二重) | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import urllib.request | |
import json | |
import base64 | |
import pprint | |
# Koeiro パラメータ | |
text = 'スロットルをオフにして' | |
speaker_x = 1.5 | |
speaker_y = 1.5 | |
style = 'talk' # 喜怒哀楽を指定できる |
Xcode など入っている前提
~~aqtinstall とは Another Qt installer(aqt)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ELRS受信テスト | |
#include <Arduino.h> | |
#define ELRS_RX_PIN 21 | |
#define ELRS_TX_PIN 22 | |
#define ELRS_BAUD 420000 | |
#define CRSF_DEVICEADDR_FC 0xC8 | |
#define CRSF_FRAME_LENGTH 24 |
https://github.com/ExpressLRS/ExpressLRS/wiki/CRSF-Protocol
↑まずはコレを読む
- RX側: 全二重(Full Duplex) 42000 Baud / N81
- TX側: 半二重(Half Duplex)
TBS Fusion 解析メモ (by @GOROman)
TBS Fusionを解析しているので覚書
TBS Fusion とは?
FPVドローン用の5.8GHz帯映像レシーバー。主にFPVゴーグルに接続して使う。他のレシーバー同様ダイバーシティアンテナで2系統のアンテナ入力がある。
NewerOlder