Never rely on your program to be fail safe. Always build safety into your circuit.
If there is no water, the whole thing should shut down.
Think like that.
Search found 166 matches
- Mon Mar 02, 2020 5:21 am
- Forum: Hardware Projects
- Topic: plant watering
- Replies: 41
- Views: 183702
- Tue Feb 18, 2020 8:30 pm
- Forum: ESP8266 boards
- Topic: esp8266-20191220-v1.12.bin issues
- Replies: 15
- Views: 8363
Re: esp8266-20191220-v1.12.bin issues
Picocom works fine with ESP8266 and ESP32 boards here on CentOS 7. Is your user a member of the dialout group?
Jan
- Sat Jan 25, 2020 2:45 pm
- Forum: General Discussion and Questions
- Topic: firmware install problem
- Replies: 12
- Views: 6837
Re: firmware install problem
Right, nothing obvious in that schematic that could explain the problem.
Have you tried to compile the firmware (tag v1.12 checked out) without any extra modules?
Jan
Have you tried to compile the firmware (tag v1.12 checked out) without any extra modules?
Jan
- Sat Jan 25, 2020 8:51 am
- Forum: General Discussion and Questions
- Topic: firmware install problem
- Replies: 12
- Views: 6837
Re: firmware install problem
Hard to tell without more details about that extra module and how the two boards differ in wiring. Just speculating, but could it be that the extra module is mucking with GPIO(s) that are connected to vital things on the "custom board"?
Regards, Jan
Regards, Jan
- Sat Jan 25, 2020 8:39 am
- Forum: Pyboard D-series
- Topic: Powering from both VUSB and microUSB
- Replies: 3
- Views: 2837
Re: Powering from both VUSB and microUSB
What will happen if you have a 5V power supply connected to the VUSB port while the microUSB port is plugged into a computer? Will the Pyboard simply choose a power supply to use or will there be complications? I would advise against it. The +5V is typically produced by a voltage regulator (7805 or...
- Fri Jan 17, 2020 3:52 pm
- Forum: Development of MicroPython
- Topic: drivers/dht improvements (take 2)
- Replies: 19
- Views: 11621
Re: drivers/dht improvements (take 2)
I would move the await asyncio.sleep(2) after the print() ... So you will get the temperature directly after start ;) From a cold boot the DHT sensor needs some time to stabilize and become ready. If you try to query it too soon after power on all you get is a ETIMEDOUT. You might be able to move t...
- Fri Jan 17, 2020 1:30 pm
- Forum: Development of MicroPython
- Topic: drivers/dht improvements (take 2)
- Replies: 19
- Views: 11621
Re: drivers/dht improvements (take 2)
The AM2320 is an upgrade of the DHT22 / AM2302, and it supports both the old 1-wire interface and I2C. https://github.com/mcauser/micropython-am2320 Same goes for the tiny DHT12, which is an upgrade of the DHT11, and adds I2C too. https://github.com/mcauser/micropython-dht12 These could do with som...
- Fri Jan 17, 2020 1:17 pm
- Forum: Pyboard D-series
- Topic: Pyboard D RTC accuracy
- Replies: 5
- Views: 4030
Re: Pyboard D RTC accuracy
Have you considered submitting a PR? I have. There is one small problem left with it that I still haven't figured out how to minimize. The whole thing is obviously based on two while() loops, the first waiting as long as both pins are unequal the requested levels, the second waiting until both are ...
- Fri Jan 17, 2020 1:02 pm
- Forum: Development of MicroPython
- Topic: drivers/dht improvements (take 2)
- Replies: 19
- Views: 11621
Re: drivers/dht improvements (take 2)
There is nothing wrong with wait_ms = d.start() await asyncio.sleep_ms(wait_ms) d.receive() however if I were writing the device driver I'd either provide an awaitable receive method so you could write await d.receive() or make the class an awaitable class. Then you'd just have await d Either appro...
- Thu Jan 16, 2020 10:27 pm
- Forum: General Discussion and Questions
- Topic: Target audience for MicroPython?
- Replies: 63
- Views: 84186
Re: Target audience for MicroPython?
The least qualified would be to install VMware or similar, create a Linux VM and build inside of that. But it does work great.