Hello comrades ,
I need 2 suggestions for the preliminary ideas on a project. I hope it is ok to bounce general ideas here ?
A) An appropriate sensor or sensing idea. I need to sense the level of a material hopper used in an injection molding machine. The sensor will be subjected to about 70deg C in the form of hot air passing through the material. The sensing distance would be 0 to about 600mm with a lease count of 20mm. I guess an ultrasonic sensor would be out of the question, because of the heat and 0 sensing distance.The hopper lid would be opened and closed to fill material by utterly callous personnel, so the sensor would have to be robust or ideally mounted in a way that the sensor is not affected by the opening or closing of the hopper.
B) There would be about 50 machines and the levels of each would be displayed on a notice board with LEDs in a column indicating the level of each hopper. I could use an ESP32 for each hopper and a Master ESP32 at the notice board. Is that feasible ? There is no need for any cloud based notifications at the moment, but it could happen in future.
Any ideas would be welcome !
Cheers
Thomas
Nothing is immediately coming to mind but what is in the hopper. Is it plastic pellets? If so what size?
What level of accuracy do you need? Full, 3/4, 1/2, 1/4, empty, or better?
Well, that could’ve gone better 😬
Thanks for the reply...
Yes it is plastic granules.Size of each granule would be about 5mm, they are usually cylindrical or with rounded edges to flow easily in the hopper.
Full, 3/4, 1/2, 1/4, empty, or better?
Maybe 8 tranches would be better.
Also any suggestions on networking all the machines to a central display ?
Thomas
i was thinking about optical, but I think they would be too unreliable. I did a search and found these, which seem to be designed specifically for your use case.
On the networking front, something I am playing with is MQTT to allow devices to connect to a central point called a Broker. In my case this is run on a raspberry pi, but is also used in industrial settings.
Worth looking into.
There are lots of YouTube’s videos on the subject. This is one such series.
Well, that could’ve gone better 😬
Thanks for doing some of my homework ... :o) , I have sent them a mail. I wonder it will be commercially viable, some of these sensors cost "an arm and a leg" . But i guess we have to pay for reliability and support.
On the networking front, something I am playing with is MQTT to allow devices to connect to a central point called a Broker. In my case this is run on a raspberry pi, but is also used in industrial settings.
Thanks for the pointer.
I was checking ESP Now from Sir Dronebot and also this :
Any opinions ?
Thomas
I have no experience with ‘ESP now’ but from what I’ve read it is for connecting ESPs together and not to other things.
MQTT can connect sensors to PCs to RPIs etc. I’m going to use Mosquitto broker and connect several ESPs to it. There will also be a MQTT compliant mains relay connected to it to turn an extractor on and off.
There is also a program called Node Red that connects to Mosquitto and has a very configurable dashboard that can include various different gauges and so on. I think it will serve you well for being the central display for the hopper levels.
Well, that could’ve gone better 😬
@andydowns Correct, MQTT is more useful, but do NOT use Mosquito. Everyone can test there, but it crashes and is restarted all the time as it is a test mule. It is a simple matter to create your own broker on any computer you leave on all the time your MQTT traffic is possible. A Pi3 or 4 is ideal for that. Use mosquito to test then just change the broker to your own Pi.
I had heard of Node Red but thought it was a coding tool, did not know it was a dashboard, will have to check out, thanks.
First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
My personal scorecard is now 1 PC hardware fix (circa 1982), 1 open source fix (at age 82), and 2 zero day bugs in a major OS.
I have no experience with ‘ESP now’ but from what I’ve read it is for connecting ESPs together and not to other things.
That actually works for me. Each machine would have an esp32. The central monitoring unit would also have an esp32. the display would also be a row of LEDs for each machine. Depending on the data from the individual machines , the LED display would get updated.
Correct, MQTT is more useful, but do NOT use Mosquito. Everyone can test there, but it crashes and is restarted all the time as it is a test mule. It is a simple matter to create your own broker on any computer you leave on all the time your MQTT traffic is possible. A Pi3 or 4 is ideal for that. Use mosquito to test then just change the broker to your own Pi.
Ron, does the RPI support MQTT as a part of its operating system, or are you saying another piece of software needs to be installed in place of Mosquitto?
If so, do you have any suggestions?
I had heard of Node Red but thought it was a coding tool, did not know it was a dashboard, will have to check out, thanks.
It is a graphical coding app that supports dashboards.
This is an example:
Full youtube video here
Well, that could’ve gone better 😬
@andydowns I will need to check, but if I figured it out it must be easy. I am sure it's an add on package and I am not sure if it's still installed, or how to tell. I just finished what I was working on, so I will give this query top priority (at 82 that could still be days) If I am slow, I bet @byron will know off the top of his head, he is the one who convinced me to try it.
I even have some on my iPhone and Mac, see pics 1st is iPhone, second is Mac
First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
My personal scorecard is now 1 PC hardware fix (circa 1982), 1 open source fix (at age 82), and 2 zero day bugs in a major OS.
@andydowns I just pulled my old project to of the archives and did a few screen grabs. I think you are qualified enough to take it from there, but if you have any questions just ask. Screen grabs are NOT in any particular order. In case it isn't obvious, this library outputs to both MQTT AND regular Serial if it's connected. I used this tool to debug via Serial when I was connected, but in 'production' mode with no computer attached I just looked at my Pi screen. Great tool.
First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
My personal scorecard is now 1 PC hardware fix (circa 1982), 1 open source fix (at age 82), and 2 zero day bugs in a major OS.
@andydowns I think I probably used the nerds instructions to set up the pi.
Do you have any pointers for me about node-red?
https://randomnerdtutorials.com/how-to-install-mosquitto-broker-on-raspberry-pi/
First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
My personal scorecard is now 1 PC hardware fix (circa 1982), 1 open source fix (at age 82), and 2 zero day bugs in a major OS.
@andydowns BTW, when I said do NOT use mosquito, I was referring to the public test broker, not the software. Use mosquito software, but your own broker if that makes sense.
First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
My personal scorecard is now 1 PC hardware fix (circa 1982), 1 open source fix (at age 82), and 2 zero day bugs in a major OS.
Do you have any pointers for me about node-red?
Found this on YouTube. I haven’t watched this yet, but it seems to be fairly comprehensive.
Well, that could’ve gone better 😬
@andydowns BTW, when I said do NOT use mosquito, I was referring to the public test broker, not the software. Use mosquito software, but your own broker if that makes sense.
Ah, that makes more sense. 👍🏻
Well, that could’ve gone better 😬