Skip to content

AutoPlantBali/AutoPlantBali_RC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 

Repository files navigation

AutoPlantBali RC

AutoPlantBali RC adalah remote control berbasis esp32 yang dikembangkan dari code sumber: RomanLut. Untuk Transmitter dan Receiver memiliki beberapa mode yang bisa digunakan.

Transmitter AutoPlantBali RC

Transmitter AutoPlantBali adalah external module remote yang dapat menerima signal SBUS, PPM, stick PS2 dan remote control mobile apps (RemoteXY) via bluetooth.

Marketplace: Tokopedia

  • Fitur:

    • Support 16 Channel
    • Normal & Long Range Mode
    • Multiple Profile
    • Telemetry SPORT
    • Select Active Profile By CH16
  • Transmitter Wiring Diagram

    tx_diagram

  • Configuration File

KEY VALUE KETERANGAN
PPM_MAX_CHANNEL max 12, Default: 8 Sesuikan dengan PPM out pada remote (channel terakhir akan menjadi channel 16 untuk config)
AILERON_REVERSE 1 or 0, Default: 0 Set 1 untuk membalikan nilai dari aileron (hanya untuk mode PS2 dan RemoteXY)
ELEVATOR_REVERSE 1 or 0, Default: 0 Set 1 untuk membalikan nilai dari elevator (hanya untuk mode PS2 dan RemoteXY)
RUDDER_REVERSE 1 or 0, Default: 0 Set 1 untuk membalikan nilai dari rudder (hanya untuk mode PS2 dan RemoteXY)
REMOTEXY_PROFILE 1 ~ 10, Default: 1 Pilih profile untuk app REMOTEXY (Android / Ios)
REMOTEXY_MODEL 1 or 2, Default: 1 Pilih model/desain dari app REMOTEXY (Android / Ios)
REMOTEXY_THROTTLE_CENTER 1 or 0, Default: 0 Pilih throttle center = 0 untuk rc plane atau 1 untuk rc car
REMOTEXY_ACCESS_PASSWORD 4 digit number, Default: 1234 Password akses untuk membuka menu remote di app REMOTEXY (Android / Ios)
REMOTEXY_SERIAL_SPEED 9600 or 19200, Default: 9600 Hubungkan module bluetooth HC-05 atau HM-10 untuk terhubung ke app REMOTEXY (Android / Ios)
ALARM_VBAT 1 or 0, Default: 0 Set 1 untuk mengaktifkan alarm low battery dan 0 untuk menonaktifkannya
MIN_ALARM_VBAT Volt Battery x 10, Default: 35 Set volt per cell battery dikali 10, contoh: set 3.5Volt untuk aktifakan alarm maka valuenya 35
VBAT_OFFSET Vbat offset value Atur nilai offset vbat, contoh: battery 4V tapi di tampilan 3.5V, maka perlu atur nilai 0.5 agar sesuai dengan volt battery yaitu nilai offset 0.5 dikali 10 = 5
FLIP_DISPLAY 1 or 0, Default: 0 Set 1 untuk membalikan tampilan layar LCD 180 derajat
  • Setup:

    • Radio

      radio_pinout

      tx_external_1

      tx_external_2

      tx_external_3

      SBUS

      1. Create model selanjutnya pada tab External RF pilih SBUS. external_rf_sbus

      2. Pada tab mixes pilih CH16 lalu klik edit. tab_mixes edit_mixes

      3. Setting weight 0 dan offset sesuai profile yang ingin dipilih.

        • 1000...1100 ( or -100%) - profile 1
        • 1100...1200 ( or -80%) - profile 2
        • 1200...1300 ( or -60%) - profile 3
        • 1300...1400 ( or -40%) - profile 4
        • 1400...1500 ( or -20%) - profile 5
        • 1500...1600 ( or 0%) - profile 6
        • 1600...1700 ( or +20%) - profile 7
        • 1700...1800 ( or +40%) - profile 8
        • 1800...1900 ( or +60%) - profile 9
        • 1900...2000 ( or +80%) - profile 10 (Configuration mode)

        mixes_ch16 mixes_ch16_1

      PPM

      1. Create model selanjutnya pada tab External RF pilih PPM. Default max ch range 8. external_rf_sbus

      2. Pada tab mixes pilih channel sesuai dengan max ch range lalu klik edit. tab_mixes edit_mixes

      3. Setting weight 0 dan offset sesuai profile yang ingin dipilih.

        • 1000...1100 ( or -100%) - profile 1
        • 1100...1200 ( or -80%) - profile 2
        • 1200...1300 ( or -60%) - profile 3
        • 1300...1400 ( or -40%) - profile 4
        • 1400...1500 ( or -20%) - profile 5
        • 1500...1600 ( or 0%) - profile 6
        • 1600...1700 ( or +20%) - profile 7
        • 1700...1800 ( or +40%) - profile 8
        • 1800...1900 ( or +60%) - profile 9
        • 1900...2000 ( or +80%) - profile 10 (Configuration mode)

        mixes_ch16 mixes_ch16_1

    • PS2 Controller

      • PS2 Wiring

        TX PIN PS2 PIN
        3V3 VCC
        VSS GND
        PS2_ATT CS (Attention)
        PS2_CLK CLK (Clock)
        PS2_CMD DO (Command)
        PS2_DAT DI (Data)

        ps2_pinout ps2_button_info

      • Select Profile

        Untuk mengganti profile TX dengan cara tekan tombol SELECT pada PS2 Controller

      • Calibate Joystick

        Untuk melakukan kalibrasi joystick dengan cara masuk mode profile 10 (Config) lalu tekan tombol START, tunggu beberapa saat sampai proses kalibrasi selesai. Pada saat kalibrasi analog joystick tidak boleh digerakan atau dalam posisi center.

        ps2_controller_top ps2_controller_bottom

    • RemoteXY (Android and Ios)

      HC-05 Bluetooth Module
      hc-05_module

      HM-10 Bluetooth Module hm-10_module

      TX PIN HC-05 / HM-10
      3V3 VCC
      VSS GND
      PS2_CMD TX
      PS2_DAT RX

      Setting baudrate module HC-05 / HM-10 harus sama dengan yang ada di file config REMOTEXY_SERIAL_SPEED

      Model 1 remotexy_model1_1 remotexy_model1_2

      Model 2 remotexy_model2_1 remotexy_model2_2

    • LCD Display TX

      LCD OLED 0.91 Inch 128x32 I2C lcd_oled_pinout

      TX PIN LCD OLED 0.91 Inch
      3V3 VCC
      VSS GND
      SCL SCL
      SDA SDA
  • Profiles:

    • Profile 1
    {
        "transmitter_mode" : "ESPNOW",
        "espnow_channel" : 3,
        "espnow_key" : 0,
        "espnow_long_range_mode" : false,
        "ap_name" : "hxrct",
        "ap_password" : ""
    }
    • Profile 2
    {
        "transmitter_mode" : "ESPNOW",
        "espnow_channel" : 3,
        "espnow_key" : 0,
        "espnow_long_range_mode" : true,
        "ap_name" : "hxrct",
        "ap_password" : ""
    }
    • Profile 3
    {
        "transmitter_mode": "XIROMINI",
        "ap_name": "XIRO_RC",
        "ap_password": "XIRO1234",
        "ap_channel": 3,
        "drone": "XPLORER_Mini_0b4a41",
        "drone_password": "XIRO1234"
    }
    • Profile 4
    {
        "transmitter_mode": "BLEGAMEPAD"
    }
    • Profile 5
    {
        "transmitter_mode": "KYFPV"
    }
    • Profile 6
    {
        "transmitter_mode" : "ESPNOW",
        "espnow_channel" : 3,
        "espnow_key" : 0,
        "espnow_long_range_mode" : false,
        "ap_name" : "hxrct",
        "ap_password" : "",
        "packet_rate" : "MAX",
        "phy_rate" : "1M"
    }
    • Profile 10 (Configuration Mode)
    {
        "transmitter_mode" : "CONFIG",
        "ap_name" : "hxrct",
        "ap_password" : ""
    }

    Pilih profile 10, setelah itu hubungkan laptop / hp dengan nama wifi sesuai dengan ap_name (defaul: hxrct) lalu ketik di browser dengan url: 192.168.4.1/manager dan login dengan user: admin dan password: admin web_config

Receiver AutoPlantBali RC

Marketplace: Tokopedia

  • Receiver Wiring Diagram

    rx_diagram

  • Configuration File

KEY VALUE KETERANGAN
VERSION Versi dari firmware rx
DEVELOP Pembuat firmware
WIFI_CHANNEL 1 ~ 11, Default: 3 Range channel wifi dan kombinasi dengan key sebagai kode unik ke TX
KEY 0 ~ 65535, Default: 0 Key yang dikombinasi dengan channel wifi sebagai kode unik ke TX
WIFI_PASSWORD Password wifi rx Password wifi RX
LR_MODE 1 or 0, Defualt: 0 Set 1 untuk mode Long Range dan 0 untuk mode normal
LOG_ACTIVE 1 or 0, Default: 0 Set 1 untuk mengaktifkan openlog dan 0 untuk menonaktifkannya
SBUS_ACTIVE 1 or 0, Default: 0 Set 1 untuk masuk ke mode RX SBUS output dan 0 untuk masuk ke RC mode
RC_MODE 1 ~ 10, Default: 1 Setting RC Mode, lepas semua yang terhubung ke pin RX sebelum melakukan perubahan
LOG_BAUDRATE max 4000000 Setting speed baudrate dari openlog
ESC_CALIBRATION 1 or 0, Default: 0 ESC calibraton saat pertama kali dihidupkan (khusus untuk ESC simonk)
ADJUST_AILERON -400 ~ 500, Default: 0 Adjust range servo aileron (untuk beberapa jenis servo 0 ~ 180 derajat memiliki range 500uS ~ 2500uS)
ADJUST_ELEVATOR -400 ~ 500, Default: 0 Adjust range servo elevator (untuk beberapa jenis servo 0 ~ 180 derajat memiliki range 500uS ~ 2500uS)
ADJUST_RUDDER -400 ~ 500, Default: 0 Adjust range servo rudder (untuk beberapa jenis servo 0 ~ 180 derajat memiliki range 500uS ~ 2500uS)
UPDATE_FIRMWARE 1 or 0, Default: 0 Set 1 untuk melakukan update firmware, pastikan file firmware.bin ada di microSD card
  • PWM Brushed

    pwm_switch

  • PWM H-Bridge

  • Mode Receiver RC:

    1. Mode 1 (RC Plane - Brushless)

    RX Wiring

    RX PIN CHANNEL SIGNAL KETERANGAN
    IO32 CHANNEL 1 Aileron Servo
    IO33 CHANNEL 2 Elevator Servo
    IO25 CHANNEL 3 Throttle ESC Brushless
    IO26 CHANNEL 4 Rudder Servo

    2. Mode 2 (RC Plane - Brushed)

    RX Wiring

    RX PIN CHANNEL SIGNAL KETERANGAN
    IO32 CHANNEL 1 Aileron Servo
    IO33 CHANNEL 2 Elevator Servo
    IO25 CHANNEL 3 Throttle PWM Brushed
    IO26 CHANNEL 4 Rudder Servo

    3. Mode 3 (RC Plane - 2 Channel Brushed)

    RX Wiring

    RX PIN CHANNEL SIGNAL KETERANGAN
    IO32 CHANNEL 1 Aileron Left PWM Brushed
    IO33 CHANNEL 2 Elevator Left PWM Brushed
    IO25 CHANNEL 3 Throttle Right PWM Brushed
    IO26 CHANNEL 4 Rudder Right PWM Brushed

    rx_mode_3

    4. Mode 4 (RC Plane - Brushless Elevon Mixing)

    RX Wiring

    RX PIN CHANNEL SIGNAL KETERANGAN
    IO32 CHANNEL 1 Aileron Servo
    IO33 CHANNEL 2 Elevator Servo
    IO25 CHANNEL 3 Throttle ESC Brushless
    IO36 CHANNEL 3 Throttle ESC Brushless

    5. Mode 5 (RC Plane - Brushed Elevon Mixing)

    RX Wiring

    RX PIN CHANNEL SIGNAL KETERANGAN
    IO32 CHANNEL 1 Aileron Servo
    IO33 CHANNEL 2 Elevator Servo
    IO25 CHANNEL 3 Throttle PWM Brushed
    IO26 CHANNEL 3 Throttle PWM Brushed

    6. Mode 6 (RC Car / Boat - Brushed)

    RX Wiring

    RX PIN CHANNEL SIGNAL KETERANGAN
    IO32 CHANNEL 1 Aileron Servo Steering
    - - - -
    IO25 CHANNEL 3 Throttle PWM H-Bridge (IN1)
    IO26 CHANNEL 3 Throttle PWM H-Bridge (IN2)

    rx_mode_6

    7. Mode 7 (RC Tank - Brushed)

    RX Wiring

    RX PIN CHANNEL SIGNAL KETERANGAN
    IO32 CHANNEL 1 Aileron Left PWM H-Bridge (IN1)
    IO33 CHANNEL 2 Aileron Left PWM H-Bridge (IN2)
    IO25 CHANNEL 3 Throttle Right PWM H-Bridge (IN1)
    IO26 CHANNEL 4 Throttle Right PWM H-Bridge (IN2)

    8. Mode 8 (RC Plane 3 Channel - Brushed twin motor)

    RX Wiring

    RX PIN CHANNEL SIGNAL KETERANGAN
    IO32 CHANNEL 1 Aileron Servo
    IO33 CHANNEL 2 Elevator Servo
    IO25 CHANNEL 3 Throttle PWM Brushed
    IO26 CHANNEL 3 Throttle PWM Brushed
  • SBUS Output Receiver

    Pada file config.txt set SBUS_ACTIVE=1 untuk mengaktifkan SBUS receiver di pin SCL/SBUS

  • Openlog

    Pada file config.txt set LOG_ACTIVE=1 untuk mengaktifkan Openlog di pin TX/RX dan set baudrate di LOG_BAUDRATE=115200 untuk baudrate speed 115200

  • Quadcopter Drone (MultiWii)

    RX Wiring

    RX PIN GY-87 PIN
    3V3 VCC
    VSS GND
    SCL SCL
    SDA SDA
    RX PIN KETERANGAN
    IO32 Motor 1
    IO33 Motor 2
    IO25 Motor 3
    IO26 Motor 4

    multiwii_dashboard

    multiwii

    multiwii_modes

    multiwii_remote

    multiwii_aux

    multiwii_pid

    multiwii_motor

  • Quadcopter Drone (Betaflight)

    RX Wiring

    RX PIN GYRO I2C PIN
    3V3 VCC
    VSS GND
    SCL SCL
    SDA SDA
    RX PIN GYRO SPI PIN
    3V3 VCC
    VSS GND
    (IO18) SCK SCL
    (IO23) MOSI SDA
    (IO19) MISO SAO
    (IO5) CS CS

    gyro_spi_pin

    Features:

    • ESC protocols (PWM, Oneshot125/42, Multishot, Brushed, Dshot150/300/600 bidirectional)
    • PPM, SBUS, CRSF, HX_ESPNOW_RC Receivers
    • Support Gyro: MPU6050, MPU6000, MPU6500, MPU9250, ICM20602 and BMI160
    • Support Baro: BMP180, BMP280 and SPL06
    • Support Compass: HMC5883, QMC5883 and AK8963
    • Flight modes (ACRO, ANGLE, AIRMODE)
    • Telemetry HX_ESPNOW_RC (A1 = RX Voltage) SPI RX Receiver
    • Up to 4kHz gyro/loop on ESP32 with SPI gyro
    • Failsafe mode

    betaflight betaflight_status betaflight_ports betaflight_voltage betaflight_receiver betaflight_receiver_ps2

Battery AutoPlantBali RC

  • Battery 1S with PH2.0 Plug Connector
  • Weight: 18gr
  • dimension: 37mm x 13mm
  • Max charger 0.5A

battery_weight battery_capacity

Step Up / Booster 1S 5 Volt AutoPlantBali RC

booster_1S_1 booster_1S_2 booster_1S_3

Referensi: