Schaefer_K1979_Instructions NOTE: The raspberry pi is now using DHCP. The IP v4 address will be assigned by the router. ( At home the address is 10.0.0.56 ) To run the K1979 Status and Control program: -------------------------------------------- For initial setup, plug in the clear plastic test box DB9 plug into the jack on the rear of the chassis marked: "TO SCHAEFER K1979" Double click on the icon: MARS Shoreside P/S A dialog box appears: Execute File Click on the "Execute" button at the lower left of the dialog box. A window should appear: Schaefer K1979 The "Heartbeat" green LED should be flashing 1 pps. Green/red status LED "AC Input OK" should be green. Push the test box switch "INPUT". "AC Input OK" status LED should turn red. Release the "INPUT" switch; status LED should turn green. In the "Control" section, single click the "Turn ON" button. In the "Status" section, the "ON Command" LED should turn green ( If not, click "Turn OFF" button, then click "Turn ON" again. ) Push the test box switch "DC OUT". The "DC Output" led should turn from green to red. Test each of the switches "OV", "OT", "OC". Each associated "Faults" LED should toggle from green to red. Voltage Testing: ---------------- Refer to the Block Diagram: " BD_K1979_RPi_22Sept22_1240.pdf " and " AAS_VoltsDucer_700-S657-V.pdf " and " Chassis Test Assemblies.pdf " Power the Voltage Transducer ( American Aerospace CTRSL S657 ) using the small battery - powered assembly. Insert pins of the blue and white wires into the Voltage Transducer jack "J1" B and C. The Transducer measures 0 to +/- 2kVDC either polarity. WARNING Take care to keep clear of the assembly and the three red resistors. Install the AA batteries into the black holder. The K1979 Status and Control program should display a voltage. Remove the AA batteries and the voltage should rapidly decay. Current Testing: ---------------- Refer to the Block Diagram: " BD_K1979_RPi_22Sept22_1240.pdf " and "C R5200Series.pdf " and " Chassis Test Assemblies.pdf " Using the Current Testing assembly ( 5V 3A wall wart, 2 ea 3 Ohm 10W resistors mounted on wood, and a green wire with an alligator clip ) Thread the green wire through the opening in the Current Transducer ( C R Magnetics CR 5210 5 Amps ). Polarity matters for the current measurement. The green wire goes into the Current Transducer from the "Plus" side. There is a schottky diode installed at the Current Transducer's output to prevent a negative voltage from being conducted to the Analog to Digital Converter on the PCB ( dwg number: 100 221 501 ). Plug in the wall wart. The K1979 Status and Control program should display a current. Power down the wall wart. How to Assign a Static IP to a Raspberry Pi ------------------------------------------- NOTE: The raspberry pi is now using DHCP. The IP v4 address will be assigned by the router. ( At home the address is 10.0.0.56 ) An HDMI cable is included the black Lewis box "SCHAEFER P/S STATUS AND CONTROL" This cable can be connected from the Raspberry Pi to a suitable monitor, and a keyboard and mouse plugged into the Rpi's USB connections. This can be used if something goes sideways while setting up the static IP address. 1. Determine your Raspberry PI's current IP v4 address if you don't already know it. The easiest way to do this is by using the hostname -I command at the command prompt. If you know its hostname, you can also ping the Pi from a different computer on the network. hostname -I reply: 10.0.0.56 2601:647:c801:e830::4ff4 2601:647:c801:e830:d693:630d:bbed:9c2d 2. Get your router's IP address if you don't already know it. The easiest way to do this is to use the command ip r and take the address that appears after "default via." ip r reply: default via 10.0.0.1 dev eth0 proto dhcp src 10.0.0.56 metric 202 10.0.0.0/24 dev eth0 proto dhcp scope link src 10.0.0.56 metric 202 3. Get the IP address of your DNS (domain name server) by enter the command below. This may or may not be the same as your router's IP.  grep "nameserver" /etc/resolv.conf reply: nameserver 75.75.75.75 nameserver 75.75.75.76 nameserver 2001:558:feed::1 nameserver 2001:558:feed::2 Now that you have the IP address your Pi is currently using, the router's IP address and the DNS IP address, you can edit the appropriate configuration file. 4. Open /etc/dhcpcd.conf for editing in nano. nano /etc/dhcpcd.conf File opens, but a line appears: [ Directory '/etc' is not writable 5. Add the following lines to the bottom of the file. If such lines already exist and are not commented out, remove them. Replace the comments in brackets in the box below with the correct information. Interface will be either wlan0 for Wi-Fi or eth0 for Ethernet. interface [INTERFACE] static_routers=[ROUTER IP] static domain_name_servers=[DNS IP] static ip_address=[STATIC IP ADDRESS YOU WANT]/24 You may wish to substitute "inform" for "static" on the last line. Using inform means that the Raspberry Pi will attempt to get the IP address you requested, but if it's not available, it will choose another. If you use static, it will have no IP v4 address at all if the requested one is in use. 6. Save the file by hitting CTRL + X and reboot.  From now on, upon each boot, the Pi will attempt to obtain the static ip address you requested. Using the Raspberry Pi OS Guide to Set a Static IP If you already have all the information about your router's IP and DNS IP, you can configure the static IP address using the Network Preferences menu instead of editing the dhcpcd.conf file. 1. Right click on the network status icon and select the Wireless & Wired Network Settings. 2. Select the appropriate interface. If you're configuring a static IP for Wi-FI, choose wlan0. For Ethernet, choose eth0. 3. Enter the IP addresses into the relevant fields.  Your desired IP address will be in the IPv4 field, followed by a /24. Your router's IP and DNS server's IP will be in the fields named after them. 4. Click Apply, close the window and reboot your Pi. Your Pi will now attempt to use your desired IP address at each boot. However, the Network Preferences menu sets this as a preference, not an absolute. So, if the IP address you asked for is not available, it will use another. How to use a headless Raspberry Pi with VNC Connect - RealVNC® Accessing a headless Raspberry Pi with VNC Connect allows you to use it without a monitor. It is ideal for cases where your Pi is constantly in use performing a task, but you do not need access to it all the time. You’ll then access the headless Raspberry Pi from VNC Viewer as if you were in front of it.  1. Make sure you’re using the latest version In this first step, start with two things. First, make sure you’re using the latest version of Raspberry Pi OS. At the time of writing, this is Bullseye. You can use the Raspberry Pi Imager tool to upgrade to the newest version, should you need to. Though, make sure that you’ve backed up your data beforehand.  Next, you’ll initially need to connect the Pi to a monitor or TV. Of course, it will need to have an internet connection. 2. Set up VNC Server on your Raspberry Pi As you might know, VNC Server comes preinstalled on Raspberry Pi. This convenience is why enabling it is easy. To guide you through this, look at my instructions on setting up VNC Connect on Raspberry Pi. Once you’ve been through the whole process, your Raspberry Pi should show up in the list of devices in VNC Viewer.  3. Configure the resolution The third step depends on the use of your Raspberry Pi. If it’s to access software with a single window, it only requires more resources. However, if you use the machine to access various media like me, you may want it to run in Full HD resolution. Either way, changing the resolution is not difficult. In your Raspberry Pi menu, go to Preferences > Raspberry Pi Configuration.  Once you’re there, click the Display tab. In there, you’ll come across Headless Resolution. Select the resolution that fits your purposes, and then reboot as prompted. 4. Disconnect your display and use your headless Raspberry Pi Once rebooted, you can disconnect whichever display you were using. Once you’ve confirmed that, you can get to the Pi. And that’s it. When you need to access it, it’s a simple double-click away within the VNC Viewer. And no monitor is required.