Make the ESP8266 talk 9600 baud

Monday 2017-01-02

Surprise videoThe default serial speed on the ESP8266 WiFi chip is 115200 baud. If you connect this chip to an Arduino and want to use SoftSerial to talk to it, it will not work. The SoftSerial library is limited to 9600 baud because of hardware limitations of the Arduino. If you want to talk to the ESP8266 with an Arduino at lower speeds, you need to tell the ESP8266 to slow down.

Read the rest of this entry »


Seeed ESP8266 WiFi Breakout Board Pinout

Sunday 2017-01-01
WiFi Serial Transceiver Module Breakout Board w& ESP8266 pinout

WiFi Serial Transceiver Module Breakout Board w& ESP8266 pinout

This is the pinout for the Seeed WiFi ESP8266 breakout board. Please be careful, it only accepts 3.3 Volt nominal input voltage and logic. Putting 5 Volts on any of the pins may permanently damage the chip.

The ESP8266 on this board is programmed to do serial communications at 115.2 kilobaud, and accepts AT commands.


macOS Sierra SSH “Permission Denied”

Saturday 2016-11-12

keychain-mac-tutoIf you used DSA keys to log in to your SSH server and have upgraded your client machine to macOS Sierra (or OSX Sierra if you like), you probably ran into this problem:

client$ ssh -p 8123 george@10.0.0.10 -i ~/.ssh/id_dsa 
Permission denied (publickey).

The answer to this problem is replacing the DSA key with an RSA key, but how do you do on the server when your only means for connecting is the OSX client machine you just upgraded? Here’s how:

Read the rest of this entry »


Designing a Fox-hunt antenna

Sunday 2016-06-19

3d radiation patternMany years ago, I used to do some radio fox hunting with cars. Usually these hunts are at night to make it more exciting, and can be great fun. As I got older I lost interest and moved on to other things. But last year, I decided to have a go at a popular balloon fox hunt on 144MHz. This is quite a large scale and professionally organized fox hunt by Dutch Radio Amateurs. Read the rest of this entry »


Measuring Coax Length and Loss

Sunday 2015-11-01

100-1015 BNC T ConnectorEver wondered how well your 50Ω coaxial cable is working? If you have a reasonably fast oscilloscope, preferably up to 100MHz and a signal generator which can generate short bursts, you can measure not only the length of your cable, but also the return loss at a certain frequency. From that, we can learn the attenuation of the cable.

This blog post describes the classic time domain reflection measurement using the following setup:

Measuring TDR
Read the rest of this entry »


How to get your users to install JCE

Friday 2015-09-04

220px-Lorenz-SZ42-2In every Java project where I need to do strong cryptography, I run into these dreaded unreadable stacktraces which send you into the woods. After a long search I usually discover that the Unlimited Strength Java Cryptography Extensions are not installed. To prevent frustration of users of your software, you can simply add a bit of informative logging to help him/her solve it when the solution is known.

Read the rest of this entry »


Ashley Madison in perspective

Monday 2015-08-24

lady justiceHowever I disagree with sites like Ashley Madison and the way its owners scam people, last week I have noticed something far more disturbing. As I understand, Ashley Madison was charging people for their profiles to be deleted, and then did not (promptly) delete them. I guess some of it’s “hackers” got caught up in this and decided to attack Ashley Madison for that. Up to this point, merely a quarrel between two parties which may have better been solved by legal procedure.

Read the rest of this entry »