Search found 83 matches

by ajocius
Sat Oct 19, 2019 11:52 am
Forum: WiPy and CC3200 boards
Topic: MicroPython port of photocell reader
Replies: 3
Views: 5495

Re: MicroPython port of photocell reader

I tried your code for micropython but getting following error:
File "main.py", line 12, in RCtime
TypeError: can't convert str to int

Line 12 is as follows:
data = Pin(RCpin, mode=Pin.IN, pull=Pin.PULL_DOWN)

Not sure what happens here, any advice?
by ajocius
Tue Jul 09, 2019 8:28 am
Forum: Hardware Projects
Topic: Greenhouse door opener
Replies: 3
Views: 1690

Greenhouse door opener

I would like to motorize door opening in greenhouse, based on inside temperature. Googled for similar project, but can not find one. Has anyone done some door opener? Was thinking of printing some angled rack and pinion that could be turned by stepper motor, which would be controlled by ESP32. The c...
by ajocius
Sat Apr 20, 2019 6:31 pm
Forum: General Discussion and Questions
Topic: Safety of KY-019 relay
Replies: 4
Views: 1283

Re: Safety of KY-019 relay

Thank you valuable response. I intend to use ESP32 with sensors and relay switch conected to it. Micropyhon as SW. Node Red to check temp every 10min and, if below threshold, Node Red sends mqtt to switch on heater for 5 min. Intend to test prior bringing plants, as I do have monitoring of temp alre...
by ajocius
Sat Apr 20, 2019 4:49 pm
Forum: General Discussion and Questions
Topic: Safety of KY-019 relay
Replies: 4
Views: 1283

Safety of KY-019 relay

I intend to use KY-019 5V One 1 Channel Relay Module to switch on and off 2KW air heater. This is supposed to run during night, when sensors in my greenhouse would indicated that temp is below set threshold. It says it can handle up to 250V 10A, so seem to be not exceeding capabilities, but rather c...
by ajocius
Fri Apr 12, 2019 2:39 pm
Forum: ESP32 boards
Topic: ESP32 sensors for greenhouse
Replies: 2
Views: 856

Re: ESP32 sensors for greenhouse

Good point, but I have too many available inputs on ESP32, so thought will be easier to control and code it
by ajocius
Fri Apr 12, 2019 1:30 pm
Forum: ESP32 boards
Topic: ESP32 sensors for greenhouse
Replies: 2
Views: 856

ESP32 sensors for greenhouse

I have made drawing for intended new PCB that will hold several sensors to monitor temperature at various locations of greenhouse and one switch that will control heater (when temperature drops below set during the night). I would appreciate your comments, suggestions on Additional elements like cap...
by ajocius
Mon Mar 18, 2019 3:12 pm
Forum: General Discussion and Questions
Topic: Developing PCB layout
Replies: 5
Views: 1748

Re: Developing PCB layout

Thanks, I do have basic understanding from school, just like you described: (Like what is a resistor, what is a capacitor? Basic laws, like U = R * I and stuff like that?). I did also soldered several projects, but only following predefined set of components and layout. I have read about Fritzing an...
by ajocius
Mon Mar 18, 2019 11:51 am
Forum: General Discussion and Questions
Topic: Developing PCB layout
Replies: 5
Views: 1748

Developing PCB layout

I know this is not direct Micropython question, but related. I do not have knowledge about PCB layout build up. I follow instructions I find online, add capacitors, resistors or other elements as described. However I do not have understanding why do we need them and if I can use element with slightl...
by ajocius
Tue Feb 26, 2019 1:00 pm
Forum: General Discussion and Questions
Topic: ESP32 loosing connection to mqtt server
Replies: 2
Views: 1266

ESP32 loosing connection to mqtt server

I am using Micropython on ESP32 board that has few sensors connected. The task for ESP32 is to read sensors and send data to MQTT server. I got it all working, however process used do stop unexpectedly. Sometimes it happens once a week, sometimes it kept stable for few weeks. I was only guessing tha...
by ajocius
Tue Feb 26, 2019 12:14 pm
Forum: ESP32 boards
Topic: uPyCraft looses connection to ESP32
Replies: 13
Views: 5507

Re: uPyCraft looses connection to ESP32

Not sure I follow your solution... boot.py should remain unchanged on ESP32 board. Were are you renaming it and why?