Got the tpm2net protocol running over wifi at last,

Got the tpm2net protocol running over wifi at last, wanted to run my led strip with artnet which was fine but theres a 512 channel limit per universe, 512/3 led’s, now with the tpm2net sketch (a modified artnet one with bigger buffer) I can control 500+ pixels wirelesley :slight_smile: got some more testing to do today but details will follow :slight_smile:

one question I have got, how do I measure the framerate? is there something I can add to my sketch or some other way of doing it?

FastLED.getFPS() returns a recent sample of frames-per-second.

Thank you :slight_smile:

You’re welcome!

What kind of FPS are you getting over wifi?

I’ve not measured it yet, at 3m of 60 led’s/meter with an arduino 2560 and a plasma effect there’s no visible flickering at all, animations seem to run really smooth, the tpm2net header is only 5 bytes so the rest is payload (8bit rgb values)

Are you using this for wireless pixel mapping??

Awesome! Would love to see some footage

I’m at illuminaughty this weekend in manchester and have some BIG flower going up in the cieling :slight_smile: all wireless :slight_smile: also if you use a 2560, with a lan shield and a tp-link it actually works out cheaper that the yun

NICE
Did you have to do any hacks to the TP-Link for this to work? I remember seeing tutorials where people had to bust apart the device and do some modifications to flash the firmware

you only need to dick about with the firmware if your flashing dd-wrt on them, I did open mine up but purely so I had a wifi board thats a couple of mm thick rather than 3/4 of an inch, it fits really well now in a case thats almost the same height as a 2560 + ethernet shield

I’ve even got them working as an auto configuring cluster, so that each box as it powers up gets it’s own universe,

Bravo sir. Can you upload sketches wirelessly?
Out of curiosity, got any pictures of your finished module?

I dont use sketches anymore tbh, I stream the data from a program called jinx http://www.live-leds.de/ it has various methods for talking to LED strips, tpm2 and artnet are just dmx data encapsulated in a udp packet

Oops beat me to it - thanks for the info!

https://www.youtube.com/watch?v=A-B8HkuYUJQ This is also a great link, btw @Jason_Podmore did you have a chance to pastebin the OSC part? I’m still interested in smartphone control with OSC, thanks

I’ll have to dig through for the osc chunk of code, tbh it’s pretty simple off the top of my head, it’s basically reading the udp buffer and looking for a pattern match like /x/y/z then reading just the parts you want, I’ll go through my old sketches tomorrow, been programming lasers today :confused:

Sorry for the delay getting the Osc code, really busy getting an install ready for the weekend