T3STY
Full Member level 4
- Joined
- Apr 17, 2012
- Messages
- 239
- Helped
- 24
- Reputation
- 48
- Reaction score
- 24
- Trophy points
- 1,308
- Activity points
- 3,715
I have a project that I'm still figuring out the specifications, but a few base ones have been set.
I need a PIC that can receive a lot of external interrupts to control the status change of at least 7 rotary encoders with push button, which makes it 3x7=21 pins - so 21 external interrupts. In addition to this, the rotary encoders will have a bi-color LED (14 more pins) that should be controlled directly from the PIC. Probably bi-color encoders will cost a lot so I may give up and use single colored LEDs, but that's not the original idea. LEDs will be controlled only in their on/off status (digital) so analog control is totally optional. But I'm planning on using analog output if the rotary encoders will have single color LEDs.
Most important part, I need the PIC to communicate with a PC via USB, I'm still getting info on that (if you have some interesting links you may post them too, thanks), but that makes it another 2 pins. So, for now, a minimum of 36 separated I/O pins is required.
I have done some research on Microchip's PIC16 list and I found these the most interesting because of integrated osclillator and/or high speed operation (8MHz to 32MHz) and because of the number of I/O pins. Which one would you suggest me, and why?
**broken link removed**
**broken link removed**
**broken link removed**
**broken link removed**
**broken link removed**
Another question is about reducing the number of pins used on the PIC. I may use a LED driver to reduce the 14 bi-color LED pins to only 2 (serial communication). But can I somehow reduce the number of pins used on the rotary encoders and their push button? I'm thinking about some very small IC with 6 I/O pins that would read the pins statuses and then send them all-in-one with a serial communication to the PIC, and receive some info and turn on/off the LEDs. A part some PIC10/12 devices, do you have some very very cheap IC to suggest?
I need a PIC that can receive a lot of external interrupts to control the status change of at least 7 rotary encoders with push button, which makes it 3x7=21 pins - so 21 external interrupts. In addition to this, the rotary encoders will have a bi-color LED (14 more pins) that should be controlled directly from the PIC. Probably bi-color encoders will cost a lot so I may give up and use single colored LEDs, but that's not the original idea. LEDs will be controlled only in their on/off status (digital) so analog control is totally optional. But I'm planning on using analog output if the rotary encoders will have single color LEDs.
Most important part, I need the PIC to communicate with a PC via USB, I'm still getting info on that (if you have some interesting links you may post them too, thanks), but that makes it another 2 pins. So, for now, a minimum of 36 separated I/O pins is required.
I have done some research on Microchip's PIC16 list and I found these the most interesting because of integrated osclillator and/or high speed operation (8MHz to 32MHz) and because of the number of I/O pins. Which one would you suggest me, and why?
**broken link removed**
**broken link removed**
**broken link removed**
**broken link removed**
**broken link removed**
Another question is about reducing the number of pins used on the PIC. I may use a LED driver to reduce the 14 bi-color LED pins to only 2 (serial communication). But can I somehow reduce the number of pins used on the rotary encoders and their push button? I'm thinking about some very small IC with 6 I/O pins that would read the pins statuses and then send them all-in-one with a serial communication to the PIC, and receive some info and turn on/off the LEDs. A part some PIC10/12 devices, do you have some very very cheap IC to suggest?