diy solar

diy solar

Ryobi RY48ZTR100 Aftermarket Blade Motor ESCs Replacement Tutorial

liftbikerun

New Member
Joined
Feb 18, 2024
Messages
3
Location
Texas

HARDWARE INSTALL BELOW, SOFTWARE/FIRMWARE SETTINGS WILL BE UPDATED SOON

The What and Why?:

The goal of this tutorial is to walk you through replacing the blade motor ESCs when they fail. During the process of researching this I found that it isn't just LiFePO4 upgrades that cause this issue, it's happened to quite a few Ryobi owners on stock setups.​
**Important notes before beginning**
  1. You cannot replace only one of the original ESCs, they work as a Master/Slave and require each other to turn on. If either of them are damaged or missing, they will not activate the motors.
  2. The blade protection will no longer work. IE: You don't have to be seated to turn on the blades.
  3. The button that slows the blades down no longer functions (I bet I could easily figure this out with an additional pull down resistor to give the impression of say 60% throttle.
  4. The stock battery gauge no longer functions
During the replacement of my stock lead acid batteries (This started me down the rabbit hole for replacing my lead acid batteries), upon plugging in the new LiFePO4 battery and turning on the machine the Slave ESC decided to give up the ghost and blew up.​
It sparked, it smoked, it died.
I hadn't even turned the blades on yet, so it was the initial inrush of current that blew the ESC.​
20231203_143428.jpg

The stock ESCs are quite expensive and can be hard to come by. The cost to replace both the Master and Slave blade motor ESCs can be above $800 (US). After upgrading my batteries to a new LiFePO4, I wasn't in the mood to spend another $800+ on parts that are a known weak point and could/would fail again.​
The upgrade path I chose to begin was a cheap set of AliExpress 75100 VESCs. I knew going in these could, and likely would fail. I wasn't prepared for how quickly they failed but I got what I needed out of them; proof of concept. So far, my initial investment into fixing my blown stock ESC is ~$90. Upon installation I was able to figure out the wiring, retainment of the stock blade pto switch, and confirm that the blades could indeed be controlled independently from the stock setup and the mower would continue to work correctly otherwise.​
Let's jump in....​

The Terminology:

(Borrowed from Google)
VESC -

A VESC, which can stand for either Vedder Electronic Speed Controller or Variable Electronic Speed Controller, is a versatile and programmable electronic device used to control the speed and direction of electric motors. It goes beyond a simple on/off switch by offering precise and dynamic control over various parameters, making it valuable in diverse applications.​


Pull-down Resistor -

In the world of electronics, a pull-down resistor plays a crucial role in ensuring predictable behavior for digital circuits. Here's the breakdown:​
What it does:
  • Prevents "floating" state: When nothing is connected to a logic pin and the circuit is powered on, the pin's voltage level becomes uncertain, known as "floating." This ambiguity can cause unpredictable circuit behavior.
  • Defines a default state: The pull-down resistor "pulls" the voltage level of the pin down to ground (logical 0) by default. This ensures a known starting point for the circuit.
  • Provides stability: When a switch or sensor connected to the pin opens, the resistor maintains the logical 0 state, preventing misinterpretations caused by the floating state.

What's Needed?

Some of the following can be edit/changed for different things, but this is what I used and I can only attest to it working with these parts.

Tools:

  • Ratchet Set to disassemble plastics
  • Soldering Gun + Solder
  • Tap and Die set - For mounting the VESCs (this is not required)
  • Laptop/Computer to run VESC Tool to program Firmware
Parts:

Where To Begin?

Disassembly -
Luckily this is one of the easier machines I've ever disassembled. It only requires a handful of screws to be removed and the panels come off pretty easily.​
  1. The side panel is needed to get to the wiring
  2. The motor controllers (both the blade, and the wheels) are located behind here. The bulk of the work is done here.
  3. The metal deck cover has 4 screws that need to be removed so you can gain access to the wires and motors. I imagine this isn't absolutely required, but it makes the job exponentially easier with this out of the way.
  4. The control panel has 4 bolts, two of which need to be removed for panel #1 to be removed.

Screenshot 2024-02-18 at 6.08.15 PM.png

With these removed, you'll have access to everything you'll need to work on this project.

Wiring and Soldering -
The first real step in the process is finding the wires we need to use for our installation.

  1. Power
    • You’ll need to either procure a set of XT90S connectors for the power input for each VESC or you can use the old ones from the faulty ESCs we are replacing (this is what I did).
  2. Output to Motors
  • You’ll also need to either procure connectors that will work with the blade motor connectors or reuse the set from each ESC we are replacing (this is what I did).
  1. COMMs Connection (Throttle) -
  • The Flipsky 75100 Pro VESC has multiple input/outputs but the only ones we care about are #6 which is COMMS and #5 which is our USB connection to our computer to program it.

51eAQjiOcaL._AC_SL1000_.jpg

Additionally, will only need three wires out of the COMMS connector, ADC1 (this is our Analog to Digital Converter), 3.3V, and GND.​
This is basically our “throttle”, in this case, we are reusing our PTO switch that is either ON or OFF. This is also why we need our pulldown resistor, as the ADC1 input is not a digital 1 or 0, we need to “pull down” the voltage to 0 with our 10k Ohm resistor. When we do that our VESC sees we have a true “zero” input or zero throttle (off). I found that the ADC1 line carries a voltage that sits almost exactly halfway between 0 and 3.3v which means without the pulldown resister as soon as you turn on the mower the blades would begin moving at half speed.​
When we are done, when you pull up on the PTO switch, we will be connecting our 3.3v input to our ADC1 line telling the VESC that we are providing full throttle which will turn the motors on.​
  1. Pick either of the VESCs Ground Wires here, we only need to use one (I used the right most VESC which is mounted in the location of the "Master" ESC we are replacing. Solder the GND wire to one side of the 10k Ohm resistor.
  2. Take BOTH ADC1 wires and solder the wires to the other side of the resistor while additionally adding a 24” pigtail which will connect to one input of our PTO switch (you’ll want to crimp a 12-10 Yellow female spade connector onto this).
  3. Heat-shrink around the pull-down resistor we just created.
  4. Take your 3.3v wire (We only need to use one, again I used the 3.3v of the right most VESC), add an additional 24” to it and solder the joints. Add a 12-10 Yellow female spade connector to this. You’ll be connecting this to the other side of the PTO switch.

    ******The reason we only need to use one ground, and one 3.3v is the only wire that is unique to each VESC is the ADV1 input. The 3.3v and GND are common and are really only used here as the trigger to tell the VESC that either we have zero input, or full throttle****Throttle Diagram.jpg
  5. You now have a 24" lead from the ADC1 side of our pull-down resistor, and a 24" lead from our 3.3v. The PTO switch has 2 different inputs, a double spade, and a triple spade. Use the double spade and plug them in on each side (it doesn't matter)


    PTO wiring.png
 

Attachments

  • 20240211_172916.jpg
    20240211_172916.jpg
    203.7 KB · Views: 13
  • 20240211_172908.jpg
    20240211_172908.jpg
    212 KB · Views: 12
Last edited:
***So far***

We have:​
  • Disassembled our mower.
  • Isolated what wires we need (ADC1, GND, 3.3V) and created our pull-down resistor
  • Made our 24" extensions and plugged those into our PTO switch

Mounting -
We are in the home stretch, the next step is mounting the VESCs. I went the more permanent route by making a template, drilling and tapping holes and screwing the VESCs into the aluminum plate next to the stock motor ESCs. This isn't required, you can probably drill a few holes and zip-tie them in.​
Above you can see I added a 12v computer case fan to cool the VESCs and 3D Printed a fan cover out of ASA filament. This part is entirely optional and I will add instructions later for this. You need to tap into the 12v input for the USB plug, drill the hole, mount the fan, print the cover and install everything).
Software/Firmware
Assuming you have everything wired up and mounted correctly, it's time for programming your VESCs so they can tell your motors what to do!

****************************************************************************************
BE CAREFUL BEYOND THIS POINT, YOU NOT ONLY ARE Screenshot 2024-02-20 181217.png
SETTING VOLTAGES/CURRENTS WHICH CAN POSSIBLY START FIRES/SHOCK YOU, YOU WILL ALSO BE TURNING ON YOUR MOTORS THROUGH THIS PROCESS. WATCH OUT FOR SPINNING BLADES AT ALL TIMES
****************************************************************************************


Thinks you'll need:
  • VESC Tools Software - It's weird how they do this, you have to "buy" the free version, go through the whole process, you don't have to enter any payment information in, but once you download it, install it and we are off to the races.

  1. After downloading and installing the VESC Tools apps, you'll want to plug your laptop into the VESC with the provided USB A to USB C cable.
  2. You'll want to power on your mower, be careful that you are free and clear of the blades and that you have the PTO button off (pushed down). Assuming you used the same VESCs as I did you'll see glowing blue lights notifying you that your VESCs have powered on.
  3. You'll have an opportunity now to "connect" to your VESC though the VESC Tools app pressing the button shown with the arrow #1. If connected successfully you'll see your VESC show up in the box with the arrow labeled #2.

    Screenshot 2024-02-20 175817.png
  4. At this point you'll want to follow the manufacturers instructions on how to update your firmware. Follow these instructions carefully, it isn't about getting it updated to the most recent firmware, just the most compatible.

    This link will literally walk you through the entire process.

  5. Motor Setup

    We now need to tell VESC Tool what type of blade motor we are running. I would watch the video below, it will give you the basics on what is needed.

    The pertinent settings are as follows:
    - Generic Usage
    - Large Inrunner (+2000g) (Select YES at the warning)
    - Assuming you swapped to LiFePO4 batteries, select LIIRON
    - Battery Cells Series depends on your battery you have, I have a 48v 100Ah which is 16 cells in series and each cell has a voltage of roughly 3.2v (3.2v * 16 = 51.2v) which is considered a 48v in this case
    - Battery Capacity again is dependent on your battery, in my case 100Ah
    - Our motors are Direct Drive
    - Our motors are 12 Poles
    - ***AT THIS POINT YOUR MOTOR WILL SPIN UP, BE CAREFUL***
    - After your motor is done self testing itself, you'll simply need to select "OK" in the bottom right hand corner. These settings are auto generated based on the unique motor itself. You don't need to change anything here.

  6. Throttle Setup
 
Last edited:
Back
Top