Forum.

 

Need help or have a question? Join the conversation in our community topics and share your ideas, tips, or challenges—we’d love to hear from you! Before posting, be sure to check our

 

?

Notifications
Clear all

🎮❓How to use the webcontrol

9 Posts
5 Users
1 Reactions
6,123 Views
Ivan Artiles
(@ivanr3d)
Active Member
Joined: 3 years ago
Posts: 13
Topic starter  
  1. Set your Otto robot
    First, make sure you have Micropython installed and all the necessary files to control the components of the robot. If you check the files into your robot (you can check it on webcode after connecting your robot, click config icon and then Files in Otto), you must have: 
    - boot.py
    - ledmatrix.py (if you will use LED screen)
    - ottobuzzer.py
    - ottoledmatrix.py (if you will use LED screen)
    - ottomotor.py
    - ottoneopixel.py
    - ottooled.py (if you will use OLED screen)
    - ottosensors.py 
    - ssd1306.py (if you will use OLED screen)

    If any of these files are missing in your robot, make sure to install them by clicking the option Update Libraries in webcode. If you have any problem getting some files, feel free of drop a comment here, a message to me or contact official support team.

  2. Upload the webcontrol code as main.py
    To use the control, you will need an extra code to connect the robot via BLE to the app, with the most recent update of webcontrol now you can directly upload it from it. 
    - Go to the app: webcontrol.
    - Click the yellow button (the one with the plug icon) and select your robot usb.
    - It will appear a popup, click the button "Upload code".
    - Now it will start to upload the code, this process can take around 2 minutes.
    - After it, if you check the files in your robot (as we talked in the step 1) you should have a new file: main.py with the webcontrol code. If you don't have the file, it could occurs a problem during the upload, please repeat the process of this step to make sure. If after a second try it doesn't work, feel free of drop a comment here, a message to me or contact official support team.

    If everything was right, turn off and back on your robot and the ring in the top should start blinking in blue, as well as the buzzer will start making sounds. 

  3. Connect the robot to the app via BLE
    - With the robot blinking in blue, click the bluetooth icon in the app (currently in red color) and select your robot (it should be appear a popup with all the available bluetooth devices. One of those must be "Otto Starter").
    - After clicking connect, the robot should stop blinking, make a sound of connecting and a popup in the app should display the message Connected! for around 2 second. The bluetooth icon should be in green color.

Great! Now just use the control and have lot of fun playing & learning with Otto! I will be glad to know if this small guide helped you, so feel free of let some comment here. :) If you have any issue with the process, you are also welcome to comment with your issue so the community can help! 



   
Camilo reacted
Quote
(@gminecrafter487)
New Member
Joined: 3 years ago
Posts: 2
 

When I try to connect otto by Bluetooth it does not show.

Why is that? 



   
ReplyQuote
Ivan Artiles
(@ivanr3d)
Active Member
Joined: 3 years ago
Posts: 13
Topic starter  

Posted by: @gminecrafter487
↑

When I try to connect otto by Bluetooth it does not show.

 

Could you explain a bit more of your situation please? 

What doesn't show? The popup prompt with the devices or the robot name? 

When you turn on your robot, it is blinking a blue light on top while making a sound every time the light turn on? 

Which device and browser are you using to access the app?

The answers to these questions can help to figure out what's happening.



   
ReplyQuote
(@jsww123)
New Member
Joined: 11 months ago
Posts: 1
 

I think the main problem here is here to get all the files to upload it to the Otto. Could you give us a link as to where to get all the.py extensions?



   
ReplyQuote
Camilo
(@cparrapa)
Developer Admin
Joined: 3 years ago
Posts: 112
 

@jsww123 good point

the source code is here hprobots.com/otto-code/webcontrol/uploader/main.txt
but you can also use the upload button or this webtool to upload the code as preparation for the robot HP Robots Example Codes



   
ReplyQuote
(@viktor-zalud)
Active Member
Joined: 11 months ago
Posts: 6
 

I make update of webcode from example (in link above), but I am not able to se OTTO robot in bluetooth devices so I am not able to connect it



   
ReplyQuote
Camilo
(@cparrapa)
Developer Admin
Joined: 3 years ago
Posts: 112
 

Hi @viktor-zalud

We are making a transition to a new mobile app, that makes this connection much easier, for now is on beta but let me know if you want to try it and I can add you.

 



   
ReplyQuote
(@viktor-zalud)
Active Member
Joined: 11 months ago
Posts: 6
 

yes, I want to try it :-)....I am in :-)



   
ReplyQuote
Camilo
(@cparrapa)
Developer Admin
Joined: 3 years ago
Posts: 112
 

Great I will email you the details @viktor-zalud



   
ReplyQuote
Scroll to Top
This will be available with the release of this product.