Search found 36 matches

by sprinkfitter
Thu Jan 21, 2021 7:03 pm
Forum: ESP32 boards
Topic: Ulab Problems
Replies: 5
Views: 3366

Re: Ulab Problems

Thank You for your insight on Ulab. I have read the docs and have not found the bin file with Numpy in it. Fairly new to Micropython would hope I could get a little bit more help. Even the new guy always looks at the docs. When they do not see something they ask a question. I know it must be in fron...
by sprinkfitter
Tue Jan 19, 2021 4:00 am
Forum: ESP32 boards
Topic: Ulab Problems
Replies: 5
Views: 3366

Re: Ulab Problems

Thank you for your responds. Made newbie mistake. object <module 'ulab'> is of type module __name__ -- ulab __version__ -- 0.54.0 set_printoptions -- <function> get_printoptions -- <function> array -- <class 'ndarray'> arange -- <function> eye -- <function> linspace -- <function> ones -- <function> ...
by sprinkfitter
Tue Jan 19, 2021 1:02 am
Forum: ESP32 boards
Topic: Ulab Problems
Replies: 5
Views: 3366

Ulab Problems

I have been trying to upload ulab in firmware. I have used this bin file ESP32/v1.12_with_ulab/ulab_v0.54.0_2020-07-29/Generic_PSRAM-4MB_flash-4MB/esp32-spiram_idf4_ulab_dp_thread_v1.12-663-gea4670d5a_2020-07-29.bin . I get this burn into my esp32 and see Ulab is in the boot. The following are the f...
by sprinkfitter
Mon May 11, 2020 6:32 pm
Forum: ESP32 boards
Topic: LCD Sensor Print
Replies: 0
Views: 1304

LCD Sensor Print

I am trying to print a sensor reading to a LCD. No errors but the screen is black. LCD will print text ok and screen is working :?: :?: from ili934xnew import ILI9341, color565 from machine import Pin, SPI import tt24 from time import sleep import dht sensor = dht.DHT11(Pin(5)) while True: sleep(2) ...
by sprinkfitter
Wed Apr 10, 2019 1:35 pm
Forum: ESP32 boards
Topic: Relay On Time
Replies: 9
Views: 5008

Re: Relay On Time

Mr.pythoncoder now I do not want to do that. What I want to do is turn a relay on at a certain time let it stay on for the delay and then turn off?
by sprinkfitter
Wed Apr 10, 2019 1:14 pm
Forum: ESP32 boards
Topic: Relay On Time
Replies: 9
Views: 5008

Re: Relay On Time

Under construction... Trying to turn relay on and off a certain times of day! Very new to Micro-python. OnMin1 = arr.array([10, 20]) # Array Setup for triggering relay 1 OnHour1 = arr.array([8, 16]) OnDay1 = arr.array([1, 3, 5, 7, ]) OnMonth1 = arr.array([6, 7, 8, 9]) OnYear1 = arr.array([2019, 2020...
by sprinkfitter
Tue Apr 09, 2019 1:32 pm
Forum: ESP32 boards
Topic: Relay On Time
Replies: 9
Views: 5008

Re: Relay On Time

Thanks that does work!!
by sprinkfitter
Tue Apr 09, 2019 12:24 pm
Forum: ESP32 boards
Topic: Relay On Time
Replies: 9
Views: 5008

Re: Relay On Time

Seems a little odd sleep time to be use to keep a relay or pin on. So you can use the sleep for high and low pins??
by sprinkfitter
Tue Apr 09, 2019 12:03 pm
Forum: ESP32 boards
Topic: Relay On Time
Replies: 9
Views: 5008

Relay On Time

I want to turn a relay on for a period of time. Can I just call millis if ds.DateTime() == (OnMin4, OnHour4, OnDay4, OnMonth4, OnYear4): relay1.value = 0 # HIGH millis(2000) print('Relay 1 ON') print(ds.DateTime) print(OnMin1, OnHour1, OnDay1, OnMonth1, OnYear1) else: relay1.value = 1 # LOW print('R...
by sprinkfitter
Wed Mar 27, 2019 9:29 pm
Forum: ESP32 boards
Topic: DS3231 Chinese Community!
Replies: 4
Views: 2967

Re: DS3231 Chinese Community!

Thank You!! Big help. Miss that address in code. Works great now.