After getting excited about the Raspbery Pi thanks to Tom, I decided to play with one from the ER. I also checked out a FTDI friend, and the USB cables that are needed (micro for the power, mini for the FTDI)
First I followed the Installation Guide for Linux to create a new Raspbian Lite image in the SD card.
After following Raspberry Pi 3 GPIO pins, this reference, and Tom’s book instructions for the UART connection, I realized it would be better to make a fast connector between the Pi pins and the FTDI friend – The previous connection was sloppy, and working but in an intermitent way…
To start minicom:
$ minicom -b 115200 -o -D /dev/ttyUSB0
Something important that I read here, is that I needed to turn off Hardware Flow control so that I could actually send something.
After estabilishing the connection, I could follow some instructions from Koji ( http://koji.ml/blog/2017/03/projectsetup-raspberry-pi-3/ ) and from Tom’s book.
I registered the Raspberry Pi as mine in computer.registration.nyu.edu and connected it with an Ethernet cable.
After enabling SSH access from minicom, I could login through the network.
I installed NVM / Node as the instructions of Koji say (especifically
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.1/install.sh | bash
I also installed git and vim
sudo apt-get install git vim
Finally I could get nodeDmx examples from Tom…
git clone https://github.com/tigoe/nodeDmx
And run them…
cd nodeDmx npm install dmx node ElationSpot.js
I will connect the Pi to the USB to DMX converter later…
I will also read about using the GPIO pins as digital inputs of some sort…