Where does your mind jump when you hear the mention of electroshock therapy? The use of electrical current to treat various medical conditions has a long and controversial history. Our fascination with the medical applications of electricity have produced everything from the most alarming of patent medicines to life-saving devices like pacemakers and the Automatic External Defibrillator.
The oldest reference I could find is the use of the torpedo fish to allegedly cure headaches, gout, and so on in 43 CE. Incidentally, Torpedo torpedo is an awesome species name.
Much more recently, there has been interest in transcranial direct current stimulation (tDCS). In essence, it’s a technique by which you pass an electrical current (typically about 2 milliamps) between strategically positioned electrodes on your head. The precise reason to do this is a bit unclear; different journal articles have suggested improvements in cognition, learning, and/or the potential treatment of various diseases.
I think most of us here spend a lot of time studying. The idea that a simple, noninvasive device can accelerate that is very attractive. We’ve covered a few people building their own such devices.
Unfortunately, what we want to be true is irrelevant. Superficially, this looks like a DARPA-funded panacea with no clearly established mechanism of action. Various commercial products are being sold that imply (but as usual, don’t directly state) that tDCS is useful for treating pretty much everything, with ample use of ‘testimonials’.
While tDCS can be prescribed by a physician in some countries to complement a stroke rehabilitation regime, for off-label purposes you may as well just go apply a fish to your face. Let’s dig into the literature and products that are out there and see if we can find the promise hiding amidst the hype.
We’ve talked about TensorFlow before — Google’s deep learning library. Crunching all that data is the province of big computers, not embedded systems, right? Not so fast. [Neil-Tan] and others have been working on uTensor, an implementation that runs on boards that support Mbed-OS 5.6 or higher.
Mbed of course is the embedded framework for ARM, and uTensor requires at least 256K of RAM on the chip and an SD card less than (that’s right; less than) 32 GB. If your board of choice doesn’t already have an SD card slot, you’ll need to add one.
While the ESP8266 has made its way into virtually every situation where a low-cost WiFi solution is needed, it’s not known as being a low-power solution due to the amount of energy it takes to run WiFi. [Alex] took this design constraint as more of a challenge though, and with the help of an ATtiny microcontroller was able to develop a weather station using an ESP8266 that only needs new batteries every 2-4 years.
While the ESP8266 module consumes a bit of power, the ATtiny excels in low-power mode. To take advantage of this, [Alex] designed the weather station using the ATtiny to gather data every two minutes, store the data in a buffer, and upload all of it in bursts every hour using the ESP8266. This means that the power-hungry WiFi chip can stay off most of the time, drastically limiting the power demands of the station. [Alex] mostly details the setup of the ATtiny and the ESP8266 on his project page, so this could be applied anywhere that low power and network connectivity are required.
As for the weather reporting capabilities, the station is equipped to measure temperature, light, and humidity. Presumably more could be added but this might increase the power demands for the weather station as a whole. Still, changing batteries once a year instead of once every two years might be a worthwhile trade-off for anyone else attempting such an ambitious project. Other additions to the weather station that we’ve seen before might include a low-power display, too.