Hey guys,
I am new to MIT App Inventor community and app development in general. I have a question about the bluetooth client. I was trying to follow along with a robotics project which has an MITApp Inventor component and I wanted to add some functionality to the robot to make it unique to me. The robot works by assigning a specific number to certain commands such as “move forward” or “turn left 90 degrees” and then using an app to send these number to the robot so that it can follow instructions. The original app has numbers 0-17 assigned to certain commands. When I try to add more number to add more functions those command do not work on the app and will not write to the Arduino. Does this have to do with the way bytes are received and sent in my blocks? How would I go about increasing the total number of commands I can send? or am I way off base and is there is another issue at play here?
Your personal AI2 project URL won’t work for other AI2 accounts.
Export the .aia Project file to your github too.
See https://github.com/AGetzler/eight_queens_generic for how to share
an AI2 project in github. The blocks are draggable because they were individually
downloaded as pngs using the native AI2 facility.
Also, see if you can add a clause to your case statement to cover unexpected values,
for diagnostic purposes.
What is the URL of the original working project?
Compare the BlueTooth Delimiter values between the two projects.
Did you succeed in getting the original project to work as App Inventor project?
That should be the first thing to make sure before you try to expand it.
Cheers, Ghica.
Wouldn’t this mean that I shouldn’t have been able to use any of my buttons at all? I’m only having issues with certain ones. I posted a video in response to another poster’s question where I use some of the buttons to control the robot’s movements. These are the buttons that the original user created and they work just fine. I tried to emulate what he did for his working buttons and created new ones to control the auger and linear actuator on the robot but these buttons did not work. I’ll try your suggestion with the clock out though.