Micropython & IOT
1.63K subscribers
141 photos
1 video
47 files
36 links
ادمین : فرهاد ناصری زاده
@farhad_naserizadeh
@farhad3412

micropython, nodemcu, Lua, iot،
Arduino

کانال های مرتبط با این کانال

@raspberry_python
@c_micro
@ai_dsp
Download Telegram
Forwarded from 🐍 Python & Raspberry 🐍 (alireza yahyapour)
4_5886377134435337232.rar
5 MB
آموزش نصب micropython روی ESP8266-01 هست به اضافه ی تمام فایل های مورد نیاز برای راه اندازی و استفاده که firmware هم گذاشته شده.😊
با تشکر از دوست عزیز : @Black_Captain

🆔 @raspberry_python
آبرسانی به گیاهان
اینترنت اشیا

@micropython_iot
آبرسانی به گیاهان
اینترنت اشیا

@micropython_iot
آبرسانی به گیاهان
اینترنت اشیا

@micropython_iot
Forwarded from 🐍 Python & Raspberry 🐍 (فرهاد ناصری زاده)
کنترل خودکار خانه با رزبری پای
🌟 انتشار 2019
Home Automation with Raspberry Pi: Projects Using Google Home, Amazon Echo, and Other Intelligent Personal Assistants

❇️ @raspberry_python
Forwarded from 🐍 Python & Raspberry 🐍 (فرهاد ناصری زاده)
Donald_Norris_Home_Automation_with.pdf
10.1 MB
کنترل خودکار خانه با رزبری پای
🌟 انتشار 2019
Home Automation with Raspberry Pi: Projects Using Google Home, Amazon Echo, and Other Intelligent Personal Assistants

❇️ @raspberry_python
سلام به همه امروز سورس راه hotspot برای #ESP8266 براتون اماده کردم.
#include <ESP8266WiFi.h>
#include <WiFiClient.h>
#include <ESP8266WebServer.h>

//SSID and Password to your ESP Access Point
const char* ssid = "ESPWebServer";
const char* password = "12345678";

ESP8266WebServer server(80); //Server on port 80

//==============================================================
// This rutine is exicuted when you open its IP in browser
//==============================================================
void handleRoot() {
server.send(200, "text/plain", "hello from esp8266!");
}

//===============================================================
// SETUP
//===============================================================
void setup(void){
Serial.begin(9600);
Serial.println("");
WiFi.mode(WIFI_AP); //Only Access point
WiFi.softAP(ssid, password); //Start HOTspot removing password will disable security

IPAddress myIP = WiFi.softAPIP(); //Get IP address
Serial.print("HotSpt IP:");
Serial.println(myIP);

server.on("/", handleRoot); //Which routine to handle at root location

server.begin(); //Start server
Serial.println("HTTP server started");
}
//===============================================================
// LOOP
//===============================================================
void loop(void){
server.handleClient(); //Handle client requests
}
بعد از ران کردن این کد esp در سریال مانیتورینگ به شما یک ip خواهد داد که با وارد کردن ان در مرورگر خود قادر به مشاهده ی webserver راه اندازی شده توس esp در گوشی و یا سیستم خود هستید.


🌺🌺 با تشکر از مهندس
@MehdiYasinzade
Recent Trends and Advances in Wireless and IoT-enabled Networks

🌟 2019
EAI_Springer_Innovations_in_Communication.pdf
8.3 MB
Recent Trends and Advances in Wireless and IoT-enabled Networks

🌟 2019
سلام به همه یک سایت پیدا کردم برای اتصال با پروتکل UDP که پهنای باند زیادی در اختیار کاربر برای انتقال تصویر و فیلم و داده و...



UDP — ESP8266 Arduino Core documentation
https://arduino-esp8266.readthedocs.io/en/latest/esp8266wifi/udp-examples.html

❇️ @micropython_iot
MQTT Essentials - A Lightweight IoT Protocol

پروتکل MQTT

❇️ @micropython_iot
Gaston_C_Hillar_MQTT_Essentials.pdf
8.9 MB
MQTT Essentials - A Lightweight IoT Protocol

پروتکل MQTT

❇️ @micropython_iot
Forwarded from 🐍 Python & Raspberry 🐍 (فرهاد ناصری زاده)
🔴 گروه پایتون

@python_ai

🔴 گروه رزبری پای

@raspberry_micro

🔴 گروه رمزنگاری

@pycrypto

🔴 گروه بات تلگرام
@pyapi

🔴 گروه زبان سی،میکروکنترلر، fpga

@micro_fpga

🔴 گروه خرید و فروش قطعات الکترونیکی

@ElectronicsFreemarket

🔴 کانال زبان سی و میکروکنترلر

@c_micro

🔴 کانال میکروپایتون و اینترنت اشیا

@micropython_iot

🔴 کانال پردازش سیگنال و هوش مصنوعی

@ai_dsp

🔴 کانال آموزش پایتون و رزبری پای

@raspberry_python

🔴 مباحث متفرقه گروه های تخصصی

@BlindSpots
Forwarded from Deleted Account
MicroPython Programming with ESP32 and ESP8266 2019 جدید
Rui_Santos,_Sara_Santos_MicroPython.pdf
61.4 MB
MicroPython Programming with ESP32 and ESP8266

آموزش میکروپایتون و esp8266
🌟🌟 2019

@MICROPYTHON_IOT
Pir motion sensor


const int ledPin= 13;
const int inputPin= 2;

void setup(){
pinMode(ledPin, OUTPUT);
pinMode(inputPin, INPUT);
}

void loop(){
int value= digitalRead(inputPin);

if (value == HIGH)
{
digitalWrite(ledPin, HIGH);
delay(60000);
digitalWrite(ledPin, LOW);
}
else
{
digitalWrite(ledPin, LOW);
}
}
#include <Wire.h>

void setup() { Wire.begin(); //creates a Wire object

// set I/O pins to outputs
Wire.beginTransmission(0x20); //begins talking to the slave device
Wire.write(0x00); //selects the IODIRA register
Wire.write(0x00); //this sets all port A pins to outputs
Wire.endTransmission(); //stops talking to device
Wire.beginTransmission(0x20);//begins talking again to slave device
Wire.write(0x01); //selects the IODIRB register
Wire.write(0x00); // sets all port B pins to outputs
Wire.endTransmission(); //ends communication with slave device
}

void loop()
{
Wire.beginTransmission(0x20); //starts talking to slave device
Wire.write(0x12); //selects the GPIOA pins
Wire.write(00000011); // turns on pins 0 and 1 of GPIOA
Wire.endTransmission(); //ends communication with the device
Wire.beginTransmission(0x20); //starts talking to slave device
Wire.write(0x13); //selects the GPIOB pins
Wire.write(00000001); //turns on pin 0 of GPIOA
Wire.endTransmission();//ends communication with the device
}
سلام به همه ي دوستان ي مدته ميخوام ي پيام بزار براي اون اشخاصي ك مثله خودم كلي براي اتصال nodemcuيا ماژول واي فاي به نرم افزار وقت گذاشتن و راه مناسبي پيدا نكردن يا روشش رو نتونستن پيدا كنن.
براي اين كار كافيه يه برنامه ي كلاينت يا سرور با يكي از پروتكل ها مثله httpيا tcpيا udpرو روي ماژول پيدا سازي كنيد بعد با ترمينال هايي مثله puttyيا برنامه هايي مثله postman به ماژول دستور بفرستيد.