WROMagnet / Magnet-Robots

WRO FUTUROS INGENIEROS
3 stars 0 forks source link

Find solution for the sensor Day #29 #55

Closed WROMagnet closed 3 months ago

WROMagnet commented 3 months ago

Today, May 3, 2024, we will be in the workshop seeing how we can mix color programming with autonomy.

WROMagnet commented 3 months ago

We have a problem that until now we have never had before. When we tried to pass the program from the color sensor to the prizm, this time it did not let us pass the programming and we got an error in the ARDUINO IDE that said that the port entry was denied.

Image

We will see how we can find error information.

WROMagnet commented 3 months ago

We have tried all types of drivers that we have available but we get the same error. The drivers we used were these below.

Image

Image

Image

The only controller that we were able to program with the color sensor code was the ARDUINO UNO. We have an idea, since the only controller that accepted the programming was the ARDUINO UNO, well, let's see if we can make it so that when the arduino UNO registers the color, it sends a pulse on one of its pins and that pin has a cable and the prizm when it registers The fact that a pulse has been received in the port activates a programming that in this case would be to rotate to one side.

WROMagnet commented 3 months ago

One view we have about this idea is something like this.

Image

The ports that we will use on the Arduinos will be:

We will use the analog ports of the prizm to record the pulse of the arduino.

With this we conclude this day. Tomorrow we will be at the polytechnic and there we will be mounted on the Arduino in the robot and connected to the PRIZM.