# Picar-X with Ezblock runs right wheel backwards constantly

**URL:** <https://forum.sunfounder.com/t/picar-x-with-ezblock-runs-right-wheel-backwards-constantly/2186>\
**Category:** Robotic kit for Raspberry Pi\
**Created:** [December 26, 2024, 9:20pm UTC](https://forum.sunfounder.com/t/picar-x-with-ezblock-runs-right-wheel-backwards-constantly/2186 "2024-12-26T21:20:23Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![MattZ](https://avatars.discourse-cdn.com/v4/letter/m/ee7513/32.png) [@MattZ](https://forum.sunfounder.com/u/MattZ)\
**Post date:** [December 26, 2024, 9:20pm UTC](https://forum.sunfounder.com/t/picar-x-with-ezblock-runs-right-wheel-backwards-constantly/2186/1 "2024-12-26T21:20:23Z")

</div>

Hi  
I’ve assembled a Picar-X with two installations (two sd cards), one with python and one with Ezblock.  
The python one works perfectly, however the Ezblock version has an odd problem: it defaults to the state of running the right wheel backwards constantly!  
It runs fairly slow, with a whining sound.  
Trying the Ezblock calibration on both my Mac and my iPhone only allows for calibration of the servos as far as I can tell, not the motors. Running the Move sample works, but it reverts to the state if running the wheel backwards when I stop the sample code. Same with reboot.  
Tested running a tiny project with only Stop and Sleep for 3 seconds. It does exactly that, but when done again starts spinning the wheel.  
I would love to admit that I’ve mangled the pin setup, but if that is the case I cannot understand why the samples seems to work.  
Any ideas how to turn off the right wheel when using the Ezblock config?  
Many thanks for all help!!

---

<div class="post-metadata">

**Author:** ![jmtorres22](https://avatars.discourse-cdn.com/v4/letter/j/ba9def/32.png) [@jmtorres22](https://forum.sunfounder.com/u/jmtorres22)\
**Post date:** [December 27, 2024, 1:34am UTC](https://forum.sunfounder.com/t/picar-x-with-ezblock-runs-right-wheel-backwards-constantly/2186/2 "2024-12-27T01:34:11Z")

</div>

I’m experiencing the exact same issue.  
I’m running a Raspberry Pi 4 with the 1.2.3 EZBlock image. I updated the software to 1.2.4 after the 1st connection. It is showing the same behavior before and after the update. It seems to be fine while a program is running, but as soon as it’s idle again, the right wheel slowly spins backwards.

---

<div class="post-metadata">

**Author:** ![MattZ](https://avatars.discourse-cdn.com/v4/letter/m/ee7513/32.png) [@MattZ](https://forum.sunfounder.com/u/MattZ)\
**Post date:** [December 27, 2024, 6:22am UTC](https://forum.sunfounder.com/t/picar-x-with-ezblock-runs-right-wheel-backwards-constantly/2186/3 "2024-12-27T06:22:59Z")

</div>

Yes, I should have mentioned the hardware/software setup, But I have the same as Torres above, with a v2 car shipped just before Xmas.

---

<div class="post-metadata">

**Author:** ![Jpaden](https://avatars.discourse-cdn.com/v4/letter/j/9f8e36/32.png) [@Jpaden](https://forum.sunfounder.com/u/Jpaden)\
**Post date:** [December 29, 2024, 4:52am UTC](https://forum.sunfounder.com/t/picar-x-with-ezblock-runs-right-wheel-backwards-constantly/2186/4 "2024-12-29T04:52:09Z")

</div>

I just completed a build of the Picar-x and have the same issue. The right wheel moves slowly and makes a loud whining noise immediately after startup. It stops after boot, but then starts again after connecting to the car over Bluetooth. When a project is started, the wheel stops squealing. It starts again whenever the program is stopped.

If I swap the motors, it is the other one does the same when connected to Motor2 on the board. I have also not been able to get the spreaker to work using the various example projects. I am using an RPi 3 B with EzBlock version 1.2.4 (upgraded from the 1.2.3 image, same as the OP). I’m using EzBlock studio app 3.2.158 on Android.

---

<div class="post-metadata">

**Author:** ![SunFounder\_Moderator](https://avatars.discourse-cdn.com/v4/letter/s/34f0e0/32.png) [@SunFounder\_Moderator](https://forum.sunfounder.com/u/SunFounder_Moderator)\
**Post date:** [December 30, 2024, 10:28am UTC](https://forum.sunfounder.com/t/picar-x-with-ezblock-runs-right-wheel-backwards-constantly/2186/5 "2024-12-30T10:28:58Z")

</div>

Hi guys, about the issues you mentioned, could you please record the problem video for us to help us analyze and solve the problem? Thanks a lot.  
If the video memory is large, please upload the recorded video to onedrive, please share the video link in a way that anyone can access it (anyone who has the link can access it), not in a way that only specific users can access it.

---

<div class="post-metadata">

**Author:** ![Jpaden](https://avatars.discourse-cdn.com/v4/letter/j/9f8e36/32.png) [@Jpaden](https://forum.sunfounder.com/u/Jpaden)\
**Post date:** [December 30, 2024, 6:41pm UTC](https://forum.sunfounder.com/t/picar-x-with-ezblock-runs-right-wheel-backwards-constantly/2186/6 "2024-12-30T18:41:42Z")

</div>

Here is a video of the problem. This shows the right wheel moving and making noise when a program is not running. It also shows that sounds is not working using one of the example projects. In the video I had the car propped up allowing the wheel to move. When setting it down, the wheel is not moving enough to move the car, but the motor noise increases under the additional strain.  
[https://1drv.ms/u/c/c0c9db5aac18085f/EaLYFWVNBJ5NkfI0lLf4IqYB3-WlSaqmirmnyGjRYw8o2Q](https://1drv.ms/u/c/c0c9db5aac18085f/EaLYFWVNBJ5NkfI0lLf4IqYB3-WlSaqmirmnyGjRYw8o2Q)

---

<div class="post-metadata">

**Author:** ![MattZ](https://avatars.discourse-cdn.com/v4/letter/m/ee7513/32.png) [@MattZ](https://forum.sunfounder.com/u/MattZ)\
**Post date:** [December 30, 2024, 7:16pm UTC](https://forum.sunfounder.com/t/picar-x-with-ezblock-runs-right-wheel-backwards-constantly/2186/7 "2024-12-30T19:16:31Z")

</div>

Thanks, didn’t get around to finding an online video storage. Looks like it does for me, also I notice that it now spins forward. Uninitiated variable?

Anyway, I should add that apart from the wheel problem the kit is great!

---

<div class="post-metadata">

**Author:** ![jmtorres22](https://avatars.discourse-cdn.com/v4/letter/j/ba9def/32.png) [@jmtorres22](https://forum.sunfounder.com/u/jmtorres22)\
**Post date:** [January 2, 2025, 5:59am UTC](https://forum.sunfounder.com/t/picar-x-with-ezblock-runs-right-wheel-backwards-constantly/2186/8 "2025-01-02T05:59:01Z")

</div>

I modified the init method in picarx.py to call the stop method after initializing the calibration values. This seemed to fix the issue for now.

The file was on the pi filsystem in /opt/ezblock/. The files in this folder seemed to have diverged from [ezb-pi/workspace at master · ezblockcode/ezb-pi · GitHub](https://github.com/ezblockcode/ezb-pi/tree/master/workspace) which has the original source for those files.

---

<div class="post-metadata">

**Author:** ![SunFounder\_Moderator](https://avatars.discourse-cdn.com/v4/letter/s/34f0e0/32.png) [@SunFounder\_Moderator](https://forum.sunfounder.com/u/SunFounder_Moderator)\
**Post date:** [January 2, 2025, 11:17am UTC](https://forum.sunfounder.com/t/picar-x-with-ezblock-runs-right-wheel-backwards-constantly/2186/9 "2025-01-02T11:17:29Z")

</div>

We have fixed the problem, we have updated the ezblock OS image version, the latest version is 1.2.5  
After your APP is successfully connected to the picar-x product, you will be prompted to update the firmware, you update the ezblock OS version to version 1.2.5, and then go to run the example to see how it works.

---

<div class="post-metadata">

**Author:** ![MattZ](https://avatars.discourse-cdn.com/v4/letter/m/ee7513/32.png) [@MattZ](https://forum.sunfounder.com/u/MattZ)\
**Post date:** [January 2, 2025, 7:28pm UTC](https://forum.sunfounder.com/t/picar-x-with-ezblock-runs-right-wheel-backwards-constantly/2186/10 "2025-01-02T19:28:34Z")

</div>

Appreciate the quick response! It solved the problem for me!

Having fun with the car now!

---

<div class="post-metadata">

**Author:** ![jmtorres22](https://avatars.discourse-cdn.com/v4/letter/j/ba9def/32.png) [@jmtorres22](https://forum.sunfounder.com/u/jmtorres22)\
**Post date:** [January 3, 2025, 9:12pm UTC](https://forum.sunfounder.com/t/picar-x-with-ezblock-runs-right-wheel-backwards-constantly/2186/11 "2025-01-03T21:12:40Z")

</div>

Thank you. This update fixed the wheel issue for me as well as the speaker issue I’ve been having.

---

<div class="post-metadata">

**Author:** ![bobmc942](https://avatars.discourse-cdn.com/v4/letter/b/ecccb3/32.png) [@bobmc942](https://forum.sunfounder.com/u/bobmc942)\
**Post date:** [January 4, 2025, 10:06pm UTC](https://forum.sunfounder.com/t/picar-x-with-ezblock-runs-right-wheel-backwards-constantly/2186/12 "2025-01-04T22:06:33Z")

</div>

I have the same problem and went to your link but the version still appears to be the old one  
1.2.3  
Is there another link?

 ![image](https://canada1.discourse-cdn.com/flex029/uploads/sunfounder/original/2X/7/7ef6115913dfcefe9bf7b3b819a961b856c05292.png)

---

<div class="post-metadata">

**Author:** ![SunFounder\_Moderator](https://avatars.discourse-cdn.com/v4/letter/s/34f0e0/32.png) [@SunFounder\_Moderator](https://forum.sunfounder.com/u/SunFounder_Moderator)\
**Post date:** [January 7, 2025, 3:21am UTC](https://forum.sunfounder.com/t/picar-x-with-ezblock-runs-right-wheel-backwards-constantly/2186/13 "2025-01-07T03:21:22Z")

</div>

The mirror link for the tutorial is for the 1.2.3 version of the system, after you download and install it to the SD card, start picar-x and APP connection, there will be a pop-up window for you to update the version, currently the latest version is version 1.2.5.

---

<div class="post-metadata">

**Author:** ![bobmc942](https://avatars.discourse-cdn.com/v4/letter/b/ecccb3/32.png) [@bobmc942](https://forum.sunfounder.com/u/bobmc942)\
**Post date:** [January 8, 2025, 6:59pm UTC](https://forum.sunfounder.com/t/picar-x-with-ezblock-runs-right-wheel-backwards-constantly/2186/14 "2025-01-08T18:59:35Z")

</div>

I updated to version 1.2.5 and the wheel turning issue was fixed but … now my remote devices will not connect to the Picar-X. When I select connect the Bluetooth connection sees the Picar-X but when selected it errors out and says try again - but no luck. This happens on both my Apple Ipad and my Android phone.

EZBlock does connect using the IP address from a PC

Please advise a solution

Thanks

---

<div class="post-metadata">

**Author:** ![bobmc942](https://avatars.discourse-cdn.com/v4/letter/b/ecccb3/32.png) [@bobmc942](https://forum.sunfounder.com/u/bobmc942)\
**Post date:** [January 9, 2025, 12:44am UTC](https://forum.sunfounder.com/t/picar-x-with-ezblock-runs-right-wheel-backwards-constantly/2186/15 "2025-01-09T00:44:56Z")

</div>

The update worked and the wheel stopped turning on its own.

The remote units (Ipad and Android phone) stopped connecting after the upgrade however (bluetooth errors)

My PC does connect through the IP address

Somehow the upgrade impacted the Bluetooth

Please advise the fix

Bob

---

<div class="post-metadata">

**Author:** ![SunFounder\_Moderator](https://avatars.discourse-cdn.com/v4/letter/s/34f0e0/32.png) [@SunFounder\_Moderator](https://forum.sunfounder.com/u/SunFounder_Moderator)\
**Post date:** [January 9, 2025, 10:21am UTC](https://forum.sunfounder.com/t/picar-x-with-ezblock-runs-right-wheel-backwards-constantly/2186/16 "2025-01-09T10:21:14Z")

</div>

After you reinstalled the 1.2.3 version of ezblock OS and went to connect with the app, you could not search for a connection to Bluetooth; or is it that after the 1.2.3 version of ezblock OS connected successfully with the app, and then after updating the version to 1.2.5, and then went to connect with the app, you could not search for a connection to Bluetooth?  
We have tested both the new version and the external bluetooth version of robot-hat , both work fine:  
We have not reproduced the problem, please take a picture and tell us what robot\_hat appearance you are using, alternatively you can log in to the Raspberry Pi using ssh and run ezlock-service using the command to see the run log:  
sudo systmctrl stop ezblock  
sudo ezblock-service  
Please send us the runtime logs

Also consider that it may be a problem on the mobile side, please open the Bluetooth settings of your mobile system, unpair the ezlock Bluetooth device, and then go to the APP to reconnect and see how it works.

---

<div class="post-metadata">

**Author:** ![bobmc942](https://avatars.discourse-cdn.com/v4/letter/b/ecccb3/32.png) [@bobmc942](https://forum.sunfounder.com/u/bobmc942)\
**Post date:** [January 9, 2025, 6:20pm UTC](https://forum.sunfounder.com/t/picar-x-with-ezblock-runs-right-wheel-backwards-constantly/2186/17 "2025-01-09T18:20:13Z")

</div>

Thank you for trying to assist me.

I think I have found the problem

My Apple Ipad remembered the Bluetooth settings for the previous EZBlock version (even though it was not connected)

I told Apple to forget the settings and then connected through the app and it worked.

Again - I appreciate your efforts to help me - it means a lot to a customer like me

Thanks  
Bob
