Search found 678 matches

by OutoftheBOTS_
Sun Jan 07, 2018 6:23 pm
Forum: ESP32 boards
Topic: ESP32 maximum PWM frequency
Replies: 15
Views: 16507

Re: ESP32 maximum PWM frequency

@loboris please let me know when you have added this to your firmware and how I would use it :)
by OutoftheBOTS_
Sat Jan 06, 2018 4:10 am
Forum: General Discussion and Questions
Topic: Play MP3
Replies: 9
Views: 5312

Re: Play MP3

Hopefully it may get added to the ESP32 in the future as the ESP32 has both DAC and I2S and also bluetooth for playing via a bluetooth speaker. When I use Raspberry Pi to play sound with Python I usually use a bluetooth speaker as it is easier than wires. You could easily use something like this as ...
by OutoftheBOTS_
Fri Jan 05, 2018 8:15 pm
Forum: ESP32 boards
Topic: MicroPython on ESP32 with SPIRAM support
Replies: 457
Views: 120914

Re: MicroPython on ESP32 with SPIRAM support

There is also a bug in the deint() for the SPI it throws this error

Code: Select all

OSError: error at deinitialization
by OutoftheBOTS_
Fri Jan 05, 2018 7:59 pm
Forum: ESP32 boards
Topic: ESP32 maximum PWM frequency
Replies: 15
Views: 16507

Re: ESP32 maximum PWM frequency

Is there any docs on how to go about changing duty resolution because sometimes I want to create a high freq clock signal at 50% duty.
by OutoftheBOTS_
Fri Jan 05, 2018 7:45 pm
Forum: ESP32 boards
Topic: MicroPython on ESP32 with SPIRAM support
Replies: 457
Views: 120914

Re: MicroPython on ESP32 with SPIRAM support

In menuconfig use both core for MiroPython tasks is unchecked. I should leave this unchecked for psRAM boards but checked for non psRAM boards??
by OutoftheBOTS_
Fri Jan 05, 2018 8:52 am
Forum: ESP32 boards
Topic: MicroPython on ESP32 with SPIRAM support
Replies: 457
Views: 120914

Re: MicroPython on ESP32 with SPIRAM support

@Loboris Thanks for all the hours you have continued to pour in to this project, I really appreciate it. I tried to use my program that was running on last firmware and it wouldn't run on the new firmware. The SPI threw an error >>> from machine import Pin, SPI >>> spi2=SPI(1, sck=21, miso=22, mosi=...
by OutoftheBOTS_
Thu Jan 04, 2018 7:22 am
Forum: ESP32 boards
Topic: MicroPython on ESP32 with SPIRAM support
Replies: 457
Views: 120914

Re: MicroPython on ESP32 with SPIRAM support

From code posted above

Code: Select all

spi2 = SPI(1, baudrate=10000000, polarity=1, phase=0, sck=Pin(14), mosi=Pin(13), miso=Pin(12))
spi2.init(baudrate=10000000)

cs = Pin(15, Pin.OUT)
by OutoftheBOTS_
Thu Jan 04, 2018 5:52 am
Forum: ESP32 boards
Topic: MicroPython on ESP32 with SPIRAM support
Replies: 457
Views: 120914

Re: MicroPython on ESP32 with SPIRAM support

So I have rewired my LS7366R to use the same pins as RobertHH used in his example and everything worked so it seems it was the choice of pins that I was using that caused the problem. I have played with a few of the options in menuconfig so maybe something else in the firmware conflicts with those p...
by OutoftheBOTS_
Wed Jan 03, 2018 9:53 pm
Forum: ESP32 boards
Topic: MicroPython on ESP32 with SPIRAM support
Replies: 457
Views: 120914

Re: MicroPython on ESP32 with SPIRAM support

Ok I have just woken up and tried a few things but have to goto work now so will get back to more testing after work. I typed RobertHH code and added import Pin, SPI into the PuTTy telnet Repl prompt and sure enough my scope shows there was a clock signal on pin 21 so next I tried running my program...
by OutoftheBOTS_
Wed Jan 03, 2018 11:57 am
Forum: ESP32 boards
Topic: MicroPython on ESP32 with SPIRAM support
Replies: 457
Views: 120914

Re: MicroPython on ESP32 with SPIRAM support

This code works fine on the ESP8266 so it must be how I am trying to use the SPI on the ESP32 from machine import Pin, SPI import time import ustruct spi2 = SPI(1,baudrate=10000000) cs = Pin(15, Pin.OUT) cs.value(0) spi2.write(b'\x20') #clear counter cs.value(1) cs.value(0) spi2.write(b'\x30') #clea...