An Arduino Weather Station With An E-Ink Display

For our Northern Hemisphere readers the chill winds of winter are fast approaching, so it seems appropriate to feature a weather station project. Enjoy your summer, Southern readers!

[Fandonov] has created a weather station project with an Arduino Uno at its heart and a Waveshare e-ink display as its face to the world, and as its write-up (PDF) describes, it provides an insight into both some of the quirks of these displays, and into weather forecasting algorithms.

The hardware follows a straightforward formula, aside from Arduino and display it boasts an Adafruit sensor board and a hardware clock. Software-wise though there are some tricks to give the display a scalable font that other tinkerers might find useful, drawing characters as a matrix of filled circle primitives.

The write-up gives an introduction to forecasting based only on local readings rather than on the huge volumes of data over a wide area used by professional meteorologists. In play here is the Zambretti algorithm, which takes the readings and information about whether they are rising or falling, and returns a forecast from a look-up table.

As we’ll all be aware, even professional weather forecasting is fraught with inaccuracies, but this is nonetheless an interesting project that is very much worth a second look. Meanwhile we’ve covered huge numbers of weather stations in the past, a couple of interesting ones are this one using a classic TI99/4A home computer, and more relevant here, this one using an e-paper badge.

Thanks [Phil] for the tip!

A Robot That Can Still Keep Its Balance After A Night In The Pub

One of the star attractions at the recent bring-a-hack prior to our London unconference was [Dan]’s two-wheeled self-balancing robot. As the assorted masses of the Hackaday readership consumed much fine ale and oohed and ahhed over each others work, there it stood on a pub table, defying all attempts to topple it.

In a way a successful self-balancer can look surprisingly unexciting because it achieves the seemingly unimpressive task of just standing there and not doing much except trundling about, but to take such a superficial view belies the significant feat of engineering that gives the self-balancer its party trick. And it’s no mean achievement to create one from fairly basic hardware, so how has he done it?

The 3D-printed frame holds a pair of stepper motors to do the hard work, while a piece of stripboard acts as carrier for boards containing the MPU6050 accelerometer and DRV8825 stepper motor drivers. Meanwhile the brains of the whole show started as an Espruino Pico but has since been moved to an ESP32.

There is a linked GitHub repository with all the code, and if our description of seeing it in a London pub isn’t good enough for you then you can see it in action in the video below.

Continue reading “A Robot That Can Still Keep Its Balance After A Night In The Pub”

Where Can You Fly? Worldwide Drone Laws Mapped

If you are a flier of a multirotor, or drone, you should be painfully aware of the regulations surrounding them wherever you live, as well as the misinformation and sometime bizarre levels of hysteria from uninformed people over their use.

Should you travel with your drone, you will also probably be resigned to being interrogated by airport staff high on The War On Terror security theatre, and you’ll probably not find it surprising that they have little idea of the laws and regulations over which they have pulled you aside. It’s a confusing situation, and it’s one that [Anil Polat] has addressed by collating information about drone laws worldwide, and presenting his results on a Google map.

To do this must have been a huge undertaking, particularly since he got in touch with the appropriate authorities to access the information from the horse’s mouth. Looking at the map, we can almost view the green, yellow, and red pins showing different levels of restriction on flight as a fascinating indication of differing levels of security paranoia worldwide. If your territory has an orange or red pin, our commiseration.

This is a useful resource for anyone with an interest in multirotor flying, and he has also made it available as an app. However, it is always safest to check with the authorities concerned before flying in another territory, in case any laws have changed.

Here at Hackaday we’ve held an interest in the interface between multirotor fliers, governments, and the general public for a while now. In 2015 we took a look at FAA regulations for example, and last year we examined the inaccuracies in British air incident reports.

Via Adafruit.

Return To The Asus Tinker Board: Have Six Months Changed Anything?

The Asus Tinker Board, in all its glory
The Asus Tinker Board, in all its glory

Back in February this year, we ordered a new single board computer, and reviewed it. The board in question was the Asus Tinker Board, a Raspberry Pi 3 competitor from the electronics giant in a very well-executed clone of the Raspberry Pi form factor.

Our review found its hardware to be one of the best of that crop of boards we had yet seen, but found serious fault with the poor state of its software support at the time. There was no website, the distro had to be downloaded from an obscure Asus download site, and there was no user community or support channel to speak of. We were then contacted by some of the folks from Asus who explained that the board had not yet been officially launched, and that the unit we’d secured had escaped the fold a little early. Continue reading “Return To The Asus Tinker Board: Have Six Months Changed Anything?”

Seek Out Scammers With Skimmer Scanner

Last week we reported on some work that Sparkfun had done in reverse engineering a type of hardware card skimmer found installed in gasoline pumps incorporating card payment hardware. The device in question was a man-in-the-middle attack, a PIC microcontroller programmed to listen to the serial communications between card reader and pump computer, and then store the result in an EEPROM.

The devices featured a Bluetooth module through which the crooks could harvest the card details remotely, and this in turn provides a handy way to identify them in the wild. If you find a Bluetooth connection at the pump bearing the right identification and with the right password, it can then be fingered as a skimmer by a simple response test. And to make that extra-easy they had written an app, which when we reported on it was available from a GitHub repository.

In a public-spirited move, they are now calling upon the hardware hacker and maker community to come together today, Monday, September 25th, and draw as much attention as possible to these devices in the wild, and with luck to get a few shut down. To that end, they have put a compiled version of the app in the Google Play Store to make it extra-easy to install on your phone, and they are asking for your help. They are asking for people to first read their tutorial linked above, then install the app and take it on the road. Then should any of you find a skimmer, please Tweet about it including your zip code and the #skimmerscanner hashtag. Perhaps someone with a bit of time on their hands might like to take such a feed of skimmer location data and map it.

It would be nice to think that this work might draw attention to the shocking lack of security in gas pumps that facilitates the skimmers, disrupt the finances of a few villains, and even result in some of them getting a free ride in a police car. We can hope, anyway.

Gasoline pump image: Michael Rivera [CC BY-SA 3.0].

A Very 2017 Take On A BBC Micro

In the early 1980s, there were a plethora of 8-bit microcomputers on the market, and the chances are that if you were interested in such things you belonged to one of the different tribes of enthusiasts for a particular manufacturer’s product. If you are British though there is likely to be one machine that will provide a common frame of reference for owners of all machines of that era: The Acorn BBC Microcomputer which was ubiquitous in the nation’s schools. This 6502-driven machine is remembered today as the progenitor and host of the first ARM processors, but at the time was notable for the huge array of built-in interfaces it contained. Its relatively high price though meant that convincing your parents to buy you one instead of a ZX Spectrum was always going to be an uphill struggle.

So, you never owned a BBC Micro, and this has scarred you for life. Never mind, all is not lost, for now you can have that Acorn experience without scouring eBay for a classic micro, by running one entirely in silicon on a myStorm FPGA board.

To be fair, running classic hardware on an FPGA is nothing new and there have been a few BBC Micros implemented in this way, not to mention an Acorn Atom. But this project builds on the previous FPGA BBC Micros by porting it entirely to Verilog and incorporating some of the bug fixes from their various forks. There are screenshots of the result running several classic games, as well as test screens and a benchmark revealing it to be a faithful reproduction of a 2MHz BBC Micro.

We covered the myStorm board when it arrived last year. We’ve also brought you another FPGA board running as a coprocessor for a real BBC micro.

Thanks [monsonite] for the tip. He also alerts us that the myStorm board’s ARM microcontroller can now be programmed from the Arduino IDE.

EMMC Hacks For The Speed And Capacity Upgrade Win

You could say that it is the essence of a site like this one, that the kind of people who form our readership are also the kind of people who examine the specs of the devices in front of them to reveal hidden features. Such was the case with [Ryan], who noticed that the eMMC controller on his 96Boards HiKey development board supports both HS200 data transfer speeds and 1.8v signaling, both of which it wasn’t using.

In unlocking the extra performance, he takes readers through a primer on the device tree, and is happy to report that his transfer rate has increased from 26 to 36 MB/s, a tidy return on his work.

However, the story doesn’t end there. The 8GB Samsung eMMC chip wasn’t quite as roomy as he’d have liked, so it was time to replace it with a 32GB version. Even with careful desoldering, he managed to lift a few pads, though very fortunately they were ones that were either NC or power rails that were duplicated elsewhere. Some tricky reflowing of what is quite a formidable BGA package to do by hand, and he was rewarded with a working board featuring higher flash capacity. We salute him for taking it on, we probably wouldn’t have had the courage.

We’ve brought you a similar upgrade before, this time an eMMC on a Nexus 5 phone.

Thanks [darkspr1te] for the tip.