seeduino lotus and python

Grove is a modulated, ready-to-use tool set.
Much like Lego, it takes a building block approach to assembling electronics.

Moderators: lily.li, violet, jeremy882, crail.lyu969

Post Reply
excalibas
Pre-kindergarten
Pre-kindergarten
Posts: 2
Joined: Sun Jun 23, 2019 5:41 pm

seeduino lotus and python

Post by excalibas » Sun Jun 23, 2019 5:47 pm

Hello,
I have the grove beginner kit for arduino. Can it be controlled via python from usb or do I have to use something like a Grove Base Hat?
I mean, I know I can use something like this https://github.com/thearn/Python-Arduino-Command-API but my question is if it is possible to use grove.py to use all the modules easily.
Thank you!

bill.yu
Junior-7
Junior-7
Posts: 732
Joined: Mon Apr 02, 2018 11:05 am

Re: seeduino lotus and python

Post by bill.yu » Mon Jun 24, 2019 2:22 pm

HI there~

1. I use the arduino uno, mega and seeeduino lotus to test the function. Then i follow https://github.com/thearn/Python-Arduin ... quirements to setup the system. But the python code is stuck @ board = Arduino('9600'). Uno flash memory is 32KB and mega is 256KB. For the seeeduino lotus, the flash memory is 32KB as well.

Code: Select all

C:\Users\xyu6>python -V
Python 2.7.15

C:\Users\xyu6>python
Python 2.7.15 (v2.7.15:ca079a3ea3, Apr 30 2018, 16:30:26) [MSC v.1500 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> from Arduino import Arduino
>>> board = Arduino('9600')

2. For the grove.py, it is used for grove base hat for raspberry pi. you can not use this one. thanks.

Post Reply