Comments (6)
Hi
"DE/RE" to 3.3V as Enable is not good. you need the module with auto transmit control. if not - i see that you can add this functionality to softwareSerial. but its not so easy(
sometimes SDM630 (usually version 1) have different modbus register addresses (they start from 0). needs to check too...
from smarthome.
Thank you for your answer.
today arrived my module with auto transmit control but its still not working :(
I have an SDM630 V2
do i think right that rx and tx from the modul have connected to the esp rx and tx pins (GPIO1 and GPIO3 ?)
The rx and tx LED´s of the RS485 module are not blinking or something
Do i have modify some files ? i have just compile your Eastron example without modify something.
on iobroker there are following informations, but no registers visible.
I would like to use your Eastron project so much.
Thank you
from smarthome.
maybe something changes...
try this bin file https://github.com/merlokk/SmartHome/releases/tag/release_1.00
TX (IO1) needs to go to RX 485 module
RX(IO3) go to TX RS485 module
to not to break esp with wrong connection i connect them via 50R resistors
P.S. try to connect leds:
LED1 - GPIO12 ESP8266
LED2 - GPIO14 ESP8266
maybe they shows something
from smarthome.
I have uploaded your bin file on my nodemcu (NodeMCU Lua Amica Modul V2 ESP8266 ESP-12F)
both LED´s are on, but i think there is no polling, because the LED´s on the RS485 module are not blinking (there is no communication to the SDM630)
Is my nodemcu eventually not compatibel ?
Do i need an WeMos D1 Mini Pro 16MB ?
Thank you
from smarthome.
usually NodeMCU cant work this way. because software uses serial port, that is already used in USB/TTL converter.
you can check if rs485 works by open serial port (usb) at speed 9600
from smarthome.
I have looked at source. maybe if create SoftwareSerial here
https://github.com/merlokk/SmartHome/blob/master/ESP8266EASTRON/ESP8266EASTRON.ino#L74
and link it to eastron.SetSerial - it will work.
from smarthome.
Related Issues (20)
- Add change all the parameters via commands
- separate ino file
- add password for development HOT 1
- add update from web site
- mDNS and ArduinoOTA HOT 5
- big file bug HOT 1
- reconnect after AP connect fail
- add MAC to init mqtt post HOT 1
- add eastron 630 Demand Period
- refactor 3 phase eastron counters
- add mqtt json tree in json's HOT 1
- make RSSI -> % conversion HOT 1
- add esp-14 deepsleep cycles count
- ESP14MES Info? HOT 4
- Installation / Compile Doku HOT 1
- Arduino compile error HOT 3
- cant verify sketch in arduino HOT 18
- compile error HOT 3
- error compiling HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from smarthome.