Hi, just after a little advice from those with more experience than me.
I am looking to use a ESP module to receive ArtNET DMX data and then use that to drive an LED strip. Nothing too complex!
Just waiting on my ESP board to arrive, and have drawn up my plan, which I have included below.
Is there anything that I have missed on this? It almost seems too simple, but then again I am only turning on an LED strip based on the incoming data.
Any advice would be appreciated. I can program the board with no issues, it's just making sure the hardware is connected up correctly to make sure it does what I want.
In the future, when creating a topic please take the time to pick the forum category that best suits the subject of your question. There is an "About the _____ category" topic at the top of each category that explains its purpose.
All of them do ! Just avoid using GPIO 0, 1 & 2 since they are strapping pins and should not be pulled LOW at boot for normal operation.
That said, there is a really good chance that the OLED is connected to the SPI pins already, and those are the pins you picked as well.
I have made modules for the same purpose using an ESP-01 and used all 4 exposed GPIO pins
Because of the strapping function i had to invert the signal once, and since the ESP8266 also send short pulses on the pins during boot i use GPIO 3 to switch / block that signal.
The confusion in my schematic may be that i am not using the correct symbol for the ESP, but then it isn't soldered on. HIGH/LOW pulses will occur on any of the ESP8266 during boot except GPIO 4 & 5.
Pins 9 -14 (GPIO 6 - 11) can be used at all since they are connected to flash memory.
Looks nice, but the description is not correct. Maximum clock rate will be 160MHz (not 240MHz)
In your schematic there is a connection going 'thru' the 220R resistors.
Also you appear to have the mosfets upside down i think. I am usually also quite confused about the way to position them. That you made the GND connection at the top of the schematic only adds to the confusion. @jim-p Can you have a look and make sure, you are an engineer after all.
It should be simple. Receiving ArtNet over Wifi is fairly straightforward to code as well. Artnet poll reply may be a bit of cause for head scratching, but reception should work without that as well.
Be careful not to overheat the mosfets when soldering. Over 305 degrees Celsius and they are history.
Oh, I must have been thinking this was an Arduino and 5v at the gate. (That is assuming I understand that the gate voltage is the problem with that choice? - I remember the IRFZ44 having a higher gate which is why I discounted it)
Yes, I can get from Digikey or Mouser. Do you have a recommendation? I think that something like IRLB8721 or AOI518 might be better (although I'm still learning my way around selection, so I am probably wrong on this)
Ah it's an I2C display, well in that case all other pins will be appropriate,
except GPIO 4 & 5 edit: except 12 & 14 hmm i was assuming it would use hwI2C, that is a rather unpractical choice of pins, like that SPI is no longer available.
GPIO 1 & 3 are in use by the USB to TTL converter if you want to use Serial for debugging, and GPIO 0 & 2 are strapping pins, so your original choice of pins is actually pretty good,
A way to block the boot pulse is still recommended, have a look here
Since that could be 5v powered anyway, that may even simplify the choice for a mosfet/transistor
I decided to have a look at the prototype i made as a first attempt to control some RGB strip with an ESP, i found i had used TIP120 transistors in a TO-220 package for it, driven by a 74HCT02 (powered with 5v) and thru a 220R resistor. And that worked ! easy to come by easy to handle, quick enough and you can drive really quite a lot of current with those, even more so if you add extra heatsink.
As to my initial question in post #7 and looking at your schematic i conclude that the answer is 'Yes the mosfets are upside down' (or inverted) in the schematic in post #1