328 Skinny
Aim
To build a 328 that has a skinny profile and not many pins, just enough for the project that I'm working on and maybe a few more. Want it to be small and to have i2c communication. note - i2c doesn't work so well on atTiny with mega (well as far as I can tell) and also 328 gives more options moving forward at the cost of it being more complicated.
PWM pin
I want to be able to change the pwm pins but from previous experience this changes the the frequencies to some of these effects delay, milli and servo library. So choosing the right pins would be good, although not essential for this project.
http://playground.arduino.cc/Code/PwmFrequency, talks about what pins are tied together:
* PWM frequencies are tied together in pairs of pins. If one in a
* pair is changed, the other is also changed to match:
* - Pins 5 and 6 are paired on timer0
* - Pins 9 and 10 are paired on timer1
* - Pins 3 and 11 are paired on timer2
and here are the side effects:
* Note that this function will have side effects on anything else
* that uses timers:
* - Changes on pins 3, 5, 6, or 11 may cause the delay() and
* millis() functions to stop working. Other timing-related
* functions may also be affected.
* - Changes on pins 9 or 10 will cause the Servo library to function
* incorrectly.
so either way its not going to be perfect because I was wanting both to work,. So lets forget this issue for now, for this project I don't need to think about it. Lets say we either want servo or not, so best choice is pins9 and 10, which map to PB1 and PB2.
Idea
I don't need to solder all the pins of the 329 to the board, this is going to give me more room to work, but it would be good to try.
To build a 328 that has a skinny profile and not many pins, just enough for the project that I'm working on and maybe a few more. Want it to be small and to have i2c communication. note - i2c doesn't work so well on atTiny with mega (well as far as I can tell) and also 328 gives more options moving forward at the cost of it being more complicated.
PWM pin
I want to be able to change the pwm pins but from previous experience this changes the the frequencies to some of these effects delay, milli and servo library. So choosing the right pins would be good, although not essential for this project.
http://playground.arduino.cc/Code/PwmFrequency, talks about what pins are tied together:
* PWM frequencies are tied together in pairs of pins. If one in a
* pair is changed, the other is also changed to match:
* - Pins 5 and 6 are paired on timer0
* - Pins 9 and 10 are paired on timer1
* - Pins 3 and 11 are paired on timer2
and here are the side effects:
* Note that this function will have side effects on anything else
* that uses timers:
* - Changes on pins 3, 5, 6, or 11 may cause the delay() and
* millis() functions to stop working. Other timing-related
* functions may also be affected.
* - Changes on pins 9 or 10 will cause the Servo library to function
* incorrectly.
so either way its not going to be perfect because I was wanting both to work,. So lets forget this issue for now, for this project I don't need to think about it. Lets say we either want servo or not, so best choice is pins9 and 10, which map to PB1 and PB2.
Idea
I don't need to solder all the pins of the 329 to the board, this is going to give me more room to work, but it would be good to try.