Skip to content

Looooopy/zumo-sbus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zumo 32U4 SBUS Receiver

Using SBUS to communicate with the Zumo 32U4 board. You will also need a signal inverter between SBUS receiver and Zumo board Build your own inverter.

IMAGE ALT TEXT HERE

Why use SBUS

When using PWM we are restricted to use more input pins with SBUS we only need one.

Wiring

IMAGE ALT TEXT HERE

Channels

Stick Channel Constant Description
Throttle 2 THROTTLE_CHANNEL Gas & break, Mode 2 Stick on the left side move UP or DOWN
Turning 0 TURNING_CHANNEL Left & Right, Mode 2 stick on the right side move LEFT or RIGHT
Reverse 8 REVERSE_CHANNEL Make zumo go in reverse (Switch B on my Radiolink)
Buzzer 9 BUZZER_CHANNEL Make zumo play a melody on the buzzer

Status leds

On the Zumo 32U4 board you got three leds yellow, green and red.

Led Mode Description
Flashing Red FailSafe No connection to transmitter
Yellow LostFrame SBUS lost a frame
Green Ok Stable color, We have connection to receiver
Flashing Green Waiting Not recieved a full sbus frame from receiver

Debug

If you wish to see the exact measurements from SBUS channels in terminal you have to hook it up to USB and use putty.

This mode should only be used for debug purpose, you will miss packages from SBUS and that is made intentially because i wish to delay the output so SBUS channel measurements can be read from console.

  • First you need to uncomment in main.cpp

    //#define MY_DEBUG

  • Upload the scetch

  • Open putty with these settings

    • Select Serial
    • Select your COM port
    • Select Speed: 115200
    • Window->Uncheck 'Push erased text to scrollback'

About

Zumo 32U4 with RC receiver in SBUS mode

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages