Forum
Software/programming
LUA programming
nodeMCU dimmer/switch/temp.sensor without arduino
nodeMCU dimmer/switch/temp.sensor without arduino
Less
More
Posts: 99
Karma: 1
Thank you received: 7
10 years 5 months ago - 10 years 5 months ago #1447
by asm7100
Try this link
frightanic.com/nodemcu-custom-build/
there you can build your own firmware witt the moduls you need.
On most router you can assign a mac add to a ip, so when then node connect to the dhcp server in the router it will always get the same ip address.
//
Allan
Last edit: 10 years 5 months ago by
asm7100 .
Please Log in or Create an account to join the conversation.
Less
More
Posts: 99
Karma: 1
Thank you received: 7
Less
More
Posts: 55
Thank you received: 6
10 years 5 months ago - 10 years 5 months ago #1453
by lesjaw
asm7100 wrote:
Dennis wrote: Hello folks,
ust a static value is returned; I still need to implement proper sensor readout in init.lua, as soon as I can find a spare Ds18b20 sensor for testing)
You can get samples from
www.maximintegrated.com/en/products/anal...terface/DS18B20.html
if you make a login :-)
thanks have tried it..but didn't work either.. esp826 always bootloop with using this code on any firmware except 9.5.6 .. it stable but can't give temperature and humidity value
Last edit: 10 years 5 months ago by
lesjaw .
Please Log in or Create an account to join the conversation.
Less
More
Posts: 99
Karma: 1
Thank you received: 7
Less
More
Posts: 55
Thank you received: 6
10 years 5 months ago #1460
by lesjaw
asm7100 wrote: Maby you need to clear the watchdog
tmr.wdclr()
i am sorry ..noob here..how to do that?
Please Log in or Create an account to join the conversation.
Less
More
Posts: 99
Karma: 1
Thank you received: 7
10 years 5 months ago #1461
by asm7100
lesjaw wrote:
asm7100 wrote: Maby you need to clear the watchdog
tmr.wdclr()
i am sorry ..noob here..how to do that?
Just insert tmr.wdclr() a place where it is being call offent.
I am also a noob
//
Allan
Please Log in or Create an account to join the conversation.
Forum
Software/programming
LUA programming
nodeMCU dimmer/switch/temp.sensor without arduino
Time to create page: 0.155 seconds