I’ve wanted to schedule the easier things to later; and after the pir/pwm came the tasks i assumed are easier. Connecting a standard ir reciever is not much an issue - usually; but no matter how i tried it, it just didnt work. I’ve kept circling after a while: check connection, check datasheet, check program, use different (remote/ir reciever/pin). I’ve even checked that the ir receiver works ysing an arduino uno… After 2 wasted evenings…i’ve started feeling the datasheet i was using: a bit wierd…the first datasheet google throw me back(google search for:tsop4838); was a ‘family datasheet’(first hit)…and it contained working conditions of the family as a whole my biggest problem was that my Tsop4838 needed minimum 4.5v to work…but this family sheet said it works from 2.5v….
After the pir ride i’ve added the dht - that worked without any issues; the biggest problem was that i was sure i’ve connected it to gpio4…and in reality it was connected to 5…I now have large ESP12E module layout printed out - this will probably prevent mistakes like this. The fet needs pwm control…so I wanted to continue with that. Wiring it up was not much an issue. At first i’ve used the analogwrite function to pwm control the fet - after some loose wire issues I was able to do it….
I wanted to start moving my hardware features to the esp prototype… baby steps? I wanted to start with something simple…the PIR sensor is either gives signal or not - that’s simple enough ;) Because I want my new board to be pure 3.3v based - i had some issues that the sensor didn’t wanted to work with 3.3v. However…it turned out; that the board is in fact 3.3v based - and I’ve used a trick to skip the hc-sr501 ’s on-board regulator.
I’ve finished my planned home automation device’s prototype around 2-3 weeks ago…but it looked like I will almost sure will run out of flash space - and will loose ota update capability. While I was evaluating my options someone on #arduino have talked about an issue he is having with an esp…and it turned out that thing has more potential for me than I earlier thinked…I’ve already had an esp01 module in my ‘possibly usefull stuffs’ storage.