Posts

Showing posts with the label Ambient Orb

Communicating with Ambient Orb via Serial Port

Pins on the back of ambient http://www.ambientdevices.com/ developer/ DIYSerialDeveloperBoard.html Powered by PIC 18f242 CPU with 16K bytes ROM and 768 bytes RAM. Physical Connection pin 1 is on the left looking at it from the back Pin 1 Vunreg - 11 volts DC from power transformer Pin2 MCLR - used to reset device for programming. Leave unconnected Pin 3 PGD - used for programming. Leave unconnected Pin 4 PGC - used for programming. Leave unconnected Pin 5 RS-232 RX (TTL level signal) Pin 6 RS-232 TX (TTL level signal) Pin 7 Ground RS-232 Parameters The serial port connects to the orb with the following fixed parameters: 19200 Baud 8 data bits no parity 1 stop bit no flow control Sample Script Install perl Install serial port library for perl with apt-get install libdevice-serialport-perl Download orbtest.pl Change the tty ...