Páginas
jueves, 29 de septiembre de 2022
domingo, 25 de septiembre de 2022
medidor de velocidad Km/h arduino y un GPS NEO 6m @PCBWay
codigo
#include <SoftwareSerial.h>
#include <TinyGPS++.h>
#define rxPin 12
#define txPin 11
SoftwareSerial neogps(rxPin,txPin);
TinyGPSPlus gps;
int pulso = 2;
void setup()
{
Serial.begin(9600);
neogps.begin(9600);
pinMode(pulso,OUTPUT);
Serial.println("Velocimetro");
delay(3000);
}
void loop() {
boolean newData = false;
for (unsigned long start = millis(); millis() - start < 1000;)
{
while (neogps.available())
{
if (gps.encode(neogps.read()))
{
newData = true;
}
}
}
//If newData is true
if(newData == true)
{
newData = false;
print_speed();
}
else
{
Serial.print("No hay datos");
}
}
void print_speed()
{
if (gps.location.isValid() == 1)
{
Serial.print(gps.speed.kmph());
//Serial.println("km/h");
// Serial.print("SAT:");
// Serial.println(gps.satellites.value());
// Serial.print("ALT:");
// Serial.println(gps.altitude.meters(), 0);
}
}
domingo, 18 de septiembre de 2022
sábado, 17 de septiembre de 2022
domingo, 11 de septiembre de 2022
impresionante impresora laser xTool D1 Pro 20W graba y corta madera, me...
link de compra https://www.xtool.com/?ref=uYySFVAV_qnJYJ&utm_source=influencer
esta impresora me sorprendió mucho por su calidad, precisión, facilidad de manejo y armado, buena potencia
Láser de alta potencia de 20 W: corte de tilo de 10 mm/acrílico negro de 8 mm en una sola pasada
Velocidad de trabajo de hasta 400 mm/s: ahorro de tiempo y eficiencia
Mayor precisión y estabilidad
Detección de llama/movimiento/vuelco para su seguridad
domingo, 4 de septiembre de 2022
Suscribirse a:
Entradas (Atom)