Search found 847 matches

by OutoftheBOTS_
Fri May 15, 2020 9:31 am
Forum: Programs, Libraries and Tools
Topic: apa102 lib for esp32
Replies: 15
Views: 11231

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: 11231

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: 11231

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: 4257

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: 4257

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: 17650

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: 6062

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: 1991

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...
by OutoftheBOTS_
Thu Apr 30, 2020 1:48 am
Forum: General Discussion and Questions
Topic: help with WS2812B LED
Replies: 21
Views: 11675

Re: help with WS2812B LED

Can you tryu these timing with the same Microbit and put it next to your hot fan and see if you have the same problem. I actually just received some Sk6812 LEDs a few weeks ago for an upcoming project. I'll try and take a look, but I think part of the problem was a mild timing error on the micro:bi...
by OutoftheBOTS_
Wed Apr 29, 2020 6:04 am
Forum: General Discussion and Questions
Topic: help with WS2812B LED
Replies: 21
Views: 11675

Re: help with WS2812B LED

Does micro bit have a crystal to create a consistent clocking signal?? A crystal oscillator will tend to keep a constant freq with change in temp (it is why they use them in watches for keeping time) but if the MCU is just using electrical circuits to create the timing freq then the freq will chang...