An open API service providing repository metadata for many open source software ecosystems.

GitHub / arduino / arduino-alvik-mpy

Alvik Robot library

JSON API: http://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arduino%2Farduino-alvik-mpy
PURL: pkg:github/arduino/arduino-alvik-mpy

Stars: 18
Forks: 5
Open issues: 2

License: mpl-2.0
Language: Python
Size: 359 KB
Dependencies parsed at: Pending

Created at: almost 2 years ago
Updated at: 3 months ago
Pushed at: about 2 months ago
Last synced at: about 2 months ago

Commit Stats

Commits: 188
Authors: 4
Mean commits per author: 47.0
Development Distribution Score: 0.128
More commit stats: https://commits.ecosyste.ms/hosts/GitHub/repositories/arduino/arduino-alvik-mpy

Funding Links https://github.com/sponsors/arduino, https://www.arduino.cc/en/Main/Donate

Releases
1.1.4 - mblock hotfix

1.1.4

This release fixs the issue on mblock events by adding thread stack size.

NOTE: This version is compatible with Alvik Carrier Firmware version 1.1.1

6 months ago
Download
1.1.3 - lifting and thread improvements

1.1.3

In this release we added new methods and fixes:

  • improved threading for alvik methods accessing UART r/w
  • 2 new events: on_lift and on_drop activated by the bottom proximity sensor when Alvik is lifted or dropped
  • you can detected if the robot is lifted with the new method: get_lifted()
  • minor REPL output improvements

Note: AlvikCarrier firmware version 1.1.1 is required to run Arduino Alvik Micropython library 1.1.3

8 months ago
Download
1.1.2 - mpy 1.24 compatibility

1.1.2

1.1.2 - micropython 1.24 compatibility

This release is compatible with firmware 1.1.0 and brings following:

  • added a workaround to solve issue on UART hanging on micropython 1.24 related bugs
  • improved update firmware python script
  • all examples are now compliant also with micropython 1.24
  • improved demo performances
12 months ago
Download
1.1.1 - added Arduino Runtime

1.1.1

Now Arduino Runtime available here is a dependency of the Alvik package

about 1 year ago
Download
1.1.0 - major updates

1.1.0

1.1.0 - updates ๐ŸŽ‰

๐Ÿšจ New features:

  • โฐ timer, one shot and continuos. It is now possible to trigger a callback by a timer, check examples for more;
  • โš™๏ธ servomotors, now it is possible to call also alvik.servo_<label>.set_position(<degrees>), also get_position() is available;
  • ๐Ÿช‡ movements events, it is possible to trigger callbacks via shaking or tilting Alvik, spare methods such as on_shake() and on_<axis>_tilt() are also available;
  • ๐Ÿ—ฃ๏ธi2c rework, it is possible now to use alvik.i2c as qwiic or Grove I2C, take a look on communication folder in examples
  • ๐Ÿชซ battery, new behaviour available by default, at 20% Alvik will blink red and at 10% it stops motors asking to be charged, method to check charging is availble;
  • ๐Ÿ›ž wheels, position is now blocking, it is possible to set as non-blocking by a parameter such as move and rotate methods;
  • ๐Ÿค–versioning, it is possible to check the firmware version compatibility and versions by: get_lib_version() and get_fw_version();
  • ๐Ÿ”ฅ minor fixes and thread performance improveme

๐Ÿšจ NOTE:

Since this release firmware version is checked, so update also Alvik firmware with right version is required.
It is possible to find here.

Now Alvik will check constantly the battery charge!
Under 20% it will start blinking red leds and under 10% it will stop motors. Please take care of charging your Alvik

๐Ÿฅณ ๐Ÿ›œ We also created 2 new web tools! ๐Ÿฅณ ๐Ÿ›œ

๐Ÿค– Alvik update tool
Alvik update tool is now availble here: https://alvikupdate.arduino.cc/
This tool will update Alvik micropython library and Alvik Carrier firmware.

๐Ÿงช๐Ÿ’ป Arduino Lab For Micropython web
Program Alvik on a webpage, available in Arduino Cloud resources: https://lab-micropython.arduino.cc/

Note: These tools work on Chromebooks, too

about 1 year ago
Download
1.0.1 - added version and compatibility with ucPack 0.1.6

1.0.1

Minor update with version, mantainer and compatibility with ucPack-mpy 0.1.6

over 1 year ago
Download
1.0.0 - First release

1.0.0

yuppy ๐ŸŽ‰

over 1 year ago
Download
0.4.1 - RC2

0.4.1 Pre-release

Hot fix on import path

over 1 year ago
Download
0.4.0 RC1

0.4.0 Pre-release

This pre-release includes:

  • DL1, DL2 naming for top leds (it is still possible to use left_led & right_led)
  • improved move and rotate
  • new flash_firmware method
  • updated parameters for color calibration

This pre-release requires firmware 0.4.0

over 1 year ago
Download
0.3.0 - mip compatibility

0.3.0 Pre-release

This release is a major pre-release.

It requires firmware 0.3.4 into your Arduinoยฎ Alvik.

New in this update:

  • mip compatibility
  • new examples
  • state of charge of the robot
  • touch events, check example on how them works.
  • get_color_label() now works without passing HSV data.
over 1 year ago
Download