HOME > RSS > TECHNOLOGY > hack a day

R S S : hack a day

PageRank : 2 %

VoteRank :
(0 - 0 vote)

tagsTags: , , , , , , ,



Datalogger uses ESP32 and ESP8266 Low Power Modes

24 September, by Al Williams[ —]

[G6EJD] wanted to design a low power datalogger and decided to look at the power consumption of an ESP32 versus an ESP8266. You can see the video results below.

Of course, anytime someone does a power test, you have to wonder if there were any tricks or changes that would have made a big difference. However, the relative data is interesting (even though you could posit situations where even those results would be misleading). You should watch the videos, but the bottom line was a 3000 mAh battery provided 315 days of run time for the ESP8266 and 213 days with the ESP32.

The fact that the hardware and software only differ in the central processing unit means the results should be pretty comparable. [G6EJD] accounts for the current draws throughout the circuit. The number of days were computed with math, so they don’t reflect actual use. It also depends on how many samples you take per unit time. The goal was to get operation on batteries to last a year, and that was possible if you were willing to reduce the sample rate.

While we generally like the ESP32, [G6EJD] makes the point that if battery life is important to you, you might want to stick to the ESP8266, or look for something else. Naturally, if you are trying to maximize battery life, you are going to have to do a lot of sleeping.

Filed under: ARM, wireless hacks

Giant D20 Is A Critical Hit in More Ways than One

24 September, by James Hobson[ —]

[Mikael Vejdemo-Johansson] is a member of the NYC Resistor hackerspace and an avid fan of a D&D themed improv theatre called The Campaign. To show his appreciation, he decided to gift them a Christmas present: a giant D20. The original plan called for integrated LEDs to burst alight on a critical hit or miss, or let out pulses if it landed on another face. Cool, right? Well, easier said than done.

[Vejdemo-Johansson] figured a circle of 4 tilt sensors mounted on the one and twenty face would be enough to detect critical rolls. If any of the switches were tilted beyond 30 degrees, the switch would close. He mounted eight ball-tilt switches and glued in the LEDs. A hackerspace friend also helped him put together an astable multivibrator to generate the pulses for non-critical rolls.

This… did not work out so well. His tilt sensor array proved to be a veritable electronic cacophony and terribly sensitive to any movement. That and some other electronic troubles forced a shelving of any light shows on a critical hit or miss. [Vejdemo-Johansson] kept the pulsing LEDs which made for a cool effect when shining through the mirrored, red acrylic panes he used for the die faces. Foam caulk backer rods protect as the die’s structure to stop it from being shattered on its first use.

Before The Campaign’s next show, [Vejdemo-Johansson] managed to stealthily swap-out of the troupe’s original die with his gift, only for it to be immediately thrown in a way that would definitely void any electronic warranty. Check out the reveal after the break (warning, some NSFW language)!

Oh well, it’s the thought that counts, right? Hot glue to the rescue.

A more durable die might be found in the form of a bracer, but for those longer game sessions, you might want an electronic die that that doesn’t need batteries!

[Thanks for the tip, Bonnie Eisenman!]

Filed under: led hacks

Game Boy Advance Hiding In a Medical Device

24 September, by Steven Dufresne[ —]

It turns out that medical manufacturers also do hacking once in a while. [JanHenrikH] recently tweeted a photo of an ECG-Trigger-Unit that he’d opened up. Inside he found that the LCD screen was that of a Game Boy Advance (GBA) and the reason he could tell was that the screen’s original case was still there, complete with GAME BOY ADVANCE SP written on it.

In the manufacturer’s defense, this device was likely made around the year 2000 when gaming products were some of the best sources for high speed, high quality, small LCDs displays.  This design document for a portable ECG measurement instrument from as recently as 2013 cites reasons for using a GBA as:

  • impressive plotting results,
  • no serious transmission delays, and
  • fine graphics processing capability.

The Verge had even turned up this US patent from 1997 that has the diagnostic medical device be a cartridge for plugging into a Game Boy. At the time, PCs were frequently used for medical displays but this patent cites issues such as the higher cost of PCs, software installation issues, and crashing. However, they talk about the crashing being due to running word processing and spreadsheet software on the same PC, something not likely to happen if the PC is dedicated to bedside monitoring.

But despite all those pros, wouldn’t you feel surprise and alarm when you first glimpse the Game Boy inside the device that’s monitoring your heart? We also have to wonder what licensing these products went through in the countries in which they were used. This particular device was made by German company Medical Imaging Electronics.

Game Boy hacks aren’t limited to the medical industry though. Here on Hackaday, we’ve seen them turned into remote controls for flying drones and we’ve seen Game Boy cartridge emulators that use STM32. Finally, if you’re wondering where you saw [Jan Henrik]’s name before, he was one of the two hackers driving the motorized armchair in a photo in our [Jenny List]’s SHACamp 2017 write-up.

Our thanks to [geonomad] for the tip!

Filed under: Medical hacks

Giving a 4k Webcam Special Eyes

24 September, by Dan Maloney[ —]

It’s a problem as old as photography: your camera is only as good as your lens. As cameras shrink, so do lenses, and so do the options for upgrading to a better lens. And forget about switching to a different focal length or aperture — it’s often just not an option. Unless you make it an option by adding a CS lens mount to a high-end webcam.

We’ll stipulate that at 4k resolution and packed with all sorts of goodies, the Logitech Brio Pro is a heck of a nice camera. And the lens isn’t bad either, as you’d hope for a camera with almost 9 megapixels at its disposal. But with an optical field of view optimized for video conferencing, it’s hard to use this premium camera for much else. [Saulius] fixed that by taking the camera apart and adding a new case with a built-in C- and CS-mount, resulting in literally thousands of lens choices. [Saulius]’ post has valuable teardown information, which includes exposing the CCD sensor completely. The new case is sold as a kit, but it looks like a 3D-printed case would be pretty easy to whip up.

[Salius] sure seems to love those optical hacks, whether they be a budget microscope camera, high-resolution LIDAR, or capturing license plates at great distances.

Filed under: digital cameras hacks

EMMC Hacks For The Speed And Capacity Upgrade Win

24 September, by Jenny List[ —]

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.

Filed under: parts

Playing Mario on an Oscilliscope

24 September, by Rich Hawkes[ —]

Any display can be connected to a microcontroller and used as a display if you know the protocol to use and have enough power in your micro. Sometimes, an odd display is used just “because it’s there.” This seems to be the case for Reddit user [phckopper], who has used a STM32 and a PS2 joystick to play a version of a Mario game on an oscilloscope.

There’s not many technical details but [phckopper] lets us know that the rendering is done using the SPI on the STM, transferred via DMA, which is synchronized to two saw-tooth waves that are fed in to the X and Y axes of the oscilloscope.  The Z axis, which controls the brightness of the dot, is fed from the MOSI. By making the oscilloscope range all over the screen, similar to the way a CRT’s gun does, [] is able to draw sprites, rather than vector graphics. The display has a resolution of 400×400 and each sprite is 16×16. The input is from a PS2 joystick connected to [phckopper]’s PC, with the information communicated over UART using a simple protocol.

We don’t get to see much of the game in the video after the break, but it’s a pretty impressive job nonetheless, especially when you realize that [phckopper] did this project when he was just sixteen! There are a couple of other oscilloscope projects here at Hackaday, like this one, a great version of pong played on the ‘scope, or this one, showing off some great graphics.

[via Reddit]

Filed under: hardware, Microcontrollers, nintendo hacks

Hackaday Prize Entry: Infrared Vein Illumination

23 September, by Brian Benchoff[ —]

Phlebotomy is a fun word, and the fine art of finding veins. While the skill of putting needles in arms is honed by nurses and physicians over the course of decades, there are, of course, technological solutions to finding veins. One of the more impressive medical devices that does this uses near-infrared imaging — basically looking under the skin with almost visible light. These devices cost a fortune.

One project in the Hackaday Prize is looking to change that. It’s a near-infrared vein finder. Instead of the thousands of dollars professional unit costs, this one can be built for under one hundred bucks.

As far as this build goes, veins are illuminated via IR light at about 950nm. The backscatter of this light is captured via a Raspberry Pi NoIR camera, with regular old photography film blocking visible light. From there, it’s just a simple matter of image processing and hitting enhance several times until veins appear on a display.

The team behind this project has already developed a mobile version of the device, complete with 3D printed parts. It’s a handy device and a great entry for the Hackaday Prize.

Filed under: The Hackaday Prize

mirPod.com is the best way to tune in to the Web.

Search, discover, enjoy, news, english podcast, radios, webtv, videos. You can find content from the World & USA & UK. Make your own content and share it with your friends.

HOME add podcastADD PODCAST FORUM By Jordi Mir & mirPod since April 2005....