Hey guys and ladies. Uhm....I know all the smart people hang out here. Can someone answer a question. I wrote a sketch and it is on my arduino uno. which has a 328p-pu chip. It works. I have some left over 328's but can't read the lettering on top and don't know if they are 328-328P-or 328P-PU. Is there any reason that either of the three won't work with my sketch? I think they are 328's, I used them in other projects. But might there be something different about them, cause it ain't working. Thanks Ya'll
WELL apparently it has something to do with picco power. After more research it appears there is a difference. In that the "P" is a lower power consumption, which might explain why it isn't working as I thought it would. As I am using POWER_DOWN _MODE in my project. A confirmation would be appreciated. Thanks, Fred
Thank you, I READ IT, unfortunately I have what is called "chemo brain", yes it is real. I will try to adhere more closely to topic rules and recommendations. Thank you for your support. Now, is there actually the possibility that an OLD 328 would not be able to handle the low power library that the 328P-PU is possible of assimilating with? My research leads me to believe that, that might be a possibility?
In the DIP package, there are 2 different 328 processors. The 328P and the 328 (with no P). To bootload and ICSP program the non-P chips use the MiniCore core. Installation instructions are on the linked page.
Hi, I did that and got "expected a 328P" error. My uno uses a 328P-PU chip. And it works, the others I have are unknown. They are old, used in former projects. They could be 328. (no P). I have checked and 100X checked my wiring and it doesn't perform like when I use the UNO. Thanks. Fred
Used the minicore, but when I tried to boot load it said "expected a 328P" So I am left wondering if an OLD 328, wouldn't handle the same instructions as a 328P-PU.
Apparently, according to my reading the P-PU is designed for LOW POWER applications. Of course I could be totally wrong......
No I did not. If it matters? it was already boot loaded as I have used it for other projects. I can't remember if it came boot loaded or I or someone else did it for me. It will upload the code without issues. It just doesn't run as expected. In fact it doesn't run at all. I have checked and checked and checked all the wiring, pins and resistors (values) GNDS. I did find 2 bad solder joints but corrected those. Even uploaded a blinky sketch while on the bread board and it worked. Just frustrating after all the hours spent putting it together. Though it isn't the first time my first try at a new project didn't work. These 328's I have came from 3 projects (all the same) I built the boards and had someone else program it. Is there a possibility that he may have boot loaded it in a manner that might not be compatible with my current program even though it will load without issues? Both projects are bare bones with a 16MHz crystal and caps. Thanks
I believe that Nick Gammon's bare bones and Arduino as ISP programmer projects read and report the processor ID of an ATmega-type processor. That will identify it.
Hello Bob, The sketch works fine when run from the UNO. The 328P-PU. Everything performs as instructed. This is while it is on the bread board. If you believe it would be helpful, I can post it.
All I have to work with is my UNO's. I'll take a look at Gammons link.
There is no reason that a sketch written for 328P wouldn't work on a 328, unless you are using software to disable the brownout detect circuit (maybe some low-power libraries?) That seems to be the only difference.
Please post your sketch as it can do no harm to see what you are doing
When you change the physical chip how are you doing it ? Are you taking the original chip out of the Uno and replacing it with the other one or are you using 2 different sets of hardware ?
Yep, that might be the issue I previously mentioned as the P-PU is designed from my understanding to be for low power and perhaps the plain jane 328 can't handle it. Something to do with Picco ??? I can't remember at the moment. However, for some reason I now get an ERROR about the WDT. Not defined. When I compile which is new. I'll post it in a minute, maybe someone can see the problem.