Usually you use a usb cable to power and program
Adafruit Feather HUZZAH ESP8266 via the mini usb port:
But what if you want to use external 3.3V (or 5V) power supply? To which pin should you connect it?
Posted in Embedded Systems, Технологии
Tagged 3.3V, 5V, Adafruit, Adafruit Feather HUZZAH ESP8266, AP2112, esp8266, External, External 3.3V, External 5V, External power supply, Feather, Hi-link, Hi-link HLK-PM03, HUZZAH, USB, VBAT, VBUS, Voltage regulator
A while ago Jan Almeroth have done excellent research on
how Sonoff devices operate. Thanks to his ( and many others’) work, projects like SonOTA are now possible. I’ll try to summarize the information in this article. 1. Overview
It appears that sonoffs are
IoTgo compatible devices. IoTgo platform was created by Itead and aims to facilitate easier integration between IoT devices and Applications.It mainly consists of three parts:
Devices ⇔ Server (left part) – devices connect to the server via HTTP/WebSocket, register and update their parameters. The server can send control commands using push notifications (via WebSocket);
Apps ⇔ Server (right part) – IoTgo Apps use server gather information about devices (+their status) and control them;
Web interface ⇔ Server (not shown) – used for device management;
Posted in Arduino, Embedded Systems, Uncategorized
Tagged 10A, 16A, Configuration, esp8266, Espurna, OTA, Protocol, Sonoff, Sonoff basic, Sonoff Dual, SonOTA, TH10, TH16
Remote switches, Internet of Things (IoT) and Smart home in general are quite trendy nowadays. There are plenty of trademarks and devices that allow you to switch lights, heating, garage doors etc via an application on your mobile / web page.
There is one very popular gadget among the Smart housers – the Sonoff. It is actually a trademark that includes various kinds of remote switches. Sonoff devices are getting more and more popular these days because they are small, cheap, cloud ready, easy to use and have built-in AD/DC converter (i.e. no external power supply is needed, just a cable to plug it in the grid). Some sonoffs can be controlled via RF keyfobs.
Posted in Embedded Systems, Uncategorized
Tagged Alexa, Amazon Alexa, API, Cloud, Configuration, DIN rail, esp8266, Espurna, Google Home, IFTT, IoT, IoT devices, iseu-disp.coolkit.cc, Itead, Keyfob, Programming, Remote control, Remote switch, REST API, RF Keyfob, Slampher, Sonoff, Sonoff 4CH, Sonoff Touch, SonOTA, Tasmota, TH10, TH16
Почти половин година, след
официалното му обявяване,Arduino/Genuino MKR1000 вече се продава официално. Очаквам този продукт да се появи скоро и в България.
Posted in Arduino, C, Embedded Systems
Tagged Arduino MKR1000, ARM, Atmel, Atmel ASF, Cortex-M0+, Genuino MKR1000, GitHub, low power, m2m, MCU, MKR1000, MQTT, SAMD21, SAMD21 Cortex-M0+ low power ARM MCU, SHA265, WiFi101, winc1500
Покрай един проект с Ардуиновъзникнаха няколко въпроса:
Volatile ли са елементите на дадена структура, ако самататя е декларирана като Volatile?
Може ли в структура да има както обикновени елементи, така и Volatile елементи?
Как се дефинира указател към Volatile структура, която не е маркирана като Volatile в нейната дефиниция?