OUTSIDE: KUROKESU - how passion can drive your life

As I noticed KUROKESU range of product, i wanted to deep dive on the philosophy guiding this lithuanian guy and his team. What I learned so far is that your passion can lead your life to new dimension.

About KUROKESU you can read in his website
"What started as a great way to burn my free-time has evolved into a full-time occupation – but from the start Kurokesu has been my passion. Initially I made all the parts and assembled every product myself, from USB cameras and lenses through to precision tools and motion systems. [...] At the end of spring 2017 I was able to quit my day job."
While you can find a machine probe from aliexpress, I would prefer 100:1 to acquire it from this source, to support his business, and also because the quality of his products could be measured just by by design details.

In the E-store you can find a fine motorized rotary stage:

A sturdy Raspberry PI enclosure (note the actual revision is F):
A complete USB camera with C-Mount lens (for instance to assembly a soldering or inspection macro camera):
A logitech c920 rework case:

What I like so much, is the touch probe:

I will give a try to the touch probe soon.

Good luck KUROKESU.

All credits for the photos belongs to him.


I had a ESP8266 - NodeMCU - module laying around, so I decided to install inside an electrical panel, to gather also data from energy monitor. I used a DIN empty support to mount the ESP:

Flashing micropython to ESP8266

Micropython install on ESP8266 without pain: 
a. Download latest version from http://micropython.org/download#esp8266
b. Deploy the firmare, install with pip the esptool tool 
c. Erase flash with:
esptool.py --port /dev/ttyUSB0 erase_flash
d. Connect ESP8266
e. Check the connected serial port with
ls /dev
f. Change directory to the unzipped firmware directory
g. Flash the new firmware from bash with the following command.
esptool.py --port /dev/ttyUSB0 --baud 460800 write_flash --flash_size=detect 0 esp8266-20170108-v1.8.7.bin 
That's all, if not working, check USB port or reduce upload speed to 115200, or check micropython website tutorial.

Running a script

By default micropython at startup execute a main.py file. Write it in your favourite text editor and  upload it using WebREPL.

Connecting to ESP

There are two options to connect to ESP with micropython, serial REPL or WebREPL (OTA or On the air or via WIFI).

Serial prompt - REPL

If you connect to ESP via serial port, you'll be prompted with a python shell, import modules and execute commands. You can stop main.py from execution, and also you can soft or hard reset. This kind of interface is called REPL, and is always available.

Over the air - WebREPL

During startup, ESP will create an access point called MicroPython-xxxxxx to which you can connect directly. Download a local version of html file from Github and open the html inside the zip file. 
I prefer this way because with this interface you can upload main.py when needed.
You will be prompted to a web page like this.

On the bottom left corner the standard access point address, change after accordingly when the ESP is connected to your local network via WIFI.
Once uploaded a main.py file, after reset, inside WebREPL is possible to read output from print statements and stop main.py with CTRL-C if something went wrong.


Considering the following layout using micropython you have to refer to pin numbering used by GPIO naming. So for instance D0 pin is GPIO16, inside micropython is pin 16:

#import machine library
from machine import Pin

# create an output pin on pin #0
p0 = Pin(0, Pin.OUT)
# set the value to high


To connect Nodemcu to Wifi:
#import libraryimport network 
#import sleep function from dedicated time libraryfrom utime import sleep
#defined function to check connection or reconnectdef do_connect():    sta_if = network.WLAN(network.STA_IF)    if not sta_if.isconnected():        print('Connecting to network Wireless...')        sta_if.active(True)        sta_if.connect('SSID', 'PASSWORD')        while not sta_if.isconnected():            pass
while True:
    #do your loop here
Once connected, every time you reset you have to change the IP number to the DHCP assigned one, without connecting to Access Point, or you can connect directly to access point and use the internal IP.
You can also disable AP on startup after do_connect() using:


from umqtt.simple import MQTTClient
SERVER = b'192.168.1.xx' #put your broker addressCLIENT_ID = b'ESP_Epanel'TOPIC_T = b'HOME/EPANEL/TEMPERATURE'TOPIC_H = b'HOME/EPANEL/HUMIDITY'
#after connecting to WIFIclient = MQTTClient(CLIENT_ID, SERVER)client.connect()   #Connect to MQTT broker
while True:    client.publish(TOPIC_T, 22)    client.publish(TOPIC_H,45)


Sometimes DHT22 fail to read and the simplest solution I found is to soft reset via code
from dht import DHT22
from machine import reset
sensor = DHT22(Pin(5))
while True:
        t = sensor.temperature()
        h = sensor.humidity()
        if isinstance(t, float):
            msg = (b'{0:3.1f}'.format(t))
            client.publish(TOPIC_T, msg)
            print("Temperature: ", msg)
        if isinstance(h, float):
            msg = (b'{0:3.1f}'.format(h))
            client.publish(TOPIC_H, msg)
            print("Humidity: ", msg)
            print('Invalid sensor readings.')
    except OSError:
        print('Failed to read sensor.')


Handling external interrupt in micropython is really simple:
from utime import time
from machine import reset  
#define a callback function where execute simple and short code 
def callback(pin_number):
    #refer to global variable
    global last_time
    last_lime = time()
#pin setup
p0 = Pin(12,mode=Pin.IN)
p1 = Pin(13,mode=Pin.IN)
#start interrupt
p0.irq(trigger=Pin.IRQ_FALLING, handler=callback)
p1.irq(trigger=Pin.IRQ_FALLING, handler=callback)


Put all together and you will have a connected MQTT node which read DHT22 sensor every 15 seconds, managing errors and as in my case count pulse input.

What I learned so far:
- Micropython is little tricky at the beginning, but stable, flexible and finally is Python.
- ESP8266 is not energy friendly, it produces a lot of heat, so is better to mount DHT22 far from ESP. In the near area surrounding the ESP the temperature reach a stable 26 degrees Celsius vs 20 degrees Celsius of surrounding.
- I hate pins, I would prefer to have screw connectors.

REVIEW: Telwin Bimax 132 MIG welder review (with tool cart)

After years of services, it's time to review my actual MIG welder: 

Telwin BIMAX 132

If you don't know Telwin, please head to their site (http://www.telwin.com/) and discover which kind of product they have in portfolio. Telwin is Italian based productor from more than 50 years of the finest welders, plasma and more. Their market is Automotive, Industrial, Professional and Consumer, and if you know some of their products, you know the high quality and reliability: especially in the automotive market (you know for sure some titled Italian brand, Ferrari, Maserati, Lamborghini), so you can imagine the high standard the Italian industry professional requires also from these products.

I own this model from lot of years (more than ten if I could remember), I could say I learned to weld with this machine, without external help. In fact this is the most remarkable feature I would like to highlight from this consumer-grade machine: forgive you for any error.
I never had any trouble, except the fact I had to learn how to setup correct polarity, speed of wire, current setting, in relation to the work. In these years I learned how to improve my skills with wire welders, improving also technical and cleanliness of results.

This little machine, i bought without any expectation from a big of the house improvement distribution chain, is capable to deliver 105 Ampere with duty cycle of 15% (this mean that you can weld with this current for the 15% of time) and 50 Ampere with duty cycle of 60%.
What can you expect with these characteristic? Lower range can solder 0.6 mm sheet metal without distorting so much, with upper range, I created a L shaped steel frame with thickness of 10mm!
I learned also you can fill fill easily holes or separations between pieces of metal.

Just to give you an idea, following a photo of a big steel frame (2.5 meters by 2.5 meters) welded with this little machine without pain and distortion:

You can solder with gas or without gas, I prefer without gas with animated wire, because I don't want to complicate my weldings with Gas refurbishment, and I found with NoGas the results are more than acceptable: simply fill with a spool ranging from 0.6mm to 1.0 mm and forgive it.
Another characteristic I would like to highlight is that this machine can accept 5kg spool of wire.

This beauty can solder Aluminium, Steel, Inox with GAS (mix of CO and Argon) and Steel without GAS (animated wire, or wire with flux inside). Plastics are durable, but most of the machine is made of well power painted metal.

What I could say is not really a portable welder (21 Kg) so I built a small cart, quite different from the ones you can find in the market, because is really simple and designed for earth work (the welding gun start from a lower height), but occasionally you can weld on a higher surface like on a table.

For sure you experimented the dross problem on the tip, especially if as me you are not so expert and use animated wire. Cleaning the drosses is really easy and every consumable tip last from my experience at least 2Kg of wire. Replacement is easy and cost nothing. I never had to change the guard of the tip, always cleaned with metal brush.

More photos:

Taking a low center of gravity, allowed me to pull it in the shop without worry to overturn it.
A big improvement a simple hook to roll over the cables.) Spot-welding can be carried out on overlapped metal sheet with a maximum thickness of 0.8 mm.

I found also after all these years is yet on the market, which is a meaning of lucky and reliable product, so you can find at very affordable price also on internet (actually less more than 350 euros). But I remember I bought ten years ago for lot less, so seems like this machine gained value in these years...

How can you read, I'm very satisfied of this product, despite I tried some modern eletronic chinese product, this welder for me is unsurpassed in quality and price.

Five Star!

SOURCED: A tour in Rome, AKA where to source your components

If you come to Rome, Italy, probably you are looking for historic monuments - Romans, Medieval, Renaissance, Baroque - food, or probably the atmosphere.

More than historic monuments in Rome

When in Rome don't miss the opportunity also to find something interesting for your next project in this short list (please be free to comment if you find out more, or if you want to add something more). The list is short because Rome is not a big city, and for sure not a big market for these kinds of goods.

Mechanical components

Head to northern part of Rome, some kilometers outside the historical centre, you can find adelicious deposit of mechanical components (Bruno Bentivoglio - http://www.brunobentivoglio.it/).

In his deposit you can find every kind of good, starting from most complete mechanical aircraft, helicopters, turbine motors, hydraulic components, and more and more.
Simply ask them to tour the deposit and find yourself also lot of woodworking and metal tools, ranging from simple wire solder, to big knee mill and lathe, passing by spot welder and so on.
I believe they buy big lot from military and failure auctions, so the deposit is countinuosly changing.
The site is not complete in relation to the inventory, but you can make them a call.
Look how big is the deposit:

And what you can spot from the highway:

I'm not affiliated, nor authorized to publish photos from inside, but I'll ask them, because is interesting if you are far away.
Definitely a place that worth a visit. Open in work days

Electronic components

Rome is not famous as Shenzen for his electronic market, despite there is a small silicon valley and lot of space production center in the Tiburtina district. So is really difficult to find good source of electronic components.
Magistri & Co (http://www.electronicsurplus.it/) is the place you have to visit to find precious components, cables, dissipators, valves and more.
This time is located on the south of Rome, not far from the city, and the website is more or less comprehensive of the warehouse.
Maybe you can find some military esotic connector, shielded silicon cable, vacuum tubes and lot more. Also here I'm not affiliated, nor authorized to publish photos from inside, but I'll ask them, because is interesting as for the previous one.
Another place that worth a visit. Open in work days

A little of both: Porta Portese

Probably you already now the historical flea market in Rome, every sunday on the neighborhood of Trastevere. Here you can find, depending from your luck, something really valuable at affordable price, but most of time, actually you'll find overpriced used tools or equipments.
Please for directions and photos check https://it.wikipedia.org/wiki/Porta_Portese (italian version is most comprehensive).

Post in evidenza

OUTSIDE: KUROKESU - how passion can drive your life

As I noticed KUROKESU range of product, i wanted to deep dive on the philosophy guiding this lithuanian guy and his team. What I learned s...