EdCrane program activates both motors | EdScratch programming | Forum

Please consider registering
sp_LogInOut Log In sp_Registration Register
Register | Lost password?
Advanced Search
Forum Scope


Forum Options

Minimum search word length is 3 characters - maximum search word length is 84 characters
EdCrane program activates both motors
February 7, 2019
8:18 am
New Member
Forum Posts: 2
Member Since:
September 2, 2018
sp_UserOfflineSmall Offline

My daughter has just assembled the EdCrane and programmed her Edison robot with the sample program.…..e=5DMQ3XDw

She used the barcodes to set up four arrow buttons on our remote control.

Up arrow = remote button 1

Down arrow = remote button 2

Right arrow = remote button 3

Left arrow = remote button 4

After getting everything set up, two of the buttons work as expected, and two do not.

Up arrow: spins right motor forwards, but also left motor backwards

Down arrow: spins right motor backwards

Right arrow: spins left motor backwards, but also right motor backwards

Left arrow: spins left motor forwards

We’ve tried the default program. We’ve tried adding some blocks to stop the other motor. We can’t get the motors to behave independently of each other.

Any suggestions on how we can debug this?

February 7, 2019
10:23 am
Forum Posts: 180
Member Since:
August 24, 2015
sp_UserOfflineSmall Offline

Hi Jonathan,

Below I have attached a program that I wrote which I have just tested and can confirm it works correctly.

There are a few differences in the code that we have produced. The structure that you had in your program looked correct to me, I have just brought it all back to the main line instead of having it in the event. I also clear the remote code data every time the Edison receives a new message.…..e=rDG1gk0a

February 9, 2019
12:09 pm
New Member
Forum Posts: 2
Member Since:
September 2, 2018
sp_UserOfflineSmall Offline

Thank you, Isaac. I still can’t figure out why the original version didn’t work for us, but your code does resolve our issue.

February 19, 2019
12:33 am
New Member
Forum Posts: 1
Member Since:
February 19, 2019
sp_UserOfflineSmall Offline


I have a small STEM group that all built the crane as well, and they all worked the same way that Jonathan described.  I’ve tried Isaac’s code, and that also did not resolve the dual motor running issue.  Anyone out there have any other troubleshooting thoughts?

*edit*  Never mind, I just found my answer, after programming the robot, you must press the ‘play’ button to run the code.  Hope this edit helps someone else.

Forum Timezone: Australia/Adelaide
Most Users Ever Online: 19
Currently Online:
Guest(s) 2
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Texas: 27
MAX: 16
edison101: 15
gloriacoding: 13
arvin-edison: 12
Caleb: 12
rino.sardon: 10
David: 9
djosh: 8
demetraorth: 7
Member Stats:
Guest Posters: 0
Members: 4540
Moderators: 1
Admins: 5
Forum Stats:
Groups: 3
Forums: 12
Topics: 280
Posts: 774
Newest Members:
Amy, monetize, Francisco Orta Soler, Carrol, Martin, Corey, Marissa, bilqees, Blake, caidan
Moderators: Test Moderator: 0
Administrators: Tony: 0, Brenton O'Brien: 3, Ben: 180, Sean Killian: 0, Adrian Herber: 23
  • Keep up with Edison

    Sign up for our newsletter to get all things Edison delivered straight to your inbox.

  • This field is for validation purposes and should be left unchanged.

Heads up

The Australian Federal Parliament has passed a law that extends goods and services tax (GST) to low value imports of physical goods imported by consumers from 1 July 2018.

This means that all customers purchasing Edison robots and accessories with an Australian shipping address must now pay GST. The GST will be automatically added to your purchase and show as a line item on your invoice.

We've detected that you are in Australia, so we wanted to let you know that we have changed your settings to view our Australian site, which displays GST inclusive pricing.

You can change back to the GLOBAL SITE at any time using the link in the top left of the page.

OK got it!    Take me to the GLOBAL SITE instead

Pin It on Pinterest

Share This