Hey all,
I could use some help deciding how to setup a new project I am working on. Any input on the selection of a PIC would be great also.
Requirements:
4 x button inputs (accept user input)
1 x LCD datasheet (display data)
2 x ADC Inputs (read sensors)
1 x Pulse counter (hardware interrupt on T1OSI) (count RPM)
2 x PWM output (control proportional valves. Flow data monitored by ADC Inputs above)
1 x USART (Tx & Rx)
2 x LEDs (Indicator lights)
Problems:
No PICs I have used will have enough IO to handle all this. With that in mind, I have decided to use multiple PICS via SPI. My question is, what would be the best configuration for this setup? How would you split up these tasks to different PICS and what PICS would you use?
Also, the space where the LCD goes has limited space. A large circuit board will not fit. I may need to split the circuit up in a way that allows a smaller circuit to connect back to the main control circuit for the buttons/LCD screen. Would SPI be the correct way to do this?
Thanks for any input.
I could use some help deciding how to setup a new project I am working on. Any input on the selection of a PIC would be great also.
Requirements:
4 x button inputs (accept user input)
1 x LCD datasheet (display data)
2 x ADC Inputs (read sensors)
1 x Pulse counter (hardware interrupt on T1OSI) (count RPM)
2 x PWM output (control proportional valves. Flow data monitored by ADC Inputs above)
1 x USART (Tx & Rx)
2 x LEDs (Indicator lights)
Problems:
No PICs I have used will have enough IO to handle all this. With that in mind, I have decided to use multiple PICS via SPI. My question is, what would be the best configuration for this setup? How would you split up these tasks to different PICS and what PICS would you use?
Also, the space where the LCD goes has limited space. A large circuit board will not fit. I may need to split the circuit up in a way that allows a smaller circuit to connect back to the main control circuit for the buttons/LCD screen. Would SPI be the correct way to do this?
Thanks for any input.