Industrial manufacturing
Industrial Internet of Things | Industrial materials | Equipment Maintenance and Repair | Industrial programming |
home  MfgRobots >> Industrial manufacturing >  >> Manufacturing Technology >> Manufacturing process

Extending GoPiGo v2 on Windows 10 IoT Core for Raspberry Pi 3

This project builds on the Windows 10 IoT Core application for the GoPiGo v2, developed for the Raspberry Pi 3. It extends the original C# code from Dexter Industries (GitHub: DexterInd/GoPiGo) by fixing several glitches and adding new functionality.

Hardware components


Software & services

The current focus is on adding a secondary module that streams the webcam feed to a client application. While real‑time streaming isn’t required, a small latency is acceptable. The UWP user interface also runs on Hololens, and future plans include a Unity‑based client.

In the Pin.cs file, the trigger and echo pins were added to the enumeration: Trigger = 15, Echo = 16.

The Led.cs file was modified to expose the LED controller by changing its access modifier from internal to public.

The UltrasonicRangerSensor.cs file was largely rewritten. The updated interface and implementation are shown below:

public interface IUltrasonicRangerSensor
{
    Task<int> MeasureInCentimeters();
}

internal class UltrasonicRangerSensor : IUltrasonicRangerSensor
{
    private const byte CommandAddress = 117;
    private readonly GoPiGo _device;
    private readonly Pin _pin;

    internal UltrasonicRangerSensor(GoPiGo device, Pin pin)
    {
        _device = device;
        _pin = pin;
    }

    public async Task<int> MeasureInCentimeters()
    {
        var buffer = new[] { CommandAddress, (byte)_pin, Constants.Unused, Constants.Unused };
        _device.DirectAccess.Write(buffer);
        await Task.Delay(5);
        _device.DirectAccess.Read(buffer);
        return buffer[1] * 256 + buffer[2];
    }
}

For further details, refer to the full project documentation.

Manufacturing process

  1. Eclipse IoT: A Unified, Open-Source Package for Rapid IoT Development
  2. Connect Raspberry Pi 3 to DHT11 Sensor and Upload Data to ThingsIo.ai Cloud
  3. Build a Secure Facial Recognition Door with Windows IoT and Raspberry Pi
  4. Accurate Temperature & Humidity Monitoring with SHT15 on Windows 10 IoT Core
  5. Installing Windows 10 IoT Core on Raspberry Pi 3 Model B+: A Step‑by‑Step Guide
  6. Build a Speech‑Controlled Robot with Windows 10 IoT Core on Raspberry Pi 2
  7. Revolutionizing Firefighting: How IoT Enhances Safety, Response, and Rescue
  8. How IoT Is Transforming Consumer Business and Manufacturing
  9. Create Musical Tones with Arduino: A Step‑by‑Step Guide
  10. 5G & IoT: Driving the Next Wave of Digital Transformation