Search found 10 matches

by barbsbou
Mon Oct 10, 2022 1:53 pm
Forum: Programs, Libraries and Tools
Topic: Abstract class in MicroPython
Replies: 3
Views: 30731

Re: Abstract class in MicroPython

Thank for your reply!!
by barbsbou
Fri Oct 07, 2022 12:46 pm
Forum: Programs, Libraries and Tools
Topic: Abstract class in MicroPython
Replies: 3
Views: 30731

Abstract class in MicroPython

Dear community;

I would like to create a abstract class inherit from abc (Abstract Base Class) but I found nothing about lib ABC into micropython, maybe it is simply impossible or I did not search well....

Thank you for your replies and help!!
by barbsbou
Tue May 26, 2020 9:23 pm
Forum: Programs, Libraries and Tools
Topic: apa102 lib for esp32
Replies: 15
Views: 11189

Re: apa102 lib for esp32

@Mattyt usually thoroughly tests his libraries before making them pubic and his demo code is very simple to use so I assume either your APA102 are damaged and not working correctly or your connections are incorrect. I am sure, I finally test the connection with volmeter to understand that I had a c...
by barbsbou
Sat May 16, 2020 9:10 am
Forum: Programs, Libraries and Tools
Topic: apa102 lib for esp32
Replies: 15
Views: 11189

Re: apa102 lib for esp32

The LEDs will need 5v supply to run. You ESP32 board should havea 5v supply from the USB input. Is this your board?? Capture.JPG Sure you are right, this is mine. Ok Thank you the Clearly my connections are simpler thank you...but nothing change obviously. I really don't see what I am doing wrong...
by barbsbou
Fri May 15, 2020 11:20 pm
Forum: Programs, Libraries and Tools
Topic: apa102 lib for esp32
Replies: 15
Views: 11189

Re: apa102 lib for esp32

If your only going to be running 10 LEDs you can probably run them from the ESP32 5v pin but wouldn't run larger amounts (Ardunio power supply isn't any better than ESP32). Do you also have a common ground to both the power supply and the ESP32??? Thank you for your reply I didn't find any 5V outpu...
by barbsbou
Fri May 15, 2020 9:50 am
Forum: Programs, Libraries and Tools
Topic: apa102 lib for esp32
Replies: 15
Views: 11189

Re: apa102 lib for esp32

Thank you for your fast reply!! It is was I checked in the first time...but all look like correct. I used the 5V and GND of an arduino and the same pins that the example of mattyt that are 12 and 13 I wanted only switch on only the 10th first led because I know that I have not a really good power fr...
by barbsbou
Fri May 15, 2020 8:25 am
Forum: Programs, Libraries and Tools
Topic: apa102 lib for esp32
Replies: 15
Views: 11189

Re: apa102 lib for esp32

Hi; Yesterday I played with the mattyt's lib and I couldn't to switch on the strip led. So I continue to search any solution or what is the problem (firstly I look on the interface between the chair and the keyboard... :D ). And found this post https://forum.micropython.org/viewtopic.php?f=15&t=7276...
by barbsbou
Thu May 14, 2020 12:45 pm
Forum: Programs, Libraries and Tools
Topic: apa102 lib for esp32
Replies: 15
Views: 11189

Re: apa102 lib for esp32

OutoftheBOTS_ wrote:
Thu May 14, 2020 9:01 am
Google APA102 datasheet this technique works for any hardware you trying to write a driver for just google the name of the hardware followed by the word datasheet
Indeed, datasheet is a keyword that I should use more often!! :D

thank you for your advice!! ;-)
by barbsbou
Thu May 14, 2020 7:59 am
Forum: Programs, Libraries and Tools
Topic: apa102 lib for esp32
Replies: 15
Views: 11189

Re: apa102 lib for esp32

Oh!!!! Firstly thank you for your reply!! I really want to try to write my own driver, but since I am a real noob with electronics and I would like to finish my first projects, I think that I will use the mattyt's lib. @OutoftheBOTS_ how can we find the description that you provide about apa102, if ...
by barbsbou
Wed May 13, 2020 3:34 pm
Forum: Programs, Libraries and Tools
Topic: apa102 lib for esp32
Replies: 15
Views: 11189

apa102 lib for esp32

Hi everybody; Firstly let us to introduce me, I am a computer scientist but really not a electrics engineer... so pretty sure that I have dumb questions, sorry about that! Anyway I am really excited to play with my LoLin D32 (esp32) with micropython V1.12 and my apa102 led strip. But I can see that ...