mtongnz / ESP8266_ArtNetNode_v2

ESP8266 based WiFi ArtNet to DMX, RDM and LED Pixels
GNU General Public License v3.0
611 stars 158 forks source link

According to the version and schema #71

Closed vormy closed 6 years ago

vormy commented 6 years ago

Hello. Would like to repeat your project to control light by DMX Tell me if I use the scheme image I need to use the firmware espArtnetNode_2.0.0_b5g.bin

If I use a different scheme
image Then the firmware should take another ESP8266_ArtNetNode_DMX_1.2.0.bin

Libraries are the same for both projects?

ElToberino commented 6 years ago

As far is I see, there is no difference between the layouts concerning the software version. The newer layout uses octocouplers and DC-DC converters; this is a little safer, but has nothing to do with software functionality. I use the newest software version with the former layout.

vormy commented 6 years ago

but what about the LEDs? firmware different indication. With the new firmware v2 on the old scheme will not work LEDs?

ElToberino commented 6 years ago

You're right. LED indication is different. "espArtnetNode_2.0.0_b5g.bin" uses only one ESP-Pin for a digital output to drive three APA106-LEDs as indicators. The former software versions used two ESP-Pins, each for a standard LED. I didn't focus on that because I don't need the indication LEDs and so I leave GPIO12 and GPIO13 unconnected.

mtongnz commented 6 years ago

The libraries are different on the V2 software. I wrote the Artnet and DMX libraries from scratch for V2 to allow RDM functionality. In terms of hardware, there are a couple of major changes. As I added RDM, I needed to add a direction pin and the RX pins to allow receiving data. I decided to change from single LEDs to APA106 to reduce the pin count and allow for full RGB status LEDs. The final change, as stated above, is the addition of electrical and optical isolation of the DMX outputs - this isn't required but makes for a safer system if there is an issue (such as power spike) on one of the outputs. In theory, the V2 software should work on the V1 hardware but as I no longer have any V1 hardware, I can't test this. If you're building new hardware, I'd recommend using the new schema as your base design.