alphaxindia2012
New Member
Thanks reading my query.
I want to run 8 dc motors (forward, reverse and brake). 8 Potentiometers to get digital position of output shaft. I also want to control voltage of DC motors (all 8) so that its RPM can be manipulated.
DC motors are small size 6vdc upto 500mA current drain.Standard analog potentiometers are to be used.
I want to control above devices from ethernet (ENC28J60-Ethernet-Module) with SPI.
I want to Program dsPIC33FJ256GP506A microcontroller for this purpose.
Is my selection of MCU correct? Can I control 8 motors and 8 A-D values of Potentiometers by connecting ethernet?
MCU has Memory of 256Kb, and RAM 16384 bytes. Other specs are:
Analog-to-Digital Converters (ADCs):
Up to two ADC modules in a device 10-bit, 1.1 Msps or 12-bit, 500 Ksps conversion:- 2, 4 or 8 simultaneous samples- Up to 32 input channels with auto-scanning- Conversion start can be manual or synchronized with 1 of 4 trigger sources- Conversion possible in Sleep mode- ±2 LSb max integral nonlinearity- ±1 LSb max differential nonlinearity
Timers/Capture/Compare/PWM:
Timer/Counters, up to nine 16-bit timers:- Can pair up to make four 32-bit timers- 1 timer runs as Real-Time Clock with external 32.768 kHz oscillator- Programmable prescaler Input Capture (up to 8 channels):- Capture on up, down or both edges- 16-bit capture input functions- 4-deep FIFO on each capture Output Compare (up to 8 channels):- Single or Dual 16-Bit Compare mode- 16-bit Glitchless PWM mode
3-wire SPI (up to 2 modules):- Framing supports I/O interface to simple codecs- Supports 8-bit and 16-bit data- Supports all serial clock formats and sampling modes
I want to run 8 dc motors (forward, reverse and brake). 8 Potentiometers to get digital position of output shaft. I also want to control voltage of DC motors (all 8) so that its RPM can be manipulated.
DC motors are small size 6vdc upto 500mA current drain.Standard analog potentiometers are to be used.
I want to control above devices from ethernet (ENC28J60-Ethernet-Module) with SPI.
I want to Program dsPIC33FJ256GP506A microcontroller for this purpose.
Is my selection of MCU correct? Can I control 8 motors and 8 A-D values of Potentiometers by connecting ethernet?
MCU has Memory of 256Kb, and RAM 16384 bytes. Other specs are:
Analog-to-Digital Converters (ADCs):
Up to two ADC modules in a device 10-bit, 1.1 Msps or 12-bit, 500 Ksps conversion:- 2, 4 or 8 simultaneous samples- Up to 32 input channels with auto-scanning- Conversion start can be manual or synchronized with 1 of 4 trigger sources- Conversion possible in Sleep mode- ±2 LSb max integral nonlinearity- ±1 LSb max differential nonlinearity
Timers/Capture/Compare/PWM:
Timer/Counters, up to nine 16-bit timers:- Can pair up to make four 32-bit timers- 1 timer runs as Real-Time Clock with external 32.768 kHz oscillator- Programmable prescaler Input Capture (up to 8 channels):- Capture on up, down or both edges- 16-bit capture input functions- 4-deep FIFO on each capture Output Compare (up to 8 channels):- Single or Dual 16-Bit Compare mode- 16-bit Glitchless PWM mode
3-wire SPI (up to 2 modules):- Framing supports I/O interface to simple codecs- Supports 8-bit and 16-bit data- Supports all serial clock formats and sampling modes