Skip to content

Instantly share code, notes, and snippets.

/*
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
@sebadima
sebadima / 011-003.ino
Last active February 18, 2020 13:13
011-003.ino
/*
* 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
/*
*
Trasmissione : PinTrasmissione Pin 11
Ricezione : PinRicezione Pin 12
VCC : +5VDC
GND : GND
*/
int PinTrasmissione = 11;
int PinRicezione = 12;
Arduino Nano R3 1
DC motor (generic) 4
Ultrasonic Sensor - HC-SR04 3
Breadboard 1
Batteria USB da 3.000 mAh 1
Telaio Coretec Tiny 4WD Robot 1
L9110 Dual Channel motor driver 2
TOTALE circa € 35⁄40
@sebadima
sebadima / 011.ino
Last active February 9, 2020 14:54
const int PinEchoAnteriore = 7;
const int PinTriggerAnteriore = 6;
const int PinEchoSinistra = 11;
const int PinTriggerSinistra = 10;
const int PinEchoDestra = 9;
const int PinTriggerDestro = 8;
const int motorinoL1 = 2;
const int motorinoL2 = 3;
const int motorinoR1 = 4;
const int motorinoR2 = 5;
const int PinEchoAnteriore = 7;
const int PinTriggerAnteriore = 6;
const int PinEchoSinistra = 11;
const int PinTriggerSinistra = 10;
const int PinEchoDestra = 9;
const int PinTriggerDestro = 8;
const int motorinoL1 = 2;
const int motorinoL2 = 3;
const int motorinoR1 = 4;

cd ; cd Downloads ; sudo ./install.sh

cd ; cd Downloads; sudo ./install.sh

.facebook {
display: inline-block;
text-align: center;
vertical-align: middle;
padding: 12px 24px;
border: 1px solid lightgray;
border-radius: 8px;
background: #75d8ff;
background: -webkit-gradient(linear, left top, left bottom, from(#75d8ff), to(#4784a9));
background: -moz-linear-gradient(top, #75d8ff, #4784a9);
<?php
/**
* Plugin Name: Social Buttons
* Plugin URI: https://www.sebadima.com
* Description: A simple plugin to share a post on socials networks.
* Version: 1.3a
* Author: Sebastiano Dimartina
* Author URI: https://www.sebadima.com
*/