Search found 440 matches

by devnull
Wed Apr 05, 2017 11:13 pm
Forum: ESP8266 boards
Topic: Deep Sleep changes GPIO State
Replies: 9
Views: 3092

Re: Deep Sleep changes GPIO State

Hi @Roberthh;

Yes, I did that even before I posted the problem, see my original post:

"I have tried pulling the gate high with a 10K resistor and even switching GPIO13 to an input right before sleep, neither appear to make any difference."
by devnull
Wed Apr 05, 2017 1:00 pm
Forum: ESP8266 boards
Topic: Deep Sleep changes GPIO State
Replies: 9
Views: 3092

Re: Deep Sleep changes GPIO State

Thanks Robert, but that will require me to redesign, remake and re-assmble my PCB which is already mounted in the box and ready to go. According to the espressif documentation, the state of the GPIOs should not change during deepsleep and what I am trying to establish is whether or not this is a bug...
by devnull
Wed Apr 05, 2017 12:02 pm
Forum: ESP8266 boards
Topic: Deep Sleep changes GPIO State
Replies: 9
Views: 3092

Re: Deep Sleep and GPIO State

OK, I have completely isolated the ESP12S from all other components and only connected TX, RX, VIN and GND. Then I connected a DMM between GPIO13 and ground and executed the following code: import machine as mc p13 = mc.Pin(13, mode=mc.Pin.OUT) p13.high() The DMM reads 3.3 Volts as expected. mc.deep...
by devnull
Wed Apr 05, 2017 10:36 am
Forum: ESP8266 boards
Topic: Deep Sleep changes GPIO State
Replies: 9
Views: 3092

Re: Deep Sleep and GPIO State

Thanks, that's not so simple as I have already created the PCB and it is all assembled and ready to be deployed and I will need to cut tracks and hack the PCB to be able to do that.

That will need to be a last resort ;-)
by devnull
Wed Apr 05, 2017 10:24 am
Forum: ESP8266 boards
Topic: Deep Sleep changes GPIO State
Replies: 9
Views: 3092

Deep Sleep changes GPIO State

I have a few sensors connected to my device, in order to conserve power I am using a low resistance p channel FET which enables power to the sensors, the gate is connected to GPIO13, being a P-channel, it is on when the gate is low and off when the gate is high. Right before I goto sleep, I pull GPI...
by devnull
Tue Mar 28, 2017 4:17 am
Forum: Other Boards
Topic: Lopy low lora range
Replies: 1
Views: 1678

Re: Lopy low lora range

The lopy is developed and supported by pycom, you should probably post on their forum.

https://forum.pycom.io/category/6/lopy
by devnull
Sun Mar 26, 2017 12:49 pm
Forum: ESP32 boards
Topic: Esp32 port
Replies: 35
Views: 16640

Re: Esp32 port

I think that there's only Damien and one or 2 more active developers that are working on the ESP32 port and of course all of this is voluntary and they have lots of other commitments too. I don't know exactly how the 'joint development' works, but it appears that the only changes that are rolling in...
by devnull
Thu Mar 23, 2017 3:06 am
Forum: General Discussion and Questions
Topic: parsing JSON string into numeric
Replies: 2
Views: 1238

Re: parsing JSON string into numeric

Thanks, but what I forgot to mention is that I need to first save this data to a JSON file and later read and process it. I would prefer that the saved json data uses numeric, boolean and string values rather than all strings to avoid having to repeatedly parse the float, integer in different areas ...
by devnull
Wed Mar 22, 2017 12:51 pm
Forum: General Discussion and Questions
Topic: parsing JSON string into numeric
Replies: 2
Views: 1238

parsing JSON string into numeric

I have JSON data that is posted via javascript from a web page, every field is sent as a string irregardless of whether it is a string, number or boolean value, I cannot change that. So I need to convert the data where a value looks like a number into a numeric value: data = { 'a':"1", 'b':True, 'c'...
by devnull
Tue Mar 21, 2017 12:20 pm
Forum: WiPy and CC3200 boards
Topic: Code only runs when USB serial connected
Replies: 8
Views: 2280

Re: Code only runs when USB serial connected

I faced a similar problem and the cause is a lack of pullup on either the TX / RX or both (don't recall which).

When you connect a USB > Serial, the TX/RX Lines are pulled high, but when disconnected they are floating and the device will not start as it is waiting for the high signal.