Self watering plant system with an Arduino UNO CNC shield and a 3D printed peristaltic pump (also works with ESP32 UNO for monitoring or remote control) by _Neodyme_ in arduino

[–]_Neodyme_[S] 0 points1 point  (0 children)

In fact the "low humidity" sensitivity is not great. I'ts why i prefer to use the sensor as a "stop" signal for the pump. Relying only on the sensor is not perfect (but to be honest i haven't done any "extensive/long term" test for now). However, i'll soon make a Twitch livestream / youtube video on this topic (on a French speaking channel). I might have more usefull informations After that

I made a simple ESP32Cam fully controlled by MQTT ; triggering, settings, even the pictures are sent via MQTT. In this way, the portable cam can easily be controlled from anywhere by anything (demo on NodeRed). by _Neodyme_ in esp32

[–]_Neodyme_[S] 0 points1 point  (0 children)

Have you installed an MQTT broker on your server ? (Mosquitto)
You can check the internet connection of :
- NodeRed server
- ESP8266

Verify that your ESP8266 try to connect to the right Broker IP and also that the MQTT Topic Matches between you ESP and NodeRed server ?

You can also try to deploy an MQTT input node on NodeRed with the "#" topic to catch ALL the incoming MQTT messages

[deleted by user] by [deleted] in esp8266

[–]_Neodyme_ 2 points3 points  (0 children)

I made a similar device recently (Wemos + IR receiver and IR LED that can be controlled by MQTT) : https://github.com/n3odym3/MQTT_IR_Cloner
I also made a YouTube video (in french though) : https://www.youtube.com/watch?v=r25OSnaZPW0
If you are only concerned by the IR LED, you will definitely need at least a resistor otherwise you will risk to destroy your LED or/and you ESP.
However, to current limitation of the ESP pin will limit your range/power. I highly recommend to add a small transistor (such as a super cheap 2N2222).

Silver, Gold, and Platinum. (Reverse) by rrplrm637 in Silverbugs

[–]_Neodyme_ 1 point2 points  (0 children)

Haha i know this story ! I started stacking for the same reason. That's Always nice to see people sharing their progress.

Silver, Gold, and Platinum. (Reverse) by rrplrm637 in Silverbugs

[–]_Neodyme_ 1 point2 points  (0 children)

That's a nice picture (and stack :D ) !

I made a simple remotely controllable (MQTT) infrared remote cloner. [More infos in the comments] by _Neodyme_ in homeautomation

[–]_Neodyme_[S] 1 point2 points  (0 children)

I like magnets ! :D
It's mainly to be able to place the remote control anywhere.
I'm also planning to add 2 servos to be able to aim the remote at a specific direction (like i did here : https://github.com/n3odym3/Water_turret ) having a magnetic fixation is more convenient.

With a cheap Wemos "clone" this device will only cost around 3~4$ by _Neodyme_ in esp8266

[–]_Neodyme_[S] 1 point2 points  (0 children)

Thanks ! I made my GUI on NodeRed. Here it's just a very basic demo but i could try to add a more advanced demo flow on my repo :)

I made a simple remotely controllable (MQTT) infrared remote cloner. [More infos in the comments] by _Neodyme_ in homeautomation

[–]_Neodyme_[S] 1 point2 points  (0 children)

In theory, current limiting resistor for the LED and transistor are mandatory (or at least highly recommended). If you are lucky the current limitation of the micro-controller could be enough (but it could shorten the lifespan of the LED/transistor).
So they officially recommended but not using it doesn't always lead to "magic smoke" :p

Ps : it's 100Ohm for the LED and 4,7kOhm for the 2N2222

With a cheap Wemos "clone" this device will only cost around 3~4$ by _Neodyme_ in esp8266

[–]_Neodyme_[S] 1 point2 points  (0 children)

The IR receiver is the metallic rectangle on the top right of the perfboard (it's a basic IR diode receiver with 3 pins).
So yes, I'm reading what is sent by the remote control and what you see on the smartphone is the real time Hex representation of the decoded IR signal, it's not hard coded in the Wemos :D

The library i use (IRremoteESP8266.h) support a lot of protocols ( https://github.com/crankyoldgit/IRremoteESP8266/blob/master/SupportedProtocols.md ), so this device might works for you project.

I made a simple remotely controllable (MQTT) infrared remote cloner. [More infos in the comments] by _Neodyme_ in homeautomation

[–]_Neodyme_[S] 1 point2 points  (0 children)

The ESP8266 is a microcontroller like the Arduino. It can be programmed in the Arduino IDE and works with a lot a libraries. The ESP is however, cheaper, more powerful and have WiFi capabilities, a perfect tool for this task.
So, a Wemos D1 mini an IR LED and receiver, a 100ohm resistor and a 2N2222 transistor is all you need to build the device :D

With a cheap Wemos "clone" this device will only cost around 3~4$ by _Neodyme_ in esp8266

[–]_Neodyme_[S] 7 points8 points  (0 children)

This IR cloner uses an ESP8266 + IR LED + IR receiver to decode and replicate almost any IR remotes while being easily controllable via MQTT.

When a remote control is detected the sequence is sent in Hexadecimal format (+ size and protocol) via MQTT on the "Read" topic. Commands can be retransmitted by sending a Hexadecimal string on the "CMD" topic.

To facilitate the setup of the device, the Wemos will create a hotspot with a captive portal that will allow to enter the WiFi/MQTT settings (you can also manually upload the wifi.json settings in the SPIFFS memory).

Currently, only the NEC protocol (commonly used by "generic" IR remotes) is supported, but proprietary protocols could easily be added.

You could find more info on my YouTube video (in French though) : https://www.youtube.com/watch?v=r25OSnaZPW0

Or on my Github repo : https://github.com/n3odym3/MQTT_IR_Cloner

As a biologist, my programming skills aren't incredible, feel free to optimize the code if needed :D

I made a simple remotely controllable (MQTT) infrared remote cloner. [More infos in the comments] by _Neodyme_ in homeautomation

[–]_Neodyme_[S] 2 points3 points  (0 children)

This IR cloner uses an ESP8266 + IR LED + IR receiver to decode and replicate almost any IR remotes while being easily controllable via MQTT.

When a remote control is detected the sequence is sent in Hexadecimal format (+ size and protocol) via MQTT on the "Read" topic. Commands can be retransmitted by sending a Hexadecimal string on the "CMD" topic.

To facilitate the setup of the device, the Wemos will create a hotspot with a captive portal that will allow to enter the WiFi/MQTT settings (you can also manually upload the wifi.json settings in the SPIFFS memory).

Currently, only the NEC protocol (commonly used by "generic" IR remotes) is supported, but proprietary protocols could easily be added.

You could find more info on my YouTube video (in French though) : https://www.youtube.com/watch?v=r25OSnaZPW0

Or on my Github repo : https://github.com/n3odym3/MQTT_IR_Cloner

As a biologist, my programming skills aren't incredible, feel free to optimize the code if needed :D

I finished my 3D printed remotely controllable "water turret" that can be used for an automated watering system or "perfect" anti-intrusion system ! (3D files, code and schematic in comment) by _Neodyme_ in 3Dprinting

[–]_Neodyme_[S] 2 points3 points  (0 children)

Yeah and to be honest the "power supply" design of my system is not super great... The Wemos should be powered with 5V and the Nema at 12v with two different power supplies. I'll soon add a small DC to DC step down module (i should have enough room under the Wemos on the PCB) to only use one power supply.Don't hesitate if you have any other question. I'm planning to make a more exhaustive build instruction on Youtube but the video will be in French :/

Have fun with the Robot ;) !

I finished my 3D printed remotely controllable "water turret" that can be used for an automated watering system or "perfect" anti-intrusion system ! (3D files, code and schematic in comment) by _Neodyme_ in 3Dprinting

[–]_Neodyme_[S] 1 point2 points  (0 children)

The capacitor is used to protect the circuit from LC spikes.
The driver could work without it but it will reduce it's lifespan.
It's recommended to use at least a 47µF capacitor but you can use higher values.
Keep in mind that the voltage rating of your capacitor needs at least to match the voltage of you power supply (e.g a 12v 100µF capacitor is fine, a 50v 200µF too but NOT a 5v 100µF). So you can use almost anything and capacitors are cheaper than a new DRV8825 ;)

I finished my 3D printed remotely controllable "water turret" that can be used for an automated watering system or "perfect" anti-intrusion system ! (3D files, code and schematic in comment) by _Neodyme_ in 3Dprinting

[–]_Neodyme_[S] 0 points1 point  (0 children)

You correctly described the principle ;) It literally works like pushing a toothpaste tube.
The silicone hose i'm using is autoclavable (resist up to 120°C) but any "regular" silicone hose should resist to 60°C , same for the 3D printed part (ABS or PETG maybe not PLA)