XPort Twins




XPort Twins

Originally uploaded by Professor Shiny.

Here’s the two XPorts mounted on a single breadboard. One communicates with the other over TCP/IP and it finally works. Things I learned that I’d like to remember next time: Instead of sending inverted serial like we send to the computer from the PIC, the XPort is expecting non-inverted serial. The code for this is 84 rather than the 16468 that we usually send to setup the SEROUT2. Also, it’s normal for the voltage regulator to get hot when using these. And it’s always worth setting up a DEBUG or normal SEROUT2 for the computer to monitor what the PIC is doing. Otherwise a lot of time can be wasted debugging what you think the PIC is doing, while it’s actually doing something different. Here’s the initial sensor code and the display code. The next step will be to make display happen over MIDI.