Scheda elettronica per Cella di carico – HX711

La scheda si collega così:

Esempio di codice:

#include “HX711.h”
#define calibration_factor -9580.00 //This value is obtained using the SparkFun_HX711_Calibration sketch
#define DOUT 4
#define CLK 5
HX711 scale(DOUT, CLK);
void setup() {
Serial.begin(9600);
Serial.println(“HX711 scale demo”);
scale.set_scale(calibration_factor);
scale.tare(); //Assuming there is no weight on the scale at start up, reset the scale to 0
Serial.println(“Readings:”);
}
void loop() {
Serial.print(“Reading: “);
float libbre = scale.get_units();
float kg = (libbre/2.2046);
Serial.print(kg, 1); //scale.get_units() returns a float
Serial.print(” kg”); //You can change this to kg but you’ll need to refactor the calibration_factor
Serial.println();
}

https://futuranet.it/futurashop/image/catalog/data/Download/Hx711.zip

Come spegnere la spia dell’airbag del Nissan Qashqai j10

La procedura viene descritta in questo video

Come descritto nei commenti del video in inglese:

This process involves precisely timing the ignition to interrupt the airbag system’s self-check. No tools are required. Preparation: Sit in the driver’s seat and ensure all doors are closed. Turn Ignition ON: Turn the key to the “ON” position (or press the Start button twice without touching the brake). Watch the Light: The airbag light will illuminate and stay solid for about 7 seconds. Turn Ignition OFF: Immediately turn the ignition off the moment the light begins to flash or turns off. Wait: Wait for at least 5 seconds. Repeat: Repeat steps 2 through 5 three more times (for a total of 4 cycles). Final Start: Turn the engine on. The light should stay on for 7 seconds and then extinguish.

Turn ignition on, wait for airbag light to turn off(start blinking), turn ignition off, wait exactly 5 seconds, turn back on, repeat the same 2 more times.