Skip to main content

Posts

Driver Display Unit (DDU) using Railware/Scheron/HasslerRail Rico004 MVB/MICAS interface for WAP Series Electric Locomotive: A Prototype

  Running GUI on sample hardware Sample GUI showing DDU interface for WAP Series Locomotive Driver Display Units are used in Locomotives to provide HMI for operating the locomotives. Various realtime sensor information of the locomotive/train are presented in user friendly interface on an LCD screen on an SBC.  The WAP Series locomotives use a variant of the MultiFunction Vehicular Bus (MVB) called MICAS. It is a master/slave realtime bus operating in the locomotive and beyond and can work over long distances (~4kms). Information is exchanged over the bus in the form of process data and messages. It supports connection via wire or fiber. There was a need to implement a Driver Interface while being interfaced to the MVB/MICAS. The design also had to be kept similar to existing products so as to retain locopilot familiarity and also provide similar features. Just as a fun exercise, an oscilloscope was used to dump traffic on the MVB from an available setup and manually validated...

Driver Display Unit (DDU) for Diesel locomotives WDP4/WDG4 (EMD GT46PAC/GT46MAC)

The WDP4/WDG4 locomotive is a diesel locomotive used actively by the Indian Railways. It is a locally built General Motors Electro-Motive Division's GT46MAC (freight) and GT46PAC (passanger) variant. More details can be found here  WDP4/WDG4 info on Wikipedia The various gauges on this locomotive are Analog and there was a need to digitize them and provide a single console like is common on many locomotive Driver Display Units.  A commonly available industrial x86 SBC which could run Linux and a GUI was chosen. It was interfaced at a location on the loco rack where digital signals were available. It could show a locopilot various readings on the console: Speed, Brake Pipe/Cylinder pressure, BE/TE, Notch position and also various fault conditions. This DDU was used in a few locos and has worked reliably. Below is a picture of a physical meter and how it looks on the implemented DDU. WDP4 Locomotive Original Wikimedia image here

Nuvoton NUC980 IIOT Board Experiments (Interface ST7735 SPI display)

Introduction Nuvoton NUC980  is a 300 Mhz ARM processor. Has a host of peripherals onboard: 64/128 MB RAM, 2 Ethernets, 2 CAN masters, some 8 UARTS, SPI, I2C , etc It comes with Linux, uboot and a buildroot system for generating system assets. A popular board is the NUC980 IIOT board The major advantage is that this processor is available for a low cost of 5$ (2021) Intention Try and see how fast the system is Performance of python etc. Given that it was a low RAM system, how convenient would it be write a program in python. Maybe interface a device say a Display. Experiments The tar ball that Nuvoton provides is an approx 8 GB virtual machine running Ubuntu 18.04. One can run this virtual image on an VM emulator.  The recommended is VMWARE but it ran comfortably even in an Oracle VirtualBox VME. After logging into the VM and on running a make nuc980_defconfig it generated the uboot, linux and other assets. On Linux one can use nuwriter to flash the SPINAND.  A r...

IOT Dot Matrix Clock

Dot Matrix Clock IOT Dot Matrix Clock / Dot Matrix Display  (DMC) (DMD) An accurate clock for displaying time (Hours/second) and date would be a nice creation. Added advantage would be to have it connected on the internet and splashes messages to it. A WIFI based solution would be much better for easy access to the home/network ecosystem Using an accurate RTC like DS3231 and Wifi chip ESP8266, a PCB was fabricated. Also there was a need to make a good case to host the electronics. Acrylic case making is cheaper as compared to 3d printing. Found an enterprising acrylic fabricator who made an amazing case.  The power supply was embedded in the back of the case so it could be directly plugged into the wall socket or the ESP8266's USB power connector provided for at the side of the casing. Uses the MajicDesigns MD_MAX72XX library from here  MajicDesigns MAX72XX library The fabricated DMC looks as follows: Mains Enabled Clock The DMC can be run off either AC mains or an extern...

Remote Control an Off-the-Shelf Digital Still camera

How to add Remote control (click/download) to an Off the Shelf Camera Digital Still Cameras (DSC) have good lenses and large image sensors. They take good pictures in varied lighting conditions There are many DSCs that are super cheap say like Rs 5000 to Rs 10000.  DSCs that provide WIFI and Remote Control option are also available, but they are expensive and of the range of Rs 20000 or more and also limited in exposing their APIs/control, etc. This was in 2019. Things might be different now. So modding/hacking a DSC to take pictures into its SD CARD and then download it remotely would be beneficial. This is simply done by using a servo as a picture taking plunger that is operated by an SBC say like an RPI and either by WIFI or via the internet, access a web server control mechanism that allows a remote user to click pictures or take videos. And then use a relay to switch the camera to download the pictures on the SD card and via the same web server mechanism enable pictures to be ...

TeleDrive an RC car from anywhere in the world

How to Teledrive a Modded car from anywhere in the World over the Internet  How to remotely drive a vehicle from anywhere in the world? Teledrive ie remote drive is a useful idea. One application: UAVs are flown around the world for surveillance while sitting in the comfort of a terrestrial ground station. Another example is to drive a Truck over the network like here:  Einride Remote Drive Prototype   Customising a commercial EV even though a very exciting exercise has its own challenges and timelines. Need to understand the mechanical angle and also the hardware angle, say identify relevant motors, torques and install and check they perform optimally. Will have to be iterated multiple times. A better option would be to try all the experiments on a small scale, say on a toy. Something similar to the Flight of Phoenix (2004)  movie. There have been many mods of expensive RC car like the Traxxas car.  Traxxas RC cars But these are expensive and hence a low cost s...

Low Cost ROS Bot

 How to build a Low Cost ROS Bot There was need to build a low cost ROS bot. ROS is the Robot Operating System, provides a platform to easily build bots. A Commonly available chassis was used and the relevant motor drivers, driver control hardware was integrated. Uses a Raspberry Pi inside. A custom ROS service was written for the motor control.  An unmaintained ROS app called ROSCONTROL was used to provide accelerometer values to wirelessly drive the BOT. It also provides a virtual joystick mode that can be used for BOT control. The Pi is the ROS master and the other slaves connect  over WIFI and enable control of the BOT. ROS is version 1. As the video shows, one can comfortably navigate the bot using the phone as input. It is indeed very satisfying to see the phone controlling a bot. The applications are endless.