21 May 2021
Automate ESP8266 Programming
From time to time i need to program several hundred ESP-12F modules for my projects. First time i did it, i was changing the module on the programmer and then repeating the command.
However, by doing that it was hard to do programming at several programmers at once and also it required all my attention when the script finished etc.
So i had to automate it a bit, but i didn’t want to throw myself into codding so much. Just the most simple way to do it was an option.
So here we are. The whole solution is just a simple udev rule which sets the programming script to execute. As i said “it sets the script”. Because, udev just triggers and doesn’t handle the runtime environment as when you run a program in terminal. So for that purpose, i used “at now”.
ESP8166 / ESP12F / ESP-12F / ESP32 / ESP-12E
3 October 2020
Skripta za pregled racuna u Kantonu Sarajevo
Za potrebe prikaza u Home Assistant-u, napravio sam nekoliko modula koji uz adekvatno konfigurisanje mogu jednostavno da dohvate stanje dugovanja, uplata a nekada i trenutne potrošnje za usluge. Koliko vidim, post na LinkedIn-u se vec svidio nekim kolegama pa reko da podijelim i na blog-u koji tako predano zazpostavljam poslednjih godina. (as if it was any different before :)
Scraper @ GitHub
Osim zanimljivog pregleda u tabeli, moguce je sve povaditi i u json-u a sto je narucito prakticno ;)
racuni / kanton / sarajevo / komunalije / placanje
12 February 2019
Učenje stranih riječi, brzo i efikasno
Držeći se predpostavke da djeca brzo uče te da se u poslednje dvje decenije značajno izmjenio nači kako djeca usvajaju nova znanja i vještine, u skladu s tim i uz pomoć malih trikova za sintetiziranje govora, napravio sam sinhronizovanu bazu riječi za koju se nadam da biti korisna svim zainteresiranim i vrijednim učenicima.
Takođe, moram napomenuti da su riječi preveli štićenici ustanove Mala Škola
dicti / učenje / stranih / riječi / brzo / efikasno / engleski
14 November 2018
Testing ESP-RFID Relay Board First Batch of 200
Right after the first batch of 200 boards, i noticed that there were some issues with voltages. Apparently, it looks like the manufacturer got the wrong chip or one of caps were damaged.
What ever ti was, i had to test ~200 boards and my main concern was only proper voltages. Main input of ~12VDC, 5VDC acter ACT4088 buck converter and 3.3VDC after AMS1117.
So, i took some pogo pins and drilled through some plexy boards, used very handy little voltages measuring boards and here is the result.
It took me about 30 minutes to make it and another hour to test all boards. If it was not possible to test it this way, i would definitely had to do it one by one and i can’t even imagine the struggle i would have to go through.
Good thing was that i actually had 3.3V and 5V terminals on the bottom of the board, so i didn’t have to spend much time adjusting things.
p.s. Banggood Geekcreit® Mini Digital Volt Meter
ESP-RFID / ESP12 / Arduino / relay / RFID / Wiegand / PCB / pogopins / testing
2 November 2018
ESP-RFID Relay Board
New board for ESP-RFID Firmware :)
“ESP-RFID Relay Board is tiny ESP12 module (ESP8266) board, designed for popular wiegand RFID readers and with esp-rfid firmware in mind :).”
It’s also opensourced so if you want to explore it and find two issues that i already know about :) feel free to check it here in esp-rfid repo.
Also nice thing, Omer Siar and I, decided to integrate esp-rfid firmware and esp-rfid hardware repos. I hope to publish dedicated web page about esp-rfid project soon.
ESP-RFID Relay Board GitHub
ESP8266 / ESP12 / Arduino / relay / RFID / Wiegand / PCB
1 March 2018
3 Way Pad
I believe somebody already amde this but i couldn’t find it. Can be hady if you want to make possible to change “direction” of 3 different lines.
I hope it will be obvious from the images what it does.
- have input button which i connect to another side of a PCB (just passing a line)
- Redirect the input button to a MCU
- Use output terminal as input and redirect the signal to a MCU
Follow on hackaday.io
Follow on github
eagle / pcb / library
1 January 2018
ESP RFID Wiegand board V1
Although it wasn’t planned to server this purpose, somewhere in the middle of design i realized that this board with few more resistors would be perfect for very popular Wiegand RFID readers that you can get all around Ebay and other Chinese stores.
Those readers are often completely dummy bricks which can only read code from a chip and pass it by wiegand on two data lines.
Basically it’s a ESP12 breakout board which can accept 12V input and at the same time powers up the Wiegand reader with same 12V input and accepts all possible pins from the most common readers.
You can get eagle cad schematics and BOM at github and also you can buy this board at My Tindie Store
In addition to that, it often has buzzer, LED and sometimes keypad, which also just sends the numbers it gets. One of versions i got also have simple bell button which just makes a connection on two wires. So it’s simple tactile switch there.
I implemented the support for all of those input/output lines so all you need is to program your board and read cards.
I have one version of firmware which i would not be able to share at this point but i can gladly suggest eps-rfid project, which is open-source and great for the first hand to use.
In this setup, you can make your Wiegand reader as simple work hours registration device. However, next version with relay and few more features are on it’s way so, please be patient.
Also, there is a version of wiegand reader which has enough space to place this tiny board in it.
ESP8266 / ESP12 / Arduino / relay / RFID / Wiegand / PCB
1 January 2018
ESP12 4 relay board
So many boards of this kind already exist but i wanted to make my own. One important decision is how to supply ESP12 with a power and the most elegant way is quite small and tiny PCB mountable Hi-Link AC-DC, but it gives only 0.6A so it’s right on the edge for 4 relays and ESP12. There are many more converters of this kind but not this small and often not sealed as this one is.
Another doubt i had was should i use optocouplers or not. At the end i realized, it doesn’t bring me anything that important in my case. After all, this is only a board for my home/garden use.
So, here is the sketch. I hope, soon i’ll publish photos how it actually looks like once i solder PCBs.
ESP12 4 relay board on GitHub
ESP12 4 relay board on Hackaday.io
Check images & Animation…
ESP8266 / ESP12 / Arduino / relay / iot / songle
1 January 2018
Electrodragon relay board with Cloudmqtt
This was just a project made out of desperate situation caused by mistakes in heating system design. So my friend needed to be able to control the pump which pushes the heat towards one f the branches, for a while and also being able to turn it on/off, get some feedback etc. So far they like it and this copy/paste coding style worked for us.
Great combination of Electrodragon’s Relay board + free www.cloudmqtt.com and on top of all that, free mobile app IoT MQTT Dashboard
& This code here (which is actually simply very quick drag and drop from other projects :D):
Get the code at GitHub
ESP8266 / ESP12 / Arduino / relay / iot / Electrodragon
1 January 2017
HEPEK IOT - A hub for IOT 01 (ideaand proof of concept)
In essence, i realized there are many devices of this kind but most locked within some ecosystem. So, why not to design something which would be open sourced, affordable, hackable that most of makers are familiar with etc…
Essentially the idea si to make single PCB with:
- ESP12 or NodeMCU (The good thing about NodeMcu it gives you power/programming interface right away)
- 315/433 MHz transmitter/receiver module (controlling power RC sockets and modules, garage doors etc)
- 4 IR Diodes (TV, Aircondittion)
- IR receiver (Learning new codes)
- Thermometer/Barometer (Because we can :D)
- Neopixel ring/strip (just for fun, at the end, there is web interface, i would rather avoid display since it makes thing simpler)
- PIR sensor interface (silent alarm for your home)
And put it in some off the shelf enclosure, share it, sell it on tindie etc..
Also, make a simple software for essential functionalities.
As a first step, i put bunch of things on my breadboard, did some copy/paste codding to make it work and of course .. it’s still on my table, waiting me to spend some more time and manufacture that board finally.
As for code, i simply extended current wifimanager library for Arduino, added a page and played a bit with html/css. The sad thing, it would definittely have to be completely rewritten. It’s simply slow and slow for development due to some steps for preparation of html/css for upload.
The PCB design and software on GitHub here
HEPEK / ESP8266 / ESP12 / Arduino / iot / mqtt / cloudmqtt, / nodemcu / 433mhz / IR / neopixel