EMCU-HomeAutomation.org
Home Automation & C (by: E.Marinoni)
Skip to content
  • Home
    • Interesting links
  • Home & Car alarm
    • Very simple Alarm System for Home, Van, Motor Home, etc
    • GA09 – GSM Alarm Device
    • TRACKTING SMART Europa (SIM Internazionale)
    • Show in our Home Assistant the status of Burglar Alarm
    • On/Off from Home Assistant your Burglar Alarm (and also from your mobile phone)
    • VAN and/or Camper anti theft (alarm) using a SIM Router (RUT360) and Shelly Plus Uni + monitor the Temperature, Humidity and Voltage
  • Node-RED
  • Home Automation
    • Home automation: BASICS
    • Shelly EM (X1) – for measure consumption of your home
    • How to use RING Intercom in alternative applications
    • Monitor the power supply of your home via Home Assistant
    • Monitor the rain for decide the ON/OFF of the irrigation, for Home Assistant
    • Professional control system for control the water level (dark waters) in Home Assistant (ZigBee)
    • Pump control the water level (dark waters) in Home Assistant (ZigBee)
    • Automation for control lighting via PIR and button (TurnOn/TurnOff) for car box
    • Automatic Gate
      • Swing gate with a guillotine for secure lock
      • DC motor with Honeywell Hall sensor (it’s used like an encoder)
      • Scheda per cancello scorrevole e/o battente ad un motore a 220Vac – START-S3XL2018 (in Italian Language)
    • Car Parking Assistant – STM32 + ARDUINO ide
    • PIR sensor based on: NUCLEO-L011K4 + PANASONIC PIR EKMC1603111
  • iHOST by SonOff
    • SonOff iHost quick introduction
    • Node-RED e eWeLink Smart Home, estensioni/extension per/for iHost
    • TailScale for remote access to iHost
    • How to turn off your smart bulbs in case of power failure for iHost (SonOff) and Home Assistant
    • iHost sed email using Node-RED
  • Home Assistant
    • Introduction to Home Assistant – (hassio)
    • Home Assistant tips and tricks
    • Suggested kit for install Home Assistant
    • Remotely access to Home Assistant (from Internet)
    • Text or File editor
    • ConBee II, ZigBee USB Gateway
    • How to Update or verify the deCONZ firmware under Home Assistant
    • How to ADD new device to ConBee II – ZigBee USB Gateway
    • Introduction to Home Assistant (HA) Automation
    • Third party add-on or plug-in for Home Assistant (HA)
    • How to turn off your smart bulbs in case of power failure for iHost (SonOff) and Home Assistant
    • Integrate Tuya objects (switches, sockets, sensors, etc. ) in Home Assistant
    • How to enable some automation only during the night
    • Home Assistant send message via TELEGRAM
    • Example that turn on the home entrance light if is night using the Xiaomi Motion sensor and Shelly 1
    • ESPHome for drive EPS8266-01s or EPS8266-01 in Home Assistant
    • Osram Smart+ (LED bulb Zigbee) & Home Assistant
    • Home Assistant – Automation for Garden Irrigation
  • Garden & C
    • Pompa di sentina usata per svuotare pozzetto acque chiare che ci invia anche email
    • Garden basic tools
    • Fertilizers and Insect defenses for the garden
    • Irrigation
      • Irrigation basic tools
      • Tubes diameters in inches and millimeters
      • Water tanks and accessories
      • Basic kit for Irrigation Automation
      • 4 line irrigation control via ZigBee and Home Assistant
      • Automation for Garden Irrigation (Home Assistant)
      • H2O flow meter for control your water consumption
      • Programmatore per Irrigazione da Rubinetto
  • WireLess
    • Antenna
      • Introductions to the Antennas
      • RF Choke
      • NanoVNA antenna analyzer
      • Custom antennas
    • Radio
      • Interesting Links regarding RADIO
      • AOR – AR3000 & AR3000A
    • TAG – NFC – RFID
      • Transponder controlled lock-unlock key
      • NFC proximity tag and Home Assistant
    • Telephone dialer (GSM telecom network)
      • GA09 – GSM Alarm Device
    • TELTONIKA router RUT360 4G LTE CAT 6
    • Sub1Ghz
      • Sub1Ghz objects
        • Smart Home switch controlled via WiFi and 433Mhz (Kerodamo or eMylo)
      • Introduction to Sub1Ghz frequencies
      • SigFox vs. LoRa
    • ZigBee
      • ZigBee objects
      • ZigBee Mesh Network ver.3.0 (introduction)
      • ZigBee Smart 4 Relay Switch
      • SonOff – ZigBee MINI DY
      • Xiaomi Mi Windows and Doors Sensor in Home Assistant
    • WiFi
      • WiFi objects
      • Introduction to Shelly 1
      • Shelly Plus Uni (WiFi 2,4 Ghz)
      • Module EPS8266-01 (WiFi)
      • ESPHome for drive EPS8266-01s or EPS8266-01 + Home Assistant
      • Kekeda 1PSC WiFi smart door/window sensor – SMART LIFE & ALEXA compatible
      • Integrare SONOFF (WiFi) in Home Assistant in Italian language
    • BlueTooth
      • BlueTooth objects
      • How to use Shelly BLU line – Come usare gli Shelly BLU
    • Comparison: ZigBee – WiFi – BlueTooth – UWB
    • Surveillance Cameras and Video Intercoms
      • H.264/AVC
      • WiFi Video intercom on smartphone – EUFY HD 2K
      • WiFi and Ethernet Video intercom on smartphone – Perel Scamset8
    • Mobile Operators
      • Identificativo MCC MNC degli operatori mobili Italiani
    • Brief Introduction to the signals modulation
  • Internet
    • Network informations
    • Internet Interesting tools
    • What means CAT 1, 3, etc, Band 3, 7, etc and Carrier Aggregation (Internet Key and Wireless Router)
    • A solution for reach a good and stable Internet connection
    • TENDA MW12-3 Wi-Fi Mesh Tent, Tri-band, 3 Gigabit Ports, Wi-Fi Coverage up to 560 SQM, Supports 100 Connected Devices, Alexa Compatible
    • D-Link
      • DSP-W215 mydlink™ Home Smart Plug – How to connect it to your ADSL modem
    • FastWeb
      • FastWeb + Fritz Box 7390 + Huawei B525s-23a
      • FastWeb + Fritz Box 7390 + Huawei E3372 (in Italian language)
    • Fritz
      • Fritz! wlan repeater n/g
    • Huawei
      • Huawei B525s-23a – 4G, LTE (CAT6), WLAN Router, with WiFi at 2.4 and 5 GHz
    • TP-LINK
      • TP-Link RE200 – AC750 Wireless WiFi Repeater
      • Load Balance Broadband Router – TP-Link TL-R470T+
      • TP-LINK – TL-WPA4220T KIT – Power Line Modem
      • TP-Link CPE210 Access Point Wireless for External use
  • Interesting automation kits
    • Automation cards for gate
      • Swing gate with a guillotine for secure lock
      • DC motor with Honeywell Hall sensor (it’s used like an encoder)
      • Card for sliding and/or swing gate for one motor
    • Home burglar alarm for home
      • Theft Protection – DIGOO DG-HAMA All Touch Screen Alexa Version 433MHz 2G&GSM&WIFI DIY Smart Home Security Alarm System Kits – Black
      • GSM telephone dialer
    • Development Board, Wiring, Button, etc
    • Display
      • SSD1306 I2C OLED display and NUCLEO-L053R8 board
    • PIR sensor
      • PIR sensor based on: NUCLEO-L011K4 + PANASONIC PIR EKMC1603111
    • Radio Controlled
    • Temperature controller
      • Thermostat – XH-W3001 220Vac max output 1500W
      • Thermostat – 0 ℃ ~ 400 ℃ (in Italian language)
      • Cronotermostato Wireless (868 MHz – BRAVO 93003101)
    • Timer
      • Timer – YOUTHINK Mod: TM601F
      • Timer – Electraline 58107 – Come programmarlo (in Italian language)
  • NAS
    • NAS – SYNOLOGY DS218J
    • Sync a Directory from local PC to your local Synology NAS
  • Air conditioning & C
    • Samsung Wind Free – How to configure a dual split
  • TV & C
    • TV and DVB-T2
  • Electronic Equipment & Boards
    • NanoVNA – antenna analyzer
    • Open Bench Logic Sniffer
    • General purpose instrumentations
    • Laboratory tools
  • Portable Power Station
    • Elecaenta MARS EM200 – Portable Power Station
    • ECOFLOW RIVER 2 Pro portable power station 768Wh continuous, X-Boost or peak of 1600 W
    • EcoFlow DELTA 2 portable power station from 1 to 3KWh
  • 3D Printer
    • Tutto quanto c’è da sapere su 3D Printer Creality Ender 3 (in Italian language)
    • Configure Ultimaker CURA software per Creality 3D printer model ENDER 3
    • How to test a filament for your 3D printer
    • Differences between PLA and ABS
    • Resins to finish the 3D printed pieces
    • ThinkerCad – CAD per Stampanti 3D
    • 3D objects
      • Modelli 3D pronti all’uso – Ready-to-use 3D models
      • Stick-Sul – IR sensor LED
      • Support for 60mm diameter fan, for remove the humidity in an outdoor electric box
      • Brackets to lift laptops
  • Bicycles, Motorhome, Camper, Van – etc.
    • Bike
      • Bike basic tools
      • Interesting Bicycles
      • Tire inflator and puncture protection
      • Bicycle adjustments
      • Recommended bicycle tire pressures
      • ATALA or WHISTLE – B-RACE A9.1 12V GREY/RED 46 C6IP
      • ADO A20 – Foldable electric bike
      • One Easy – Foldable electric bike
      • KIT to electrify bicycles and more
    • Motorhome, Camper and VAN
      • Accessori e Modifiche sul GIOTTI VAN 60T – Accessories and Modifications on the GIOTTI VAN 60T
      • VAN – CAMPER, odore dalla stufa di riscaldamento – smell from the heating stove
      • Come posso collegare l’EcoFlow DELTA 2 (o similari) al VAN e/o al Camper ?
      • Semplice Antifurto GSM basato su GA09 per Camper/Van
      • Controllare e Proteggere la Batteria della Cellula Abitativa (batteria ausiliaria) del VAN e/o Camper – Check and Protect the Battery (auxiliary battery) of the VAN and/or Camper
      • Domotize and/or Automation the VAN and/or Camper
      • VAN and/or Camper anti theft (alarm) using a SIM Router (RUT360) and Shelly Plus Uni + monitor the Temperature, Humidity and Voltage
      • Dometic refrigerator mod. RML 10.4S, tips and tricks
      • Truma Combi D 4 (New diesel generation), tips and tricks
      • Truma – iNET CP PLUS
      • Consumi elettrici TRUMA COMBI DIESEL – Electricity consumption TRUMA COMBI DIESEL
      • Bike Carrier – FIAMMA, Carry-Bike 200 DJ Ducato 02094-26A
      • ECOFLOW RIVER 2 Pro 768Wh
    • Vastar Compressore Portatile con LCD per Moto, Auto, Bicicletta e Palloni
    • Car Parking Assistant
  • References
    • Old electronics magazines
    • Acronyms
    • Android
      • How to use Android Studio
      • FTDI – Android Support Page
    • Connectors
      • Standard Connectors
      • USB – BNC – Jack, etc connectors
    • CAD
      • EasyEda – for Electronics
        • EasyEda Tutorial n.1 in Italian language
        • EasyEda Tutorian n.2 in Italian Language
      • Fritzing
      • 3D Gerber Viewer
      • TinkerCAD – for 3D printer
        • TinkerCAD – Introduction
    • C & C++ language
      • Embedded C programming
      • C & C++ language
      • C & C ++ Things to remember
    • Electronic Components
      • Adafruit Motor Shield L293D
      • Rotary Encoder
      • Ultrasonic module – HC-SRF04
    • Linux
      • Introduction to Linux
      • Linux basic commands
      • Extra tools to install on Ubuntu
      • How to install .deb file under Linux (UBUNTU)
      • How to install .sh file under Linux (UBUNTU)
      • How to install tar.gz file under Linux (UBUNTU)
      • Firefox & bookmark
      • Linux (UBUNTU) and JAVA
      • GtkTerm – Terminal Emulator
      • Minicom for use Serial COM under Linux
      • Configurare LUBUNTO v.14.04.2 LTS e comandi base di Linux
      • How to use STM32CubeIDE for write a C code for your PC under Linux
    • MAC address
    • MCU architecture
      • Stack & Heap
    • RISC-V
      • RISC-V vs ARM
    • Cortex Mx
      • Cortex Mx performances
      • Cortex M23 vs M0+
      • M33 vs M4
    • KEIL
      • MDK KEIL COMMUNITY EDITION
    • GD32
      • GD32 families
        • Quick GD32 presentation
        • GigaDevice – GD32 Cortex Mx introduction
        • GigaDevice launches the New GD32L233 Series 40nm Ultra-Low Power Process for Energy Saving Applications
        • GD32W515 – core Cortex M33 that include Transceiver for WiFi
      • GD32 software examples
        • Where to find SW Tools and SW Examples for GD32
        • GD32F4xxx examples for KEIL (Firmware_Library)
        • GD32F4xxx examples for KEIL
        • GD32F3xxx examples for KEIL
        • GD32 – AN034 IAP routine based on USB host
      • GD32 SW & HW Tools
        • GD-Link Adapter – Low coast emulator for GD32
        • GD-Link Programmer
      • GD32 MCU Eclipse development environment for GNU ARM & RISC-V setup tutorial for Windows
    • STM32
      • First embedded program for STM32 mcu using STM32CubeIDE
      • How to use the SW Expansion Packages in STM32CubeIDE
      • STM32 Libraries, Embedded Software, etc
        • STM32 – links regarding: Libraries, Embedded Software, etc
      • Graphics and STM32
        • How to create a clean STM32CubeIDE Project ready to work with TouchGFX Designer
      • STM32 emulator & programming
        • ST-LINK
        • How to program the STM32
        • What should I use to develop on STM32 ?
        • Custom STM32 boot loader
      • STM32CubeIDE vs KEIL
      • STM32 ADC
        • How to use ADC in Interrupt mode
        • How to use 3 channels of the ADC in DMA mode using CUBE-MX and ATOLLIC
      • How to implement “printf” for send message via USB on STM32 NUCLEO boards using ATOLLIC
      • Printf and Getchar (Inter.mode) via USART2 plus Timer in PWM mode
      • STM32 TIMERs
        • STM32 Basic Timer in Interrupt & PWM mode
        • STM32 – Measure time period and frequency of a signal using the TIMER
        • STM32 – RTC calendar and time for Atollic
      • NUCLEO-WB55
        • P-NUCLEO-WB55 – ZigBee 3.0 and BlueTooth 5.x kit
        • Alexa or Home Assistant and P-NUCLEO-WB55
          • How to use on P-NUCLEO-WB55 the Zigbee_OnOff_Router_NVM – modified for connect Alexa and/or Home Assistant
        • P-NUCLEO-WB55 how to upgrade the FUS sw
      • H2O flow meter for control your water consumption
      • How to interface the rotary encoder to STM32 (CUBE-MX + ATOLLIC)
      • STM32 used in the ARDUINO IDE
      • Car Parking Assistant
      • Machine Learning & Predictive maintenance
        • STM32 – Neural Networks, AI, Machine Learning & Predictive maintenance
        • Face recognition in Machine Learning reveals new applications
    • Python
      • Introduction to Python
      • How to install PYTHON on Windows 10
      • How to run a Python file under LINUX
      • Python – Serial COM
    • Serial to USB
      • How to use the Serial to USB converter – STEVAL-PCC018V1
      • Terminal Emulator
    • Prese Telefoniche Italiane, Cavi Ethernet, Crimpatrici e collegamenti
  • Pannelli Solari ad Aria Calda
    • Pannelli Solari ad Aria Calda o Collettori Solari
  • PC & Printer
    • Chromebook cosa sono ?
    • BalenaEtcher – Flash OS images to SD cards & USB drives
    • How to install the HP LaserJet Pro MFP M26a on UBUNTU
    • How to use STM32CubeIDE for write a C code for your PC under Linux
  • Funny
    • How to make, from a shoe box, a fun box
    • 4WD Robot Car
    • How to use the Adafruit Motor Shield on STM32 NUCLEO
  • About
    • Who I’m
    • Casato dei Marinoni
  • Privacy
    • Informativa estesa riguardante il dominio: www.emcu-homeautomation.org
  • Contact

C & C++ language

If you like it, share it


  • printf, sprintf, fprintf, etc are here (in Italian Language)
  • Guida al C (in Italian Language)
  • Free Interactive C Tutorial
  • C Introduction: Learn to compile and run C codes
  • C Tutorial by TutorialsPoint
  • C Tutorial – Learn C
  • C Programming Tutorial – Learn C Programming with examples
  • C tutorial
  • Iniziare con STM32 (in ItalianLanguage)
  • C programming for embedded system applications (STM32)
  • C syntax
  • Il linguaggio C (in Italian Language)
    • C/Variabili, operatori e costanti (in Italian Language)
    • Operatori logici (NOT !, AND &&, OR ||, ==, !=, ecc) (in Italian Language)
    • Operatori sui bit ( | OR; & AND; ^ XOR; << Scorri a sinistra; >> Scorri a destra; ~ Complemento a uno.) (in Italian Language)
    • C/Compilatore e precompilatore/Direttive (in Italian Language)
  • UNIROMA Il linguaggio C (in Italian Language)
    • Dichiarazioni di variabili (in Italian Language)
  • Embedded C
  • Embedded Systems/C Programming
  • Embedded C  (pdf)
  • Embedded C++
  • Developing Embedded Software in C
  • Writing Efficient C Code for Embedded Systems
  • Other references:
    • www.lysator.liu.se/c/bwk-tutor.html
    • www.cprogramming.com/tutorial/c/lesson1.html
    • http://www.cprogramming.com/tutorial/c/lesson1.html
    • http://www.coactionos.com/embedded-design/c-tutorial/118-hello-world.html
    • Keil C/Embedded C Programming tutorial
  • Recent Posts

    • Pompa di sentina usata per svuotare pozzetto acque chiare che ci invia anche email
    • Modelli 3D pronti all’uso – Ready-to-use 3D models
    • ThinkerCad – CAD per Stampanti 3D
    • Shelly BLU Motion
    • Consumi elettrici TRUMA COMBI DIESEL – Electricity consumption TRUMA COMBI DIESEL
  • Recent Comments

    • Archives

      • April 2025
      • March 2025
      • January 2025
      • December 2024
      • October 2024
      • September 2024
      • July 2024
      • May 2024
      • April 2024
      • March 2024
      • February 2024
      • December 2023
      • April 2023
      • November 2022
      • January 2022
      • December 2021
      • November 2021
      • October 2021
      • August 2021
      • July 2021
      • June 2021
      • May 2021
    • Categories

      • 3D Printer
      • Alarm system
      • Automation
      • Bike
      • Camper
      • CAR
      • Compiler
      • Connectors
      • Eclipse
      • Espressif
      • Gardening and Vegetable Garden
      • Gate and Door Automation
      • GCC
      • GD32
      • GDB
      • Home Assistant
      • iHost
      • Internet
      • Irrigation
      • ITALY
      • KEIL
      • Linux
      • Motorhome
      • NAS
      • Node-RED
      • PC
      • Power Station
      • Riscaldamento
      • Sensors
      • Shelly
      • SonOff
      • STM32
      • Temperature controller
      • Theft Protection
      • TV
      • Uncategorized
      • VAN
      • Video
      • ZigBee
    • Meta

      • Log in
      • Entries feed
      • Comments feed
      • WordPress.org
    EMCU-HomeAutomation.org Privacy Policy
    Proudly powered by WordPress.