To charge DieHard / Craftsman C3 lithium-ion battery packs apply 21V across the + and – terminals. (rounded end = +, opposite = -) C3 batteries come in several variations and each one has different requirements to allow charging. Most variants will need a 22K resistor between the left terminal (when looking with the […]Read more "DIY Charging a Craftsman C3 Lithium Ion battery pack"
Systemd is here. Like it or not, we’re being given a new tool and it’s time to learn how to use it. Today, we address the systemd timers feature and it’s ability to implement the functions of cron. This isn’t a beginner topic, this blog assumes you know the command line well and have at […]Read more "Systemd timers replacement for cron jobs, plus Weechat LetsEncrypt certificate renewal and distribution."
This is my own creation, it isn’t intended to be an authentic Italian-style Carbonara but more of an Italian inspired dish. Choose an interesting sausage that you can showcase in this dish. I prefer to avoid sharp flavors like apple and a cheese sausage would just get lost. Ingredients: 1 pkg. Tortellini 3 to 5 […]Read more "Tortellini Carbonara"
Clicking on NOAA’s radar images gives you weather that ranges from 5 minutes out of date to around 70 minutes out of date. Ever wonder why such a range and why they’d give us weather images that are so old? A little while back, I was working for a major retailer and had the opportunity […]Read more "Why is my weather radar image out of date?"
This is a continuation of the performance enhancements for reading the ADC on Arduino. Similar steps apply to many non Arduino/ATMega processors. That other article is here: Arduino Library Functions & Macros and introduces startSample(), sampleDone(), and getSampleResult() as a way of avoiding blocking when doing an analogRead. Here we will update the second two functions and introduce a new function: startFreeRunningADC(). […]Read more "Speeding up the ADC on an Arduino ATMega 328P"
The Hardware here is simple and cheap, it can be done with any Pi, though I used a Pi Zero. For me, it was free because I had the Pi Zero and the wire. The default pins are: Ground to Ground 3.3V power […]Read more "OpenOCD for programming nRF51822 via nothing but wires and a Raspberry Pi"
So, this is really just my notes for installing it again next time. If it helps, great. Per Nordic’s documentation/release_notes.txt, the library is compiled using a slightly older version so we’ll stick to that here. cd ~/Downloads wget “http://launchpad.net/gcc-arm-embedded/5.0/5-2015-q1-major/+download/gcc-arm-none-eabi-4_9-2015q1-20150306-linux.tar.bz2” sudo bash cd /usr/local/ tar -xjvf /home/user/Downloads/gcc-arm-none-eabi-4_9-2015q1-20150306-linux.tar.bz2 That’s it. Installing the Library is equally easy: cd […]Read more "Installing GCC-arm for use with Nordic nRF8122 nRF5_SDK_11.0.0_89a8197"