Breadboarding an ESP-03
Here is my method of mounting esp8266
‘s, specifically ESP-03
on a breadboard without the use of a breakout board. Details inside.
Here is my method of mounting esp8266
‘s, specifically ESP-03
on a breadboard without the use of a breakout board. Details inside.
I have a ATX
power supply that I use to power my electronics creations, and I noticed that I’ve been getting shocked with electricity 😯 whenever I touched it! How could it be!? I used a grounded plug, a grounded wall socket, and still… I went on like this for a while, not wanting to shut down my device zoo, until one day there was a power outage and that left me no choice but to finally get around to diagnosing the issue.
If you’re reading this, chances are you are in the same boat I was in before writing this text – I wanted to save some data to EEPROM
on a PIC24F
and … it doesn’t have one. (The manual claims that PIC24F
has EEPROM
, but that is not fully so – only select models, namely PIC24F___K_, do). What to do? Well, there is this nice lib (AN1095) from Microchip that implements software EEPROM
. The lib is well written, lots of docs, but alas – it does not run out of the box. This post is about the additional steps that it took to get it running.
Read more »
This post is about something that has been on my mind for a while, but somehow always seemed too complex, too far from a practical implementation. Until now, bwa-ha-ha. Encrypted email. Before you get too excited, let me first say that we’re not talking about a mathematically perfect system, and it is certainly not NSA-proof. But! It is about as practical as it gets. We get a system where all email is stored on disk in encrypted form. This is a Big Deal. If your VPS falls to a 0-day for a few hours, the evil hacker won’t be able to grab a dump of your naked pictures email. Really, in any situation where an adversary gains temporary control over the server, this scheme will keep the contents of your emails secret. Just remember: IMAP messages tend to build up and stay on the server indefinitely… I mean, when did you last clean your inbox 😉
Here are some obvious and not-so-obvious pitfalls you may encounter while trying to communicate with an ESP-03 over UART. We will be using a USB-Serial device to connect directly to the ESP.
I have just released my JSON RPC 2.0 implemenation under MIT License. It is built on top of JSMN JSON parser and is meant for use in microcontrollers. At least that’s where I’m using it. Note: you will need to use my branch of JSMN.
The features are:
Take a look here.
In the previous post from this series we talked about customizing the dropbear
startup scripts. This time we will direct our attention to dnsmasq
, an all-in-one DNS-DHCP service. I will show you how to improve the configuration for a WAN/LAN/WIFI setup (as opposed to just WAN/LAN). We will get – hostnames such as router.lan
, router.wifi
and plain router
for the router, and we will have clients get the appropriate client.lan
or client.wifi
name depending on which method they used to connect to the router.
In this post I will talk about some configuration optimizations to OpenWRT 12.09 “Attitude Adjustment”. It is the first in a two part series (part 2). In this part we will deal with dropbear
configuration.
There are literally a million articles on the internet comparing BeagleBone vs RaspberryPi. People talk about all possible features, except one – bloatware. BeagleBone is absolutely stock-full of it. I found this out the hard way when I purchased the BeagleBoneBlack. All my searches about the topic turned up a few requests for debloat instructions with a few answers showing how to disable services via systemd
, but none about how to permanently remove the programs in question. So, without further ado, let me show you how I removed the most egregious offenders.
I bought a tape of LEDs thinking that I would convert the lighting in my study to LED, but the tape was shorter than the perimeter of the room, and the LED intensity was too low for it to be useful as a ceiling light (note to self: make sure to buy the super-bright variety next time). After a quick look around I found a new use for the tape – an LED mirror (aka zit-popping mirror 🙂 It was perfect – the perimeter of the mirror was 5m more or less exactly, as was the length of my tape.