Today is March 14th, or Pi Day because 3.14 is March 14th rendered in month.day date format. A very slightly better way to celebrate the ratio of a circle’s circumference to its diameter is July 22nd, or 22/7 written in day/month order, a fractional approximation of pi that’s been used for thousands of years and is a better fit than 3.14. Celebrating Pi Day on July 22nd also has the advantage of eschewing middle-endian date formatting.
But Pi Day is completely wrong. We should be celebrating Tau Day, to celebrate the ratio of the circumference to the radius instead of the diameter. That’s June 28th, or 6.283185…. Nonetheless, today is Pi Day and in the absence of something truly new and insightful — we’re still waiting for someone to implement a spigot algorithm in 6502 assembly, by the way — this is a fantastic opportunity to discuss something tangentially related to pi, the history of mathematics, and the idea that human knowledge builds upon itself in an immense genealogy stretching back to the beginning of history.
This is our Pi Day article, but instead of complaining about date formats, or Tau, we’re going to do something different. This is how you approximate pi with the Monte Carlo method, and how anyone who can count to a million can get a better approximation of one the fundamental constants of the Universe than Archimedes.
While the Raspberry Pi’s birthday (and the traditional release date for the newest and best Pi) was a few weeks ago, Pi Day is a fitting enough date for the introduction of the best Pi to date. The Raspberry Pi 3 Model B+ is the latest from the Raspberry Pi foundation. It’s faster, it has better networking, and most interestingly, the Pi 3 Model B+ comes with modular compliance certification, allowing anyone to put the Pi into a product with vastly reduced compliance testing.
It’s fair to say that software-defined radio represents the most significant advance in affordable radio equipment that we have seen over the last decade or so. Moving signal processing from purpose-built analogue hardware into the realm of software has opened up so many exciting possibilities in terms of what can be done both with more traditional modes of radio communication and with newer ones made possible only by the new technology.
It’s also fair to say that radio enthusiasts seeking a high-performance SDR would also have to be prepared with a hefty bank balance, as some of the components required to deliver software defined radios have been rather expensive. Thus the budget end of the market has been the preserve of radios using the limited baseband bandwidth of an existing analogue interface such as a computer sound card, or of happy accidents in driver hacking such as the discovery that the cheap and now-ubiquitous RTL2832 chipset digital TV receivers could function as an SDR receiver. Transmitting has been, and still is, more expensive.
The LimeSDR Mini’s chunky USB stick form factor.
A new generation of budget SDRs, as typified by today’s subject the LimeSDR Mini, have brought down the price of transmitting. This is the latest addition to the LimeSDR range of products, an SDR transceiver and FPGA development board in a USB stick format that uses the same Lime Microsystems LMS7002M at its heart as the existing LimeSDR USB, but with a lower specification. Chief among the changes are that there is only one receive and one transmit channel to the USB’s two each, the bandwidth of 30.72 MHz is halved, and the lower-end frequency range jumps from 100 kHz to 10 MHz. The most interesting lower figure associated with the Mini though is its price, with the early birds snapping it up for $99 — half that of its predecessor. (It’s now available on Kickstarter for $139.)
There’s a sinking feeling when a firmware upgrade to a piece of equipment goes wrong. We’ve all likely had this happen and bricked a device or two. If we are lucky we can simply reapply the upgrade or revert to a previous version, and if we’re unlucky we have to dive into a serial debug port to save the device from the junk pile. But what happens when both those routes fail? If you are [Arko], you reverse-engineer the device and write your own bootloader for it.
The offending bricked object was a Monoprice MP Mini Delta 3D printer to which he was foolhardy enough to apply new firmware after seeing a friend’s machine taking it without issue. Finding the relevant debug interface on its main PCB he applied the firmware upgrade again, only to realise that in doing so he had overwritten its bootloader. The machine seemed doomed, but he wasn’t ready to give up.
What follows in his write-up is a detailed examination of the boot mechanism and memory map of an ARM Cortex M0 processor as found in the Monoprice’s STM32F070CB. We learn about vector tables for mapping important addresses of interrupts and execution points, and the mechanics of a bootloader in setting up the application it launches. This section is well worth a read on its own, even for those with no interest in bricked 3D printers.
In the end he had a working bootloader to which he appended the application firmware, but sadly when he powered up the printer there was still no joy. The problem was traced to the serial connection between the ARM doing the printer’s business and the ESP8266 running its display. After a brainstorm suggestion with a friend, a piece of code was found which would set the relevant registers to allow it to run at the correct speed.
So after a lot of work that resulted in this fascinating write-up, there was a working 3D printer. He suggests that mere mortals try asking Monoprice for a replacement model if it happens to their printers, but we’re extremely glad he persevered. Without it we would never have had this fascinating write-up, and would be the poorer without the learning experience.
We often see people funneling their passion into keeping beloved devices in operation long past their manufacturer’s intent. These replacement Thinkpad motherboards (translated) bring old (yet beloved) Thinkpads a much desired processor upgrade. This is the work of the user [HOPE] on the enthusiast forum 51nb. The hack exemplifies what happens when that passion for legendary gear hits deep electrical expertise and available manufacturing. This isn’t your regular laptop refurbishment, [HOPE] is building something new.
ThinkPads are known for their zealous following (as our own [Brian Benchoff] underscored last year). Lenovo has steered the venerable brand into the future while the laptop market has drifted deeper and deeper into the wilds of tight integration at the expense of user modification. Along the way 4:3 screens were traded for media-friendly 16:9, TrackPoints were traded for trackpads, and the classic ThinkLight gave way to real keyboard backlights. These progressions left a shrinking but vocal group of old school Thinkpad enthusiasts — the cult of Thinkpad — clinging to beloved devices like 2007’s X61 and T60 ignored by a changing market.
In an astounding turn of ingenuity [HOPE] has revitalized these classic ThinkPads by entirely replacing their motherboards. And not just for one particular model, there are options available for at least 3 families of computers. The new devices are referred to by model numbers never used by IBM or Lenovo; the X60/61 motherboard makes an X62, the X200/201 motherboard makes an X210, and the T60 motherboard makes a T70. Depending on the customer’s preference either a bare motherboard or a fully assembled unit is available.
Classic stickers with non-classic ports
Depending on the exact model in question these motherboards slot directly into the original chassis but add recent generation Intel Core I processors, DDR4, USB 3.0/3.1, Thunderbolt 3 and more. Often they reuse the original heat sinks and fans, and expose these ports through the same chassis apertures the original motherboards used. Considering these machines are a decade older than the hardware being crammed inside them the level of integration is truly impressive. The end result looks like it could have come out of a Lenovo factory just before Spring Festival. If you look closely at the image at the top of this article, you might notice they even included an improved “Intel Inside” sticker on the palm rest and a model number label at the lower left of the display!
There is an implicit economic statement here that’s worth calling out. A motherboard for anything more significant than a basic microcontroller is an incredibly complicated piece of technology. When the bar is moved from “small ARM processor” up to “modern x86 system” this counts extra. Not only are they complex electrically but the fabrication processes required to physically create them are at the edge of what you’d find at your favorite cheap PCB fab house. We’re talking CPUs studded with about 1100 pins, DDR4 and PCI-E with extremely tight electrical timing requirements driving elaborate board layouts, and a plethora of off-board peripheral parts. On top of those constraints the board itself must be small enough to fit inside, not a purpose-built enclosure, but an existing laptop body with whatever combination of mounting brackets and connector placements Lenovo decided on. That a hobbyist (we assume) can make their own devices in this range to sell for $500-$700 is nothing short of astounding.
Fresh replacements being installed
This shouldn’t be possible. More accurately, it’s likely possible because there are other drivers which make the cost of PCB fabrication and assembly lower and more accessible than ever. The general march of technology certainly, but perhaps the presence of mobile devices and a desire to repair and improve them. After all and if the rumors are to be believed, anyone who can find the right Huaqiangbei stall can get the NAND replaced in their iPhone, a once complex process made simple.
It’s difficult to track the progression of each model as they are primarily covered on the 51nb forums (a Facebook page called [Lcdfans] makes some of the information available in English). However it’s possible to find hands-on information like [koobear]’s review on Reddit.
Hackaday readers are well aware of the problems caused by materials left exposed to the environment over time, whether that be oxidized contact pads on circuit boards or plastics made brittle from long exposure to the sun’s UV rays.
Now consider the perils faced by materials on the International Space Station (ISS), launched beginning in 1998 and planned to be used until 2028. That’s a total of 30 years in an environment of unfiltered sunlight, extreme temperatures, micrometeoroids, and even problems caused by oxygen. What about the exposure faced by the newly launched Tesla Roadster, an entirely non-space hardened vehicle on a million-year orbit around the sun? How are the materials which make up the ISS and the Roadster affected by the harsh space environment?
Fortunately, we’ve been doing experiments since the 1970s in Earth orbit which can give us answers. The missions and experiments themselves are as interesting as the results so let’s look at how we put materials into orbit to be tested against the rigors of space.
Today the 2018 Hackaday Prize begins with a roar. This is our global engineering initiative with huge prizes for those hackers, designers, and engineers who want to use their skill and energy to build something that matters. This year, we challenge you to Build Hope. Show the world the amazing ways technology enriches humanity, and that its benefits can be shared by all.
There is over $200,000 in cash prizes headed to the most interesting hardware builds of the year. With plenty of room for great ideas, the top 100 entries will each receive a $1,000 cash prize and continue the build to final judging. The top five entries will be awarded a $50,000 Grand Prize, and $20,000, $15,000, $10,000, and $5,000 for 2nd through 5th places. We even have some additional seed funding set aside to help early entries to get started.
What is Building Hope?
It feels like there is a steady drumbeat of doom and gloom surrounding technology these days. We hear this foretold in many ways, things like robots rising up to enslave humanity, artificial intelligence and big data being used to manipulate people, and quantum computing on the horizon that will invalidate cryptographic security. Our challenge? Get in there and show the incredible good that technology can do in the world.
Design something that shows the benefits of using knowledge and creativity to solve a problem. Be the shining light that proves our future is full of hope because smart people care about what happens in the world and to the people who live here. It is our responsibility as those who understand powerful technologies to show the best ways they can be used to build up humanity. This is your chance.
We have five challenge categories to choose from in the 2018 Hackaday Prize. The top twenty entries from each category will receive $1,000 and continue work in order to compete for the top prizes.
Open Hardware Design Challenge:
This is the challenge you should enter right now. Choose a challenge facing the world today and design the best plan possible for the boldest solution you can envision.
Over the years we’ve seen thousands of Hackaday Prize entries that take on farming, transportation, pollution, safety, scientific research, education, and assistive technologies like custom prosthetics, innovative wheelchairs, and braille interfaces for smartphones. There’s plenty in the world that needs solving and you have the talent to do it!
Robotics Module Challenge:
Build a module that makes it easier to put together advanced robots. Show your designs for the parts that others can build on.
Power Harvesting Challenge:
Build a module that harvests ambient power. Show how we can reduce or remove batteries from more devices.
Human Computer Interface Challenge:
Build an innovative interface for humans to talk to machines or machines to talk to humans. Break down more barriers to make devices more intuitive and natural to use.
Musical Instrument Challenge:
Be creative with this round and build a module, interface, or full instrument that evolves or goes far beyond modern music instrumentation.
Seed Funding For Early Entries
Itching to build something? Get a boost on your material budget by securing a bit of seed funding. Enter your design in the first challenge and pack it with as much information as possible. Each “like” that you get from the Hackaday.io community translates to $1 in seed funding. We have $4000 set aside with a max of $200 per entry. You can follow progress by checking the leaderboard on the Hackaday Prize page.
Incredible Judges
The Hackaday Prize has something really special in the judges that volunteer their time and talent to review the 100 finalists. They are accomplished engineers working, researching, and forging ahead to new frontiers in technology. Learn more about the judges on the Hackaday Prize page.
Get Started at World Create Day
This coming Saturday is Hackaday World Create Day, and the perfect time to get started with your Hackaday Prize entry. Stop by a meetup in your area (or host your own) and put your heads together and pick the design challenge you want to work on. We love seeing collaborative entries and this is a great chance to build your engineering dream team.
Five Years of Amazing Engineering
Thousands of entries have been submitted to the Hackaday Prize over the years. Founded in 2014 by Supplyframe CEO Steve Flagg, the Hackaday Prize is now in its fifth year. The challenges change each year, but the goal remains the same: to Build Something That Matters. We are consistently amazed both by the quality of the solutions, and the uncovering of new and interesting problems targeted by the entries.
Studying earth’s oceans is increasingly important be it due to climate change or pollution. Alex Williams was awarded the 2017 Hackaday Prize for his Open Source Underwater Glider, a suite of sensors built into a cleverly low-power underwater autonomous vehicle. In 2016, Alberto Molina took the top spot for DTTO, a modular robotics system made up of multiple single-hinge segments that can reorient themselves. A team working toward an eye-controlled electric wheelchair placed first in 2015 for Eyedriveomatic — a solution that improved life for two of the team members with Motor Neuron Disease, (also called ALS). And the recipients of the first Hackaday Prize were recognized for their team’s development of a network of satellite ground stations (SatNOGS) which anyone can build, add to the network, and share time on to communicate with satellites as they make their orbit. This is an important tool to make low-cost research for things like Cubesats possible, and the network has been growing ever since.
If you feel the need for more inspiration, take a few minutes to look over the Hackaday Prize hall of fame of all of the top finishers through the years.
These are impressive ideas that began with the basic question of how can we do better? A simple idea can change the world but only if you share that idea and work to make it grow. Enter yours in the Hackaday Prize now!