I’m toying with the idea of making a PCB layout for a PIC control board.
If other folks here might be interested in buying one or more of the boards, then it reduces the cost for everybody.
Just brainstorming, here are some thoughts:
- It would NOT be a “be-all” robot control board, but it would have several features that (in my opinion) are very useful.
- It would also serve as a “demo board” for general PIC stuff.
- I would do the layout and fab via ExpressPCB.
- The main CPU would be a 40-pin PIC, such as an 18F4620 (several others would work with the same basic pin-out).
- It would include a “co-processor” based on a dsPIC30F chip. This could be a 28-pin skinny-DIP, or a 40-pin (which is best?). The dsPIC series are higher-end PICs that include a “digital signal processor” engine in them, which means they’re good at number-crunching. My thought is that the main PIC would talk to the PIC30 via either I2C or SPI. The main guy would ‘offload’ some compute-intensive stuff to the other guy. The other guy could also be used as a source for extra I/O pins. If you don’t care about the dsPIC stuff, just leave it off the board.
- Both PICs would run from discrete-crystal clocks, for good accuracy and low power consumption.
- The board would include several MOSFET switches, to give SW power control over other boards. For example, one switch controls power to your SSC-32, another controls some sensors, etc. It would NOT be intended for high-current devices such as motors (that’s what motor-control boards are for).
- The board layout might include support for some basic sensors, such as temperature, ambient light, etc. I’m thinking that this area should be kept to a minimum, because everyone has different sensor needs, and I don’t want to deal with 10 different sensor types.
- Having good I/O options is a priority. In particular, enough serial ports (for connecting to things like SSC-32’s), plus I2C for sure, and probably SPI support. This area needs more thought. Would it make more sense to change the dsPIC to a regular PIC, and make it a dedicated I/O processor?
- The layout will include a spot for those small transmitter and receiver modules, and the option to hook a PIC serial port up to them.
- On-board voltage regulation, with protection for reverse-voltage.
- A place for an ICSP connector (for programming the main PIC). What about the other PIC?
- A couple of buttons and LEDs.
- Some prototyping area (just a grid of holes on 0.1" centers).
- Support for 0.1" headers for all PIC I/O pins that make sense.
What else??
Pete
Well, you did say brainstorming… More I/O is better.
If I had known this when I bought it, I would have passed as it is a rather expensive charger. So, all I have is the charger that came with the 7.2V packs I got for my RC Hummer and I don’t know if I can safely use this to charge 6V packs or not.
).
If I do this project, I will gladly share the code that I would use myself, which would include some standard I/O functionality and I2C and such.
