Cool site for making custom gauge faces!

While thinking about a project making a custom clock using the automotive gauge stepper motor from Adafruit, I tripped across this site for making custom gauge faces – perfect!

This is my first attempt – pretty happy with it.

Posted in Circuits and Electronics, Ideas, Web/Internet | Comments Off on Cool site for making custom gauge faces!

Manually control servo with ATtiny85

If you find yourself wanting to control a servo with an ATtiny85, you will find very few libraries available.  Those that are available, I was unable to get to work properly for full 180 degree rotation of my SG92R servo.  Here is what I did that worked great:

int servoControlMaster = 2400; // SG92R uses 600 for 0 degrees, 2400 for 180 degrees, move in increments of 5
int servoControlRemain = 17600; // servoControlMaster + servoControlRemain must equal 20000 Microseconds

int servoChange = 30; // Change in microseconds
int servoChangeCalc = 20000-servoControlMaster; // calculate remainder of 20000 microseconds

void setup() {

}

void loop() {

// manually send position to servo
for(int i = 0; i<20; ++i) {
digitalWrite(2, HIGH);
delayMicroseconds(servoControlMaster);
digitalWrite(2, LOW);
delayMicroseconds(servoControlRemain);
}

delay (1000);

if (servoControlMaster > (600)) {
servoControlMaster = servoControlMaster-servoChange;
servoControlRemain = servoChangeCalc;
} else {
// reset to beginning position
servoControlMaster = 2400;
servoControlRemain = 17600;
}

}

Posted in Circuits and Electronics | Comments Off on Manually control servo with ATtiny85

Manjaro – Rebuild Chrome browser

Since Chrome won’t update properly in Manjaro, you need to rebuild it when there is a new version.  Thankfully, using yay makes this super easy.

yay -Sy google-chrome
 

Or if you want to do the same but with no bothersome questions asked in Terminal:

yay -Sy google-chrome --noconfirm

Posted in Computers and Hardware | Comments Off on Manjaro – Rebuild Chrome browser

Manjaro Linux Fails To Add Printer

If your printer fails to load in Manjaro Linux, use the old CUPS interface: http://localhost:631/admin

The username and password will be the same as the admin on the computer.

Posted in Computers and Hardware | Comments Off on Manjaro Linux Fails To Add Printer

Manjaro – Get that arduino to connect!

If you find that your Arduino isn’t connecting in Manjaro (and most other Linux flavors), you can run a command in terminal to give permission for your computer to connect.  You will want to run lsusb to find where your device is sitting, but for me this command works:

sudo chmod 666 /dev/bus/usb/003/*
Posted in Circuits and Electronics, Hobbies, Projects, Technology | Comments Off on Manjaro – Get that arduino to connect!