Know How...

Aug 6th 2015

Know How... 155

Super Sonic Car, Network Cameras, & Upgrading a Flight Controller

Super Sonic Car, tuning network cameras, and upgrading a KK flight controller.

Although the show is no longer in production, you can enjoy episodes from the TWiT Archives.
Category: Help & How To

Super Sonic Car, tuning network cameras, and upgrading a KK flight controller.

 

The Bloodhound SSC (Super Sonic Car)


* Back in 1997, the "ThrustSSC", run by a British team, broke the sound barrier and his 763 MPH
* Now another British team has built the "Bloodhound SSC" which they say will hit 1000mph in 2016!

Just to get a car up to 1000mph is an incredible engineering feet, but to keep it SAFELY at 1000mph for the two-way journey required to set the land-speed record is UNBELIEVABLY difficult.

* The Wheels need to rotate at more than 10,000 rpm, so they're built out of solid aluminum
* It uses THREE engines!


1. It has a 5-liter 800hp V8 engine that ONLY presurizes high-test peroxide fuel to the Rocket engine
2. It has the Rolls-Royce EJ200 that's normally found in a Typhoon fighter. It can generate 20,000 pounds of thrust
3. At higher speeds, the jet engine isn't efficient, so they also have THREE rocket engines, each producing 27,500 lbs of thrust.

* It has a specially designed air-intake for the jet engine in order to slow the air down from 1000mph to 400mph to feed the Jet engine.
* It has a computer-controlled set of wings that make the Bloodhound SSC lift-neutral, keeping her 3.1 inches above the ground.
* It has THREE braking systems!

1. The aerodynamics of the car itself become a brake: When they cut the engine at 1000mph, those aerodynamics will generate 3g of breaking
2. Air brakes are deployed at 700mph 3. Hydraulic brakes are used below 200mph

* Unlike the ThrustSSC, which was rear-wheel steering, BloodhoundSSC is front-wheel steering, which will make it horribly touchy at speeds.
* They're doing a 200mph test run this summer
* A 800mph later this year that should break the ThrustSSC record
* A 1000mph run in 2016
** All driving is to happen at the "Hakseen Pan" -- (Salt Flat in South Africa) -- Same pilot as the one who drove ThrustSSC (RAF Wing Commander Andy Green)

These are the steps that Padre takes when he deploys network cameras:

1. Gather Network Information
* We need a few pieces of information from your router: -- Default Gateway (Router's Address) -- Subnet Mask It's easy to get this information if you have a computer connected to the router. If you're using Windows, just drop into a command shell and type, "ipconfig" In our case, the default gateway is 192.168.150.1 and our subnet mask is 255.255.255.0
* This means that it will send all requests for off-segment access (i.e. the Internet) to the gateway
* It also means that and device with this data will know that there are 255 usable IP addresses in its network segment (256-1)


2. Configure the Router
* We want to define the range that the DHCP (Dynamic Host Control Protocol) server built into the router can use when assigning addresses to devices that request a DHCP address.

      1. Login to your router
      2. Find the settings for the Network Setup
      3. Look for the settings for the DHCP server
      4. Look for the starting address and the maximum number of DHCP clients -- This is what determines where in the 254 addresses availible to the router (255-1) the DHCP server will start serving out addresses. -- It also determines how many addresses it will hand out. (It's consective)

** For example: If I set a start address of "192.168.150.50" and allow for 50 DHCP users, it will allocate all the addresses between 192.168.150.50 and 192.168.99 for DHCP requests.

      5. Set a starting address and max users limit that makes sense for you. (Typically, 50 or fewer addresses.
      6. This is also a good time to set your Client Lease Time. -- The Client Lease parameter will tell clients that receive a DHCP address when they need to check back with the gateway to refresh their address. -- Too short of a client lease, and your gateway could be getting bombarded with constant renewal requests. -- Too long of a client lease, and you can run into issues with duplicated addresses when the router resets. ** RECORD EVERYTHING! -- Make sure that you carve out a range for your "statics"

3. Configure the network settings of your cameras
** Quick note: Your router should have a status screen that shows all the devices that have requested a DHCP address. If your cameras are using DHCP, you can find there addresses listed.
* Start by changing your network settings to use the range your just set aside for Static Network Devices - In our case, we know that DHCP will use 50-99... so we're going to set aside 200-249 for static addresses
4. Let's Do Motion Detection!
* Many cameras will include some form of motion detection -- It involves teling the software to "look" at one part of the frame and watch for changes to that frame -- Better cameras will allow you to make multiple "security windows" so that you can watch various parts of the frame (i.e. entries or sensitive areas) while ignoring areas that have components that change with regularity.
* Also, most of these cameras will include some kind of utility that lets your set paramaters as to when you should be notified.
5. And why not a little Audio Detection?
* If your camera supports motion detection, it will probably support audio detection as well
* Like motion detection, it will allow you to set a threshold for alerts.
6. And let's make sure to setup Notifications!

Why would you upgrade a KK?
* More Stable
* Better Feature set -- Higher Resolution -- Gimbal Control -- Silent ESCs -- Multi-Position Switching -- Lost-Quad Alarm  

Materials/Tools Required
-1. AVR USB Programmer
-2. AVR USB Drivers
-3. AVR USB Update Software (I prefer the Khazama Programmer)
-4. Firmware (I like the RC911 Custom Firmware)

Procedure:
-1. Unzip All Filers
-2. Cut the empty blocks from the AVR Programmer connector
-3. Connect the AVR Programmer to the KK Flight Controller (Yellow Cable towards the center of the board)
-4. Connect USB Programmer to your computer
* Windows will not find a driver. You'll need to manually install the driver with the procedure starting in step 5.
-5. Get into the device manager.
* There will be an unidentified entry for the "USBasp" under "Other Devices"
-6. Double click the device
-7. Click "Update Driver"
-8. Click "Browse my computer for device software"
-9. Click "Let me pick from a list of device drivers on my computer"
-10. Select the folder with the USB Driver
* You may get a "Windows Security Popup" if so...
-11. Chose, "Install this driver software anyway"
-12. Install and run the AVR Update Software
-13. In the "AVR" drop down menu, choose, "ATMEGA644P"
-14. Click the first icon from the left: "Load Flash Hex to Buffer"
-15. Navigate to the folder with the desired ".hex" containing the firmware update
-16. Click "Auto-Program"
* You may get 2 error dialogue boxes, click "ok" to clear them both.
* The programmer will write to the EPROM on the KK flight controller. When it's done, you'll get a popup telling you that the write is complete.

<p>Connect with us!</p><ul><li>Don't forget to check out our large library of projects at <a href="http://twit.tv/kh">http://twit.tv/kh</a>.</li><li>Join our Google+ Community at <a href="https://plus.google.com/communities/102778909882340711425&quot; target="_blank">http://gplus.to/twitkh</a></li><li>Tweet at us at <a href="https://twitter.com/PadreSJ&quot; target="_blank">@PadreSJ</a>, <a href="https://twitter.com/Cranky_Hippo&quot; target="_blank">@Cranky_Hippo</a>, and <a href="https://twitter.com/Anelf3&quot; target="_blank">@Anelf3</a></li></ul>