[panels] Re: Fwd: Update on problems with programming my controller

  • From: "Reiser, Michael" <reiserm@xxxxxxxxxxxxxxxx>
  • To: <panels@xxxxxxxxxxxxx>
  • Date: Wed, 2 Apr 2008 08:12:09 -0400

Hi Nina,

 

Glad to hear everything is now working. You are exactly correct about
turning off the 'divide by 8' fuse setting on the Atmega168. This may
not be documented elsewhere, so thanks for pointing this out. 

 

If you would like to use an arbitrary serial port number, other than
COM1, this should be pretty easy to do. In the \controller folder of the
panels Matlab code, edit the files PControl_init.m and send_serial.m.
Each contains a single reference to 'com1'; simply replace this with
your desired port number and that should be it (you may need to restart
PControl and\or Matlab).

 

Good luck,

 

MR

 

 

________________________________

From: panels-bounce@xxxxxxxxxxxxx [mailto:panels-bounce@xxxxxxxxxxxxx]
On Behalf Of Nina Vogt
Sent: Wednesday, March 26, 2008 4:28 PM
To: panels@xxxxxxxxxxxxx
Subject: [panels] Fwd: Update on problems with programming my controller

 

Hi,

This is a follow-up to my mails in December concerning the problems I
had with programming my controller board from Mettrix. Unfortunately,
the Atmega128 (main controller) could not be addressed. I ended up
returning the circuit board to Mettrix and even their attempts did not
help. But I now have a new board that works perfectly. Thanks a lot to
the many people who tried to help.

I also wanted to mention a few other things that I came across. They
might be trivial but were not immediately obvious to me.

1. I wanted to run the arena using my labtop and a USB-to-Serial
converter. This requires to change the port name to COM1, which was not
possible on my labtop as COM1 was already taken by some other obscure
device. I finally switched to a desktop computer.

2. For the Atmega168 chip used in the panels, there is a fuse setting
"Divide clock internally by 8", which I think is ticked automatically.
This has to be turned off, otherwise the panels display 00 but don't go
through the start-up routine.

Best wishes,

Nina

 

 

Nina Vogt

Desplan lab

Dept. of Biology

New York University

 

Other related posts: