Hacked Gadgets Forum

May 22, 2015

Bug in Code Requires Boeing 787 Dreamliner to Reboot at least every 248 days to stay Flying

at 11:35 pm. Filed under Insane Equipment

 

The Dreamliner is a great looking plane and is full of the latest technology but like any other piece of sophisticated technology there is a lot of code behind the scenes keeping things working. Bug in Code Requires Boeing Dreamliner to Reboot at least every 248 days to stay Flying! If you have ever taken even an introductory programming class you will have probably seen the effect of integer math overflow. If you increment an integer one more time past the largest value it can hold it will overflow. This results in the new value being smaller than the previous value. This can result in strange scenarios that can cause issues if not checked for. There are many systems that had roll over issues 15 years ago (Y2K) when systems with 2 digit year representations reverted to the year 1900. Even the loved Unix time base is based on the number of seconds that have elapsed since January 1st 1970. This means that every day the Unix time increased by a count of 86400 since January 1st 1970. This also means that the 32 bit signed int will overflow in 2038.

I can understand how this type of bug got slipped into the plane code, I am just not sure how it remained uncaught. I would hope there would be very strict line by line code review where bound checks would have been tested. At least it was caught before it caused an accident and it will now be a reminder how important every bit of code it. At least if there is an issue in the air with the backdoor a skilled hacker might be able to hack into the system and bring things back online. :)

 

Bug in Code Requires Boeing 787 Dreamliner to Reboot at least every 248 days to stay Flying_2


May 21, 2015

Shrink Paper Money

at 11:51 pm. Filed under Complex Hacks

 

We have seen methods of shrinking coins before. In the video above Ben Krasnow shows us how to shrink paper money using liquid anhydrous ammonia. Ben dips the money into the ammonia, lets it dry and repeats the process. Each time this process is repeated the bill shrinks slightly. Sure makes for an interesting looking bill but be prepared to have a conversation piece that you won’t be able to spend.

 


May 20, 2015

Cheap PCB Isolation Milling

at 2:05 pm. Filed under Complex Hacks, Educational

Cheap PCB Isolation Milling

 

If you like making your own printed circuit boards and have a CNC machine wouldn’t it be nice to do some Cheap PCB Isolation Milling? Well how is free, that’s right  has put together an Instructable that goes through the process using only free software.  Below will show you all the things you need.

“Things you need:

  • computer with internet connection
  • cnc mill/router, the more accurate the better
  • 45°/20° V-Bit
  • 0.8mm drill bit
  • 3mm endmill
  • copper clad board
  • double-sided adhesive tape

You need the following software:


May 19, 2015

RC Airboat Rescue

at 11:55 am. Filed under Cool Gadgets

 

TraxxAlu has a nice RC Airboat and Truck.  Watch this cool video where the RC Airboat gets stranded and needs to be rescued. Best of all it is all done remotely using FPV. I can see this working full scale quite well also! 

 

May 17, 2015

Name the Thing Contest – 281

at 2:33 pm. Filed under Contests

 guess_this_281

 

The prize this week is a HMC5883L Triple Axis Compass Magnetometer Sensor so you can add some directionality to your next project. This contest will run for one week (May 17 – May 22, 2015). Ending time is based on central standard time. To enter, identify the item above and what it can be used for.

Please do not give the answer in the comments.

Send an email to contest @ hackedgadgets.com with “Name the Thing Contest” as the subject, and the message body consisting of:

  • The name of the item in the above picture
  • An example of what the item pictured above can be used for

The winner will be chosen at random from all of the correct entries.

Below is a picture of the prize.

 

electronic_compass_2

 


Constant Current DC-DC LED Driver Design

at 1:54 pm. Filed under Complex Hacks, Electronic Hacks

 

This is part 2 of a many part Constant Current DC-DC LED Driver Design set that SDG Electronics has put together. He is using a PIC microcontroller and MPLAB-X with the XC16 C Compiler on the control side.

 

May 16, 2015

Automated Table Tennis Score Keeper

at 4:24 pm. Filed under Complex Hacks, Game Hacks

 Automated Table Tennis Score Keeper

 

Playing Table Tennis is fun but some automation can make it a bit more fun. Taylor Pritchard, Pol Rosello and Frank Xie just completed this Automated Table Tennis Score Keeper for their ECE 5760 Final Project. The project uses a Altera DE2-115 FPGA to monitor for the ball color to watch the game play and score accordingly.

“We use a Sony Handycam DCR-DVD108 as the camcorder to monitor the table tennis game. The NTSC video feed of the camera was used as an input to the DE2-115, where it was split into YCbCr components to isolate the green content of each frame. The luma component of each frame (Y) was not taken into account in order to allow for flexibility in the lighting of each frame. Thresholds for the blue and red component (Cb and Cr, respectively) were determined experimentally to match the color of the green balls. In order to reduce the influence of noise from other green objects in the room, we spray painted the balls a neon green color to ensure the color of the balls was distinct, much like green screen technology used in film and television.”

 

Internal Links:

Categories:

Search:

Google
Hacked Gadgets
Web

Site Sponsors:

Nuts and Volts Electronic Labs Trossen Robotics Free Technical Publications Blue LED

 

Recent Comments:

Site Rating:

More RSS Feed Options

Site Sponsors:

 

Interesting Sites:

Site Videos:

Incoming Links: