qwerty
Hi, i'm currently trying to reproduce the laboratory mad in this video: https://www.youtube.com/watch?v=dQ8GcfpGDuA.
Instead of the Arduino UNO, i'm using the a board compatible with ARDUINO UNO R4 WiFi.
I've installed in the board the runtime firmare and connected to correctly with the Raspberry PI (Runtime logs say "Connected to MB device test" and the TX/RX led are blinking).
In the following picture the setup.
project.jpg
What am i missing?
 
Thanks for the kind reply.
Reply 0 0
qwerty
Here the slave device configuration using the UNO slave configuration:
[203128%2F9629220%2Fmceclip0]
Reply 0 0
qwerty
Here the code for the openplc runtime:
[203128%2F9629221%2Fmceclip0]
The led is connected to PIN13 in the arduino board.
Reply 0 0
thiagoralves
I don’t know what you’re missing. From your explanation it looks like it is working
Reply 0 0
qwerty
i cannot understand why is not working. Also in the monitoring when i press the button i can see the change state of the led but the slave device is not sending the signal to the led.[203128%2F9629234%2Fmceclip0]
 
Is the arduino UNO configuration the same for the arduino uno r4 wifi? Maybe i'm doing something wrong with the addressing...
Reply 0 0
thiagoralves
You might have missed to add the pins to the Arduino on the pin mapping section. If you haven’t added any pins to the Arduino program then your Arduino won’t control any pins.
Reply 0 0
qwerty
May i ask you a screenshot on how to configure it properly? I'm currently using pin 13 to control the led.
Reply 0 0
qwerty
I've found the pin mapping session and configure it properly. Now it works! Thanks for the help! 🙂
Reply 1 0
Reply