12-14-2022, 02:16 PM
(12-14-2022, 01:30 PM)david_uwi Wrote: I use microchips (extensive) range of microprocessors. The basic ones are 8-bit (who needs more than 8-bits?) and GCBasic only supports the 8-bit offerings anyway.
For the temperature clock project I used a PIC 16F18326 it has 2k of RAM and 16k for programs (ASM instruction). It can run at up to 32MHz clock, but on battery operation I like to keep it 1-8 MHz to conserve power. I was going to say they are cheap, but it appears that the price is now about £1:80* (that's inflation for you).
It also has ADC,PWM, I2C,SPI and EUSART (which is a fancy new name for serial).
It's a bit of a learning curve to get things to work, but it's well worth the effort.
*RS components - so you may get them cheaper elsewhere.
Great part of living in China is the chips you buy likely came from here in the first place. I can find them on Taobao (kinda like Amazon for China) for 5.5 RMB or maybe 60 or so pence (if I recall my UK lango right). I guess I will need to find an EPROM thingy to flash the chip as well? Never done hardware but if I can get paid by the school to do something I enjoy as a hobbyist (software programming at least) I am sure I can figure it out. I will download the GCBasic and check it out and look into buying a few things to play around with it. Do you have a recommended resource I can read up on or is it really reading the manual of the chip and figuring out how to make it play with other hardware nicely?
Thanks for your thoughts