Solutions Cubed Technical Support Forum: Access to the ADC over Serial? - Solutions Cubed Technical Support Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Access to the ADC over Serial? Is it possible to access the 2 x ADC input values on the PIC via the s

#1 User is offline   Matt Smith 

  • Starting Member
  • Pip
  • Group: Members
  • Posts: 5
  • Joined: 09-March 10

Posted 10 March 2010 - 07:04 AM

Hello again,


We have a number of MMC controllers available for our PTZ camera prototype. Currently we are controlling the PT motors open loop, however, the PT unit has analog position feedback that we would like to monitor.

Is it possible (Ideally without re-braining the PIC) to access the ADC input levels on an MMC module via the serial port?

Are there any ways we could cheat? (For instance set the module to analog mode and ask it what there motor PWM is?)

Regards,
Matt
0

#2 User is offline   Lon 

  • Advanced Member
  • PipPipPipPipPipPip
  • View blog
  • Group: Root Admin
  • Posts: 640
  • Joined: 03-March 04

Posted 10 March 2010 - 10:28 AM

No you cannot do this. The MMC determines its operating mode on power up, it never looks again at what mode it is supposed to be in. So if you are in serial mode the A/D inputs are not even looked at.

Lon
0

#3 User is offline   Matt Smith 

  • Starting Member
  • Pip
  • Group: Members
  • Posts: 5
  • Joined: 09-March 10

Posted 11 March 2010 - 01:26 AM

Lon,

Thought that was going to be the case. (The flashing lights give it away)

Was hoping there might be an undocumented feature somewhere in the serial protocol.
(ie. the registers could be accessed in the same way the PWM values can)
Would be a good feature request.

All in all I'm very happy with your product, so far it has save us a lot of time and effort.

Thanks again,

Matt
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users