Thursday, October 29, 2015

How to measure differential signals

Ref: http://electronics.stackexchange.com/questions/76514/how-do-i-measure-differential-signals-like-rs-485-or-dmx-on-an-oscilloscope

How do I measure differential signals (like RS-485 or DMX) on an oscilloscope?

I've encountered differential signals in a few places, such as a differential output audio amplifier and now in a project working with DMX which is similar to RS-485. (Here's a similarquestion about RS-485.)

Looking at a waveform from a DMX lighting controller for example, I connected the channel 1 probe to D+, channel 2 probe to D-, and both ground leads to ground.

It produces this display:

While this is usable, I know it's still not the correct way to look at differential signals.

What is the correct way? I've heard of "differential probes;" does that mean I need to purchase new probes?


The reason you can't measure differential signals quite as easily with an oscilloscope has to do with the fact that oscilloscopes are (generally) notfloating. The ground lead on the probes are connected to the oscilloscope chassis, which in turn is earth grounded. Because of this, anything you connect the ground lead to will also be connected to earth ground. (As videos I link below demonstrate, this is dangerous if measuring high voltage!)

When you measure two random points with a multimeter, the meter is floating, so you're not connecting either point to actual earth ground, which lets you measure differences between points without concern that you're creating a short circuit.

In low voltage signal applications, tying one side of a differential signal to ground can cause problems and might damage a transceiver.

There are two ways to measure differential signals with an oscilloscope:

If you have a two-channel oscilloscope, connect one side of the signal to channel 1, and the complementary signal to channel 2. The ground leads stay unconnected.

Since you are interested in thedifference between the signals, you want to subtract channel 2 from channel 1. Most scopes provide a way to add or subtract channel 1 and channel 2 inputs. On some scopes you might have to add channel 2, but invert it so that you are effectively subtracting it.

In this image, the scope has an A-B mode which subtracts channel 2 from 1:

Differential Measurement Subtracting Second Channel

The other way is indeed using differential probes, and provides better results without reducing the number of usable channels on the oscilloscope. (And are usually designed for safer high-voltage measurements.) However these probes are expensive.

W2AEW does a superb job explaining these concepts in his video on differential measurements using oscilloscopes. There's also a video by BTC Instrumentation which shows the channel subtraction method in more detail.







Sunday, October 25, 2015

Urban Manufacturing Making a Difference

Ref: http://brandinsider.straitstimes.com/hitachi/urban-manufacturing-making-a-difference/

Urban Manufacturing: Making a Difference

An example of advanced manufacturing in Singapore: the Dyson advanced motor manufacturing facility with an annual production capacity of 11 million motors. The S$200 million investment in West Park Tuas, which opened in 2012, has more than 800 employees. Fifty robots and 22 components produce motors on the highly automated production line. Only 13 operators are needed to operate an entire line. In July this year, Dyson manufactured its 10 millionth digital motor. Photo: Dyson

Governments, developers see the economic and social values of urban manufacturing hubs that bring together design, creative technology and business talent.

By Martin L Dunn and Jeffrey Huang
The Business Times
Sponsored Content
October 13, 2015

IN April 2014, in the small prefecture of Aichi, Toyota City, a ‘model intelligent city’ called Toyota Ecoful Town opened to much fanfare. It was designed to be a place where the flow of traffic, human, goods, waste and resources would be monitored, managed and regulated, promising an urban life that would be more energy-efficient, less congested and better served.

Toshihiko Ota, the Mayor of Toyota City, noted that one aim was “to provide a single contact point, take responsibility to provide a site, and offer other support to proving experiments that promise to solve Toyota City’s problems and make our citizens’ lives happier.”

Toyota City’s Ecoful Town, also nicknamed “Mirai no Futsu” (Normal in the Future) can be seen as a harbinger of a first generation of smart cities that also include larger, international examples such as SongDo in South Korea, Rio in Brazil and Masdar City in the UAE. It was a generation of smart cities often sponsored by big tech companies and based on the idea of centralising big data captured for the “better good,” with regulated public welfare.

However, Smart City writer Adam Greenfield cautions about the much publicised Rio control room “that fuses data from weather stations, traffic cameras, police patrols, sewer-mounded sensors and social media postings into a synoptic, war-room style overview”.

While it epitomises this first smart city generation’s ambition, it also reveals its Achilles heels – that of being overly invasive.

In reaction to the fear of the city becoming an Orwellian big brother who incessantly monitors its the inhabitants and turning them into involuntary subjects for the big tech sponsors’ experiments, a few courageous citizens protested. They stood up and started a “bottom-up” movement as an alternative to the prevalent smart city focus.

Anthony Townshend, an early advocate, calls it the Smart Citizens movement. “Our goal is to shift the debate toward the central place of citizens, and of decentralised, open urban infrastructures”. Examples of the Smart Citizens movement, where city data are given to citizens and ethical hackers to develop their own applications, can be found in the USA, Europe and Asia.

In September, at the URA Centre in Singapore, Mr Ridwan Kamil, the young Mayor of Bandung, gave a rousing keynote speech on the design and management of Bandung. He advocated, as a counterpoint to the top-down smart city infrastructure, a series of “open government” initiatives to empower citizens. He explained that “empowerment and citizen activism was built into the system.” Free Wi-Fi access points and open data access encourage citizens to use the data; they have already built more than 300 apps.

Evolution

Urban manufacturing in New York City: US company Normal designs, manufactures, and sells personalised headphones from their trendy Manhattan store/factory, where customers can view their own headphones being manufactured by 3D printing. Photo: James Ewing/OTTO

Fast forward, and we see a third wave in the Smart City Saga, characterised by the shift from the digital to the physical, from the ‘cerebral informing’ to the ‘tangible making’.

This coincides with the evolution of manufacturing over the last 50 years. Manufacturing went through a process of transformation: from manual to skilled labour, to technology based, and now is on the precipice of an innovation-based manufacturing paradigm.

This includes big ideas in next-generation manufacturing based on highly-instrumented processes acquiring data in real time from machines, people and materials across the manufacturing enterprise. Examples include Industrie 4.0 in Germany and the Industrial Internet in the USA.

Basically, this move is enabling the manufacturing process to be more flexible and agile. The ultimate result is the ability to offer design differentiated higher-value products to market demands that are increasingly fragmented and customised.

While the industrial city of 1900s is likely gone forever, urban manufacturing is a logical convergence of the evolution of manufacturing and the smart city. It not only drives advancement, job creation and innovation but also the renewal and transformation of the city.

For example, post-industrial factories, warehouses and logistics facilities are being rejuvenated through contemporary urban manufacturing.

Maker movement

A particularly visible intersection of the urban and manufacturing trajectories is the maker movement that started in Silicon Valley. It has evolved worldwide with maker-spaces and fab labs popping up weekly that open previously inaccessible and often expensive tools of production to citizens.

Here, digital fabrication technologies like 3D printing, laser machining and robotics are integrated with design software that is often available in an open-source form. There is also an abundance of digital libraries of freely-available design files to provide a low entry barrier for makers to express their creative visions and turn them into new business opportunities.

While some may dismiss the maker movement as limited to do-it-yourself (DIY) hobbyists, there are growing signs that this is instead an important signal in a transformation in the way things are made. In the US, President Barack Obama went as far as to note that “Today’s DIY is tomorrow’s ‘Made in America’”.

His Advanced Manufacturing Initiative is creating new research institutes. This includes additive manufacturing, digital design and manufacturing, composites, photonics and advanced textiles.

In March 2014, President Obama inaugurated the Digital Design and Manufacturing Innovation Institute in Chicago, an example of an early urban manufacturing initiative. Chicago Mayor Rahm Emanuel proclaimed this “a game changer for the City of Chicago”. Governor Pat Quinn noted that “advanced manufacturing is a great way to grow jobs, retain jobs and to literally bring back jobs that have gone to foreign shores. If you want Made-in-America, this is the heart of that initiative because advanced manufacturing makes it much more feasible to do that manufacturing in your own backyard.”

Examples are emerging worldwide, driven in part by consumers who desire design-differentiated high-quality goods produced locally ranging from craft beers to apparel to creative tech. Local character is resulting in valuable branding both for the products and the city, and is attracting artisans, small and medium-sized companies. Even big companies are looking to new manufacturing technologies to build and share shorter and sustainable supply chains, and enable design-oriented mass customisation.

Hubs

Governments and developers see the economic and social values of urban manufacturing hubs that bring together design, creative technology and business talent. And they are placing bets. In cities around the world, areas that were once populated by decaying warehouses and factories are re-emerging as hip and trendy hubs anchored by local manufacturers. For example, Brooklyn NY is transforming through recent investments in excess of US$1 billion in manufacturing and technology infrastructure. Areas like the Tech Triangle, Industry City, Liberty View Industrial Plaza and the Brooklyn Navy Yard are hotbeds of local designers and manufacturers who are exploiting new design and fabrication technologies to innovate and grow the “Brooklyn brand”.

In San Francisco, space has been set aside for local manufacturers in places such as Pier 70 and the SF Giants baseball complex, and ground floors of apartment buildings, to accelerate the maker movement while increasing the value of real estate and making neighbourhoods more hip.

Particularly interesting is the emerging phenomenon of micro factories, like the innovative Local Motors in the USA.
The company boldly seeks to produce automobiles at a fraction of the cost and time required in the traditionally large capital-intensive industry. It is creating designs by crowd-sourcing and producing automobiles in small local factories based on local needs.

Recently, it has partnered General Electric to explore these innovative approaches for product design and manufacture broadly.

Interestingly, many emerging urban manufacturing hubs strive to achieve creativity, supply-chain agility and fast transition from design to production. In this regard, the manufacturing ecosystem of Prato, Italy, is an outstanding example, making it a powerhouse in high-value fashion and textile markets.

Singapore

In Singapore, urban manufacturing is especially promising and potentially impactful. The country already has the ideal ingredients: a rich knowledge base; cultural diversity with social harmony; sophisticated smart nation infrastructure; excellent logistics and supply chain, precision engineering and creative and technical design capabilities. These can help to shift manufacturing into innovation-based high value production; and help to maintain manufacturing at a healthy 20-25 percent of GDP, and build the ‘Made in Singapore’ brand.

The Singapore University of Technology and Design has launched the SUTD Digital Manufacturing and Design (DManD) Centre to contribute to such a vision. DManD is bringing together creative, technical, and business ideas in new ways to create innovation-driven advanced manufacturing paradigms and possibilities.

These will play a transformative role in the long-term evolution of manufacturing and provide the human capital that will help establish Singapore as a world leader in high-value digital manufacturing. DManD is pursuing innovations in design software, 3D and 4D printing and robotics to impact industry sectors that relate to the smart city of tomorrow. These include smart products ranging from wearable technology for fashion to healthcare, and design and fabrication approaches for building and construction.

It is an exciting time as urban manufacturing emerges in various forms as a central actor in the Smart City movement around the world. Such developments will be further enabled by smart city infrastructures and will ultimately impact the economic and social fabric of these cities.

In turn, it will influence the future of production and the citizens involved in production. Indeed this dynamic is a pathway to one aspect of self-building and renewal of cities – an imperative put forth by Jane Jacobs in her 1961 plea for what makes a city work.

Professor Martin L Dunn is the Associate Provost, Research SUTD and Professor Jeffrey Huang is the Head of Pillar, Architecture and Sustainable Design SUTD.

This is the fourth of a six-part series brought to you by Hitachi, in collaboration with the Lee Kuan Yew Centre for Innovative Cities (LKY CIC), SUTD. The next part of this series, Smart design on an aging population, will be published on Nov 17, 2015.

Monday, October 19, 2015

How to Watch Premier League NFL Live Sports Kodi 2015

Ref: https://seo-michael.co.uk/how-to-watch-premier-league-football-using-xbmc/


How to Watch Premier League NFL Live Sports Kodi 2015

The Best NFL, Football & Sports Add-Ons for Free on Kodi in 2015

Using the add-ons below you will be able to find plenty of other sports not just the Premier League. You will find that many of these add-ons also show live NFL games, Ice Hockey, Cricket and much more.
Some of these add-ons use Plexus so please install that first using this guide. As this uses P2P is it prudent to use a VPN (check out with the code **PREMIER2015 to save 15%

This page was originally a guide for watching Football on Kodi but now it encompasses add-ons that show all sports. It has become an extremely popular page especially on a Saturdays and Sundays when people are looking for alternatives to Sky Sports.
I will continually update this list. Feel free to bookmark the page and come back as and when you please to see what other add-ons have been added to the list.

MBOX - This is a paid add-on (the only paid add-on you will find on my site). It's the best paid service you will get and I can guarantee you will not be disappointed as you won't miss any football. Quote MJD if you contact them (no, I don't get paid)

Install NJM Soccer - Once installed click on the Matchday 2015 link

Use this guide to install DexterTV. Once installed select Live TV > Sports Channels. Some sections may require a US VPN. If you are looking for a high quality VPN then use IPVanish

Use this guide to install Jekyll-Hyde IPTV add-on and once installed look in:
Live TV > UK in there you should see the channels you need.
They also have a Live Sports section on the first page but that wasn't updated at the time of writing.

Follow my guide on installing the VdubT25 add-on. Once installed check the USA Sports section where you will find good HD channels

DIJ Entertainments - A great little add-on with links to SKy Sports and more

Use this guide to install Sports Devil. Once you have that installed open Live Sports.

Follow my guide to install Phoenix and then you can watch streams that Staael has found for you. When you have that installed you can choose from the following:
Staael > Live TV > Sport
or
Phoenix TV > Sports

Use this guide for installing the UK Turk Live Streams Add-On. Just select Sports to find a wide selection of channels.

Use this guide to install ZemTV. Once installed look in the Sports section. The PV2 Sports section has lots of good working channels

Use this guide to install .F.U.B.A.R. add-on. In there select IPTV > hac-sat. In there you will find ESPN, RAISPORT & others

Take a look at my guide on installing p2p streams. This is probably my favourite as it just works perfectly. This shows Sky Sports & BT Sports 1,2 & Europe as well as others.

Operation Robocop. With this add-on installed check the sections marked Bein Sports & SPORTS

Pak India - Check the Sport section

Dutch Cloud TV - Check the SPORTS section. There are plenty of channels to choose from for Eredivisie & Premier League football

Use this guide for installing Stream Engine as streams on there are well maintained and usually good quality. Look in LiveTV/Sport > Sport > .Stream Engine Sports

Halow TV has a good selection of sports channels to browse through. Use this guide to install the Halow LIVE add-on.

Use this guide to install the BBTS Live TV add-on. In there launch the SPORTSsection.

Use my guide to Install Navi-X and then come back to this page.
After installing Navi-X you want to open the Navi-X add-on and select the first box marked Navi-Xtreme Portal - Select Search - Select Search Navi-Xtreme - SelectNew Search - Type hammy - Select HAMMY 40

Check out my other Kodi posts; you'll find plenty to improve your Kodi experience

Between Now & Jan 6th 2016 there is an offer for 15% off any VPN deal using the promo code "PREMIER2015" from IPVanish. They offer a great service with a great selection of servers around the world that run at top speeds; a true tier 1 VPN solution. This stop sources from being blocked in Kodi and allows access to geo-restricted content from anywhere. Clients available for OS X, iOS, Android & Windows. 7 day money back guarantee too. OpenVPN option available.
Remember to Check Out with the Code PREMIER2015

Thursday, October 15, 2015

Share folder from Ubuntu hyper-v guest to Windows host

Ref: http://internetpanda.fi/en/2014/06/share-folder-from-ubuntu-12-04-hyper-v-guest-to-windows-host/

Share folder from ubuntu 12.04 hyper-v guest to Windows host

  1. Open home folder in GUI for the Ubuntu guest
  2. Add new folder
  3. Right click on folder and select “sharing options”
  4. Click “share this folder”
  5. Install the network sharing service (samba smbclient) when asked
  6. Install libpam-smbpass when asked
  7. Restart session when asked
  8. Select sharing options again for the folder
  9. Chcek the checkbox “share this folder”
  10. Check the checkbox “allow others to create and delete files in this folder”
  11. Check the checkbox “guest access”
  12. Click “create share”
  13. Add permissions when asked (nautilus)
  14. Open terminal
  15. Write “ifconfig” to get your IP address
  16. Connect to shared folder from Windows host by setting “\\IP-address\sharedfoldername” in Windows explorer, e.g. \\192.168.0.101\myfolder
Tips
  • Ubuntu firewall might block connections from Windows host, message like “Windows cannot access”. Do this to allow access in ufw “sudo ufw allow Samba”.