Search found 42 matches

by OlivierLenoir
Mon Feb 15, 2021 5:17 pm
Forum: Programs, Libraries and Tools
Topic: Neural Network
Replies: 1
Views: 118

Re: Neural Network

You can also access the PDF documentation here.
by OlivierLenoir
Sat Feb 13, 2021 7:37 pm
Forum: Programs, Libraries and Tools
Topic: Neural Network
Replies: 1
Views: 118

Neural Network

Implement Neural Network Deep Feed Forward on micro-controller using MicroPython. This project has been designed in pure MicroPython. Neural Network project is available here and require Matrix available here . I recommend to do the training on a computer, but you can run small training with MicroPy...
by OlivierLenoir
Fri Feb 05, 2021 3:55 pm
Forum: Programs, Libraries and Tools
Topic: Pure MicroPython Matrix (mathematics)
Replies: 8
Views: 386

Re: Pure MicroPython Matrix (mathematics)

Thanks Jimmo,
I've added a comment link to issue #5897. Lets wait and see.
by OlivierLenoir
Thu Feb 04, 2021 6:44 am
Forum: Programs, Libraries and Tools
Topic: Pure MicroPython Matrix (mathematics)
Replies: 8
Views: 386

Re: Pure MicroPython Matrix (mathematics)

I'm using ESP32 board without SPIRAM and I plan to use the recent RPi PICO.
At that stage I don't feel confident to custom build my own version.
It would be a good idea to enable, __radd__(), __rsub__(), __rmul__()...
Can you help to raise an issue?
by OlivierLenoir
Wed Feb 03, 2021 8:00 pm
Forum: Programs, Libraries and Tools
Topic: Pure MicroPython Matrix (mathematics)
Replies: 8
Views: 386

Re: Pure MicroPython Matrix (mathematics)

I'm getting this error TypeError: unsupported types for __add__: 'int', 'Matrix' . It seem to be link to def __radd__(self, other): but I need help. In fact my class Matrix works well with python 3.7.3 but not with micropython v1.13 or v1.14 . def add(a, b): return a + b def sub(a, b): return a - b ...
by OlivierLenoir
Fri Jan 22, 2021 5:11 pm
Forum: Programs, Libraries and Tools
Topic: Pure MicroPython Matrix (mathematics)
Replies: 8
Views: 386

Re: Pure MicroPython Matrix (mathematics)

Thanks for your links.
Here is my on-going Matrix project.
https://gitlab.com/olivier.len02/MicroPython-Matrix
by OlivierLenoir
Thu Jan 21, 2021 8:32 pm
Forum: Programs, Libraries and Tools
Topic: Pure MicroPython Matrix (mathematics)
Replies: 8
Views: 386

Pure MicroPython Matrix (mathematics)

https://gitlab.com/olivier.len02/MicroPython-Matrix I wrote the following code to do basic matrix operations. It works for me, but I'm not sure it's the best way to do it. Do you have recommendation? Is it the right way when I use return Matrix(...) ? def add(a, b): return a + b def sub(a, b): retu...
by OlivierLenoir
Mon Nov 16, 2020 8:13 pm
Forum: ESP32 boards
Topic: Timer with microsecond resolution
Replies: 8
Views: 1150

Re: Timer with microsecond resolution

If your looking for ┬Ás, you can use the RMT.
I've been using it in MicroPython-Multiaxis project. Discussion in this forum Multiaxis stepper motors using RMT.
by OlivierLenoir
Mon Nov 16, 2020 7:37 pm
Forum: Drivers for External Components
Topic: How to generate a square wave chirp?
Replies: 4
Views: 1027

Re: How to generate a square wave chirp?

So far, manage acceleration is in the roadmap, but I didn't had time to work on it. You can access the period of the fastest axis by changing MultiAxis.period if you use MultiAxis.g01() . I may have to work on acceleration earlier because MicroPython-DobotArmV1 project will soon require this feature.
by OlivierLenoir
Fri Nov 13, 2020 10:08 pm
Forum: Drivers for External Components
Topic: How to generate a square wave chirp?
Replies: 4
Views: 1027

Re: How to generate a square wave chirp?

You can have a look at this project https://gitlab.com/olivier.len02/micropython-multiaxis and also the following forum posts viewtopic.php?f=15&t=7497.
The GPIO version should work on a PyBoard.