Closed WROMagnet closed 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.
We will see how we can find error information.
We have tried all types of drivers that we have available but we get the same error. The drivers we used were these below.
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.
One view we have about this idea is something like this.
The ports that we will use on the Arduinos will be:
Digital (10) in output = connected to Digital (15) of the PRZM.
Digital (12) in output = connected to Digital (16) of the PRIZM.
5V = connected to the VIN of the sensor.
Graw = connected to the GRAW of the sensor.
Analogue (4) = connected to the SDA of the sensor.
Analogue (5) = connected to the SCL of the sensor.
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.
Today, May 3, 2024, we will be in the workshop seeing how we can mix color programming with autonomy.