Category: Windows and PCs

  • How to make a GPS with Arduino

    This guide will show you how to make a simple GPS with Arduino.

    What you will need

    GPS Neo-6M

    This will be used to determine the location.

    Arduino UNO Rev3

    This will be what we use to control all the other components. Think of this as the motherboard of the build.

    Arduino IDE

    This will be used to program the Arduino

    About GPS

    Before we start this project, you need to know a little bit about GPS. Satellites will send signals on their distance from the module. Once four or more satellites are connected and giving out this data, the receiver can then use the data to figure out the exact location of the user.

    Credits: https://www.scienceabc.com/innovation/how-gps-global-positioning-system-works-satellite-smartphone.html

    The receiver will then present this data in the form of NMEA sentences. This is a standard communication developed by the National Marine Electronics Association. We will be using TinyGPS++ to parse these.

    Using the GPS with Arduino

    For this part, you don’t need the LCD. This will show you how to log the GPS output to the serial monitor. We will then parse this data using TinyGPS++.

    Preparations

    First, open Arduino IDE and you will be greeted with a blank sketch.

    At the top toolbar, click Ctrl + Shift + I to bring up the library manager and type “TinyGPSPlus” and install the top result.

    Sign up for our newsletter!

    Code

    Now that we are all prepared, lets start writing the code. First, we include the library that helps us communicate with the GPS.

    #include <SoftwareSerial.h>

    Next, we include the library that parses NMEA sentences.

    #include <TinyGPSPlus.h>

    Now, declare the communication between the Arduino and the GPS and then the parser.

    SoftwareSerial ss(4,3);
    TinyGPSPlus gps;

    After that, we go inside the void setup() function and we initiate the communication between the computer and the Arduino and the GPS and Arduino.

    Serial.begin(9600);
    ss.begin(9600);

    Next, we go into void loop() and specify that whatever is below this line of code should only happen when the Arduino receives a signal.

    while (ss.available() > 0)

    Then, we encode the data in a format that the GPS can then parse.

    gps.encode(ss.read());

    Then, we create an if block so the serial monitor only displays our data when the data the GPS is outputting is valid.

    if (gps.location.isUpdated()) {
    
    }

    Now, inside the if block, we can access all the data and print it to the serial monitor.

    Serial.print("Latitude= ");
    Serial.print(gps.location.lat(), 6); //6 for 6 decimal places
    Serial.print("Longitude= ");
    Serial.print(gps.location.lng(), 6); //6 for 6 decimal places

    Your full code should look like this:

    #include <SoftwareSerial.h>
    #include <TinyGPSPlus.h>
    
    SoftwareSerial ss(4,3);
    TinyGPSPlus gps;
    
    void setup() {
      // put your setup code here, to run once:
      Serial.begin(9600);
      ss.begin(9600);
    }
    
    void loop() {
      // put your main code here, to run repeatedly:
      while (ss.available() > 0)
      gps.encode(ss.read());
    
      if (gps.location.isUpdated()) {
        Serial.print("Latitude= ");
        Serial.print(gps.location.lat(), 6); //6 for 6 decimal places
        Serial.print("Longitude= ");
        Serial.print(gps.location.lng(), 6); //6 for 6 decimal places
      }
    }
    

    Wiring

    The wiring is shown below:

    • GPS RX > Digital 4 on Arduino
    • GPS TX > Digital 3 on Arduino
    • GPS VCC > Power 3.3V on Arduino
    • GPS GND > Power GND on Arduino

    Uploading

    Now, with the Arduino IDE opened and the code ready, press Ctrl + U on your keyboard. The code will write and start outputting to the serial monitor, which you can access by pressing Ctrl + Shift + M on your keyboard or by going to the top toolbar and clicking Tools > Serial Monitor. The GPS will take a couple minutes to get its location. You may want to stick the antenna outside for this, as it will take a long time to get its location indoors.

    Soon, you will be able to view the data coming in.

  • How to Install MacOS on Windows using VMware

    If you had ever wanted to get the MacOS experience without owning a Mac, then you may want to use a virtual machine to get the experience, and this guide will teach you how to do just that by installing MacOS Ventura on a virtual machine.

    What You Will Need

    MacOS Ventura ISO

    This is the ISO file for MacOS Ventura.

    NOTE This file is not from me and I simply found it on the internet. As of right now, VirusTotal did not get any positives on this file and it appears to work fine. This may change in the future, so beware.

    VMware Workstation Pro

    This will be our hypervisor

    NOTE You may be able to find a cracked version or use a pirated license key, but that is illegal and not recommended.

    Step 1: Patching VMware Pro

    Download the unlocker script from GitHub, and path VMware Workstation Pro. Make sure VMware Pro is patched before you do this, otherwise you might not install the patch correctly.

    After running the patch, you should see MacOS as an option for your VM.

    Step 2: Creating the VM

    In the VM settings, create a new VM with the version of MacOS 12 and supply your ISO. Give the VM at least 16 gigabytes of RAM, and at least 80 gigabytes of hard drive storage. Give the VM a name, and click “Finish”

    Step 3: First Boot and Setup

    Click on Power on this virtual machine. Once the operating system has loaded, select your language and double-click on Disk Utility

    Look for VMware Virtual SATA Hard Drive Media. Select it, then click Erase.

    A menu will pop up. Change the name to whatever you want, and set the scheme to whatever you want. I set it to MacOS Extended (Journaled), but the most common format is GUID Partition Map. I would still recommend MacOS Extended, though. After you type your name and your scheme, click Erase.

    The virtual disk will now begin erasing and formatting.

    Once the virtual disk is done formatting, close out of the window and click Install MacOS 13 Beta.

    The installer will then continue. The install should take around 15-20 minutes.

    Once the VM finishes installing, wait for the machine to fully boot. Once it is bootes, shut down the VM and go to the VM’s settings.

    Click on CD/DVD (SATA) and make sure that Connect at power on is disabled.

    Power on the VM and continue with setup.

    NOTE There have been problems with people’s screen going black and then rebooting after setting up network options. Make sure you do not set up Wi-Fi during setup, and set it up when you are in the desktop environment.

    VMware Tools (Darwin)

    Click on VM > Install VMware Tools… and continue with the setup on MacOS

    Limitations

    The following are limitations that you might want to consider before trying this project:

    • Hardware acceleration is basically nonexistant
    • Might have random crashes
    • Might have bugs and be slow
    • You will not get support from Apple.
  • How to Install the Play Store on Windows 11

    You can sideload apps on Windows 11, but you are missing out on some key features by sideloading, like Google Play Services. With this tutorial, you will be able to run the Play Store directly on Windows, and you can install apps without sideloading.

    Step 1: Uninstall any existing WSA instances

    Below are the following steps:
    • Press Windows Key + I to open the settings menu
    • Click Apps
    • Click Installed Apps
    • Find Windows Subsystem For Androidâ„¢, and click the three dots
    • Click Uninstall, and confirm the prompt

    Step 2: Enable Developer Options

    To do this,

    • Open Settings with the keyboard shortcut Windows Key + I
    • Click on Privacy and Security
    • Click For Developers under the Security section
    • Enable Developer Mode, and click on Yes when asked to confirm

    Step 3: Allow the Windows Hypervisor Platform to Run

    If you have installed WSA previously, or have the Virtual Machine Platform and the Windows Hypervisor Platform enabled already, you can feel free to skip this step. However, it is always best to make sure these necessary features are enabled. If you have no idea what I am talking about or have not installed WSA before, these steps are necessary:

    • Press Windows Key + S to open Search
    • Type “Turn Windows Features on or off” and click Enter
    • Look for Virtual Machine Platform and Windows Hypervisor Platform and enable them
    • Click OK and restart the machine when asked to.

    Step 4: Download a modified WSA Installer

    • First, go to the MagiskOnWSA GitHub repository. Create an account if you don’t already have one or log in to GitHub.

    Note:

    The current GitHub repsoitory (LPosed/MagiskOnWSA) has been disabled by GitHub due to violations of the terms of service. I will update this if the repository comes back online, but for now, the repository is offline. It is also highly unlikley that the repository will come back online, as it has been down for a couple months now. However, there are still some mirrors and unmodified copies of the original that are still up. Some are listed below:

    • Then, on the GitHub repository, click Fork and wait till you see the Forked From menu. This repository is somewhat large, so give it some time to fork.
    • Once on your newly forked repository, click the Actions tab.
    • Now, if you receive the Workflows aren’t being run on this forked repository prompt, click I understand my workflows, go ahead and enable them.
    • Now, with workflows enabled, look for the workflow Build WSA in the left-hand pane and click it. After that, click Run Workflow.
    • In the flyout menu that shows up, keep all settings set to default but Variants of GApps. Under Variants of GApps, select (or type in) pico. If you are typing, make sure that the text you are typing into the text field is exact.

    Note:

    You can select other variants if you know what you are doing.

    • Now, click Run Workflow. After that, you should see a message at the top that says Workflow run was successfully requested. Be patient with the workflow, it usually takes a couple minutes to complete.
    • Once the workflow completed, click the workflow name and scroll down to the Artifacts section.
    • You will see two links to download files. Click on the file name corresponding to your CPU version, (arm64 or x64) and download the file. It is quite large, so store it accordingly. The file may take a while to download.
    • Right-click the ZIP file and click Extract, and choose the directory of your choice.

    Step 5: Finishing Up

    • In thhe newly created directory, look for the Install.ps1 file and right-click on it.
    • Click Open with PowerShell.
    • Click Open if asked to confirm the action.
    • The script will show the Operation Completed Successfully message on execution.
    • Be patient while the script installs the final bits of WSA (Windows Subsystem for Android) and you will see a few installation notifications, and the script will exit after installing.
    • If prompted, click Allow Access so that Windows lets the Windows Subsytem for Android package on your network.
    • Click the start menu and type Windows Subsystem for Android. Open the application shown in search results.
    • Switch Developer Mode on if it is not already.
    • Click on Manage Developer Settings under the Developer Mode switch. This will restart WSA.
    • Now, when you open the Start Menu, you should see Play Store as one of the options. Open the app.
    • Allow the app through Windows Defender Firewall.
    • Now, you can open the Play Store just like any other app and sign in with your Google account. It will preform it’s usual synchronization, and then you can install Play Store apps on Windows 11.

    Note:

    If you can’t sign in, click Finish Setup in the system tray notification.

    Done!

  • How to build a gaming PC

    This guide will show you how to build a PC

    LightLightDarkDark

    Parts

    Here are the things you will need. The links lead to the components I used.

    Let’s get ourselves static-safe

    1: Unbox the PSU, plug it in:

    2. Touch the PSU (a metal part on it) whenever you rub your feet against the floor.

    Sign up for our newsletter!

    Motherboard

    1: Unbox your motherboard:

    2: Put everything else you unboxed in the box. Close the box. Take the motherboard out of its bag and put it on top of the box:

    CPU

    1: Unbox the CPU. Make sure to only hold it by the edges. Never the bottom or top.

    2: (carefully) Put the CPU in a static-safe spot.

    3: Release the motherboard retention plate by pushing the metal stick down, out, release:

    4: Now align the gold triangle on the CPU with the triangle cutout/dot cutout on the motherboard.

    5: Gently place the CPU in the socket. Don’t push it or apply any force. Just drop it in.

    6: Lower the retention bracket, making sure it’s guided by the top screw.

    7: Lower the metal stick and put it back in. It’s okay to feel some resistance.

    RAM

    1: Look for 2 slots that are different colors or a diagram that shows which sticks of RAM to put in first. Pull back the right tabs of these. The left tab, on modern motherboards, does not pull back:

    2: Unbox your RAM. Line the notches up:

    3: Once the notch(es) are aligned, push the RAM in with even pressure on both ends until you hear a click on each end. Repeat for other sticks:

    SSD

    Skip if you are not installing.

    1: Identify the notch similar to how you did with the RAM and insert:

    2: Insert the mounting post and screw:

    Cpu Cooler

    Now I’m sorry, I cannot make an instruction specific to this. Resort to your cooler’s manual to find out:

    PSU

    1: Insert your PSU and screw:

    Motherboard wire-up

    1: Take out the biggest cable from the pack (let aside the power cable) and attach it to the 24-pin input on your motherboard:

    2: Attach other end to a input labeld Motherboard or Mainboard:

    CPU/EMS wire-up

    1: Locate an 8-pin connector that is usually on the top-left closest to your CPU socket on your motherboard.

    2: Connect the other end to an input labeled CPU or EMS.

    3: Wire up if a second connector is present.

    Cable Managment

    This is really to your preference. I like to make it go around and stay away from fans and RGB. You will need zip ties:

    Chasis-Mounted Functions

    I’m sorry, I cannot make a guide specific to this either. Refer to the motherboard and chassis manual.

    POWER IT UP

    Plug in the power and switch the on/off switch to the on position. Put your case back together, plug in the keyboard, mouse, display, whatever it takes. Switch your monitor on.

    Now, take a deep breath and press the power button.

    TEST

    You should see your motherboard’s logo.

    If you see something like:

    BIOS Self-Test Output
    
    ASUS TUF Gaming Model Z390-PLUS SELF TEST
    VGA Detected
    Mouse Detected
    Graphics Detected
    Fast Boot Off
    
    New CPU Detected! Configure it in Setup
    Press F2 or DEL to enter SETUP

    Press DELETE on your keyboard.

    Get Windows

    If you want windows, Go here. Launch the tool.

    Read and accept the license terms.

    Go to Create Installation media > Next > **ADJUST SETTINGS TO MATCH** > Next > **PLUG IN A FLASH DRIVE THAT IS AT LEAST 8GB** > USB Flash Drive > Next > **SELECT YOUR DRIVE** > Next

    Once it’s done, unplug your drive and plug it into your new PC.

    Reboot the PC and follow the steps to install Windows. You can say that you don’t have a license key, but you’re going to have to activate it later.

    DONE!

  • Downloading ASUS Aura Sync

    LightLightDarkDark

    You can download it from the ASUS Website.

    Sign up for our newsletter!

    I suggest this video:

  • How to jumpstart a PSU

    How to jumpstart a PSU

    Now, when you first get this PSU, you might want to test it. For that you will need to build a PC yourself. You don’t have one (or all the parts that you need)? Well, you are out of luck. Unless, unless, if you can jumpstart one. This guide will show you how to do so.

    LightLightDarkDark

    UPDATE (9:48 PM EST, 6/30/2021 US Time): I have a new project

    I have a new project. I am waiting on its parts. I don’t think I even need to tell you what it is, just look at my stash and you will see:

    I’m building a PC

    Sign up for our newsletter!

    How to do it

    If you don’t have an adapter that came with your PSU, try these:

    1: Grab your 24-Pin motherboard connector:

    The 24-Pin Motherboard Connector That Comes With Your PSU

    2: Plug your 24-Pin cable into the PSU:

    Plug it in

    4: There is probably a notch on the power cable. Look for it:

    The notch

    5. Make the notch turn to your right:

    Make it

    6. If necessary, make the pins face you:

    Make it like this

    7. Now the fun, and hard part: Placing the paperclip. Start from the top-right pin, counting down to the bottom-right pin. Once you hit the 4th pin, stick one end of the paperclip. Once you hit the 5th pin, stick the other end. Simply put, in semi-tech terms, short pins 4 and 5 (PS-ON and Ground (GND)):

    8: Now, switch the Power Supply Unit (PSU) on:

    Done!

  • How to create a ZIP Bomb in Windows

    LightLightDarkDark

    Okay, what is this “ZIP Bomb” anyway?

    A Zip bomb is a small file that only contains something like “42 Kilobytes”. However, when extracted, this can be, like, petabytes.

    Sign up for our newsletter!

    How to make one yourself: What you will need

    How to make one yourself: Step 1 – Create the junk

    Now what you have to do is launch Dummy File Creator (Dummy.exe)

    It will prompt you to size. Choose something like 30 Gigabytes. If it does not let you, choose 10.

    Now click “Create”.

    How to make one yourself: Step 2 – Make the folders

    Now put the dummy file in a folder.

    Duplicate the folder as much as you can.

    Put that all in one folder.

    How to make one yourself: Step 3 – Zipping it all up

    Right-Click the folder with lots of other folders and go to 7-Zip > Add to [THAT FOLDERS NAME].zip\.

    How to make one yourself: Step 4 – Done!