Hacklet 123 – Watches

Time and tide wait for no man. Chaucer may be right, but a man (or woman) wearing a watch can get ahead of time before it sneaks up on them. People aren’t ever satisfied with just the time though. They want the date, the phase of the moon. [Woz] summed it up pretty well when he said “I want the entire smartphone, the entire Internet, on my wrist”.   Hackers love watches too, which means there are plenty of watch projects out there. Some of them even tell time. This week we’re looking at some of the best watch projects on Hackaday.io!

chronioWe start with [Max.K] and Chronio. You might think Chronio looks a bit like the Pebble Time, and you’d be right! [Max] based his design heavily on Pebble’s case design. Pebble even has their CAD files on GitHub, which helped [Max] with his modified, 3D printed version. Chronio is Arduino based, using an ATmega328p microcontroller with the Arduino bootloader. The display is Sharp’s 96×96 pixel Memory LCD. A DS3231 keeps the time accurate, and provides a free temperature sensor. The entire watch is powered by a CR2025 battery. Running a 20uA sleep current, [Max] estimates this watch will last about 6 months on a single battery.

neopixel-pocketNext we have [Joshua Snyder] and Neopixel pocket watch. Who said a watch has to go on your wrist? [Joshua] brings some steampunk style to the party. His watch uses an Adafruit 12 NeoPixel ring to tell time. Red, blue, and green LEDS represent the hour, minute and second hands. The watch is controlled by an ESP8266. The time is set via WiFi. Between the LEDs and the power-hungry ESP8266, this isn’t exactly a low-power design. A 150mAh LiPo battery should keep things running for a few hours though. That’s more than enough time to make a splash at the next hackerspace event.

pi-watchNext up is [ipaq3115] and The Pi Watch. Round smartwatches have created a market for round LCD screens. These screens have started to trickle down into the hacker/maker market. [ipaq3115] got his hands on one, and had to design something cool with it. The Pi Watch isn’t powered by a Raspberry Pi, but a Teensy 3.1. [ipaq3115] included the Freescale/NXP Kinetis processor and MINI54 bootloader chip on his own custom board. He used the Teensy’s analog inputs to create his own 10 element capacitive touch ring. This watch even has a LSM303  magnetometer/accelerometer. All this power comes at a cost though. It takes a 480 mAh LiPo battery to keep The Pi Watch Ticking.

vikasFinally we have [Vikas V] and ScrolLED watch. Who says a watch has to have an LCD? [Vikas V] wanted a scrolling LED display on his wrist, so he built his own. An Atmel ATmega88V-10AU controls a 16×5 charlieplexed LED array. [Vikas] included a character font with many of the ASCII symbols in flash, so this watch can display messages. Power comes from a CR2032 watch battery in a custom PCB mounted holder. [Vikas] biggest issue so far has been light leaks from LED to LED. He’s considering mounting the array on the bottom of the watch. Shining the LEDs up through holes in the PCB would definitely help with the light leakage.

If you want to see more watch projects, check out our new watch projects list. Notice a project I might have missed? Don’t be shy, just drop me a message on Hackaday.io. That’s it for this week’s Hacklet, As always, see you next week. Same hack time, same hack channel, bringing you the best of Hackaday.io!

Flying A Normally-Sized Drone With A Nano-Drone’s Brain

Drones come in all shapes and size, and [Kedar Nimbalkar] was wondering if the guts of a tiny Cheerson CX-10 nano-drone could take off with a larger body, leading to an interesting brain transplant experiment.

For his test, [Kedar] acquired a CX-10 and the body of a larger Syma X5SW drone. After gutting the CX-10 for its LiPo battery and circuit board, which features an STM32 ARM-core MCU, a 6-axis IMU and the wireless transmitter, [Kedar] studied the datasheet of the onboard SQ2310ES driver MOSFETs. He figured that with a maximum continuous current rating of 6A, they would probably be able to cope with the higher load of the slightly larger motors of the X5SW body. They also didn’t seem to overheat, so he just installed the board into the new body as-is and wired up the motors.

Continue reading “Flying A Normally-Sized Drone With A Nano-Drone’s Brain”

Software USB On The ESP8266

A while back, [cnlohr] needed a USB keyboard and mouse. His box ‘o junk didn’t hold this particular treasure, and instead of hopping on Amazon like a normal geek or venturing into the outside realm on a mid-level ‘store’ quest like a normal person, [cnlohr] decided to turn an ESP8266 into a USB keyboard and mouse. How hard could it be? The ESP doesn’t support USB, but bitbanging hasn’t stopped him before. The end result is a USB stack running on the ESP8266 WiFI module.

[cnlohr] has been working for about a month on this USB implementation for the ESP, beginning with a logic analyzer, Wireshark, Xtensa assembly, and a lot of iteration. The end result of this hardware hacking is a board based on the ESP8285 – an 8286 with integrated Flash – that fits snugly inside a USB socket.

This tiny board emulates low-speed USB (1.5 Mbps), and isn’t really fast enough for storage, serial, or any of the fancier things USB does, but it is good enough for a keyboard and mouse. Right now, [cnlohr]’s ESP USB device is hosting a webpage, and by loading this webpage on his phone, he has a virtual keyboard and mouse on a handheld touchscreen.

If you’re keeping track, [cnlohr] has now brought Ethernet and USB to a tiny microcontroller that can be bought for a few bucks through the usual online outlets. If you’d like to build your own ESP USB stick, all the files are over on the Gits.

Thanks [lageos] for the tip.

Continue reading “Software USB On The ESP8266”

Interesting Switch Autopsy

We put a lot of trust into some amazingly cheap components, sometimes that trust is very undeserved. Long gone are the days when every electronic component was a beautifully constructed precision lab instrument.  As [Rupert Hirst] shows, this can be a hard lesson to learn for even the biggest companies.

[Rupert]’s Nexus 5 was suffering from a well known reboot issue. He traced it to the phone’s power switch. It was always shorting to ground, even though it clicked like it was supposed to.

He desoldered the switch and pried the delicate sheet metal casing apart. Inside were four components. A soft membrane with a hard nub on the bottom, presumably engineered to give the switch that quality feeling. Next were two metal buckles that produced the click and made contact with the circuit board, which is the final component.

He noticed something odd and  busted out his USB microscope. The company had placed a blob of solder on the bottom buckle. We think this is because steel on copper contact would lead to premature failure of the substrate, especially with the high impact involved during each switching event.

The fault lay in the imprecise placement of the solder blob. If it had been perfectly in the middle, and likely many phones that never showed the issue had it there, the issue would have never shown up. Since it was off-center, the impact of each switching event slowly deposited thin layers of solder onto the copper and fiberglass. Finally it built up enough to completely short the switch.

Interestingly, this exact problem shows up across different phone manufacturers, somewhere there’s a switch company with a killer sales team out there.

Tour De Force Battery Hacking

Lithium-Ion batteries are finicky little beasts. They can’t be overcharged, overdischarged, overheated, or even looked at funny without bursting into flames. Inside any laptop battery pack, a battery charge controller keeps watch over all the little cells, and prevents them from getting damaged.

Of course, any “smart” device will sometimes make the wrong choices, and then it’s up to us to dig inside its brains and fix it. When [Viktor] got a perfectly good battery pack with a controller that refused to charge the batteries, he started off on what would become an epic journey into battery controllers, and the result is not just a fixed battery, but a controller-reprogramming tool, software, and three reversed controller chips so far.

devbBattery controller chips speak SMBus, and [Viktor] started out by building a USB-SMBus tool. It’s a clever use of a cheap eBay development board for a Cypress CY7C68013A USB microcontroller. Flashed with [Viktor]’s firmware and running his software on the host computer, a SMBus scan is child’s play.

The rest of the story is good old-fashioned hacking: looking for datasheets, reading industry powerpoints, taking wild guesses, googling for passwords, and toggling the no-connect pins while booting the controllers up. We’re not going to argue with results: the bq8030, R2J240, and M37512 controllers have all given up their secrets, and tools to program them have been integrated into [Viktor]’s SMBusb tool.

In short, this is one of the nicest hard-core hacks we’ve seen in a while. Kudos [Viktor]! And thanks for the SMBus tool.

Hackaday Prize Entry: BunnyBot Helps Out All On Its Own

[Jack Qiao] wanted an autonomous robot that could be handy around an ever-changing shop. He didn’t want a robot he’d have to baby sit. If he said, ‘bring me the 100 ohm resistors’, it would go find and bring them to him.

He iterated a bit, and ended up building quite a nice robot platform for under a thousand dollars. It’s got a realsense camera and a rangefinder from a Neato robotic vacuum. In addition to a mircrophone, it has a whole suite of additional sensors in its base, which is a stripped down robotic vacuum from a Korean manufacturer. A few more components come together to give it an arm and a gripper.

The thinking is done on a  Nvidia Jetson TK1 board. The cores on the integrated graphics card are used to perform faster computer vision calculations. The software is all ROS based.

As can be seen in the video after the break. The robot uses SLAM techniques to successfully navigate and complete tasks such as fetch resistors, get water, and more. [Jack Qiao] is happy with his robot, and we would be too.

Continue reading “Hackaday Prize Entry: BunnyBot Helps Out All On Its Own”

10,000 Lumen Sunrise Lamp Curses The Darkness

Some of us need a bit of help to get up in the mornings. This can come in the form of a sunrise lamp, which simulates the light of the sunrise to fool our poor sleep-deprived brains into waking up in the depths of winter. [Lincoln Johnson] found the ones he tried were not bright enough to wake him, so he decided to build his own: a 10,000-lumen monster that can wake him up from across the room.

It uses a lot of LEDS: 5 meters of 5630 LED strip, which pulls a circuit bending 72 watts when running at full blast. This monstrosity is powered by an Arduino Pro, which is programmed to slowly increase the brightness over a period of 30 minutes, thus simulating the sunrise. It uses PWM control to fade the LEDs, and also includes a dot matrix display to show the time. Honestly, if you are able to sleep through this thing blasting your eyes, you are probably dead.