[time-nuts] Lady heather on a Raspberry pi

Ken bats059 at gmail.com
Sat Nov 10 00:41:42 UTC 2018


Thanks Mark- as soon as I read your reply the answer hit me- all I need to do is break out 
dtr & rts from the usb to serial adapter I am already using- I must be getting slow in my 
old age!

I can put a small hole in the t'bolts lid to bring out a couple of wires from the db9 to a 
small driver board- too easy.

On 2018-11-09 17:13, Mark Sims wrote:
> Lady Heather uses the DTR and RTS modem control signals to control the fan.  If you are using a USB-Serial converter the code should work as-is.  Heather does not have any code specific to a particular type of hardware (such as the PI).
> 
> If you are using the PI GPIO serial port, you would need to modify the program to manipulate some GPIO pins.   This is probably best done in the functions SetDtrLine() and SetRtsLIne() in the heather.cpp file... there are Windows and Linux versions of these routines.
> 
> The functions apply_heat() and apply_cool() and hold_temp() in heathmsc.cpp could also be modified.  There is also some code to use a parallel port to control the fan, but that is rather Windows/DOS specific.  It could be modified for Linux.
> _______________________________________________
> time-nuts mailing list -- time-nuts at lists.febo.com
> To unsubscribe, go to http://lists.febo.com/mailman/listinfo/time-nuts_lists.febo.com
> and follow the instructions there.
> 

-- 
Cheers, Ken
bats059 at gmail.com

'It seems hard to sneak a look at God's cards. But that He plays dice and uses
"telepathic" methods .... is something that I cannot believe for a single
moment.'     (Einstein's famous quote on Quantum theory)

---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus





More information about the Time-nuts_lists.febo.com mailing list