alberto_rossi
Hi everyone. I've been trying for a few days to program a connection between the Arduino Opta and the Arduino Cloud, using the Cloud_begin function blocks etc. I'm definitely doing something wrong... my bad :-) but after loading the device, the moment the function block starts Cloud_begin the device goes into exception and stops the program. Has anyone tried this feature yet? thanks for your reply, greatings from Italy
Reply 0 0
thiagoralves
Hi Alberto,
 
There is a chance those blocks are broken on the Opta. I've tested them on the Nano 33 IoT and ESP8266. It should work on the Opta as well, but maybe it requires a minor tweak. Just a quick question, do you have Modbus TCP enabled when you're trying to use those blocks?
Reply 0 0
alberto_rossi
Hi Thiago thanks for quickly reply :-), i've tried all the possibility, whit modbus tcp, eth or wifi, also whit or without serial modbus, nothing change, but i think i have not understood how set. or place the cloud begin block, followin the istruction of the fb say to place before add variables to exchange ...... i've tried to place in a second pou ciclic or on interrup, this mode dont block the cpu but not connection with the cloud
canu you share your experience with the nano here may be a pics?
thanks a lot 
Reply 0 0
thiagoralves
Try the Arduino Cloud example that comes with the Editor on File -> examples. Upload the project WITHOUT Modbus TCP or Modbus Serial enabled and check if that works
Reply 1 0
alberto_rossi
Tried but not working again, say me please: on the cloud_begin fb, the Thing_id is the nomber generate for the device? or is the thing name on arduino cloud?
the SSID is the name of my wifi  and the pass is the password of my wifi network?
Reply 0 0
thiagoralves
Thing id is a number for your device generated on the Arduino cloud. Ssid and pass are your WiFi config
Reply 0 0
alberto_rossi
ok thanks, so i think thats this fb isnt compatible with opta board :-(
Reply 0 0
thiagoralves
You can try using the Arduino sketch extension and then add the Arduino cloud code manually 
Reply 0 0
NutTecho
Hi Alberto,
 
There is a chance those blocks are broken on the Opta. I've tested them on the Nano 33 IoT and ESP8266. It should work on the Opta as well, but maybe it requires a minor tweak. Just a quick question, do you have Modbus TCP enabled when you're trying to use those blocks?
Hello. I try to use ESP8266 with ArduiniCloud function but not connect. I have check on code example in editor/example it not have to set secret key.
Cloud you update code in function block to set secret key & ID or tell me how to build new function block.ScreenShot_08_05_2024_6_48_13_PM.png
Reply 0 0
thiagoralves
Have you tried using your secret device key on the thing id input of the cloud begin block?
Reply 0 0
NutTecho
Have you tried using your secret device key on the thing id input of the cloud begin block?
I have too. But still not work because default code in example use setThingId only but sketch file from arduino cloud use
setBoardId and setSecretDeviceKey.
[203128%2F8925122%2Fmceclip0]
 
Reply 0 0
thiagoralves
So they’ve changed the API then, which means that the blocks must be updated to comply with that. I’ll se if I can work on that and let you know
Reply 1 0
Reply