Tuesday, May 19, 2015

Router placement, according to physics!

 Electromagnetic radiation — it might sound like something that you'd be better off avoiding, but electromagnetic waves of various kinds underpin our senses and how we interact with the world — from the light emissions through which your eyes perceive these words, to the microwaves that carry the Wi-Fi signal to your laptop or phone on which you're reading it.
More or less every form of modern communication is carried by electromagnetic waves. They whisk through the antenna on your car, travel through walls whenever you need to make a phone call inside, yet also inexplicably reflect from seemingly nothing in the Earth's upper atmosphere.
This happens because the atmosphere becomes a plasma at high altitudes — a state of matter where atoms split apart and electrons are no longer bound to their parent nuclei. Plasmas have interesting properties, as they react very strongly to electromagnetic fields. In this case usefully: at low enough frequencies it becomes possible to bounce radio signals around the world, extending their range.
It's the interesting interactions between high-powered electromagnetic waves and plasmas that my research group and I study. The most intense electromagnetic waves in the world are found in the form of high-power laser pulses. The UK hosts some of the most powerful laser systems in rural Oxfordshire, and the same idea of using electromagnetic waves to accelerate particles is used at the Large Hadron Collider in CERN.

It's all in the maths

 We can accurately predict the interactions of intense electromagnetic waves and plasmas, as the underlying physical processes are governed by Maxwell's equations — one of the triumphs of 19th century physics that united electric and magnetic fields and demonstrated that light is a form of electromagnetic wave.
Solving Maxwell's equations by hand can be tortuous, but it transpires that aclever algorithm invented in the 1960s and rediscovered since makes the exercise relatively simple given a sufficiently powerful computer.
Armed with the knowledge of Maxwell's equations and how to solve them, I recently turned my attention to a much simpler but more widespread problem, that of how to simulate and therefore improve the Wi-Fi reception in my flat. While "sufficiently powerful" in an academic sense often means supercomputers with tens of thousands of processors running in parallel, in this case, the sufficiently powerful computer required to run the program turned out to be a smartphone.

For this trick you will need one Maxwell

 The electromagnetic radiation emanating from the antenna in your wireless router is caused by a small current oscillating at 2.4GHz (2.4 billion times per second). In my model I introduced a current like this and allowed it to oscillate, and Maxwell's equations dictated how the resulting electromagnetic waves flow. By mapping in the actual locations of the walls in my flat, I was able to produce a map of the Wi-Fi signal strength which varied as I moved the virtual router.
The first lesson is clear, if obvious: Wi-Fi signals travels much more easily through free space than walls, so the ideal router position has line-of-sight to where you'll be using it.
 Sometimes it appears that the waves have stopped changing, and instead flicker in the same places. This is the phenomenon of a standing wave, where Wi-Fi reflections overlap and cancel each other out. These dark spots on the map (or "not spots") indicate a low Wi-Fi signal, and are separated by several centimetres. Recently, a fellow enthusiast managed to map this phenomenon in three dimensions, as explained in this video.
So the second lesson is less obvious and more interesting: if reception is poor in a particular position, even a slight change of the router's position may produce significant improvement in signal strength, as any signal dark spots will also move.

101 uses for electromagnetic waves

 After publishing my findings I was struck by the number of people eager to perform simulations of their own. Ever eager to spread the gospel of electromagnetism, I bundled the simulation into an Android app to provide others with a simulated electromagnetic wave-based solution to a common modern problem: where's the best place for my Wi-Fi router?
Assuming few would be interested, I was surprised when news spread via social media and the several thousand copies of the app sold over the course of a few hours.
Sales have gradually dwindled but the message remains clear: not only are electromagnetic waves fascinating, mathematically elegant and supremely useful, they can make your life easier, your internet connection stronger, and even make you a bit of money too.
This article originally published at The Conversation here

Tuesday, May 12, 2015

Tuesday, May 5, 2015

YouTube for Kids!

The child-friendly version of YouTube, is here!
YouTube Kids is now available for download in the App Store and Google Play, giving parents with iOS and Android devices a way to let their little ones enjoy videos specifically meant for children.
For parents, YouTube has always been a double-edged sword. A lot of kid-friendly content already exists on the platform, but there was no effective way to manage kids' viewing habits (without standing over their shoulder, that is). More risqué content was always a single tap away.
YouTube Kids addresses those concerns by providing an app where all content has been screened and deemed appropriate for children. Google doesn't specify an age range, but the blog post announcing the app cites 3- and 4-year-olds as potential users. The app's security feature on the parental controls is a random code that changes each time you click the lock icon; the app displays the code with the numbers spelled out, so it's clear YouTube Kids is aimed at those who haven't yet learned to read.
The parental controls include a built-in timer. After it runs out, any kids still watching are out of luck, as all videos will stop playing until it resets the next day — or until a parent increases the limit. The default is 30 minutes and the maximum is 120; once the timer has begun, kids can see how long they have left via a slowly shortening progress bar along the top. 
Kids should be mindful of the timer. It measures time the app is open — not just time spent viewing videos — and it runs down even if the app is running in the background.
Parents can also opt to disable search, so videos will be limited to just whatever's on the home screen. Just how do kids who can't read search anyway? With voice: a tap of the microphone will let kids say exactly what they're looking for, although results may vary depending on how well they've learned to enunciate.