[Lewin] wrote in to tell us about a high speed library for Arduino Due that he helped develop which allows interfacing OLED displays that use the SSD1306 display controller, using DMA routines for faster display refresh time.
Typically, displays such as the Monochrome 1.3″ 128×64 OLED graphic display , are interfaced with an Arduino board via the SPI or I2C bus. The Adafruit_SSD1306 library written by [Limor Fried] makes it simple to use these displays with a variety of Arduinos, using either software or hardware SPI. With standard settings using hardware SPI, calls to display() take about 2ms on the Due.
[Lewin] wanted to make it faster, and the SAM3X8E on the Due seemed like it could deliver. He first did a search to find out if this was already done, but came up blank. He did find [Marek Buriak]’s library for ILI9341-based TFT screens. [Marek] used code from [William Greiman], who developed SD card libraries for the Arduino. [William] had taken advantage of the SAM3X8E’s DMA capabilities to enable faster SD card transfers, and [Marek] then adapted this code to allow faster writes to ILI9341-based screens. All [Lewin] had to do was to find the code that sent a buffer out over SPI using DMA in Marek’s code, and adapt that to the Adafruit library for the SSD1306.
There is a caveat though: using this library will likely cause trouble if you are also using SPI to interface to other hardware, since the regular SPI.h library will no longer work in tandem with [Lewin]’s library. He offers some tips on how to overcome these issues, and would welcome any feedback or testing to help improve the code. The speed improvement is substantial. Up to 4 times quicker using standard SPI clock, or 8 times if you increase SPI clock speed. The code is available on his Github repo.
A few weeks ago, the folks at the 23b hackerspace held Sparklecon, an event filled with the usual infosec stuff, locks and lockpicking, and hardware. A con, of course, requires some cool demonstrations. They chose to put a pickle in an arc welder, with impressive results.
This build began several years ago when the father of one of 23B’s members pulled off a neat trick for Halloween. With a cut and stripped extension cord, the two leads were plugged into a pickle and connected to mains power. The sodium in the pickle began to glow with a brilliant orange-yellow light, and everyone was suitably impressed. Fast forward a few years, and 23b found itself with a bunch of useless carbon gouging rods, a 200 Amp welder, a pickle, and a bunch of people wanting to see something cool.
The trick to making a pickle brighter than the sun was to set the arc just right; a quarter of an inch between the electrodes seemed optimal, but even then pickle lighting seems very resilient against failing jigs made from a milk crate, duct tape, and PVC. Video (from the first Sparklecon, at least) below.
Continue reading “Sodium Pickle Lights”
Wearables are the next frontier of amateur electronics, and [Kevin]’s Arduboy ring is one of the best examples we’ve seen yet.
Inside the Arduboy is an nRF51822 – a chipset with Bluetooth Low Energy, an ARM Cortex M0,256k of Flash, and 16k of RAM. There’s also a an OLED and a touch button for displaying notifications from a phone, with the ability to reply to these notifications.
The enclosure for the ring is rather interesting. It’s a bit thick, but that’s for a reason – there’s a 40mAh battery stuffed along the sides of the ring. The enclosure itself is 3D printed to spec, and contrary to some beliefs, there’s nothing wrong with bending a LiPo cell once. Sure, it only has four hours of battery life with the display on, but it has a 24 hour battery life in standby mode, making it almost useful as an everyday wearable.
This is [Kevin]’s second wearable, the first being the Ardubracelet, an extremely interesting OLED bracelet with three different displays. The Arduboy is much more compact and comes extremely close to looking like a product. You can check out the video of it below.
Continue reading “An OLED Ring for Bluetooth Notifications”
Despite the MicroView shipping a ton of units, we haven’t seen many projects using this tiny Arduino and OLED display in a project. Never fear, because embedded systems engineer, podcaster, and Hackaday Prize judge [Elecia White] is here with a wearable build for this very small, very cool device.
The size and shape of the MicroView just cried out to be made into a ring, and for that, [Elicia] is using air-drying bendy polymer clay. To attach the clay to the MicroView, [Elecia] put some female headers in a breadboard, and molded the clay over them into a ring shape. It works, and although [Elecia] didn’t do anything too tricky with the headers and clay, there are some interesting things you could do running wires through the clay.
What does this ring do? It’s a Magic 8 Ball, a game of Pong controlled by an accelerometer, a word-of-the-day thing (with definitions), all stuffed into a
brass silicon, OLED, and clay knuckle. Video below.
If you’re wondering, Turbillion (n). A whirl; a vortex.
Continue reading “Making MicroView Wordy”
It’s always exciting to see the photos from High Altitude Ballooning (HAB) outings. While it’s no surprise that the Raspi is a popular choice—low cost, convenient USB jacks, etc.—this is the first build we’ve seen that uses an OLED during the trip to show real-time data on-screen to be picked up by the on-board webcam. (Though you may have to squint to see it at the bottom middle of the above image).
[Fabrice’s] payload made it to 26,000m, and the screen he chose, an ILSOFT OLED, performed admirably despite the extreme conditions suffered (temperatures can reach -50C). The last time we saw a near-space Raspi payload was a couple of years ago, when [Dave Akerman] was closing in on UK balloon altitude records. [Dave] hasn’t stopped launching balloons, either, testing new trackers and radio modules, as well as his most recent build that sent a Superman action figure to the skies—all recorded in glorious HD.
Check out both [Dave] and [Fabrice’s] blogs for loads of pictures documenting the latest in High Altitude Ballooning, and stay with us after the jump for a quick video of [Fabrice’s] OLED in action.
Continue reading “Throwing Pis into the Stratosphere”
Here’s something that’s just a design study, but [Ivan]’s Apple IIe phone is a work of art. You’re not fitting a CRT in there, but someone out there has a 3D printer, an old LCD, and a GSM module. Make it happen. See also: the Frog Design Apple phone.
[Arduino Enigma] created a touchscreen Enigma machine. Why haven’t we seen an Arduino Colossus yet?
The crew at Adafruit now have a Flying Toaster OLED, which means we now have flying toaster bitmaps for all your OLED/graphic display projects.
[Ian] had an old rackmount programmable voltage standard. This was the remote programmable voltage standard, without front panel controls. No problem, just get an Arduino, shift register, and a few buttons. Video right here.
A few months ago, [Jan] released a neat device that stuffs a modelling synth inside a MIDI plug. He’s selling them now, and we’d love to see a few videos of this.
[Justin] tipped us about his slick custom OBD-II gauge that could easily pass for an OEM module. He was able to use the clock area of his Subaru BRZ to display a bunch of information including the oil and coolant temperatures and the battery voltage.
The forum post linked above has a good FAQ-based explanation of what he did, but so many people have told him to shut up and take their money that he created an Instructable for it. Basically, he’s got a Sparkfun OBD-II UART board communicating with a pro Trinket. The display is an Adafruit OLED, which he found to be an ideal choice for all the various and sundry light conditions inside the average car.
[Justin] was able to reuse the (H)our and (M)inute buttons and reassigned them to (H)igh to show the peak reading and (M)ode to, well, switch between modes. The (:00) now resets the peak readings. He offers suggestions for acquiring the specific CAN codes for your car to make the data more meaningful. [Justin]’s code is safe in the many tentacles of Octocat, and you can check out his demo video below.
Continue reading “Ceci N’est Pas Une Clock”