Very Simple Websocket example in golang

This is a simple example of websocket communication in golang. Two files are required the golang go and a index.html file which it will server. Here’s the golang: And here’s the html, the html file needs to be saved in a file called index.html: Once created you can run the golang with “go run main.go”. …

Typical NPN transistor configurations

I’ve been learning more about different NPN transistor configurations and created the following diagrams for my own reference. The first shows where signal enter and exit the different configurations, but includes no current limiting. As such I’ve labeled the input and output signals I, for current. The second shows how current limiting might typically be …

STM vibrational compensation

I’ve a long standing interest in STM projects since seeing the various low cost and amateur project attempts many years ago. I recently came across this paper describing a method for compensating for the probe vibration. The results (shown on HOGP below) see quite impressive. And allow for a scan rate of a few hundred …