Arduino Plays White Tiles On Your Mobile Touchscreen

Like many mobile gamers, [Daniel] has found himself caught up by the addictive “White Tiles” game. Rather than play the game himself though,  [Daniel] decided to write his own automatic White Tiles player. While this hack has been pulled off before, it’s never been well documented. [Daniel] used knowledge he gleaned on Hackaday and Hackaday.io to achieve his hack.

The basic problem is sensing white vs black tiles and activating the iPad’s capacitive touch screen. On the sensing end, [Daniel] could have used phototransistors, but it turned out that simple CdS cells, or photoresistors, were fast enough in this application. Activating the screen proved to be a bit harder. [Daniel] initially tried copper tape tied to transistors, but found they wouldn’t reliably trigger the screen. He switched over to relays, and that worked perfectly. We’re guessing that changing the wire length causes enough of a capacitance change to cause the screen to detect a touch.

The final result is a huge success, as [Daniel’s] Arduino-based player tears through the classic game in only 3.9 seconds! Nice work [Daniel]!

Click past the break to see [Daniel’s] device at work, and to see a video of him explaining his creation.

Continue reading “Arduino Plays White Tiles On Your Mobile Touchscreen”

TRINKET EDC CONTEST ENTRY: Lazydoro

[Vasilis] has entered Lazydoro in the Trinket Everyday Carry Contest.  Lazydoro is designed to get him up off his backside, and walking around. Recent medical research has determined that sitting too long is a bad thing. In fact,  Dr. David Agus has been quoted by Nike as saying that sitting for several hours is as bad as smoking (wayback machine link). While we’re not exactly up on the latest medical trends, we can definitely see that getting up and walking around a bit never hurt anyone. Lazydoro will alert [Vasilis] once every 20 minutes or so to get up and stretch his legs a bit.

[Vasilis] plans to pair a Pro Trinket with an accelerometer module, specifically an ADXL377 from Analog Devices. The accelerometer will allow Lazydoro to determine if [Vasilis] has moved around. If 20 or 30 minutes go by without major movement, Lazydoro will nudge him to get up and take a walk.

Since shipping to Greece takes awhile, [Vasilis] is developing with an Arduino Uno and a ADXL345 while he waits for his parts to arrive. He’s hacked this into a wrist mounted device for testing. One thing  [Vasilis]  hasn’t figured out yet is how to alert the user to move around. A small vibrating motor would probably work – but we’d suggest electric shocks. A good zap always puts the spring in our step!

There is still plenty of time to enter the Trinket Everyday Carry Contest.  The main contest runs until January 2, but we’re having random drawings every week! Don’t forget to write a project log before the next drawing at 9pm EDT on Tuesday, December 23. You and all of the other entrants have a chance to win a Cordwood Puzzle from The Hackaday Store!

Hacklet 27 – Holiday Hacks

It’s beginning to look a lot like the holidays around here. That means it’s time for holiday hacks here on The Hacklet! This week we’re looking at the coolest festive hacks created by YOU on Hackaday.io!

xmashdrWe start with [charliex] and Cypress PSOC 4 + ESP8266 WS2812 RGB XMAS Lights. The name might be a mouthful, but the goal of the project is a simple one: Awesome Christmas lights! [Charliex] has created WiFi controllable Christmas lights. To do this, he’s utilized ARM core based PSOC4 chips from Cypress. WiFi duty is handled by the popular ESP8266 module, and the lights themselves are WS2812 addressable strips.

[charliex] really outdid himself this time, creating a complete solution from the ground up. He started with a Cypress dev board, but quickly moved to a board of his own design. The PCBs  first were milled at home, then sent out for manufacturing.
Control of the strip is via UDP through a WiFi network. [Charliex] found the strips have plenty of WiFi range to place outside his home.  The last part of the puzzle was control – which [charliex] handled in style by creating his own GUI to handle synchronizing several strips to music played on a central computer.

snowflakeNext up is [nsted] with another LED hack, Glowing Xmas Snowflake Sculpture. [Nsted] was contracted to add some extra LED bling to a sculpture. The problem was that these LEDs would be filling in gaps left in the primary interactive lighting system which ran the entire sculpture. Any time you have to meld two systems, things can get crazy. [Nsted] found this out as he added WS2812B Adafruit NeoPixel strips to the Sensacell modules already designed into the sculpture. Communications happen via RS485, with Arduino Due and Megas handling the processing. Power was a concern with this sculpture, as it was pulling over 100 amps at low voltage. Like many art installations, this was a “work down to the wire” event. Everything came together at the last-minute though, and the project was a success!

musicNext up is [Jeremy Weatherford] with Christmas Orchestra.  [Jeremy] has taken on the task of making the most epic retro electronics orchestra ever created. He’s playing Trans-Siberian Orchestra’s Wizards in Winter on four floppies, three scanners, and an ancient inkjet printer. LED strips on the moving elements add lights to the sound. An Arduino Mega with a RAMPS board controls the show. [Jeremy] had his orchestra professionally recorded both on audio and in video. We’re anxiously awaiting the final video upload so we can rock out to some old hardware!

xmaslightsFinally, we’ve got [crenn6977] with his Solar powered Christmas Light Controller. This was [crenn6977’s] entry in the The Hackaday Prize. While it didn’t take him to space, we’re sure it will bring Santa to his door. Rather than run lots of tiny solar cells for his Sun powered Christmas lights, [crenn6977] is going for a single large panel and wireless control. The nRF24L01+ is handling the wireless connectivity, while a STM32F042 ARM cortex M0 processor is the brains of the operation. Solar power demands efficient design, so [crenn6977] is digging deep into op-amp circuits to keep those LEDs running through the night, and the batteries charging through the day.

It’s just about time for us to settle our brains for a long winter’s nap, so we’ll close this edition of The Hacklet here.  As always, see you next week. Same hack time, same hack channel, bringing you the best of Hackaday.io!

Trinket EDC Contest Drawing #3 Results

We’ve held our third drawing for the Trinket Everyday Carry Contest. Once again we’ve used a Pro Trinket to pick the random winner. This week’s winner is [Scissorfeind] with his project Stylin’ safety jacket

jacket3In true hack style, [Scissorfeind] went into this project with two goals: A jacket that will be visible at night, and keep him “looking f*cking sick”. The jacket itself is a faux leather affair from a thrift store. [Scissorfeind] added some studs for bling, and he’s working on adding a ton of electronics for light.

The Pro Trinket will be driving a series of LED matrices, which [Scissorfeind] is working on turning into POV displays. The matrices come from an LED clock which [Scissorfeind] saved from the landfill. In fact, most of the parts in the jacket are upcycled from e-waste. The jacket is just starting to come together. We can’t wait to see the final results!

buspirate2

We hope that [Scissorfeind] enjoys his Bus Pirate V3.6  from The Hackaday Store. The Bus Pirate was designed by former Hackaday writer [Ian Lesnet] as a Swiss Army knife of electronic communications. If you’re trying to connect to a circuit with  SPI, I²C, JTAG, or UART, the Bus Pirate has you covered. It can do plenty more though – from reading analog data to programming components. Check out [Brian Benchoff’s] full review on the Bus Pirate V3.6 product page!

trinket-prize-cordwoodIf the pseudo random number gods didn’t smile on you this week, don’t worry, there are still two more chances to win a random drawing! Our next drawing will be on 12/23/2014 at 9pm EST. The prize will once again be a Cordwood Puzzle! To be eligible you need to submit your project as an official entry and publish at least one project log during the week.

The main contest entry window closes on January 2, 2015 – but don’t wait for the last minute! Hit the contest page and build some awesome wearable or pocketable electronics!

Trinket EDC Contest Entry: Shame On You!

[BDM] is helping others keep WiFi safe with “Shame On You!“, his entry in Hackaday’s Trinket Everyday Carry Contest. We all have that family member, friend, or neighbor who just can’t seem to get their WiFi locked down. Shame On You will show them how easy it is to detect such a hotspot, which hopefully will motivate them to correct the issue. [BDM] was a bit worried when he learned that Adafriut already has an open WiFi detector as one of their Pro Trinket example projects. However, we think he has added more than enough features to make his project stand out.

shame2Shame On You is using a Pro Trinket running at 3.3 volts, along with an ESP8266 WiFi module. Power comes from a LiPo battery and is handled by an Adafruit LiPo backpack. Like several other EDC contest entries, Shame On You is using a cell phone shell as a case. The display is a 1.27″ color OLED with an SD card. A disc style vibrator motor will also help get the user’s attention.

[BDM] hasn’t made much progress this last week, as he’s been battling some Christmas light cutting bandits. Logging each week’s work doesn’t always have to be technical, sometimes life intervenes!

We’re heading into our third week here in the Trinket Everyday Carry Contest, but there is still plenty of time to enter! The main contest runs until January 2, but we’re having random drawings every week! Don’t forget to write a project log before the next drawing at 9pm EDT on Tuesday, December 16th. You and all of the other entrants have a chance to win a BusPirate 3.6 from The Hackaday Store!

 

Hacklet 26 – Arduino Projects

Arduino is one of those boards that has become synonymous with hacking and making. Since its introduction in 2005, over 700,000 official Arduino boards have been sold, along with untold millions of compatible and clone boards. Hackers and makers around the world have found the Arduino platform a cheap and simple way to get their projects off the ground. This weeks Hacket focuses on some of the best Arduino based projects we’ve found on Hackday.io!

drawingbot[Niazangels] gets the ball – or ballpoint pen – rolling with Roboartist, a robot which creates line drawings. Roboartist is more than just a plotter though. [Niazangels] created a custom PC program which creates line drawings from images captured by a webcam. The line drawings are converted to coordinates, and sent to an Arduino, which controls all the motors that move the pen. [Niazangels] went with Dynamixel closed loop servo motors rather than the stepper motors we often see in 3D printers.

tape[Peter Edwards] is preserving the past with Tapuino, the $20 C64 Tape Emulator. Plenty of programs for the Commodore 64, 128, and compatibles were only distributed on tape. Those tapes are slowly degrading, though the classic Commodore herdware is still going strong. Tapuino preserves those tapes by using an Arduino nano to play the files from an SD card into the original Datasette interface. [Peter] also plans to add recording functionality to the Tapuino, which will make it the total package for preserving  your data. All that’s missing is that satisfying clunk when pressing the mechanical Play button!

infinity

[Dushyant Ahuja] knows what time it is, thanks to his Infinity Mirror Clock. This clock tells time with the help of some WS2812B RGB LED. [Dushyant] debugged the clock with a regular Arduino, but when it came time to finish the project, he used an ATmega328 to create an Arduino compatible board from scratch. Programming is easy with an on-board Bluetooth module. [Dushyant] plans to add a TFT lcd which will show weather and other information when those power-hungry LEDs are switched off.

alarm2[IngGaro] built an entire home alarm system with his project Arduino anti-theft alarm shield. [IngGaro] needed an alarm system for his home. That’s a lot to ask of a standard ATmega328p powered Arduino Uno. However, the extra I/O lines available on an Arduino Mega2560 were just what the doctor ordered. [IngGaro] performed some amazing point-to-point perfboard wiring to produce a custom shield that looks and works great! The alarm can interface with just about any sensor, and can be controlled via the internet. You can even disarm the system through an RFID keycard.

Want MORE Arduino in your life? Check out our curated Arduino List!

That’s about all the millis()  we have for this weeks Hacklet. As always, see you next week. Same hack time, same hack channel, bringing you the best of Hackaday.io!

Reverse Engineering The Proto X Quadcopter Radio

Just a few years ago, palm sized radio controlled toys were nothing more than a dream. Today, you can find them at every mall, toy store, and hobby shop. [Alvaro] couldn’t resist the tiny Estes Proto X quadcopter. While he enjoyed flying the Proto X, he found that the tiny controller left quite a bit to be desired. Not a problem for [Alvaro], as he embarked on a project to reverse engineer the little quad.

Inside the quadcopter and its lilliputian radio, [Alvaro] found a STM8 based processor and an Amiccom A7105 2.4G FSK/GFSK Transceiver radio. The A7105 is well documented, with datasheets easily obtained on the internet.  The interface between the processor and the radio chip was the perfect place to start a reverse engineering effort.

With the help of his Saleae logic analyzer, [Alvaro] was able to capture SPI data from both the quadcopter and the transmitter as the two negotiated a connection. The resulting hex files weren’t very useful, so [Alvaro] wrote a couple of Python scripts to decode the data. By operating each control during his captures, [Alvaro] was able to reverse engineer the Proto X’s control protocol. He tested this by removing the microcontroller from the remote control unit and wiring the A7105 to a STM32F4 dev board. Connecting the STM32 to his computer via USB, [Alvaro] was able to command the quad to take off. It wasn’t a very graceful flight, but it did prove that his grafted control system worked. With basic controls covered, [Alvaro] knocked up a quick user interface on his computer. He’s now able to fly the quadcopter around using keyboard and mouse. Not only did this prove the control system worked, it also showed how hard it is to fly a real aircraft (even a tiny model) with FPS controls.

The Estes Proto X is actually manufactured by Hubsan, a China based manufacturer best known for the x4 series of mini quadcopters. Since the Proto X and the x4 share the same communication protocol, [Alvaro’s] work can be applied to both. With fully computer controlled quads available for under $30 USD, we’re only a few cameras (and a heck of a lot of coding) away from cooperative drone swarms akin to those found in the University of Pennsylvania GRASP Lab.

Continue reading “Reverse Engineering The Proto X Quadcopter Radio”