general setup notes for the parts involved in “quartet”
Another option for ./operate is -s [poll-time-msecs], and there is also -e [difference] for setting minimum difference (epsilon) for data output (0..65535).
The accelerometer system is based on the system developed for Project Txoom, so the Cerf Notes might be useful if things deviate too far from the script.
further instructions
- check
System preferences > Network > Location
is set to "sensors // no inet"
- open 'terminal'
- type
sudo -s
- enter password
- type
/usr/libexec/bootpd -D
- connect the sensor to the ceed (black box)
- check ethernet cable is connected to the laptop
- connect the power to the ceed
- wait
- you can check the connection by typing
tail -f /var/log/system.log
and waiting for something like
bootpd[453]: ACK sent familiar. 10.0.0.2 pktsize 300
the nu,ber starting with 10.0.0 will be the ip of the ceed
- type ctrl-c to exit
- connect to the ceed by typing
ssh root@10.0.0.2
(the password is rootme)
- follow the sensor setup instructions from here ... .
- type
insmod adxl.o
- type
./operate -h 10.0.0.1
(note: this only works when something is listening ie; oz in max)