Search found 799 matches

by OutoftheBOTS_
Sat May 16, 2020 5:15 am
Forum: Programs, Libraries and Tools
Topic: apa102 lib for esp32
Replies: 15
Views: 3064

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
Capture.JPG (117.25 KiB) Viewed 1140 times
by OutoftheBOTS_
Fri May 15, 2020 8:22 pm
Forum: Programs, Libraries and Tools
Topic: apa102 lib for esp32
Replies: 15
Views: 3064

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???
by OutoftheBOTS_
Fri May 15, 2020 9:31 am
Forum: Programs, Libraries and Tools
Topic: apa102 lib for esp32
Replies: 15
Views: 3064

Re: apa102 lib for esp32

The post you linked was for Neopixels not APA102 which are different. Neopixels are what is known as 1 wire communication where the data is sent out over 1 data line so the timing has to be perfect. APA102 use 2 lines synchronous communications where there is a data line and a clock line, the clock ...
by OutoftheBOTS_
Thu May 14, 2020 9:01 am
Forum: Programs, Libraries and Tools
Topic: apa102 lib for esp32
Replies: 15
Views: 3064

Re: apa102 lib for esp32

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 one da...
by OutoftheBOTS_
Wed May 13, 2020 8:35 pm
Forum: Programs, Libraries and Tools
Topic: apa102 lib for esp32
Replies: 15
Views: 3064

Re: apa102 lib for esp32

You can write your own driver super easy. Just make an byte array with the data for all the LEDs (4 bytes per LED). Then open an SPI and first send the start bit then all the LED data then end bit to the SPI. Connection are as follows: connect a 5v power supply that is capable of suppling enough amp...
by OutoftheBOTS_
Mon May 11, 2020 11:21 am
Forum: Programs, Libraries and Tools
Topic: External binary/lib C++
Replies: 6
Views: 1800

Re: External binary/lib C++

SpotlightKid wrote:
Mon May 11, 2020 8:28 am
OutoftheBOTS_ wrote:
Sun May 10, 2020 10:30 pm
I am also trying to find Mike's github where he had written a heap of examples for all sorts of data types.
https://github.com/miketeachman/MicroPy ... examples.c
I will bookmark that :)
by OutoftheBOTS_
Sun May 10, 2020 10:30 pm
Forum: Programs, Libraries and Tools
Topic: External binary/lib C++
Replies: 6
Views: 1800

Re: External binary/lib C++

Have you read this http://docs.micropython.org/en/latest/d ... dules.html

I am also trying to find Mike's github where he had written a heap of examples for all sorts of data types.

There is also this viewtopic.php?t=6786
by OutoftheBOTS_
Tue May 05, 2020 11:03 pm
Forum: Programs, Libraries and Tools
Topic: Can't get my NeoPixels to turn on
Replies: 27
Views: 6150

Re: Can't get my NeoPixels to turn on

Ha Ha I am a little scared to go commenting on github. This forum is where the learner programmers hang out and github is for the real programmers. I've seen your code and your video, you've spent a lot of time thinking about this and your comments are valuable. Just do it! :) I have updated my dri...
by OutoftheBOTS_
Fri May 01, 2020 9:49 pm
Forum: Pyboard D-series
Topic: Read a binary file with a clock
Replies: 7
Views: 1959

Re: Read a bynary file with a clock

Why do you want to read a byte from a file during this timed loop??
by OutoftheBOTS_
Thu Apr 30, 2020 5:43 am
Forum: Other Boards
Topic: Lesson learned :(
Replies: 2
Views: 872

Lesson learned :(

It seems if you want to flash firmware to a STM32F4 via a DFU file using Dfuse no matter how many times you try to put the MCU in boot loader mode by connecting boot0 to GND and even if you open a brand new dev board it never works. only after several hours trying everything you can think of will yo...