![Image for Pesho Bot With Two Bars Lifting Mechanism Controls With Modkit](https://d2nmr6p48f8xwg.cloudfront.net/content_pictures/pictures/000/002/097/905468bb3fa23ab534b6192b719590d21a5e9bcbVEX-Robotics-Pesho-Bot-With-Two-Bars-Lifting-Mechanism-Controls-With-Modkit.png)
Pesho Bot With Two Bars Lifting Mechanism Controls With Modkit
This is a program that sets the VEX IQ Controller to control the Pesho Bot With Two Bars Lifting Mechanism Controls.
- #a6hrcz
- 01 Jan 2019
This is a program that sets the VEX IQ Controller to control the Pesho Bot With Two Bars Lifting Mechanism Controls.
The block has one parameter for the port where the medium motor is connected.
This is a simple program that shows how does the "publisher" in MQTT server model works. It publish "On" as a message on a server with IP address 192.168.1.105. Be carefull, we have already installed an instance of MQTT server on your Raspberry. And it lives on your Raspberry so the server has the same IP addres as the Raspberry. This means that you have to replace the IP addres in the program, with the addres of your Raspberry. If you forget it you can type "ifconfig" in the command promt and search for the "inet" line.
wlan0: flags=4163 mtu 1500 inet 192.168.1.105 netmask 255.255.255.0 broadcast 192.168.1.255
The name of the client in this case is "Publisher 1" and the message is posted under the topic "Air Conditioner".
This is a simple program that shows how does the "subscriber" in MQTT server model works. It's a little bit more complicated than the "publisher" but it is still the basic things you need to know. As in the publisher we have an IP address which you have to edit to your case, for more explanation you can see this program. It also have a Client instance, but this time we have to "subscribe", not to "publish". The more complicated thing here is that we have one function called "on_message". It prints the topic and the message, which is posted. Our client is subscribed to topic "Air Conditioner" respectivly the printed topic always will be "Air Conditioner". The function is called every time when somebody post a message on this topic. For this purpouse we have the "on_message", which actually catches the messages. For now we'll not discuss what magic stands behind the "on_message". The last thing you need to know is the infinite loop which we start, because our "subscriber" have to check non-stop for messages.
This is a program that sets the VEX IQ Controller to control the Pesho Bot chassis.
Playing Football with robots is extremely fun. It could be part of the classes, it could be part of demonstration days. This is a EV3 LEGO Mindstorms Project including the programs for controlling the WRO Football Striker and the WRO Football Goalkeeper, as well as all of the necessary My blocks.
These are the programs for our boxing robots and their Joysticks. They are made for a game of two fighters with their respective joysticks, fighting until one is knocked out or its "heart" touch sensor is punched by the other robot. The fighters require the two "leg" motors to be connected on ports B and C and the hand medium motors on port D. The touch sensors should be connected on port 1, however keep in mind that the game may be better without them. The distance sensor has no purpose in the program as it is used only for aesthetics. The joysticks require the motor for forward and backward to be connected on port B and the motor for left and right to be connected on port A. The touch sensor operates the hands and must be connected on port 4.
Part of the Perfect STEM course, you should have a Raspberry Pi, a button connected on GPIO 26 and 3.3V, and two motors connected to GPIO 27, GPIO 22, GPIO 23 and GPIO 24.
Part of the Perfect STEM course, you should have a Raspberry Pi and a HC-SR04 distance sensor connected to 5V, GPIO 5, GPIO 6 and GND.
Part of the Perfect STEM course, you should have a Raspberry Pi and an LED connected on GPIO 18 for this example to work.
Part of the perfect STEM course, this program needs a Raspberry Pi, a button connected on GPIO 26 and 3.3V, and an LED connected to GPIO 18.
The block has the following parameters from left to right:
The block has the following parameters from left to right:
EV3 PLF-block for LEGO front-wheel steered robots. The block has two relaxation coefficients – one for steering to the left and one for steering to the right. The aim is to make the robot follow a line smoothly when the color sensor is positioned closer to one of the wheels.
The block has the following parameters from left to right:
Example of making turn using the steering option of the move block
This is an EV3-G block for displaying the values of array cells in an EV3-G program.
The project contains two programs, which are demos of the blocks for displaying Boolean and numeric arrays.
You can import that blocks in your programs. They are designed to show you in real time what are the values in your array and let you go to the next bit of your program. The blocks operate with the UP and DOWN brick buttons to iterate through the array. And the CENTER brick button to advance to the program.
The blocks are very useful for students to show them in real time what values they have stored in their arrays. Because there is no easy way to see real-time what the values are in the array even if it contains only a few elements.
The block shows you how many elements there are in the arrays and the values in the following way:
Proportional implementation for keeping the LEGO Mindstorms robot straight. The program will take the value of the Mindstorms Gyro sensor and will apply this value to the steering block. This will make the robot steer in a direction that would put the robot in a straight position again.
In this program, we return the robot to a straight orientation at the end of the program. If there is not enough time for the Mindstorms Gyro sensor the correct the orientation of the robot before the end of the program, then we should do it at the end.