- D0 -> IBT (A) 1
- D1 -> IBT (A) 2
- IBT (A) 3 + 4 -> 5V+
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
.idea |
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
PROJECT_NAME=whooaa |
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
FROM node:16-alpine | |
RUN apk add --no-cache build-base libtool libusb-dev librtlsdr-dev rtl-sdr cmake git | |
WORKDIR /home/node | |
RUN git clone https://github.com/merbanan/rtl_433.git | |
WORKDIR /home/node/rtl_433 | |
RUN mkdir build |
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
ffmpeg -f v4l2 -input_format mjpeg -video_size 1920x1080 -framerate 60 -i /dev/video0 -c:v copy output.avi -y -loglevel debug |
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 * as R from './Ramda.js'; | |
*/ | |
import merge from '../node_modules/ramda/src/merge.js'; | |
import sortBy from '../node_modules/ramda/src/sortBy.js'; | |
import compose from '../node_modules/ramda/src/compose.js'; | |
import toLower from '../node_modules/ramda/src/toLower.js'; |
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 <PubSubClient.h> | |
#include <SoftwareSerial.h> | |
#include <ESP8266WiFi.h> | |
#include <ArduinoJson.h> | |
const char* ssid = "device"; | |
const char* password = "CHANGE!ME"; | |
char* topic = "movement"; | |
char* server = "droneboat"; |
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
#!/bin/bash | |
sudo apt-get install g++ \ | |
libmad0-dev libmpg123-dev libid3tag0-dev \ | |
libflac-dev libvorbis-dev libopus-dev \ | |
libadplug-dev libaudiofile-dev libsndfile1-dev libfaad-dev \ | |
libfluidsynth-dev libgme-dev libmikmod2-dev libmodplug-dev \ | |
libmpcdec-dev libwavpack-dev libwildmidi-dev \ | |
libsidplay2-dev libsidutils-dev libresid-builder-dev \ | |
libavcodec-dev libavformat-dev \ | |
libmp3lame-dev libtwolame-dev libshine-dev \ |
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
station_cfg = {} | |
station_cfg.ssid = "..." | |
station_cfg.pwd = "..." | |
station_cfg.save = true | |
function wait_for_wifi_conn() | |
tmr.alarm(1, 1000, 1, function() | |
if wifi.sta.getip() == nil then | |
print("Waiting for Wifi connection") | |
else |