Hi all,
I did lots of test codes using Arduino Lab for Micropython to program Arduino Alvik during last few days. I used Nano ESP32 onboard Leds (as outputs) along with Alvik touch buttons (as inputs) and Alvik left & right Leds (as outputs) to test.
And then I found the following.
I can import user defined module/s, into a user program (code), which has/have function/s (that take input arguments), and return a value. They are working as expected.
Everything is working fine as long as the Alvik is connected to Arduinos' Micropython Lab using the USB cable.
However, if click the “Reset” button (even with the USB cable is still connected), the program is working well with ESP32, with Alvik touch buttons and ESP32 LEDs.
But after pressing the “Reset” button Alvik Left and Right LEDs are not working. But if I replace the Alvik LEDs with ESP32 LEDs (in that part of the code) they are working.
And then I checked the Alvik firmware version on my robot, using the following code:
from arduino_alvik import ArduinoAlvik
alvik=ArduinoAlvik()
version = alvik.get_version() # Returns the firmware version
print("Alvik Firmware Version:", version)
It could not find the version and says “None”
And when I click “Reset” button some times I get the following error message too.
“ MPY: soft reboot
Could not get FW version
Traceback (most recent call last):
File "main.py", line 2, in
File "alvik_Buttons_LEDs.py", line 13, in
File "/lib/arduino_alvik/arduino_alvik.py", line 292, in begin
Exception:
********** PLEASE UPDATE ALVIK FIRMWARE (required: 1.1.1)! Check documentation ********** ”
I updated the Alvik using online Arduino Alvik Updater.
But the issue still remains the same!
Thank you in advance for any feedback!
Thank you.