tinkermax / iotcontainer

Iot Container makes shopping easier
http://tinker.yeoman.com.au/2016/07/24/iot-container
MIT License
12 stars 8 forks source link

smartcontainer #1

Open kdeklvadiya opened 7 years ago

kdeklvadiya commented 7 years ago

@tinkermax many thanks for your code, i have upload it to Nodemcu but after this its continues restart itself and not able to connect to network, i have to flash the nodemcu to interrupt the boot loop, i am very great full if you help me to resolve this issue....

kdeklvadiya commented 7 years ago

@tinkermax below error i am getting ets Jan 8 2013,rst cause:2, boot mode:(3,6)

load 0x4010f000, len 1384, room 16 tail 8 chksum 0x2d csum 0x2d v3de0c112 ~ld

tinkermax commented 7 years ago

Have you connected the HX711 module? If not, you will get that behaviour

kdeklvadiya commented 7 years ago

@tinkermax

Thnaks for the answer. Yes its connected, I have also tested Hx711 with default example and found ok but as soon as I upload this code its goes to restart loop. I have google this issue and got mix result regarding hx711 yield{} function in its library. I have tried to remove yeild and get it out from this error but not got success as I dont have deep knowledge in programming.

I will be grateful to you If you help me to resolve this issue. Thanks in advance

tinkermax commented 7 years ago

All I can suggest is:

  1. Check all 4 wires from the HX711 to NodeMCU (Vcc goes to 3.3V, Gnd goes to Gnd, DT goes to D5, SCK goes to D7).
  2. Make sure you use the HX711 library found at https://github.com/bogde/HX711
  3. Check that you selected "NodeMCU 1.0" board from the Tools menu of the Arduino environment.
  4. If it still fails, see what appears on the "Serial Monitor" after enabling debugging - by commenting out the line starting with #define Serial
kdeklvadiya commented 7 years ago

@tinkermax Thanks again for your replay I have to rewire as I used 5vdc for hx711 instead of 3.3v as you suggest. Will revert with result.

Thanks again