-
Hi, Forgive me I am not vert experience with IoT controllers. Could you possible give me some more detail on how you connected the wifi module to your desk, if you still have it could I see a picture? Also, do you think it would be possible for me to prototype something like this with a direct ethernet connection from my laptop. |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 6 replies
-
I am also very much interested on how to practically connect a V3 Nodemcu-CH340 board (based on ESP8266 ES-12E) through 8P8C connector and UTP cable to the Fully Jarvis components (desk handset, desk controller box). Do you strip the different wires in an UTP cable and solder to the ESP8266 pins? How do you connect three UTP cables coming from desk handset, the desk controller box and the new components (ESP8266)? Do you use some kind of Ethernet hub for this? |
Beta Was this translation helpful? Give feedback.
-
At first I used some stripped spare CAT-5 cable to make it easier to reverse-engineer the signal pins from the Jarvis controller. I brought these out onto an 8-pin connector on a breadboard and attached my logic analyzer to do signal captures. I use the USB Logic Analyzer from Sparkfun with sigrok/PulseView on Linux. After that, I connected an ESP8266 to the same breadboard and started tinkering from there. It was rather ugly. I started to design a proper circuit in some EDA tool, but I'm terrible at that. So I took the quick route one afternoon and drew some traces in an online Pebble tool. I'd post the netlist here, but it's not terribly useful unless you have the same board I do. Also, I'm not sure it's correct; I only used it as a guide. I ended up moving things further apart later and I left off the boot-mode switches. Columns 1-8: RJ-45 connectors I didn't use a NodeMCU module for this, but I easily could. I used an ESP8266-based Digistump Oak board because I have a few handy from their kickstarter a few years ago. I don't recommend them, otherwise, since their plans got shanghaied by a poorly executed partnership with Particle.io. I breadboarded it on my bench to get it working. Later I converted that to the Pebble breadboard layout above just so I could double-check things and play with other ideas. The interface is really simple. I draw power from the Jarvis controller itself. There is almost always enough current to drive the ESP8266. I have had some occasional problems that might be caused by brownouts, but I'm still not sure. The only clever part worth mentioning is that I mounted two RJ-45 jacks on the board in a pass-thru configuration. That is, there are two RJ-45's mounted together, one is rotated 180 degrees on two axes, so the pins all connect "straight through". This is easier to see on the next picture.
Look at the pair of connectors at H1-8 and I1-8 on the Pebble breadboard above. One of those is actually below the board pointing down instead of up. Each pair of pins on those two connectors is electrically connected (because of the breadboard). Then I mounted one RJ-45 to the top set of pins and the other one to the bottom set of pins. The bottom connector is rotated and turned around to face the opposite direction so the pins all connect as described. I mounted all this on an Adafruit Permaproto Board. These are nice to have around for me. Then I plug the Jarvis Handset's RJ-45 cable into one of these (it doesn't matter which one), and I use a regular 8-pin network patch cable to connect the module to the Jarvis controller itself. By the way, the handset is optional. You could drive it all from the ESP8266. The passthrough works well, though. Note: If you get the RJ-45 breakout board from SparkFun, it makes it easy to stack these on headers. But be careful when assembling it because Pin-8 is mis-labeled as Pin1 and vice-versa. Read the user comments on the product page to see more details. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
@lemiesz The RJ-45 connector here is not used as an Ethernet connection. The electrical signals are all different. So no, you cannot connect this to your laptop's Ethernet port. |
Beta Was this translation helpful? Give feedback.
-
Hi @phord, Am I right in thinking; If I edit JarvisDesk.cpp and replace pins as follows; Then if I patch the RJ45 passthrough between handset and controller to the ESP8266 as follows; RJ45 -> ESP8266 I'm hoping that this will allow the monitoring to work without frying either the desk or the ESP8266! Once I have figured out the right commands\protocol, I just want to be able to ask Alexa to sit (Trigger memory position 1) and stand (Trigger memory position 2). I'm hoping to combine this with FauxmoESP to get it accessible with Alexa. I'd appreciate any guidance or assistance you could offer. Thanks Brett |
Beta Was this translation helpful? Give feedback.
-
It seems to me on the Pebble image above a couple of the RJ-45 pins are wrongly wired on the image.
|
Beta Was this translation helpful? Give feedback.
Here's another view of the board in the same orientation as the Pebble image.