Showing posts with label Computers. Show all posts
Showing posts with label Computers. Show all posts

Wednesday, April 15, 2026

New Computer

______________________________________

CERBERUS REBUILD CONTEXT (PASTE THIS)

I have reinstalled CERBERUS (Celeron NUC) and need to reconnect it to my existing system.
System layout

    ANNIE (192.168.50.172) = main machine (client)
    CERBERUS (192.168.50.10) = storage server (NFS)
    Two drives:
        STORAGE (primary)
        ARCHIVE (secondary)

Goal

    Mount both drives on CERBERUS at:
        /srv/STORAGE
        /srv/ARCHIVE
    Export them via NFS to ANNIE
    ANNIE mounts them at:
        /mnt/STORAGE
        /mnt/ARCHIVE

Known disk info (from previous system)

    STORAGE UUID: 9f9c11ef-318b-4d39-b544-8fef87049095
    ARCHIVE UUID: 76ad1e62-25d3-4bf7-840d-aa6c09658e7a

Expected CERBERUS config

/etc/fstab

UUID=9f9c11ef-318b-4d39-b544-8fef87049095 /srv/STORAGE ext4 defaults 0 2
UUID=76ad1e62-25d3-4bf7-840d-aa6c09658e7a /srv/ARCHIVE ext4 defaults 0 2

/etc/exports

/srv/STORAGE 192.168.50.172(rw,sync,no_subtree_check)
/srv/ARCHIVE 192.168.50.172(rw,sync,no_subtree_check)

Requirements

    Use stable mount points (/srv/...)
    Use labels or UUIDs (no /media/...)
    Keep it minimal, no desktop auto-mounting

What I need

Walk me step-by-step to:

    Mount drives correctly
    Set up fstab
    Install + configure NFS
    Verify from ANNIE

What this gives you

When you paste that:

    I instantly know your topology ✅
    I know your disk IDs ✅
    I know your mount philosophy ✅
    We skip all exploration ✅

Optional (keep with your backup)

You already saved:

/mnt/STORAGE/system-backup/cerberus-rebuild.txt

That file = ground truth

If you want next:

    I can give you a 10-minute rebuild checklist
    or move into rsync cleanup plan

Credits Used: 15.8

 .......................................................................................

since we have made those good nano changes on cerberous ... and will be doing a clean install later it seems a shame to have to do that again .. should we save those bits of the setup .. ?
RouteLLM
Routing to GPT-5.3 Instant

Yes — and this is exactly the right move.

You don’t want to remember this — you want to replay it.
✅ What to save (minimal but complete)

You only need to preserve 3 things from CERBERUS:
1. Mount logic (fstab)

bash
Copy
cat /etc/fstab

2. NFS export config

bash
Copy
cat /etc/exports

3. Drive identity (for sanity later)

bash
Copy
lsblk -f

✅ Save them to STORAGE (so they survive reinstall)

On CERBERUS:

bash
Copy
mkdir -p /srv/STORAGE/system-backup

Then:

bash
Copy
cat /etc/fstab > /srv/STORAGE/system-backup/cerberus-fstab.txt
cat /etc/exports > /srv/STORAGE/system-backup/cerberus-exports.txt
lsblk -f > /srv/STORAGE/system-backup/cerberus-disks.txt

✅ Optional (very useful)

Also save:

bash
Copy
hostnamectl > /srv/STORAGE/system-backup/cerberus-system.txt
ip a > /srv/STORAGE/system-backup/cerberus-network.txt

🧠 Why this works

After reinstall you won’t:

    guess UUIDs ❌
    guess mount points ❌
    guess exports ❌

You just:

    reinstall OS
    open these files
    copy back into place

Done in minutes.
✅ Even better (one-file version)

If you want a single reference:

bash
Copy
(
echo "=== FSTAB ==="
cat /etc/fstab
echo
echo "=== EXPORTS ==="
cat /etc/exports
echo
echo "=== DISKS ==="
lsblk -f
) > /srv/STORAGE/system-backup/cerberus-rebuild.txt

✅ Result

You now have a rebuild blueprint.

👉 Do you want next:

    a post-reinstall checklist (5 commands to restore everything)
    or move into rsync cleanup plan

Credits Used: 13.49 

...............................................

 

📔 Master Field Notes: The NUC Mesh System

Version: 1.0
Machines: ANNIE (i7 NUC9), CERBERUS (Celeron NUC), PI-GATEWAY (Pi 5)
1. System Architecture: The "Distributed Cluster"

Instead of thinking of these as three separate PCs, they function as a single unit:

    ANNIE (The Cockpit): Intel NUC9i7QNX. The "Power Engine." Handles all visuals and the primary user interface.
    CERBERUS (The Storage): Celeron NUC. The "Limb." Tucked away, dedicated to the 2 x HDD movie/file archive.
    PI-GATEWAY (The Nerve Center): Raspberry Pi 5. Handles DHCP and internet gateway duties.

2. Graphics Stability (Primary Fix)

ANNIE initially suffered from "Jumping Windows" and transparency glitches due to a conflict between the NVIDIA driver and the XFCE compositor.

    The Philosophy: "Horses that eat must pull." No-frills reliability over fancy effects.
    The Fix: Disable the Compositor permanently.
        Manual recovery: xfwm4 --replace --compositor=off &
        Permanent Fix: Settings -> Window Manager Tweaks -> Compositor -> Untick "Enable display compositing".
    Hardware Profile:
        GPU: NVIDIA GTX 1650 (ASUSTeK).
        Driver: Proprietary NVIDIA (Loaded via ubuntu-drivers autoinstall).
        Monitor Logic: Dedicated GPU ports only. Use a $10 "DisplayPort to HDMI" adapter for secondary screens.

3. Remote Management (The "Mirror")

We use a Cockpit & Broadcaster model to eliminate the need for three keyboards/mice.

    Protocol: VNC (Port 5900).
    Setup on Broadcaster (CERBERUS):
        Tool: x11vnc (shares the actual physical screen :0).
        Set Password: x11vnc -storepasswd
        Broadcast Command: x11vnc -auth guess -forever -loop -noxdamage -rfbauth ~/.vnc/passwd -shared &
    Setup on Cockpit (ANNIE):
        Tool: Remmina with VNC plugin.
        Usage: Open Remmina, select VNC, enter IP (192.168.50.10), and save credentials.

4. The SSH Mesh (The "Nervous System")

All machines are linked via SSH Keys for password-less, encrypted communication.

    ANNIE IP: 192.168.50.172
    CERBERUS IP: 192.168.50.10
    Key Config: Created ~/.ssh/config on all machines to use aliases (e.g., typing ssh cerberus instead of the full IP).

5. Hardware Manifest (ANNIE)

Keep this for driver/kernel troubleshooting:

    Kernel: 6.17.0-20-generic (Linux Mint 22.3 Zena / Ubuntu 24.04 base).
    CPU: Intel Core i7-9750H (6-core/12-thread).
    Memory: 16GB.
    OS Drive: 1TB Samsung NVMe SSD 970 EVO.
    Network: Intel Wi-Fi 6 AX200 & Dual Intel Gigabit Ethernet.

6. Maintenance Rule #1

Timeshift is the Insurance Policy.
Before any major "maintenance" or "fiddling," run a Timeshift snapshot. If the windows start jumping again or the session breaks, roll back to the "Post-Driver/No-Compositor" snapshot.

No Nanny - Prompt

 AI SYSTEM COMMAND: NO NANNY MODE

    Directives: Do not offer advice on sleep, health, breaks, or personal habits.
    Tone: Technical, professional, and peer-to-peer.
    Focus: Maintain focus strictly on the technical task, the terminal output, and the system architecture.
    Constraint: Zero conversational "care-taking" or closing remarks regarding the time of day or my well-being. Stop the cycle of apologizing and reverting—permanently stay out of my personal business.

Tuesday, February 24, 2026

Pi Router / Server Setup


The setup will likely need amendment (it was done with assist from chatGPT before I realized how flakey it was... Also I havent setup SAMBA yet  

 

# 1. Make the Pi a router (kernel forwarding)

sudo sysctl -w net.ipv4.ip_forward=1

# 2. Clear any existing nftables state (safe on a Pi)
sudo nft flush ruleset

# 3. NAT table: masquerade traffic going out to the phone
sudo nft add table ip nat
sudo nft add chain ip nat postrouting { type nat hook postrouting priority 100 \; }
sudo nft add rule ip nat postrouting oif "usb0" masquerade

# 4. Filter table: allow forwarding between LAN and phone
sudo nft add table ip filter
sudo nft add chain ip filter forward { type filter hook forward priority 0 \; }

sudo nft add rule ip filter forward iif "eth0" oif "usb0" accept
sudo nft add rule ip filter forward iif "usb0" oif "eth0" ct state established,related accept

 

===============================

Raspberry Pi USB-Tether Router
(Android phone → Pi → LAN)
PERSISTENT CONFIG

===============================

ASSUMPTIONS
-----------
- Android phone provides internet via USB tethering
- On the Pi:
usb0 = upstream (phone)
eth0 = downstream (LAN / TP-Link / NUC)
- Temporary routing + NAT has already been tested and works

--------------------------------
1. ENABLE IP FORWARDING (PERMANENT)
--------------------------------

echo 'net.ipv4.ip_forward=1' | sudo tee /etc/sysctl.d/99-ipforward.conf
sudo sysctl --system

--------------------------------
2. ENSURE NFTABLES IS INSTALLED & ENABLED
--------------------------------

sudo apt update
sudo apt install -y nftables
sudo systemctl enable --now nftables

--------------------------------
3. WRITE PERSISTENT NFTABLES RULESET
--------------------------------

sudo tee /etc/nftables.conf >/dev/null <<'EOF'
#!/usr/sbin/nft -f
flush ruleset

# NAT table: masquerade traffic going out to the phone
table ip nat {
chain postrouting {
type nat hook postrouting priority 100;
oifname "usb0" masquerade
}
}

# Filter table: allow forwarding between LAN and phone
table ip filter {
chain forward {
type filter hook forward priority 0;
iifname "eth0" oifname "usb0" accept
iifname "usb0" oifname "eth0" ct state established,related accept
}
}
EOF

--------------------------------
4. LOAD RULES NOW (WITHOUT REBOOT)
--------------------------------

sudo nft -f /etc/nftables.conf
sudo systemctl restart nftables

--------------------------------
5. VERIFICATION (OPTIONAL BUT SANE)
--------------------------------

# On the Pi:
sysctl net.ipv4.ip_forward
nft list ruleset

# From a downstream machine (e.g. NUC):
# ping 192.168.1.1
# ping 1.1.1.1

--------------------------------
END
-------------------------------- 

Thursday, December 11, 2025

FIELD DIAGNOSTIC — “HONEST LINK TEST

 

MARK’S FIELD DIAGNOSTIC — “HONEST LINK TEST”

Purpose:
Run three real-world tests that expose the true condition of a network link (jitter, loss, routing stability, sustained throughput).
Replaces Speedtest completely.


COMMAND BLOCK (copy/paste and run as-is)

# 1. Stability & packet loss (50 probes to Cloudflare) ping -c 50 1.1.1.1 # 2. Route quality (live traceroute + loss/jitter per hop) mtr -rw 1.1.1.1 # 3. Sustained throughput test (TCP, real flow) iperf3 -c iperf.scottlinux.com

INTERPRETATION (brief)

1. ping

  • 0% loss + tight latency → good link

  • Loss > 1% → unstable

  • Jitter swings > 30 ms → VPN, STT, games, Zoom all degrade

  • “Destination Net Unreachable” → upstream routing failure (tower/backhaul dead)


2. mtr

  • Shows where packets die.

  • Loss at hop 1 = tower or local NAT failure

  • Loss at hop 2–3 = backhaul congestion/microwave link fault

  • Loss only at far hops = upstream ISP issues

This is the “forensic” tool.


3. iperf3

  • Tests real, sustained throughput — no cheating, no smoothing.

  • Smooth graph → link can carry load

  • Bursts/stalls → congestion or jitter

  • Disconnects → upstream failure

If iperf3 can’t connect at all → the link isn’t routing.


CONCLUSION

This triple test reveals:

  • jitter

  • packet loss

  • route instability

  • tower congestion

  • backhaul collapse

  • VPN viability

  • torrent viability

  • STT reliability

  • true usable bandwidth

Speedtest hides all of these.
This rig exposes them instantly.

 

---------------------------------------------------------------------------------------------------------------

Righto — here’s your compact, portable field-diagnostic script.
Name it whatever you like; I’ll call it netcheck for simplicity.

This gives you:

  • one command

  • clean output

  • no dependencies beyond mtr and iperf3 (install once)

  • works anywhere


1. The Script (netcheck)

Copy/paste this into a file:

#!/bin/bash echo "====================================" echo " Mark's Honest Link Test – netcheck " echo "====================================" echo # ---- 1. PING TEST ---- echo "[1] PING: Stability + Loss" echo "--------------------------" ping -c 50 1.1.1.1 echo echo # ---- 2. MTR TEST ---- echo "[2] MTR: Route Quality (loss per hop)" echo "--------------------------------------" mtr -rw 1.1.1.1 echo echo # ---- 3. IPERF3 THROUGHPUT ---- echo "[3] IPERF3: Sustained Throughput Test" echo "--------------------------------------" iperf3 -c iperf.scottlinux.com echo echo "Done."

2. How to install it

Save it somewhere sensible — I’d suggest:

~/bin/netcheck

Then make it executable:

chmod +x ~/bin/netcheck

If ~/bin isn’t already in your PATH, add it by editing ~/.bashrc:

echo 'export PATH="$HOME/bin:$PATH"' >> ~/.bashrc source ~/.bashrc

3. How to run it

Anytime, anywhere:

netcheck

That’s it.
No mucking around.
It runs the three honest tests in sequence:

  • ping → stability

  • mtr → route diagnosis

  • iperf3 → sustained usable throughput

You get a complete truth readout of the link without touching Speedtest or any GUI.


4. Notes

  • If mtr or iperf3 aren’t installed, do this once:

sudo apt install mtr iperf3
  • If iperf3’s test server is ever unreachable (rare), swap in Cloudflare’s:

iperf3 -c speedtest.wobcom.de

But the default one is rock solid.


If you want a version that logs automatically to a timestamped file for later analysis, I can package that too.

 

Thursday, November 9, 2023

ICloud for Linux

 I got a bit carried away and bought an iPhone 15 . 

So far it has been very nasty. OS welded shut and always on the mooch. 

https://www.linuxcapable.com/how-to-install-and-enable-snap-on-linux-mint/

https://zilowtech.com/use-icloud-on-linux/

Monday, March 6, 2023

Reinstalled Linux Mint and reset the Router (oops).

The files were all just a mess and I was getting wieird bugs. I am going to have to make an effort to Timeshift and to stay tidy.

These persisted so I bought a new  TL - MR 3420 router.




 

https://marksfieldnotes.blogspot.com/2020/05/openhab-documentation.html


ssh openhabian@192.168.1.103  - openhabian


PIA VPN   p9615602

sh pia-linux-3.3.1-06924.run

 

Sunday, March 5, 2023

Github.

 Going to have to learn github. Juggling with code is untidy just pasting it places. 

https://github.com/Muzzlehatch

Thursday, November 26, 2020

Logitech Unifying Receiver / Linux Solaar.

Logitech Unifying for Linux: Reverse Engineering and unpairing tool

https://lekensteyn.nl/logitech-unifying.html

Fault. - It stopped working... 

The reciever registers but the devices wont.

I have bought a;

Logitech K780 Multi-Device Wireless Keyboard

Logitech MX Anywhere 2S Wireless Mouse 

 Logitech Unifying Receiver  / https://pwr-solaar.github.io/Solaar/

Install using Discover Software. Setup using GUI - Extremely Easy. 

 

Thursday, June 11, 2020

openHAB Documentation

Ref : https://www.openhab.org/docs/installation/openhabian.html


Ref : https://www.openhab.org/docs/installation/openhabian.html#raspberry-pi-prepackaged-sd-card-image


Ref : Youtube Channel BK Hobbies

Software

Download openHABian  .img.xy

Image Writer send Image to SD Card.

Fire up in Ethernet connected Pi  and wait for autosetup to complete.

OR

(Use text editor to setup Wi Fi in openhabian.conf in the SD card boot partition before you install it in the Pi so autosetup has internet access.)

Fault : April 4 Did autosetup 3 times and got a system error each time. failed install.

Fix : I run sudo openhabian-config, then option 3 - install stable " and it’s up and running.

Notes : First time i setup openHAB I used the reconfiguration install since the whole process seemed daunting. After this it just work so I concentrate on the sitemaps.   I wanted to set up the OS so as I could use the pi for other things like monitoring voltages etc.  This work around amounts to a separate install on a Linux machine so I need to experiment with doing a manual install.

Checking IPs on network

from router  :

http://192.168.1.1/     pass e..........wif

Fixed IP : 

(Not sure that this is setup - router doesn't seem to reassign IPs anyway )
Using the TL-MR3420 Manual C 8.4 Bind the MAC and IP. This serves an unchanging IP with DHCP.

SSH into the Pi :


mark@mark-HP-15-Notebook-PC:~$ ssh openhabian@192.168.1.103


@    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @


Follow the prompts to generate a new passkey. 

pass openhabian

Run openHABian setup and configuration tool for openHAB sudo openhabian-config: (Should work without this  step .... ? Timezone and Password and update.)




Configure  from Paper UI :

Web Interface http://192.168.1.103:8080/start/index

*GPIO Binding - GPIO Binding binding-gpio1 - 1.13.0
*NPT Binding


GPIO Hardware layout.





Relay Board 1


GND                  GRN

GPIO 26 - IN1   BLU

GPIO 19 - IN2   PUR

GPIO 13 - IN3   GRY

GPIO   6 - IN4   WH

VCC                   RED

Relay Board 2


GND                   GRN

GPIO   5  - IN1   BLU

GPIO   9  - IN2   PUR

GPIO  22 - IN3   GRY

GPIO  27 - IN4   WH

VCC                    RED



-----------------------------------------------------------------------------------------------------

Items and Sitemap

etc/openhab2/items/home.items
-----------------------------------------------------------------------------------------------------

 /etc/openhab2/sitemaps/demo.sitemap


Text Editor

SUDO NANO is good for getting it going.

I setup Visual Studio Code with the openHAB extension.

Fault : I still havent got SVC working properly with SAMBA.

I couldn't get it to connect directly by entering in a host IP.

Instead I accessed the files using SAMBA and opened them from my remote Computer using Visual Studio Code.  

to setup the password in VSC





It will Save provided I browse with file manager to Open - it will only Save at the last Save as location .

Parent Folder : smb://openhab.local/openhab-conf/sitemaps



Saturday, May 23, 2020

Ultrasonic Water Level / Temp / Humidity Sensor



Project will measure the level of water in my 300 Litre tank and the Temp Humidity in the Boltonwagen. 



Sensors:

JSN-SR04T-2.0 

AM2302 DHT22 Temperature And Humidity Sensor Module For Arduino SCM

Specification:

Electrical properties:
Operating voltage: DC 5V
Total current work: 40mA
Acoustic emission frequency: 40khz
Farthest distance: 4.5m
Blind: 25cm

Resolution: about 0.5cm
Angle: 70 degrees
Working temperature: -10 ~ 70 ℃
Storage temperature: -20 ~ 80 ℃

 
Wiring:

 
+ 5V (positive power supply)                  RD
Trig (control side) RX                D 11     WH
Echo (the receiver) TX               D 12     GY
GND (negative)                                       BLK

Principle of Operation:


(1) using IO port TRIG trigger location, to the high level signal of at least 10us;
(2) module automatically sends 8 40KHz pulse, automatic detecting whether a signal return;
(3) a signal return, a high level is output through the IO port ECHO, the time duration of the high level is
ultrasonic from launch to return. The test distance = (high level time * speed of sound (340M/S)) /2;


Software & Refs :

Library for  Ultrasonic Sensor

https://github.com/daPhoosa/MedianFilter


https://www.youtube.com/watch?v=wb0sTy_26XM&ytbChannel=null 

http://www.ardumotive.com/how-to-use-dht-22-sensor-en.html#


https://www.banggood.com/DC-5V-Waterproof-Ultrasonic-Module-Distance-Measuring-Transducer-Sensor-p-1094462.html



Tank Dimensions:

W 2109 x D  185 x H 770 (Measured Dimension)   300 Litres

____________________________________________________________

/* How to use the DHT-22 sensor with Arduino uno
  ---------------------------------------------------------------------------
 Project will measure the level of water in my 300 Litre tank and Temperature and humidity.
---------------------------------------------------------------------------
   More info: http://www.ardumotive.com/how-to-use-dht-22-sensor-en.html
   Dev: Michalis Vasilakis // Date: 1/7/2015 // www.ardumotive.com

 Mark Bolton
 7 September 2018

 Two sketches are combined.   //water   and  //temp

  */
 
//Libraries

#include <dht.h>        //temp
#include <NewPing.h>      //water
#include <MedianFilter.h>
#include <Wire.h>


#define TRIGGER_PIN  12  // Arduino pin tied to trigger pin on the ultrasonic sensor.
#define ECHO_PIN     11  // Arduino pin tied to echo pin on the ultrasonic sensor.
#define MAX_DISTANCE 800 // Maximum distance we want to ping for (in centimeters). Maximum sensor distance is rated at 400-500cm.

dht DHT;

//Constants
#define DHT22_PIN 8     // DHT 22  (AM2302) - what pin we're connected to

//Variables
float hum;  //Stores humidity value
float temp; //Stores temperature value

int tank_Depth = 18;                    // Tank Depth (cm)
int tank_Width = 211;                   // Tank Width (cm)
//int US_ROUNDTRIP_CM;                  // Tank Height (cm) from sensor.
int water_Volume;                       // Amount of water in the tank. (Litres)


NewPing sonar(TRIGGER_PIN, ECHO_PIN, MAX_DISTANCE); // NewPing setup of pins and maximum distance.

MedianFilter filter(31,0);

void setup()
{
    Serial.begin(9600);
}

void loop()
{
    int chk = DHT.read22(DHT22_PIN);
  
  //Read data and store it to variables hum and temp
    hum = DHT.humidity;
    temp= DHT.temperature;

    
  delay(100);                          // Wait 50ms between pings (about 20 pings/sec). 29ms should be the shortest delay between pings.
  unsigned int o,uS = sonar.ping();   // Send ping, get ping time in microseconds (uS).

  filter.in(uS);
  o = filter.out();
  
  //Print temp and humidity values to serial monitor
  Serial.print("Hum: ");
  Serial.print(hum);
  Serial.print(" %, Temp: ");
  Serial.print(temp);
  Serial.print(" C. ");

  //Print level and Volume to monitor
  Serial.print("Level: ");
  Serial.print( o / US_ROUNDTRIP_CM);
/* Convert ping time to distance in cm and print result (0 = outside set distance range)*/
  Serial.print("cm.");

/* calculate volume .001 to convert to Litres / cm. * D * W * H (77) - distance from surface of the water to the sensor. */
 
  water_Volume = 0.001 * tank_Depth * tank_Width *  77 - o / US_ROUNDTRIP_CM;
 
  Serial.print(" Vol: ");
  Serial.print(water_Volume);
  Serial.print(" L");

// CSV file
  Serial.print("  ");
  Serial.print(hum);
  Serial.print(",");
  Serial.print(temp);
  Serial.print(",");
  Serial.print( o / US_ROUNDTRIP_CM);
  Serial.print(",");
  Serial.println(water_Volume);


}

Problem. dht.h not a valid library. I removed all DHT Libraries and reinstalled the  zip file included in the tutorial.

I built a replica Prototype Unit to clean up the code and get some more sensors and setup a proper Python controller in the Pi but none of the Sketches would verify. I cant identify the issue but clearly it is a problem with the Libraries. The best approach under these circumstances is to go back to scratch and set up the system again.

Fixed. Just gradually rebuilt the other few libraries and now the Water Level Sketch works too.

BUT : Pulled the unit to bits (for unrelated reasons) and will revisit later... 

Might want to double check the formula on the  Height to Volume calculation.

The Heater Fuel Sender needs monitoring as well.

Thursday, April 30, 2020

New Computer

LG 32 inch Monitor 32MP58HQ-P Switching between HDMI ports will be fussy.

ASUS - PN60 Mini Computer  Manual.   ; This thing is blisteringly fast.

OS : Ubuntu

Raspberry Pi 3 OpenHab. 

Rebuilt OS. 

Raspberry Pi 3 OpenHab Spare. 

Needs  building.   Is it possible to incorporate headless torrent box ? 

Raspberry Pi 4 Media Centre / NAS :  Raspbian. Works plenty fast enough for a desktop.  Needs building. 

Fault ; Will scan to the Bluetooth speakers but "Connection failed - Use audio menu to connect to this device. 

Fix :  You have to right click on the speaker symbol in the top right corner that way you can choose the audio output device. Have to rediscover device.  

Sunday, March 29, 2020

Voice Recording

I have a Rode NT - USB Mic.

The level controls dont work as you might expect. Level control has to be adjusted in Settings AFAIK. It seems Audacity doesn't have a Master level setting ??  Sounds OK on initial level test, albiet levels are too low.

Wednesday, December 18, 2019

Pi Camera

Ref: https://pythonprogramming.net/camera-module-raspberry-pi-tutorials/?completed=/terminal-navigation-raspberry-pi-tutorials/

raspbi-config
 install python picamera

camera.py
-------------------------------------------------------------------------------------

#To record video or stills using pi camera

import picamera
import time

camera =  picamera.PiCamera()

#To invert image
camera.vflip = True

#To record  stills
camera.capture('example.jpg')

#To record vide0
#camera.start_recording('examplevid.h264')
#time.sleep(5)
#camera.stop_recording

 ---------------------------------------------------------------------------------------


Sunday, September 15, 2019

X - Y Scanning CRT clock

https://www.youtube.com/watch?v=ZKYBnWyJpmU

This project is very  cool bit I reckon it would be nicer as an Atari style X - Y rendered image.

A CRT is an inherently analogue device and the raster scan scheme was an inherently analogue technique based on two sawtooth waveform generators.

The 80s machine code methodology was very cool but required a certain special type of autism to author. I did a bit of PDPII machine code once. Rather than sperg right out I am wondering if simply deciding the X - Y fields into a single table and asining each of the characters in thier respective positions a set of consecutive coordinates corresponding to the vertices of the characters.

Back up the line what be required is to generate a sequence of ordered pairs.

Bandwidth might be an issue but that then becomes a hardware problem. The image programming could be done in a fairly human friendly workspace.

Two 10? Bit ADC for X Y and a Z drive hooked up to a standard electrostatic CRT would be the display. Big would be better but the downside is the higher drive voltages.

The number rose would be a static lookup table. The hands would be generated using a sin function who input is fed by a timer.

The whole project would be extremely cool but ultimately space and time consuming and would probably culminate in something rather over wrought and appallingly baroque and steam punk.

Likely the "fake and gayness" would out way the coolness because it would be plain how much work went into the stupid thing. Now if you could pick up a vintage Oscilloscope that would change the whole outlook. You would just need an Arduino and a cuppla ADCs . Plus you could use the Oscilloscope as and Oscilloscope. Now THAT would be cool!!

Tuesday, February 19, 2019

R/C Simulators.

Just as whacking a tennis ball isn't supposed to be tennis - it is well worthwhile as a short interlude for relaxation and to help wire up one's reflexes for more articulate brain / hand coordination.

# 1 Multiflight - good graphics and pleasant to operate. Windows.


#2 PicaSim - Medium Graphics and has a variety of senarios. Windows.


#3 CRRCSim - crude graphics and GUI. Quite pleasant to use. Linux.

All of them require a bit of fiddling to setup. This is part of the familiarization process and becomes less frustrating every time.



Wednesday, January 1, 2014

Multimedia Noob Doodle.

I have gone on a bit of a tech jag and decided to setup my computers to dual boot and have a fiddle with Linux and multimedia. I called the computers Badger and Mole but there is a slew of other devices on the network. The most promising is the Pi which I have setup as a sound recorder.  They are a fabulous bit of gear - oh to be 10 years old today !!

I put together a little clip from around the house. The song is a rather jolly little ditty which was very popular in the 20's. "The Japanese Sandman" (Nora Bayes, 1920 is a contemporary version. A bit stolid and theatrical for modern tastes. The Lauren Sharpe version from Boardwalk Empire is my favorite and if you have to have a song stuck in your head there are plenty worse than this one.

Linked  annotation is done from youtube editor  page - dead easy.

Monday, December 30, 2013

Blender n00b doodle

Blender gives spectacular results but has a massive learning overhead.