Guides

Guides

PWM #

DIY Oscilloscope #

Homemade oscilloscope to detect PWM DIY guide

For people who might be first time on this forum, and that were brought here by eyestrain, headaches, migraine, nausea, disorientation and other unpleasant symptoms caused by working with computer displays, this is a guide how to build a device that can measure whether the backlight of those displays flickers, how and when.
The problem is called Pulse Width Modulation (PWM) and you can read more about it here - http://www.tftcentral.co.uk/articles/pulse_width_modulation.htm
There may be more reasons for the issues people who come to this forum have, but this is the one so far we can measure.

It is important to note that you cannot trust any reviews that claim the device youre about to buy does not use PWM, as displays on phones, tablets, laptops and other tech are sourced from more manufacturers for each brand. All you can do is test for yourself and trust yourself.

  1. We are building an amateur oscilloscope with fraction of the money the real professional ones cost. If you have a friend who can lend you a real one, it is a better and more accurate choice. First you need to download Christian Zeitnitz soundcard oscope software here - https://www.zeitnitz.eu/scope_en

  2. We will be transferring light signal to sound, so you need a probe that can pick up light. A simple photodiode will do, for my device I used this one (Europe shop) - https://www.conrad.de/de/fotodiode-dil-1100-nm-60-osram-bpw-34-153005.html
    A better one recommended to me was this one, I will use it in my next probe - https://www.conrad.de/de/fotodiode-to-39-820-nm-55-osram-bpw-21-152977.html

  3. You have to solder the diode to a sound cable that you can connect to the soundcard or your computers microphone jack. A simple 3,5mm stereo jack will do. That one, when taken apart, has three pins - Left ear, Right ear and Ground. You have to connect the photodiode pins to either left or right, and then to Ground. As long as one pin is connected to the Ground, if the other is L or R does not seem to matter. This kind of soldering is fairly easy, just be careful not to use too powerful solder tool so you do not melt the photodiode with the heat alone.

  4. There is a certain voltage going through when the diode is picking up light, as it serves similarly as when you have a solar powered calculator. There is a report to be careful not to fry the sound-card, however I encountered no problems so far and the voltage seems to be very small to be able to cause any damage. Just in case though, its good to -

  5. Use external sound card. You can buy one cheaply second hand off ebay, or a new one. The reading should be better when a quality sound-card is applied, instead of basic notebook sound card. Also if you would happen to fry it, you just have to replace the card. My external card has a range of 44,1 Khz, which means it can probably read PWM up to 44Khz. Any higher and I would need more professional grade equipment. Newest macbooks are reported to have PWM at 112Khz for example.

  6. Now, connect the card to the computer, open up the oscilloscope software, select the input card in the settings and you are set. Example photo is my external display with lowered brightness to 80%. PWM free only at 100% brightness.

A more portable option, although maybe not so accurate, is to use your smartphone and connect the diode to its headphone jack. You can then get an oscope application from either android store or apple store.
More info here: http://www.retropcmania.com/2017/02/measurements-flicker-of-light-with.html

Feel free to ask any questions.

Installing Paranoid Android on OnePlus 3 #


Installing Paranoid Android on OnePlus 3

KM I don't know of older version downloads for Paranoid.

Sorry to bother you again on this.
I just got my toy and I would like to install Paranoid Android. I am following the instructions at …


Installing Paranoid Android on OnePlus 3

AGI Oh man, where to start? I'm no good at basic instructions, but here's some answers:

  1. You need a modified recovery manager. TWRP is "TeamWin Recovery", which is one such modified recovery manager. Booting into recovery mode allows you to install software onto the rest of the phone's partitions. Do you NEED this? No. But if you don't have it, the built-in recovery tends to put things back the way that it shipped... so yeah, you kind of do. Can you put this onto the phone with a program? Noooooooot usually. You need ADB - see point 2. Sometimes hackers (like the guys at XDA) have put together an all-in-one program that loads stuff to a phone. These exist for Samsung, and LG... but probably NOT for OnePlus? I haven't looked yet, though. And frankly I prefer to do this myself.
  2. Flash is a synonym for "write to firmware". When you "flash TWRP", you are putting the TWRP program into the recovery partition. This is generally done through ADB, which is a command-line interface provided by Google. ADB stands for "Android DeBugger", IIRC. Anyway, ADB connects the phone to your PC and allows you to "flash" things to it, issue commands, reboot it, put it into different modes, etc.
  3. AOSPA is in fact "Android Open Source" Paranoid Android, although... I don't know if those Zips contain the whole image. I'd download it from the PA site directly, if I were you. But yes, they come in ZIP and you put the ZIP onto the phone storage and then boot into TWRP and install it which overwrites the OS.
  4. GAPPS is Google Apps (gmail, drive, etc.)
  5. ARM, x86, and x86_64 are processor types. The OnePlus3 has a 64-bit chip. I'd get that version.
  6. SuperSu is only needed if you have apps that require root. If you intend to use the built-in apps as well as ones from the store, it isn't needed usually.