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.
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.
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 5int servoControlRemain = 17600; // servoControlMaster + servoControlRemain must equal 20000 Microseconds
int servoChange = 30; // Change in microsecondsint servoChangeCalc = 20000-servoControlMaster; // calculate remainder of 20000 microseconds
void setup() {
}
void loop() {
// manually send position to servofor(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 positionservoControlMaster = 2400;servoControlRemain = 17600;}
}
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-chromeOr if you want to do the same but with no bothersome questions asked in Terminal:
yay -Sy google-chrome --noconfirm
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.
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/*