Hi--
I had a stack of conrad valveheads but on the raspberry pi forum i was pointed to that the HR20 might be a better pick since it has a connector for serial comms
since yesterday i have been trying to figure out this
1) how to compile in windows, was hoping for a gui based tool that could also upload/flash
2) are there examples on how to transmit over serial line? i just need to send target temp and get temp messure by the hr20
2a) can a window contact be fitted and what happens when i open the window? will it stop heating?
i was also pointed to this post: https://embdev.net/topic/118781?page=2#2987345
but i would still need to figure out how to compile and how to command the HR20 over serial, as this post https://www.raspberrypi.org/forums/viewtopic.php?f=37&t=259794&p=1583239#p1583180 says there are 2 versions the org and the one in the zip, the org uses a radio module and the poster on the pi forum is right that i want his version that uses the build in serial port
so things are narrowed down much, now i just need to figure out how to compile and will try avrfreaks next,
but if any windows people is here let me know
You received this message because you are subscribed to the Google Groups "OpenHR20 Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openhr20-develop...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openhr20-development/6b89f325-d341-4a65-9774-31901b9558b2%40googlegroups.com.
make HW_WINDOW_DETECTION=1 RFM=0
?
https://github.com/OpenHR20/OpenHR20/blob/master/rfmsrc/readme.txt mentions thermotronic HW, what is that?
so the make command should be:
make HW_WINDOW_DETECTION=1 RFM=0?
Yes, that looks ok. As long as you enable the RS_232 in config.h
:-).
https://github.com/OpenHR20/OpenHR20/blob/master/rfmsrc/readme.txt mentions thermotronic HW, what is that?
Thermotronic is probably the oldest of the regulators supported by this project: https://www.mikrocontroller.net/attachment/346173/B_1a.JPG.
Tomas
starting to learn a bit
looked at the make file and from what i see it will output files to the bin folder, i assume that is where the file to flash goes
Correct. Should be named after the target. There is also "make program" target for flashing, but check the settings in the makefile first (fuses, programmer type etc.)
Tomas
i did try and run make HW_WINDOW_DETECTION=1 RFM=0 no new files in OpenHR20/rfmsrc/bin/ but i got a .bin and .elf in OpenHR20/rfmsrc/OpenHR20 folder did i do something wrong?
Depends, where you run the command :-). If in top level dir (OpenHR20/rfmsrc), the result should go to bin. In your case, I would use this folder and call "make HR20_original_hww" which should match your configuration. Result is in bin/HR20_original_hww.
Compiling within the OpenHR20 folder is also supported, but meant
more for development compilation, so the results are left there as
well (but the binary should be the same)
output from the compile: https://pastebin.com/Ag4FQ8ME
is the compile_hr20.sh script a better choice? but i guess i have to change something in there to make it compile without rfm but with window sensor
compile_hr20.sh script is a recent addition, should work as well,
but I don't have personally much experience with it. Looking at it
now, I think for radio-less build, you would have to modify it a
bit...
Tomas