Search found 847 matches

by OutoftheBOTS_
Thu Feb 01, 2018 9:01 pm
Forum: ESP32 boards
Topic: MicroPython on ESP32 with SPIRAM support
Replies: 463
Views: 531936

Re: MicroPython on ESP32 with SPIRAM support

All my programs I use a try except to catch any errors or keyboard interrupt and in the except I deint everything like SPI, PWM but haven't found any docs for releasing machine.Pin and am just setting pin.value(0), is there a way to deinit Pin??
by OutoftheBOTS_
Thu Feb 01, 2018 11:57 am
Forum: ESP32 boards
Topic: MicroPython on ESP32 with SPIRAM support
Replies: 463
Views: 531936

Re: MicroPython on ESP32 with SPIRAM support

@laboris Thanks for your help. This will allow me to make the most of the available pins, I think that I will nee all of them and will run the SD card in 1 line mode as will need the extra pins. Hoping to run : SPI TFT, SPI touch, SD card, 2 x SPI encoder counters, H-bridge needing 4 output pins, AD...
by OutoftheBOTS_
Thu Feb 01, 2018 9:27 am
Forum: ESP32 boards
Topic: MicroPython on ESP32 with SPIRAM support
Replies: 463
Views: 531936

Re: MicroPython on ESP32 with SPIRAM support

I have had my robot up and driving around today and now need to start to hook all the peripherals up. I need to workout what pins I will ise for what( I am likely to use them all). I want to make sure that I am not connecting something to a pin that shouldn't be used. Can someone confirm that these ...
by OutoftheBOTS_
Thu Feb 01, 2018 6:55 am
Forum: General Discussion and Questions
Topic: efficient use of ustruct.unpack?
Replies: 5
Views: 4196

Re: efficient use of ustruct.unpack?

very easy you can unpack muitlpe items at once even if they r different types, for you it will be even easier as they r all the same types.

Something like this will unpack 100 integers into an array

Code: Select all

format_string = "H" * 100
array_of_intergers = ustruct.unpack (format_string, string_2b_unpacked)
by OutoftheBOTS_
Wed Jan 31, 2018 11:23 pm
Forum: ESP32 boards
Topic: MicroPython on ESP32 with SPIRAM support
Replies: 463
Views: 531936

Re: MicroPython on ESP32 with SPIRAM support

Ok at this point I feel like an idiot. It seems it was the way I connected the usb to serial converter to the ESP32. Seems the TX on the converter needs to connect the RX on the ESP32. This is opposite of the labaling stem32 dev board that I have known as the blue pill. On the up side I now make it ...
by OutoftheBOTS_
Wed Jan 31, 2018 11:39 am
Forum: ESP32 boards
Topic: MicroPython on ESP32 with SPIRAM support
Replies: 463
Views: 531936

Re: MicroPython on ESP32 with SPIRAM support

Has anyone else used the analog lamb Wrover breakout board? It's schematic shows IO12 being pulled up to 3.3v see https://github.com/AnalogLamb/esp32/blob/master/Schematic%20__WROVER32_Breakout.pdf Yet the Wrover datasheet doesn't show to do this in the peripherals schematic see https://www.espressi...
by OutoftheBOTS_
Wed Jan 31, 2018 9:37 am
Forum: ESP32 boards
Topic: MicroPython on ESP32 with SPIRAM support
Replies: 463
Views: 531936

Re: MicroPython on ESP32 with SPIRAM support

When I hold down the boot switch and press the reset switch the RX LED on the converter blinks then when I run ./BUILD.sh flash both the RX and TX LEDS flash for a short bit then all LEDs go blank and a few seconds later it fails.
by OutoftheBOTS_
Wed Jan 31, 2018 9:28 am
Forum: ESP32 boards
Topic: MicroPython on ESP32 with SPIRAM support
Replies: 463
Views: 531936

Re: MicroPython on ESP32 with SPIRAM support

if I measure voltage across IO12 and GND I get 2.5v and If I measure resistance between IO12 and 3.3v I get 10.02 Kohms.

So correct resistance with the schematics https://github.com/AnalogLamb/esp32/blo ... eakout.pdf

But higher volatage than 1.8v
by OutoftheBOTS_
Wed Jan 31, 2018 9:21 am
Forum: ESP32 boards
Topic: MicroPython on ESP32 with SPIRAM support
Replies: 463
Views: 531936

Re: MicroPython on ESP32 with SPIRAM support

on the schematic for the Lamb breakout it has io12 pulled to high not io2.

I tried manually jump both IO2 and IO12 to high and same result
by OutoftheBOTS_
Wed Jan 31, 2018 9:18 am
Forum: ESP32 boards
Topic: MicroPython on ESP32 with SPIRAM support
Replies: 463
Views: 531936

Re: MicroPython on ESP32 with SPIRAM support

@roberthh I will try that now I disconnected everything then reconnected and it got futher. My usb to serial is a cp210 but I do also have a ch340 around here somewhere too and I might try it as well. This is the output I just got now --------------------- MicroPython for ESP32 ---------------------...