nodeMCU dimmer/switch/temp.sensor without arduino

9 years 6 months ago - 9 years 6 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

Please Log in or Create an account to join the conversation.

9 years 6 months ago #1449 by asm7100

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 :-)

//
Allan

Please Log in or Create an account to join the conversation.

9 years 6 months ago - 9 years 6 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

Please Log in or Create an account to join the conversation.

9 years 6 months ago #1458 by asm7100
Maby you need to clear the watchdog


tmr.wdclr()

//
Allan

Please Log in or Create an account to join the conversation.

9 years 6 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.

9 years 6 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.

Time to create page: 0.276 seconds

Forum latest

  • No posts to display.