Monday, July 4, 2011

Happy fourth of July.

I hereby pledge at least twice a week to write more.  It turns out I actually have a reader. A program I randomly signed up for eight months ago has brought me some great answers for engineers starting over in a new career field. If you would like to try it sign up for www.mentornet.com. It's a great way to meet and ask professionals some serious questions without going through the interview process for a job. I enjoyed it throughly as my mentor really gave me some great advice.

The speed dome project is slowing down.. :( I know I uncovered an Altera FPGA device and another programmable mico controller within the device. and unless anyone knows how to extract actual VHDL of VERILOG out of those devices I am pretty well going to have to leave that item a black box. The other problem I have is that "Sensornet" is proprietary and not much is know about it. I did manage to find a basic string of answers from someone on the internet who stated this:


Sensormatic protocol in a nutshell:
4800 baud start bit 1, data 8, parity none, stop bits 2.


to send simple single byte commands send three bytes
byte 1: ID of dome (set with the rotary switches)
byte 2: the command
byte 3: checksum formed by subtracting byte 1 and byte 2 from 0x00.


the dome will acknowledge reception by sending its ID.


single byte commands in hex:
80 home
81 start pan left (24 degrees / s)
82 idem right
83 stop pan
84 start tilt up
85 idem down
86 stop tilt
87 focus near
88 focus far
89 stop focus
8a zoom in
8b zoom out
8c stop zoom
8d start pan fastest mode (96 degrees / s)
8e start pan fast mode (48 degrees / s)
8f start pan normal modfe 
90 iris open
91 iris close
92 stop iris
93 stop all movement


There is much more it can do and learn but that takes more complex multi byte communications.
The above provides for basic control. 

So it's a start. I have the jumpers set. to go and am going to try a "Shift out" command via a handy Arduino.

Today being the fourth I am going to be hopefulPublish Postly enjoying some fireworks tonight. I caught Maroon 5 in concert on Saturday at Summerfest this past weekend as well. They are actually AWESOME in concert. I did not think at all that it would have been that great. I also learned how to play cricket this past weekend. A confusing game at first but then after a while you get used to it and stop thinking about it in terms of baseball.

Have a good one