Getting started with mBot and a Mac


#34

I found your earlier post re: drivers on Mac

Terminal is absolutely uncharted area for me. I tried and still couldnā€™t connect!!! Grrr! See below


#35

Hi @Oliver_Li,

Terminal is the easiest way for me (Iā€™m an old Unix guy though). Hereā€™s the best I can do for a step-by-step:

  1. Open the Terminal
  2. Change to the extensions library: cd /Library/Extensions
  3. Run the following command (you will be prompted for your login password*):

sudo find /System/Library/Extensions/ /Library/Extensions/ -name osx-pl2303.kext -o -name osx-ch341.kext -o -name usb.kext -o -name ProlificUsbSerial.kext -o -name ch34xsigned.kext

This will show whether you have any conflicting serial drivers.

After installing the WinChipAhead driver, you should only see usbserial.kext in the /Library/Extensions directory. If you see anything like ProlificUsbSerial.kext or something else with USB in the name, I would suggest that you move them to a temporary folder in your home directory. A reboot should ensure that the correct driver is loaded on your system.

From there you should be able to connect the mBot with the USB cable, turn on the mBot, and then connect via the serial port on /dev.tty.wchusbserial410.

  • You must have administrator rights to do this

#36

@chuckmcknight Many thanx for thisā€¦I almost gave up! Tried with wifeā€™s Dellā€¦Unfortunately the laptop is a company one and we donā€™t have authority to install any software.


#37

Hi Chucky, how do I do the step #2?
Just type cd /Library/Extensions and return?
Still not good!


#38

Install this?!


#39

Not showing at all :frowning:


Mbot/osx problems: upgrade firmware not working
#40

Hi @Oliver_Li,

Yes, once you open the terminal you are working at the Unix shell (command line), so you will need to type in cd /Library/Extensions to change to that directory.

To see if the directory is there, you can type: ls

This works the same as dir under Windows. If the extension is installed, it will have a subdirectory (mine is named usbserial.kext). If not, double-click the CH34xInstall.pkg (make sure itā€™s the one from the sengotta blog) to install it, then recheck using ls.

Hope this gets you further along.


#41

@chuckmcknight We did it! Thank you so much! Internet is becoming a better place because of you!
(Will bother you againā€¦maybe!)


#42

@chuckmcknight The driver seems not ā€œstableā€. After initial success, the driver is then gone! I canā€™t see it under the directory! I tried to install it again and it wonā€™t appear under the directory which means the driver is not properly installed. Anyway the program we did is follow the line.


#43

@chuckmcknight very frustrated! Not available again!!


#44

@chuckmcknight had an one-on-one session with customer care people using Chinese social media Wechat. Found the problem! I have to switch on the mbot to get the connection!

My other question for you is: do I need to wipe off the previous code that was uploaded to the mbot? Seems my mbot is not doing well at avoiding obstacle. Cheers!


#45

Hi Oliver,

You can reset default program and see if the avoiding obstacle work properly.


#46

How do you do that? Thx


#47

Hi Oliver,

Please refer to the steps in this link: http://forum.makeblock.cc/t/mbot-enginge-selectively-shutting-down/4350/2
Since you have Mac PC, please pay attention to Note part.

Any more issue, please send email to tec_support@makeblock.cc


#48

Are you Kevin?
Just tried and found the reset choice is not availableā€¦(in grey, not black). Do I need to start a new project?


#49

Hi Oliver,

I am Daisy from Makeblock.

Are both the options grayed out (Reset Default Program, Upgrade Firmware)? Did you choose the mBot as Board and chose the correct serial port for mBot? Kindly send a picture.


#50

Hi @Oliver_Li,

To reset the mBot to factory default, you will need to have the mBot turned on and connected to mBlock. When you have properly connected the mBot, click the Connect menu. The upgrade firmware and Reset Default Program menu options should be available at this point. I usually upgrade the firmware followed by resetting the default program to ensure that everything is properly cleared out of memory. Normally the contents of the mBotā€™s memory will be overwritten when you upload a program, but sometimes there appears to be residual data that just needs to get flushed out.

Hope this provides some help.

Chuck


#51

Hi Daisy, I found the problem why the choice is not available - 'coz the mbot is not connected to the computer. However, after I did all the above (update firmware and reset to default setup), the mbot is not working properly (Supposed to avoid obstacle, but it acted strangely, the previous program of following the line didnā€™t work either) @chuckmcknight


#52

Hi Oliver,

While you reset default program for mBot, you connect the computer to mBot with USB cable or Bluetooth?
Please note: the bluetooth connection is only for wireless program. If you want to upgrade firmware or Restore default program for mBot, please disconnect the bluetooth connection and connect the mBot to PC with USB cable.


#53

OK, will try it again! Thx!