ATtiny based bidirectional motor control using L293D

Rahul over at Xanthium has posted a tutorial on interfacing ATtiny with L293D: In this tutorial we will learn to interface L293D with ATMEL ATtiny microcontroller and control them bidirectionally.The microcontroller used here is ATtiny2313A which is interfaced to two L293D motor control chips for controlling upto 4 DC brushed motors.You can control upto 8 […]

“Hello world” in the BCPL language on the Xerox Alto simulator

Ken Shirriff writes: The first programming language for the Xerox Alto was BCPL, the language that led to C. This article shows how to write a BCPL “Hello World” program using Bravo, the first WYSIWYG text editor, and run it on the Alto simulator. The Xerox Alto is the legendary minicomputer from 1973 that helped […]

Adding a DHT22 temperature and humidity sensor to the Sonoff

Mikey writes: Just a few days ago I replaced the firmware on my Sonoff, and immediately after, I wanted more… After looking on their website, I found a version which also had a DHT11 sensor attached, and I then wanted to do something similar, just with a DHT22 for higher resolution (0.1C on a DHT22, […]

Running NodeMCU on a battery: ESP8266 low power consumption revisited

Tinkermax shows us how he reduce the current consumption of his v2 NodeMCU in deep sleep to < 50μA: Unfortunately, with all this added convenience comes the drawback of added power consumption, which continues even when the ESP8266 is in deep sleep. I measured 18mA to the NodeMCU board while the ESP8266 was in deep […]

Crystal motional parameters

Craig writes: Ever tried searching through your datasheets for the motional parameters of that quartz crystal you just bought? Good luck! Vendors simply don’t specify these parameters to general end users, and for most applications that’s OK. But for high Q oscillator and filter design, measuring and matching crystals can be important. This video discusses […]

HOW-TO: Add live websites to GIT without interruptions or security risks

Over at the DEV site we’ve been using GIT repositories hosted at BitBucket.org to push (deploy) changes to the live server instantly. It’s way slicker than uploading changed files by FTP, which has no roll back if something goes wrong. It also solves one of our China internet problems: routing to Bitbucket is much more […]

Slider controller with auto-reverse and variable speed control

Paulo built a DIY electronic camera slider controller based on a small PIC microcontroller. It supports auto-reverse and variable speed: These motorized sliders share a common electronic controller design that provides speed control for the gear motor and also an auto-reverse feature using limit switches. In this article , I’ll go over the electronics and software for […]

Using “Ultracapacitors” as a power conditioner and ballast for transient high-power loads (or “How to run your HF rig from D-cells” – sort of…)

KA7OEI writes: An advantage of Lead-Acid, NiCd, Lithium Ion and some NiMH cell types is that they have quite low internal resistance compared Alkaline cells: Even an aging lead acid battery that is near the end of its useful life may seem to be “OK” based on a load test as its internal resistance can […]

Output voltage control of DC/DC converters

Thomas Fischl writes: Some applications needs to control the output voltage of a dc/dc converter instead using a fixed output voltage. For example battery chargers has to adjust the output voltage to the current battery level. This page shows how to add such a control function to a buck converter circuit. Control output via external […]