Power supply for PMS-7003
-
Re: Next generation dust sensor for MySensors
Hi all,
First time poster here! I am dabbling with some of these great mysensors projects. I have successfully setup an Arduino UNO Gateway which is connected via Ethernet to my network and via the radio module to a PIR sensor. All good!Now I am trying to setup a PMS-7003 dust sensor. I wasn't sure of the range from my existing Gateway so I thought I would try and setup another Gateway this time using a LoLin V3 NodeMcu and connecting via my WiFi. So I have used the code from here https://www.mysensors.org/build/esp8266_gateway and that is working fine. My plan is to connect the dust sensor directly to this Gateway. Thus I inserted the code from here: https://forum.mysensors.org/topic/6404/next-generation-dust-sensor-for-mysensors
This compiles and loads fine. HOWEVER, when I connect the dust sensor the board seems to crash or shuts down until I unplug it and leave it for a while. When the dust sensor is plugged in I can hear the fan inside working. I am plugging the dust sensor into VU and the GND pin beside it for power. Then I have modified the code and I am using pins 7 and 8 for the serial communication (I have also tried pins 1 and 2).
From the discussion here: https://community.particle.io/t/dust-sensor-pms-5003-6003-7003/24221/49
I thought this would work but it isn't. Ideas? Do I have to supply with a separate power supply (the specs say it draws less than 100mA though?)Edit: Could it be my laptop isn't supplying enough current?
-
ESP8266 uses 3-400mA alone... I'd try using and external power supply just to play safe
-
Just for anyone following in the future. Looks like it might have been a dodgy USB cable. All is working well now.
Thanks for looking.
Suggested Topics
-
Update RF24 library to latest version
Bug Reports • 23 Mar 2014, 23:37 • andriej 24 Mar 2014, 22:52 -
Is it possible to extract child ID from a just sent message?
General Discussion • 8 Nov 2021, 09:21 • Nigel31 2 days ago -
Which device I have to use to connect with accelerometer before connecting to my pc?
General Discussion • 24 Jan 2023, 17:16 • Yada Kijsathan 16 days ago -
Email notifications received twice
General Discussion • 6 Feb 2023, 16:15 • Jodaille 6 days ago -
Meet in Malmö, Summer 2016?
General Discussion • 1 Feb 2016, 15:34 • bjacobse 29 days ago -
Code Garage to the rescue.
General Discussion • 11 Jan 2025, 11:25 • skywatch 23 Feb 2025, 14:57