- Tue Nov 13, 2018 2:03 pm
#79119
RichardS wrote:They are similar to early day PIC, 1K ROM, 64 bytes RAM.... yeah really.....
Way back when ... I had developed a prototype timer for a composting toilet. It had a single 7 segment led. Different letters or numbers depending on the current status. The decimal point indicated the state of the output.
A triac to turn on a 24 volt sprinkler. It had a thermistor to measure the temperature in the compost area. If the temperature got too hot due to a fire (really) the controller would turn on the sprinkler to help put it out. It had a single button for the user interface. For selecting the selected time intervals. Saved to eeprom. Short press or long press on the button would change interpretation of the input.
There was no A/D on the chip. Temperature was done by charging and discharging a cap, see how long it would take to see the digital transition. It would detect if the probe was either shorted or missing and put an error character on the 7 segment led.
It had a piezo buzzer. No crystal for the oscillator, just an RC oscillator. (prior to internal oscillators) Because the clock frequency varied, and the frequency response of the buzzer varied (not knowing where there would be peaks or dips in the sound output) I used the single 8 bit timer with a varying count in order to produce a warbling tone that would sweep a band covered by the piezo.
All of this done with the 512 location rom. (512 x 12 bits) Assembly language of course. I think it only had two levels (deep) for the stack, to calls maximum. It was one of my favorite designs. Doing so much with so little.
Richard, are these PMC150 available for purchase in small quantities?