I want to automate my Velux roof blinds and I didn’t want to invest to Velux bridge over 100ish euros.
So I googled a bit and I saw a couple of posts (first_one, second and third(German) )
So I thought I can do this too, but it doesn’t work indeed.
My YAML file looks as follows(see below), and I think my problem is my momentary switch configuration but I can’t find the problem. Beside that controlling the switch is also a bit laggy. If anyone have any ideas I will be glad. Thank you!
Thanks for that, Ive just replicated it to operate my Velux window (Not blind). Works perfectly. I’m just 3d printing a box for the Esp32. I routed the cables slightly differently, but still exiting at the rear.
as a case extension, not convinced the idea to connect would be reliable.
I have had a few issues where my USB doesnt seem to deliver enough power and the esp32 doesnt work, that caught me out and made me suspect dodgy soldering!
I made mine to replace the back panel entirely, put it on a pcb and also added sense wires so the ESP can report state back when you press the physical buttons.
Using the time_based cover also lets me control the position with surprising accuracy.
JLCPCB and similar have PCBA services, so they will just ship you a finished board with components on it. You can use the zipped gerbers for the PCB, but as for component placement you’ll have to figure that out yourself as I’ve never tried it before.
But if you’re just scared of the tiny parts, it’s actually not too difficult to hand-solder them. The 0603 resistors are the smallest parts on the board, and these are just big enough to grab them with tweezers and solder them down without much difficulty, even with a large tip.
You can pick up an SMD practice kit off AliExpress for cheap if you want to give it a go.
Hi thorou,
thanks for your board and the files Today i finished the board with soldering all parts by myself
Now the problem is, that i cant programm the ESP… the 3,3 volts are there, also RX and TX, i use a FT232 board and esp home from HA. But i didtn connect. Can you explain me how to programm the esp? Thank you!
There isn’t really anything special about the board, you should be able to flash it over UART like any other ESP.
You can try flipping RX/TX, using a different serial adapter, different flashing program (flashing from your browser only works in chrome, brave, edge etc). You can also try holding down BOOT while plugging the board into power, if it’s not booting into download mode properly that might fix it.
Also check if you can flash a different ESP module using your serial adapter.
Unlike the newer ESP32 modules, the ESP8266 can’t be flashed directly over USB, you need something in the middle to translate to UART (this is what your FT232 does).
You would need to put an extra port, chip and some passives on the board for it to be programmable over USB, which doesn’t make much sense for a board you’ll likely only flash once (and then use OTA).
If you’re already soldering up a board it’s not too much trouble to also solder up a cable. The board-side connectors for barrel plugs also have much larger pins and are easier to hand-solder to.
If you really wanted to you could adapt the design to USB micro B or USB C fairly easily; just open it up in KiCad, replace the connector footprint and re-route a couple traces.