Search found 763 matches

by OutoftheBOTS_
Mon May 18, 2020 8:13 pm
Forum: micro:bit boards
Topic: microbit IR REMOTE AND RECEIVER
Replies: 3
Views: 141

Re: microbit IR REMOTE AND RECEIVER

I am not sure if you will find code for microbit but from the links above you can understand how it works and write your own code
by OutoftheBOTS_
Mon May 18, 2020 6:46 am
Forum: micro:bit boards
Topic: microbit IR REMOTE AND RECEIVER
Replies: 3
Views: 141

Re: microbit IR REMOTE AND RECEIVER

I have used this bit if hardware https://www.ebay.com/itm/1Pc-Portable-Infrared-IR-Wireless-Remote-Control-Module-Kits-for-Arduino-T-Jh/124160732819?epid=0&hash=item1ce88e6e93:g:71cAAOSwT2daRZgF just recently for something similar but it was for my 6yrs robot which is a Mbot (ardunio MCU programmed ...
by OutoftheBOTS_
Sat May 16, 2020 8:04 pm
Forum: Programs, Libraries and Tools
Topic: apa102 lib for esp32
Replies: 15
Views: 465

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.
by OutoftheBOTS_
Sat May 16, 2020 8:59 am
Forum: WiPy and CC3200 boards
Topic: Trying to use 4 timers for PWM and fifth for Irq
Replies: 3
Views: 217

Re: Trying to use 4 timers for PWM and fifth for Iraq

1 timer can control 4 servos as they will all be on the same freq just different duty width. You shouldn't really need a timer callback to time the freq of moving the robot as you should just be able to take the time when entering your loop then next time around you wait till the time is what you ne...
by OutoftheBOTS_
Sat May 16, 2020 5:15 am
Forum: Programs, Libraries and Tools
Topic: apa102 lib for esp32
Replies: 15
Views: 465

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 128 times
by OutoftheBOTS_
Fri May 15, 2020 8:22 pm
Forum: Programs, Libraries and Tools
Topic: apa102 lib for esp32
Replies: 15
Views: 465

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

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

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

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

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