After some struggling around I have now successfully created my first small program in HI-TIDE. I had missed I was looking into the pic1267x.h file when finding defs for my code. The program I tried to compile was the simple debouncer example from the PICkit FLash Starter Kit though it was not specifically written for the 12F675 which I have here. Thus I had to change some of the defs used, e.g. RA5 to GPIO5. I got help from the HI-TIDE Forum that I should look in pic12f6x.h instead which made it much easier to get it to compile:-)
Also solved the powersupply issue. Just take a 220V USB charger, gives a nice 5V with 500 mA!
Well,
Did you get anywhere closer to monitor your coffee machine?
I am thinking about tweaking mine, as there are a couple of annoying steps I’ve got to take every morning.
1) Turn on the box
2) Wait until the water heater is up to speed (25 seconds waiting)
3) Run the cleaning program (20 seconds)
What I would like to do, is to automatically turn on the machine at a certain time in the morning, if certain criterias are met (like, I am home and it is a week day), and have it ready to pop a coffee shot at will.
For this I would have to send a signal to two different buttons on the machine, and monitor one LED output (basic operations), perhaps monitor 4 LED outputs.
Good luck with your project!
//magnus
Well,
Did you get anywhere closer to monitor your coffee machine?
I am thinking about tweaking mine, as there are a couple of annoying steps I’ve got to take every morning.
1) Turn on the box
2) Wait until the water heater is up to speed (25 seconds waiting)
3) Run the cleaning program (20 seconds)
What I would like to do, is to automatically turn on the machine at a certain time in the morning, if certain criterias are met (like, I am home and it is a week day), and have it ready to pop a coffee shot at will.
For this I would have to send a signal to two different buttons on the machine, and monitor one LED output (basic operations), perhaps monitor 4 LED outputs.
Good luck with your project!
//magnus
Hi,
I started out but the memory on the pic was a bit too limited to fit it all in one go so that stalled me a bit, then I tried to just get the serial communication working and it didn’t and I gave up for time being. Haven’t had that much time to put into it lately either… but maybe later this autumn or we meet up some weekend and have a small espresso workshop:-)
/Kalle
Hi,
I started out but the memory on the pic was a bit too limited to fit it all in one go so that stalled me a bit, then I tried to just get the serial communication working and it didn’t and I gave up for time being. Haven’t had that much time to put into it lately either… but maybe later this autumn or we meet up some weekend and have a small espresso workshop:-)
/Kalle