-
Datei
shinebar_artnet-to-dmx_v1.1.ino
#include <Artnet.h> #include <ArtnetEther.h> #include <ArtnetWiFi.h> #include <Conceptinetics.h> bool debug = true; //debug via Serialmonitor //DMX INIT #define DMX_SLAVE_CHANNELS 512 #define RXEN_PIN 2 DMX_Slave dmx_slave ( DMX_SLAVE_CHANNELS ); #define dmxaddr 1 bool dmxinit = true; // Ethernet stuff const IPAddress ip(192, 168, 186, 91); uint8_t mac[] = {0x01, 0x23, 0x45, 0x67, 0x89, 0xAB}; const String target_ip = "192.168.186.169"; ArtnetSender artnet; const uint32_t uni = 0; const uint8_t net = 0; const uint8_t sub = 0; const uint16_t size = 512; uint8_t data[size]; unsigned long lastShow =
in „Arduino DMX->Artnet Übertrager“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
ArDuinoPiHexDigitsToDecimal.ino
// pre-calculated table of 8366 hex digits of Pi: http://www.herongyang.com/Cryptography/Blowfish-First-8366-Hex-Digits-of-PI.html // precalculated table of 10000 decimal digits of Pi: //http://www.eveandersson.com/pi/digits/10000 const char hexDigitsPi[] PROGMEM= "243F6A8885A308D313198A2E03707344A4093822299F31D0082EFA98EC4E6C89" "452821E638D01377BE5466CF34E90C6CC0AC29B7C97C50DD3F84D5B5B5470917" "9216D5D98979FB1BD1310BA698DFB5AC2FFD72DBD01ADFB7B8E1AFED6A267E96" "BA7C9045F12C7F9924A19947B3916CF70801F2E2858EFC16636920D871574E69" "A458FEA3F4933D7E0D95748F728EB658718BCD5882154AEE7B54A41DC25A59B5" "9C30D5392AF26013C5D1B023286085F0CA417918B8DB38EF8E79DCB0603A180E
in „PI mit 8-Bit Controller auf viele DEZIMALSTELLEN genau berechnen“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Ricoh_SP213w_Toner_Chip_Reset.ino
#define EEPROM_I2C_ADDRESS 0x53 #include <Wire.h> // blank data for K, C, M & Y chip. 128 array of data. I got it from data dump of a replacement chip. byte KChipData[]={ 0x21, 0x00, 0x01, 0x03, 0x02, 0x01, 0x01, 0x00, 0x64, 0x00, 0x34, 0x30, 0x37, 0x32, 0x35, 0x34, 0x13, 0x08, 0x4d, 0x43, 0x06, 0x00, 0x38, 0x30, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x64, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
in „Hack: Ricoh Aficio SP100e Toner Chip“ · Projekte & Code ·
-
Datei
NmraDccAccessoryDecoder_Pulsed_8_ohne_Imp.ino
#include <NmraDcc.h> //#include "PinPulser.h" // This Example shows how to use the library as a DCC Accessory Decoder to drive 8 Pulsed Turnouts // You can print every DCC packet by un-commenting the line below //#define NOTIFY_DCC_MSG // You can print every notifyDccAccTurnoutOutput call-back by un-commenting the line below #define NOTIFY_TURNOUT_MSG // You can also print other Debug Messages uncommenting the line below #define DEBUG_MSG // Un-Comment the line below to force CVs to be written to the Factory Default values // defined in the FactoryDefaultCVs below on Start-Up //#define FORCE_RESET_FACTORY_DEFAULT_CV
in „Attiny84V-10PU“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
countdown_timer_4x7_seg_26082016.ino
//Library #include <SevenSeg.h> //Seven Seg SevenSeg disp (5, 25, 28, 27, 6, 23, 22); //Defines the segments A-G: SevenSeg(A, B, C, D, E, F, G); //Constants const int numOfDigits =4; int digitPins [numOfDigits]={13,12,11,10}; //CC(or CA) pins of segment //13= left seg; 12= left_mittel; 11=right_mittel; 10= right; const int startBT = 7; const int changeBT = 8; const int setBT = 9; const int dotPoint1=A0; //left digit const int dotPoint2=A1; //left_mittel digit const int dotPoint3=A2; //right_mittel digit const int dotPoint4=A3; //right const int BrakeBT=2; //Interrupt PAUSE/Frage Taster //Variables
in „Countdown_with 4x7seg.Anzeigen“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
RX_433Mhz_Robot_SepVer_Main.ino
/* The code was made by Tamás Imets for an Arduino UNO project This code controls the BB-8 Droid from the Star Wars: The Force Awakens, and works with Bluetooth RC Car application, using a HC-06 seriaé bluetooth module See more details at instructables.com/member/Imetomi Friday, December 25, 2015 */ //#include <Servo.h> #include <SoftwareSerial.h> #include "DualVNH5019MotorShield.h" DualVNH5019MotorShield md; int command = 0; //incoming serial data int led = 11; int ledPin = 13; int buttonpin = 5; SoftwareSerial bluetooth(A2, A3); int cmd; //Servo head; void setup() { bluetooth.begin(9600);
in „Motorshield und Servo gleichzeitig steuern (Timer 1)“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Epaper_Non_Lora_Receiver-Soft-SD-9.ino
/* ESP32 Weather Display using an EPD 7.5" 800x480 Display, obtains data from Open Weather Map, decodes and then displays it. #################################################################################################################################### This software, the ideas and concepts is Copyright (c) David Bird 2018. All rights to this software are reserved. Any redistribution or reproduction of any part or all of the contents in any form is prohibited other than the following: 1. You may print or download to a local hard disk extracts for your personal and non-commercial use only.
in „ESP8266 mit Waveshare 7,5" E-Paper - funktioniert nicht“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Solar_v2.5_OTA_ext_LOLIN.ino
/******************************************************************************************************** The program reads the radio weather forecast from hamsql.com and iap-kühlungsborn and outputs it to a display the datas are from "hamsql.com" by OM Paul Herrman , N0NBH -> THANKS a lot for it !! Thanks also to "Institut für Ionophärenphysik Rostock e.V. Aussenstelle Kühlungsborn" , Herrn Jens Mielich. Hardware: WEMOS D1 mini and an Adafruit_ILI9341 touch-display (320x240)[2.4" or 2.8" or 3.2" displays works also] get WEMOS D1 mini , 3.2" TFT w. Touch ILI9341 (or 2.4" or 2.8" or 3.2") from
in „Unerwartet Kompilierungsfehler ESP8266 / Funkwetteranzeige treibt mich in den Wahnsinn“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
GxEPD2_Example_Poly7b.ino
//#include "Adafruit_GFX.h" #include <GxEPD2_BW.h> #include <GxEPD2_3C.h> #include <GxEPD2_7C.h> #define ENABLE_GxEPD2_GFX 0 #include <U8g2_for_Adafruit_GFX.h> U8G2_FOR_ADAFRUIT_GFX u8g2Fonts; //#include <Fonts/FreeMonoBold9pt7b.h> //#include "BitmapDisplay.h" //#include "TextDisplay.h" //#include "BitmapExamples.h" //#include "test2.h" //#include "Poly7_AllBlacks.h" //#include "Poly7_AllReds.h" //#include "fruitred1_tmp.h" //#include "Redyork1_allreds.h" //#include "Redyork1_allblacks.h" //#include "VP_red.h" //#include "VP_black.h" //#include "Rosec_AllBlacks.h" //#include "Rosec_AllReds.h"
in „Arduino IDE unter Linux findet Bibliotheken nicht“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
CAN_BUS_Analyse_ESP_R32_4.ino
/*+++ACAN2515/PSE++++++++++++++++++++++++++++++++++++++++++++++++++++++++++* Script : CAN_BUS_ANALYSE_ESP R32_xV0.4 ACAN2515: Version 2.1.0 vom 16.02.2022 Programmspeicherbedarf: 215478 Byte* Board : Wemos D1 R32, ESP32 Boardeinstellung: !!ESP32 DEV Modul!! Shield : Watterott Can-Bus V2.x Quarz 16MHz Baudrate[sw] 10kb/s Ub: 3,3V /5,0V Rs: !120 Ohm Standart Pinning SPI Bemerkung: SPI ICSP auf Can_Pin über Kabel inArbeit: x Plan: ID zu Text; Quelle; Status; Wert ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/ #ifndef ARDUINO_ARCH_ESP32 #error "Select an ESP32 board"
-
Datei
0.42inch_oled_ssd1306_72x40_demo.ino
/* HelloWorld.ino "Hello World" version for U8x8 API Universal 8bit Graphics Library (https://github.com/olikraus/u8g2/) Copyright (c) 2016, olikraus@gmail.com All rights reserved. Redistribution and use in source and
in „Mini Display ansteuern“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
LCW_CQ7P.CC.pdf
pctrs 2199 )D/C: e hu e /60 % RA Mondu :2100 (9 00u lt airce ae 0 ˚ O S emic CHNO 1 234 TY:20 Ni s InO R S % r ik0 a f< 3 S P)BAT 23G H (Q) IO nta SITC T < 9 ed poea n s o r ). ours r ( NO:1 425 U Tg c SE NoDU a d j ci ( ditgn ˚C, o cod e 2 H H ouou rsrs 1T)LOT 100 1 M A s bUiR IC OE ˚C scbes co n ±
-
Datei
hyt131_i2c_addr_change_release.ino
#include <Wire.h> /* HYT131 I2C address change Changes the I2C slave address of a HYT-131 temperature/humidity sensor. Based on information found in the ZSSC3122 datasheet. Connections: - VCC to the pin defined under POWER_PIN - SDA to analog pin 4 - SCL to analog pin 5 - GND to ground */ #define SENSOR_ADDR 0x29 #define SENSOR_NEW_ADDR 0x28 #define POWER_PIN 12 /* Don't change anything below here */ #define CMD_START_CM 0xA0 #define CMD_START_NM 0x80 #define RESP_ACK_POS 1 #define RESP_ACK_NEG 2 #define RESP_CMD_MODE 1<<7 #define ZMDI_COMM_LOCK 0x300 /* enterCmdMode(char dev_addr) Tries to boot the device
in „Hygrosens HYT221 an Atmega8 macht nichts“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
PLC-LOX-300-13-12-2019Multibus-2.ino
/* UDP syntax: signals: DS18B20 1wire sensor packet: rail1 1w2 2864fc3008082 temp 25.44 DS2438 1wire sensor packet: rail1 1w2 2612c3102004f 25.44 1.23 0.12 Sensor detected (after start): rail1 1w2 2864fc3008082 detected Sensor error: rail1 1w2 2864fc3008082 error digital input state: rail1 di1 1 analog input state: rail1 ai1 250 commands: relay on command: rail1 do12 on relay off command: rail1 do5 off high side switch on command: rail1 ho2 on high side switch off command: rail1 ho4 off low side switch on command: rail1 lo1 on low side switch off command: rail1 lo2 off analog output command: rail1
in „1 Wire auf 2 GPIO pins“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
schalter_I2C_Bart_S_51_esp.ino
#include <Wire.h> #include <LiquidCrystal_I2C.h> #define taster 19 // taster pin LiquidCrystal_I2C lcd(0x3F,16,2); // I2C - adresse und format void setup() { pinMode(taster, INPUT); lcd.begin(); // init lcd } void loop() { byte tasterStatus = digitalRead(taster); // taster-status lesen lcd.setCursor(0,0); lcd.print("*esp32"); lcd.setCursor(0,1); if(tasterStatus == HIGH) lcd.print("tasterr: HIGH"); else lcd.print("tasterr: LOW"); }
in „Fehlermeldung Arduino IDE“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
ESP32_C3_SPI_ADXL380_Beschleunigungstest.ino
#include <SPI.h> const int CS_PIN = 10; void setup() { Serial.begin(115200); pinMode(CS_PIN, OUTPUT); digitalWrite(CS_PIN, HIGH); // CS auf High, wenn nicht aktiv SPI.begin(6, 2, 7); // SCK, MISO, MOSI SPI.beginTransaction(SPISettings(1000000, MSBFIRST, SPI_MODE0)); // Max. 1 MHz wie empfohlen //Soft-Reset writeRegister(0x2A, 0b00000010); uint16_t softReset = readRegister(0x26); Serial.print("Soft-Reset: "); Serial.println(softReset); //Modus-Wahl writeRegister(0x26, 0b00000000); //Standby-Mode uint16_t mode1 = readRegister(0x26); Serial.print("Mode_1: "); Serial.println(mode1); writeRegister(0x27, 0b11100000
in „ADXL380 mit SPI auslesen“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
ESP32_WebServer_FileServer_mit-Display_-_Kopie.ino
#include <WiFi.h> #include <WebServer.h> #include <ESPmDNS.h> #include "CSS.h" //Includes headers of the web and de style file #include <SD.h> #include <SPI.h> #include <Wire.h> #include <Adafruit_GFX.h> #include <Adafruit_SSD1306.h> #define SCREEN_WIDTH 128 // OLED display width, in pixels #define SCREEN_HEIGHT 32 // OLED display height, in pixels #define OLED_RESET -1 // Reset pin # (or -1 if sharing Arduino reset pin) #define SCREEN_ADDRESS 0x3c ///< See datasheet for Address; 0x3D for 128x32, 0x3C for 128x64 Adafruit_SSD1306 display(SCREEN_WIDTH, SCREEN_HEIGHT, &Wire, OLED_RESET); #define
in „Problem mit Webserver/Fileserver Projekt ESP32 - mit Ardurino“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
FastADC_2ch_TimerControlled_orig_auskommtiert.ino
volatile int numSamples[2]; volatile boolean done = false; volatile float Sum[2]; volatile long Sum2[2]; volatile int Ch; #define cycle 309 void setup() { numSamples[0] = 0; numSamples[1] = 0; Sum[0] = 0; Sum[1] = 0; Ch = 0; Serial.begin(250000); ADCSRA = 0; ADCSRB = 0; ADMUX = (7 & 0x0F); ADMUX |= (0 << REFS0); ADCSRA |= (1 << ADPS2); ADCSRB |= _BV(ADTS2) | _BV(ADTS0); TCCR1A = 0; TCCR1B = _BV(CS11) | _BV(WGM12); OCR1B = 16; OCR1A = 31; TIMSK1 = _BV(OCIE1B); ADCSRA |= (1 << ADATE); ADCSRA |= (1 << ADIE); ADCSRA |= (1 << ADEN); ADCSRA |= (1 << ADSC); Serial.print( "Start"); } ISR(ADC_vect){ ADCSRA
in „Atmega328P ADC Einhüllende bei periodischen Signalen“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
esp32-can-Read-ACAN-LIB-V1.ino
//—————————————————————————————————————————————————————————————————————————————— // ACAN2515 Demo in loopback mode //—————————————————————————————————————————————————————————————————————————————— #include <ACAN2515.h> //—————————————————————————————————————————————————————————————————————————————— // MCP2515 connections: // - standard SPI pins for SCK, MOSI and MISO // - a digital output for CS // - interrupt input pin for INT //—————————————————————————————————————————————————————————————————————————————— // If you use CAN-BUS shield (http://wiki.seeedstudio.com/CAN-BUS_Shield_V2.0/) with Arduino
-
Datei
esp32-can-Send-ACAN-LIB-V1.ino
//—————————————————————————————————————————————————————————————————————————————— // ACAN2515 Demo in loopback mode //—————————————————————————————————————————————————————————————————————————————— #include <ACAN2515.h> //—————————————————————————————————————————————————————————————————————————————— // MCP2515 connections: // - standard SPI pins for SCK, MOSI and MISO // - a digital output for CS // - interrupt input pin for INT //—————————————————————————————————————————————————————————————————————————————— // If you use CAN-BUS shield (http://wiki.seeedstudio.com/CAN-BUS_Shield_V2.0/) with Arduino
-
Datei
newSDWebServer_GPIO16_Touchn5b.ino
/* SDWebServer - Example WebServer with SD Card backend for esp8266 Copyright (c) 2015 Hristo Gochkov. All rights reserved. This file is part of the ESP8266WebServer library for Arduino environment. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
in „Arduino_IDE mit ESP8266 und Ucglib unter Win7-64bit“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
DCF77_Analyzer_Clock_2_0_Superfilter_sketch.ino
/* const uint8_t pon_pin = 51; // connect pon to ground !!! const uint8_t data_pin = 19; const uint8_t gnd_pin = 51; const uint8_t vcc_pin = 49; */ const uint8_t dcf77_analog_samples = false; const uint8_t dcf77_analog_sample_pin = 5; const uint8_t dcf77_sample_pin = 19; // A5 const uint8_t dcf77_inverted_samples = 0; #if defined(__AVR__) #define ledpin(led) (led) #else #define ledpin(led) (led<14? led: led+(54-14)) #endif const uint8_t dcf77_monitor_pin = ledpin(18); // A4 const bool provide_filtered_output = true; const uint8_t dcf77_filtered_pin = ledpin(12); const uint8_t dcf77_inverted_filtered_pin = ledpin
in „DCF77-Analyzer-Clock-V2.0“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lcd_i2l_20x4_test.ino
#include "Wire.h" #include "LiquidCrystal_I2C.h" // (1) LiquidCrystal_I2C LCD(39, 20, 4); // Adress, Row, Col /* Adress-Table Adress A0 A1 A2 32 L L L 33 H L L 34 L H L 35 H H L 36 L L H 37 H L H 38 L H H 39 H H H <- default */ void setup() { LCD.init(); LCD.backlight(); } void loop() { LCD.clear(); char cstr[8] = "1. Zeile"; LCD.setCursor(0, 0); LCD.print(cstr); cstr[0] = '2'; LCD.setCursor(0, 1); LCD.print(cstr); cstr[0] = '3'; LCD.setCursor(0, 2); LCD.print(cstr); cstr[0] = '4'; LCD.setCursor(0, 3); LCD.print(cstr); delay(2000); LCD.clear(); }
in „LCD-Display mit Arduino will nicht“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lcd_i2l_20x4_test.ino
#include "Wire.h" #include "LiquidCrystal_I2C.h" // (1) LiquidCrystal_I2C LCD(39, 20, 4); // Adress, Row, Col /* Adress-Table Adress A0 A1 A2 32 L L L 33 H L L 34 L H L 35 H H L 36 L L H 37 H L H 38 L H H 39 H H H <- default */ void setup() { LCD.init(); LCD.backlight(); } void loop() { LCD.clear(); char cstr[8] = "1. Zeile"; LCD.setCursor(0, 0); LCD.print(cstr); cstr[0] = '2'; LCD.setCursor(0, 1); LCD.print(cstr); cstr[0] = '3'; LCD.setCursor(0, 2); LCD.print(cstr); cstr[0] = '4'; LCD.setCursor(0, 3); LCD.print(cstr); delay(2000); LCD.clear(); }
in „LCD-Display mit Arduino will nicht“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
TextWithArduinoGraphics_RTC_Fertig_ohne_Serial.print.ino
// Begin Led-Matrix #include "ArduinoGraphics.h" #include "Arduino_LED_Matrix.h" ArduinoLEDMatrix matrix; //End Led-Matrix //Begin RTC #include "RTClib.h" RTC_DS3231 rtc; char daysOfTheWeek[7][12] = { "Sonntag", "Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag" }; // End RTC /************************************************************** DateTime now = rtc.now(); **************************************************************/ void setup() { // Begin Led-Matrix //******** einmalige Ausgabe von "Foldi" ******************** matrix.begin(); matrix.beginDraw(); matrix.stroke(0xFFFFFFFF
in „RTC DS3231 (EOSC) Uhrzeit läuft nicht weiter, nur mit Knopfzelle“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
compile_Tasmota_stable_in_docker_container_versuch3.txt
tool-esptoolpy 1.30300.220323 (3.3.0) - toolchain-xtensa 2.40802.200502 (4.8.2) Converting tasmota.ino LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf LDF Modes: Finder ~ chain, Compatibility ~ strict Found 94 compatible libraries Scanning dependencies... Dependency Graph |-- <TLS
in „Dlock 11827 und Tasmota - compilieren für FW-Update“ · Haus & Smart Home ·
-
Datei
ESP32_BMP280_espNowDeepSleep3.ino
/* ESP32 BMP280 sender with DEEP SLEEP (3 seconds) BMP280 and BME280 sensor can be used: Enable it with the #define in the code You have also to adapt the receiver MAC in the code. external libraries: Temperature and Pressure Sensor https://github.com/mahfuz195/BMP280-arduino-library or Temperature, Pressure and Humidty Sensor https://github.com/hasenradball/Bosch_BME280_Arduino.git 2026-01-30 mchris */ #include "BMP280.h" #include "Wire.h" #include <esp_now.h> #include <WiFi.h> //#define USE_BMP280 #define USE_BME280 #ifdef USE_BME280 #include <Bosch_BME280_Arduino.h> // global instance BME::
-
Datei
ESP32_BMP280_espNowDeepSleep4.ino
/* ESP32 BMP280 sender with DEEP SLEEP (3 seconds) BMP280 and BME280 sensor can be used: Enable it with the #define in the code You have also to adapt the receiver MAC in the code. external libraries: Temperature and Pressure Sensor https://github.com/mahfuz195/BMP280-arduino-library or Temperature, Pressure and Humidty Sensor https://github.com/hasenradball/Bosch_BME280_Arduino.git 2026-01-30 mchris V3: first usable version 2026-01-31 mchris V4: Battery measurement added */ #include "BMP280.h" #include "Wire.h" #include <esp_now.h> #include <WiFi.h> #include "esp_adc_cal.h" //#define USE_BMP280
-
Datei
Uno_PWM_poti_ta_v_R_E_A___-_Mon.ino
// ================================ // Motorsteuerung mit // Poti + Taster + Serieller Steuerung // PWM: Pin 5 // Richtung: Pin 4 // Poti: A1 // Richtungstaster: Pin 6 // Ein/Aus: Pin 7 // Geschwindigkeit + : Pin 8 // Geschwindigkeit - : Pin 9 // ================================ const int pwmPin = 5; const int dirPin = 4; const int potiPin = A1; const int richtungsTaster = 6; const int einAusTaster = 7; const int plusTaster = 8; const int minusTaster = 9; bool motorEin = false; bool richtung = true; // true = Vorwärts bool altRichtung = HIGH; bool altEinAus = HIGH; bool potiModus = true; int pwm
-
Datei
Arduino-ESP-Klingel-Skript_mit_mqtt_kw_letzte_geflashte_Version.ino
#include <Arduino.h> #include <ESP8266WiFi.h> #include <ESP8266HTTPClient.h> #include <tr064.h> #include <WiFiClient.h> const char WIFI_SSID[] = ""; // <-- ändern const char WIFI_PASSWORD[] = ""; // <-- ändern const char USER[] = ""; // <-- Fritzbox User const char PASSWORD[] = ""; // Fritzbox User Kennwort <-- ändern const char FRITZBOX_IP[] = ""; const int FRITZBOX_PORT = 49000; const char* IOBROKER = ""; // <-- ändern auf ioBroker-IP const int IOBROKER_PORT = 8087; String IOBROKER_DP = "/set/javascript.0.ESP_Klingel?value="; int KLINGELDAUER = 10; // wieviel Sekunden sollen die Telefone klingeln
in „ESP8266 Klingel MQTT - Batterie dauernd alle“ · Haus & Smart Home ·
-
Datei
TCBn_32Bit_Counter_Pulsweite_cascaded_ErrorTest_Form.ino
/* Arduino IDE 1.8.13 avr-gcc 10.2.0 AVR128DB48 Curiosity Nano Board https://github.com/SpenceKonde/DxCore 32Bit TCB Counter Pulsweitenmessung Taktausgang von TCA1: Pin PC4 Takteingang für TCB: Pin PA4 27.11.2020 https://www.mikrocontroller.net/topic/505708 */ #include <avr/io.h> #include <avr/interrupt.h> #include <util/atomic.h> volatile unsigned long countTimerCCMP_LSB; volatile unsigned long countTimerCCMP_MSB; volatile unsigned long countTimerTotal; volatile bool finishTCB0 = false; volatile bool finishTCB1 = false; void setup (void) { Serial1.begin(1000000); // Package Pin 10/11 bzw. PC0/PC1,
in „AVR128DB48 - TCB 32Bit Counter“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
ESP32_C3_SPI_ADXL380_Analog_Devices.ino
#include <SPI.h> const int CS_PIN = 10; void setup() { Serial.begin(115200); pinMode(CS_PIN, OUTPUT); digitalWrite(CS_PIN, HIGH); SPI.begin(6, 2, 7, 10); // SCK, MISO, MOSI SPI.beginTransaction(SPISettings(1000000, MSBFIRST, SPI_MODE0)); //1 MHz //Soft-Reset writeRegister(0x2A, 0b00000010); uint16_t softReset = readRegister(0x26); Serial.print("Soft-Reset: "); Serial.println(softReset); //Modus-Wahl writeRegister(0x26, 0b00000000); //Standby-Mode uint16_t mode1 = readRegister(0x26); Serial.print("Mode_1: "); Serial.println(mode1); writeRegister(0x27, 0b11100000); //0x27 = DIGITAL ENABLE Reg /
in „ADXL380 mit SPI auslesen“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
ESP32_C3_SPI_ADXL380_Analog_Devices.ino
#include <SPI.h> const int CS_PIN = 10; void setup() { Serial.begin(115200); pinMode(CS_PIN, OUTPUT); digitalWrite(CS_PIN, HIGH); SPI.begin(6, 2, 7, 10); // SCK, MISO, MOSI SPI.beginTransaction(SPISettings(6000000, MSBFIRST, SPI_MODE0)); //6 MHz delay(10); //Soft-Reset //writeRegister(0x2A, 0b00000010); writeRegister(0x2A, 0x52); //Seite 69 uint8_t softReset = readRegister(0x2A); Serial.print("Soft-Reset:\t0x"); Serial.print(softReset, HEX); Serial.print("\t0b"); Serial.println(softReset, BIN); delay(10); //NVM Control //writeRegister(0x29, 0b11000000); //delay(10); //Modus-Wahl writeRegister(0x26
in „ADXL380 mit SPI auslesen“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
VierGewinnt__2021_07_03_12_01_42_UTC_.ino
#include <OS_SerialTFT.h> //Software Serial Port SerialTFT myTFT(Serial); void setup() { Serial.begin(9600); Serial.print('#'); myTFT.reset(); Serial.print('.'); } void loop() { }
in „Arduino Softwareserial umarbeiten auf HardwareSerial?“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
VierGewinnt__2021_07_03_13_01_58_UTC_.ino
#include <OS_SerialTFT.h> //Software Serial Port SerialTFT myTFT(Serial1); void setup() { Serial.begin(9600); Serial.print('0'); Serial1.begin(9600); Serial1.print('1'); myTFT.reset(); Serial1.print('.'); } void loop() { }
in „Arduino Softwareserial umarbeiten auf HardwareSerial?“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
KidsMP3Player1k12Taster2.ino
#include <Arduino.h> #include <SoftwareSerial.h> #include <avr/sleep.h> #include <avr/eeprom.h> // #define DEBUG_DFPLAYER_COMMUNICATION #include "DFMiniMp3.h" #define EEPROM_CFG 1 #define EEPROM_FOLDER 2 #define EEPROM_TRACK 4 #define EEPROM_INIT_MAGIC 8 #define MAGIC_MARKER 0xCAFE #define BUTTON_TOLERANCE 25 #define LONG_KEY_PRESS_TIME_MS 2000L #define VOLUME_CHECK_INTERVAL_MS 200L #define PLAY_DELAY_MS 500L #define FADE_OUT_MS 3L * 1000L * 60L #define PIN_KEY A3 #define PIN_VOLUME A2 #define PIN_VOLUME_INTERNAL A1 // Uncomment to use button 11 as button "previous" // #define USE_PREVIOUS_BUTTON //
in „Projekt fertiggestellt: MP3 Player für Kinder auf ATTiny-Basis“ · Projekte & Code ·
-
Datei
RX_433Mhz_Robot_mod_delay_vnh5019_NEW.ino
/* The code was made by Tamás Imets for an Arduino UNO project This code controls the BB-8 Droid from the Star Wars: The Force Awakens, and works with Bluetooth RC Car application, using a HC-06 seriaé bluetooth module See more details at instructables.com/member/Imetomi Friday, December 25, 2015 */ #include <Servo.h> #include <SoftwareSerial.h> #include "DualVNH5019MotorShield.h" DualVNH5019MotorShield md; int command = 0; //incoming serial data int led = 3; SoftwareSerial bluetooth(A2, A3); int cmd; Servo head; void setup() { bluetooth.begin(9600); Serial.begin(9600); // set up Serial library
in „Prozessor bleibt bei case switching hängen“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
TX_433Mhz_Robot_mod_delay_vnh5019_NEWNEW.ino
/* The code was made by Tamás Imets for an Arduino UNO project This code controls the BB-8 Droid from the Star Wars: The Force Awakens, and works with Bluetooth RC Car application, using a HC-06 seriaé bluetooth module See more details at instructables.com/member/Imetomi Friday, December 25, 2015 */ #include <Servo.h> #include <SoftwareSerial.h> #include "DualVNH5019MotorShield.h" DualVNH5019MotorShield md; int command = 0; //incoming serial data int led = 3; SoftwareSerial bluetooth(A2, A3); int cmd; Servo head; void setup() { bluetooth.begin(9600); Serial.begin(9600); // set up Serial library
in „Prozessor bleibt bei case switching hängen“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
TX_433Mhz_Robot_mod_delay_vnh5019_NEWNEW.ino
/* The code was made by Tamás Imets for an Arduino UNO project This code controls the BB-8 Droid from the Star Wars: The Force Awakens, and works with Bluetooth RC Car application, using a HC-06 seriaé bluetooth module See more details at instructables.com/member/Imetomi Friday, December 25, 2015 */ #include <Servo.h> #include <SoftwareSerial.h> #include "DualVNH5019MotorShield.h" DualVNH5019MotorShield md; int command = 0; //incoming serial data int led = 3; SoftwareSerial bluetooth(A2, A3); int cmd; Servo head; void setup() { bluetooth.begin(9600); Serial.begin(9600); // set up Serial library
in „Prozessor bleibt bei case switching hängen“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
I2C_TWI0_Address_and_Frequency_Scanner.ino
/* >> Bootloader verwendet USART2 (PF4/5), darüber wird geflasht << >> Das bedeutet auch das Serial2 mit Portmux immer verfügbar ist << >> Spannungsversorgung über USB: JP27 ... 1-2 gesetzt >> MVIO Einstellung: JP4 ... 1-2 gesetzt 5V >> gesetzte Jumper für Serial2: JP7 ... USART2 wird auf den USB-FTDI Bus angeklemmt JP9 ... ausgewählte USART zum FTDI aktiviert (Main-Jumper) >> Resetsignal für Programmierung über USB mittels Arduino IDE: JP23 ... DTR gesetzt >> gesetzte Jumper für I2C: JP11 ... damit wird der I2C Bus auf TWI0 (PA2/PA3) angebunden JP16 ... 4.7K Pullups aktiv I2C Address Scanning..
in „NXP PCA8574 hat Phänomen mit 2 Adressen“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
switch_regulator_33063.pdf
I Attach to a resistor divider network to create a feedback loop. VCC 6 I Logic supply voltage. TieINo V . PK 7 I Current-limit sense input. Driver Collector 8 I/O Darlington pair driving transistor collector input. Copyright © 2004–2015, Texas Instruments Incorporated Submit Documentation Feedback 3
in „Motorsteuerung AVR Atmega per ISP flashen“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
MC34063A.pdf
I Attach to a resistor divider network to create a feedback loop. VCC 6 I Logic supply voltage. TieINo V . PK 7 I Current-limit sense input. Driver Collector 8 I/O Darlington pair driving transistor collector input. Copyright © 2004–2015, Texas Instruments Incorporated Submit Documentation Feedback 3
in „Schaltregler - maximaler Spulenstrom“ · Analoge Elektronik und Schaltungstechnik ·
-
PDF
Selbstbau_Impulswahl_auf_Tonwahl_Konverter_20200810h.pdf
Selbstbau Impulswahl auf Tonwahl Konverter. - Mikrocontroller.net Angehängte Dateien: IWV-MFV_20200805b.ino (4,81 KB, 12 Downloads) | Codeansicht iwv-mfv-konverter_schema_20200805.pdf | anzeigen 86,3 KB, 15 Downloads iwv-mfv.png 106 KB, 71 Downloads https://www.mikrocontroller.net/attachment/467972/arduino-IWF-MFW
in „Anmeldezwang JA oder NEIN Umfrage“ · www.mikrocontroller.net ·
-
Datei
AQ_Rly_Dm_lcd_lan_1_wire_18_11_12.ino
// >> PINout, unvollstaenig << /* A0 A15 D0 D4 = SS fuer SD-Kart via Ethernet Shield D10 = SS fuer Ethernet Controller D20 = SDA I2C D21 = SCL I2C D50 = MISO (Ethernet) = ICSP 1 D51 = MOSI = ICSP 4 D52 = SCK D53 = Hardware SS */ //____________________________________________________________________________________ //____________________________________________________________________________________ //____________________________________________________________________________________ // DEFINITIONEN //____________________________________________________________________________________ //ETHERNET
in „Aquariumcontroller: hängt sich auf / stürzt ab / friert ein - Hilfe!“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
ssd1306_128x64_i2cAdafruit_Display.ino
/********************************************************************* This is an example for our Monochrome OLEDs based on SSD1306 drivers Pick one up today in the adafruit shop! ------> http://www.adafruit.com/category/63_98 This example is for a 128x64 size display using I2C to communicate 3 pins are required to interface (2 I2C and one reset) Adafruit invests time and resources providing this open source code, please support Adafruit and open-source hardware by purchasing products from Adafruit! Written by Limor Fried/Ladyada for Adafruit Industries. BSD license, check license.txt for more
in „Arduino / OLED lässt sich nicht einbinden“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
App_Gauges.c
***********************************************************************/ /** * @file App_Gauges.c/.ino * @brief Sample application to demonstrate EVE primitives and built-in widgets version 5.0 - April/17/2017 - Restructure source code version 3.2 - July/29/2015 - Added support for FT90x and FT80x platforms
-
Datei
RX_433Mhz_Robot_mod_delay_vnh5019_NEW4_button.ino
/* The code was made by Tamás Imets for an Arduino UNO project This code controls the BB-8 Droid from the Star Wars: The Force Awakens, and works with Bluetooth RC Car application, using a HC-06 seriaé bluetooth module See more details at instructables.com/member/Imetomi Friday, December 25, 2015 */ #include <Servo.h> #include <SoftwareSerial.h> #include "DualVNH5019MotorShield.h" DualVNH5019MotorShield md; int command = 0; //incoming serial data int led = 3; int ledPin = 13; SoftwareSerial bluetooth(A2, A3); int cmd; Servo head; void setup() { bluetooth.begin(9600); Serial.begin(9600); //
in „Problem mit momentaner Button-Funktion“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
LineIntoLineOutAndDACsEFRwithTermWithScope2.ino
#include <Audio.h> #include <Wire.h> #include <SPI.h> #include <SD.h> #include <SerialFlash.h> #include "font_Arial.h" #include <ILI9341_t3.h> #include <si5351.h> double fRX=129100 ; //double fRX=139000 ; //double fRX=135600 ; //int led33 = 33; float Fsample=44100.0 ; double fIF=500 ; double Fshift=170 ; #define IQsign (-1) #define blockSize 128 //#define Si_5351_clock SI5351_CLK1 //#define Si_5351_crystal 25000000 #define Si_5351_clock SI5351_CLK2 #define Si_5351_crystal 25000000 Si5351 si5351; #define MASTER_CLK_MULT 4 unsigned long long calibration_factor = 1000000000 ; long calibration_constant
in „Empfänger nach DD4WH mit Fast Convolution“ · Digitale Signalverarbeitung / DSP / Machine Learning ·
-
Datei
Taupunkt_V1_V2_THD_DS18B_3ok.ino
//******************************************************* //* Ein Arduino Wochenendprojekt von Csaba Klacek * //* Thema: Taupunktberechnung und Steuerung mit Arduino * //* Version 3ok * //******************************************************* // Eine Steuerung ist im Moment noch nicht implementiert. // Eine LCD Anzeige wird noch in der Nächster Version verfügbar sein /* Berechnung erfolgt hier mit festen Temp un relHum, um die Formelrichtigkeit testen zu können. Als Grundlage dienen die Berechnungen wie in der excel Tabelle Temperatur : Temp 35 C (Celsius) Rel.Feuchte: relHum 55 % ( % ) (17,1
in „Taupunktberechnung mit Arduino, DHT22, DS18B20“ · Projekte & Code ·
-
Datei
OLED_2_42_SSD1309_test_igel1_v006b.ino
/* Specification & Vendor Information: ----------------------------------- OLED - Spec: 2.42 inch 2.42" OLED Display Module 128x64 LCD HD Screen Module SSD1309 7 Pin SPI/IIC I2C Serial Interface for Arduino UNO R3 OLED - Vendor: https://de.aliexpress.com/item/1005006473260235.html Recommended Readings: --------------------- Hardware considerations (MC - Thread): https://www.mikrocontroller.net/topic/566536?goto=7642989#7642989 Burning Bootloaders: https://forum.arduino.cc/t/how-to-burn-boot-loader-of-arduino-uno-r3-usin-aurdino-mega-2650/320626 Library for monochrome displays, v2: https://github.com
in „Induktiver Positionssensor - Fragen dazu“ · Mikrocontroller und Digitale Elektronik ·