This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Libreria Open Source disponibile su: | |
https://playground.arduino.cc/Code/NewPing | |
*/ | |
#include <NewPing.h> | |
#define PIN_TRASMISSIONE 11 | |
#define PIN_RICEZIONE 12 | |
#define DISTANZA_MAX 200 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Lettore di temperatura con l'utilizzo del sensore DHT11 | |
Robotdazero - https://www.robotdazero.it | |
Blog post - https://www.robotdazero.it/blog/020-come-leggere-la-temperatura-ambientale-con-arduino/ | |
Il circuito: | |
- pin 1 (Vcc) del sensore collegato alla alimentazione | |
- pin 2 (DATA) del sensore DH1T1 collegato al Pin 7 di Arduino | |
- pin 4 (GND) del sensore collegato alla massa (GND) di Arduino |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Driver per motore elettrico brushed | |
Robotdazero - https://www.robotdazero.it | |
Il circuito: | |
- pin 9 di Arduino collegato alla base del TIP120 | |
creato 16 Maggio 2018 | |
modificato 18 Febbraio 2020 | |
by sebadima |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pandas as pd | |
import numpy as np | |
from sklearn.datasets import make_blobs | |
from matplotlib import pyplot as plt | |
from sklearn.cluster import AffinityPropagation | |
from sklearn import metrics | |
# generazione dei dati casuali | |
X, y = make_blobs(n_samples=40, centers=4, cluster_std=0.80) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <Arduino.h> | |
#include <ESP8266WiFi.h> | |
#include <Hash.h> | |
#include <ESPAsyncTCP.h> | |
#include <Adafruit_Sensor.h> | |
#include <DHT.h> | |
#include <EMailSender.h> | |
#include <ESP8266HTTPClient.h> | |
#include <ArduinoJson.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Esempio LED Matrix 8x8 con MAX7219 | |
by robotdazero.it, based on Dejan Nedelkovski | |
tratto da: https://howtomechatronics.com/ | |
Basato sulla libreria Open Source | |
GitHub - https://github.com/riyas-org/max7219 | |
*/ | |
#include <MaxMatrix.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Esempio Scroll LED Matrix 8x8 con MAX7219 | |
by robotdazero.it, based on Dejan Nedelkovski | |
tratto da: https://howtomechatronics.com/ | |
Basato sulla libreria Open Source | |
GitHub - https://github.com/riyas-org/max7219 | |
*/ | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* | |
Trasmissione : PinTrasmissione Pin 11 | |
Ricezione : PinRicezione Pin 12 | |
VCC : +5VDC | |
GND : GND | |
*/ | |
int PinTrasmissione = 11; | |
int PinRicezione = 12; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Libreria Open Source disponibile su: | |
https://playground.arduino.cc/Code/NewPing | |
*/ | |
#include | |
#define PIN_TRASMISSIONE 11 | |
#define PIN_RICEZIONE 12 | |
#define DISTANZA_MAX 200 |