My remote control for my mBot doesn't work! Why?


#1

I’ve implemented two code snippets: one, which allows to move the mini gripper (color–clear, attached to a few servos) to open/close and the other one, which moves the robot (forward/backward/sides). Is there any way I could load both fragments to be able to move the robot and operate the gripper independently from different buttons of my remote?


#2

Hi eaneyman,
Please kindly offer more information about the issue.
What is the robot kit you are using? And the gripper? Pictures will be useful.
Are you using mBlock or Arduino?
Remote means Bluetooth remote controller or IR controller?
Show us the two code snippets you implemented please.
Once you upload the codes, what is the result? Can take a video of that?
Please be more detailed to describe your expectation from the codes.
Thank you!


#3

@tech_support is spot on with the request to see the code snippets.

In general, if you are working in the mBlock environment, you would need to create a program that has both snippets and assign each one to a button on the remote. Likewise you would need to create an Arduino sketch that essentially does the same thing if you are working in the Arduino environment.

Also, it is generally speaking a Good Idea™ to include the following information when asking for this type of help:

  1. What operating system are you using?
  2. Are you programming in mBlock (which version) or Arduino?
  3. What robot kit are you using?
  4. Code snippets, examples, etc.
  5. Wiring information (what port are the various devices attached to)

Screen shots of misbehaving code or hardware are also helpful. :slight_smile:


#4

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.