07-16-14, 01:26 AM | #121 |
Supreme EcoRenovator
Join Date: Mar 2009
Location: Portland, OR
Posts: 4,004
Thanks: 303
Thanked 724 Times in 534 Posts
|
Flash From The Past...
* Flash From The Past *
I ran into a post on the 'Manifesto' thread where a Norwegian EcoRenovator posted a quick Arduino sketch for a heat pump controller. The poster's name is Ko_deZ and the sketch is HERE. Best, -AC
__________________
I'm not an HVAC technician. In fact, I'm barely even a hacker... |
07-16-14, 05:16 AM | #122 | |
Helper EcoRenovator
Join Date: Jul 2014
Location: Hungary
Posts: 34
Thanks: 0
Thanked 16 Times in 10 Posts
|
Quote:
Here is an example: http://www.emersonclimate.com/europe...PS3__35003.pdf http://www.emersonclimate.com/europe...N_PS1-2_TB.pdf On e-bay some: alco ps3 | eBay Measuring temperature and conclude to pressure from temp is no-go if safety is a concern. T. |
|
07-16-14, 05:32 AM | #123 |
Helper EcoRenovator
Join Date: Jul 2014
Location: Hungary
Posts: 34
Thanks: 0
Thanked 16 Times in 10 Posts
|
You have on the UNO one serial port connected to USB converter. When you plug it to computer, it appears like a serial port. A simple terminal sw(built into arduino or an external one) can be used as text display and your keyboard as input device to arduino.
To handle it from controller side is easy. Look into examples->communication-Serialcallresponse. in Arduiono IDE. Serial.* functions doing the trick. You can connect to Arduino serial port (those are exposed to pin header)a bluetooth module if you don't like wires. You can establish and use serial connection via bluetooth to arduino same way like you would connect via USB. here is a module as example: JY-MCU Bluetooth Wireless Serial Port Module for Arduino (Works with Official Arduino Boards) - Free Shipping - DealExtreme In this post, I described to Jeff5may my menu system to setup the controller: http://ecorenovator.org/forum/39098-post5.html T. |
07-16-14, 02:29 PM | #124 | |
Supreme EcoRenovator
Join Date: Mar 2009
Location: Portland, OR
Posts: 4,004
Thanks: 303
Thanked 724 Times in 534 Posts
|
Quote:
This sounds like an interesting idea hardware-wise. If I am envisioning it correctly, it would offer a user the option of using the USB output as a serial terminal for uploading sketches and also for monitoring output. (* ALSO *) It would allow the user who might already own a $300+ tablet that has bluetooth to add the USB > Bluetooth adapter such as you linked to, in order to run an advanced user interface. I don't think we want the requirement of owning a $300 tablet to be a barrier to being able to build, program, run and modify a General Purpose Controller. I think we want to keep our target audience as large as possible. There must be a way that opting for the bluetooth/tablet interface could be easily accomplished, with regard to including the required code and libraries, etc. One question, if you do have tthe bluetooth dongle installed, can you also easily revert to USB/keyboard + monitor if you wish to? Best, -AC
__________________
I'm not an HVAC technician. In fact, I'm barely even a hacker... Last edited by AC_Hacker; 07-16-14 at 02:35 PM.. |
|
07-16-14, 04:54 PM | #125 |
Supreme EcoRenovator
|
I'm still working on this sketch, and most of it actually works! It has an LCD driven menu where you will be able to set functions, modes, etc. When not in the menu, it will display the current mode and status. I left serial pins open on D0, D1 to communicate that way.
As far as comms go with the arduino, you can hook up just about anything to a dev board as long as you use the right pins. With the smaller boards, creativity and luck is needed to make it do what you want. For me, this is part of the appeal of this project. Sure, I could go buy something elaborate and do it easy. But what fun is that? I'm not at work! As far as safety is concerned, I would never completely trust an embedded device for anything critical. The rig you put this in should have its own fail-safe built into it as a cardinal rule. If it absolutely must work or else, you should probably go get something that has passed multiple testing methods and has a diploma already. This one might not solve all of your problems, and may end up causing new problems instead. Last edited by jeff5may; 07-16-14 at 05:03 PM.. |
The Following User Says Thank You to jeff5may For This Useful Post: | ICanHas (08-15-14) |
07-16-14, 07:56 PM | #126 | ||
Supreme EcoRenovator
Join Date: Mar 2009
Location: Portland, OR
Posts: 4,004
Thanks: 303
Thanked 724 Times in 534 Posts
|
Quote:
Quote:
That's the thing about open source, if you make the hardware and software public, bright minds will find ways to make it even better. -AC
__________________
I'm not an HVAC technician. In fact, I'm barely even a hacker... |
||
07-16-14, 09:58 PM | #127 | |
Supreme EcoRenovator
Join Date: Oct 2008
Location: Austin, TX
Posts: 1,154
Thanks: 14
Thanked 257 Times in 241 Posts
|
Quote:
__________________
To my surprise, shortly after Naomi Wu gave me a bit of fame for making good use of solar power, Allie Moore got really jealous of her... |
|
07-21-14, 02:14 PM | #128 | |
Supreme EcoRenovator
Join Date: Mar 2009
Location: Portland, OR
Posts: 4,004
Thanks: 303
Thanked 724 Times in 534 Posts
|
Quote:
Best, -AC
__________________
I'm not an HVAC technician. In fact, I'm barely even a hacker... |
|
07-23-14, 09:45 AM | #129 |
Apprentice EcoRenovator
Join Date: Mar 2013
Location: UK
Posts: 131
Thanks: 13
Thanked 35 Times in 32 Posts
|
Just received 5 of these.
5Pcs IIC/I2C Serial Interface Board Module For Arduino LCD1602 LCD2004 Display | eBay Solder them to the 16 pin header on a standard 1602 of 2004 LCD and use I2C to wright to the LCD using only SCL and SCA (A4 & A5 on uno). Quick test and they work great with the correct library, found here: http://arduino-info.wikispaces.com/LCD-Blue-I2C#v3 As they are addressable you can have 8 of these connected and still use the same pins for other I2C peripherals. The ones i bought are just the interface board but they are available pre-soldered to the LCD Had been put off using serial LCD's in the past as they sometimes use a completely different command set to direct connected LCD's. As far as i can see from a quick test these use exactly the same syntax as a normal LCD and you can even control the backlight (on/off) via software with no extra pins. Steve |
The Following User Says Thank You to Ormston For This Useful Post: | AC_Hacker (07-23-14) |
07-23-14, 12:01 PM | #130 | |
Supreme EcoRenovator
Join Date: Mar 2009
Location: Portland, OR
Posts: 4,004
Thanks: 303
Thanked 724 Times in 534 Posts
|
Quote:
Thanks for locating a proper library, that will come in very handy. Let us know how your application of this I2C module progresses. I considered using this approach on my CO2 controller, but I had mine working before I could order this module. I like the idea of I2C, as it used fewer pins, if pins scarcity becomes an issue. Seems to me that if memory space is sufficient, and available pins are scarce, I2C is the way to go. On the other hand, if pins are abundant, and memory is scarce, driving the LCD directly could be the best option. When communicating with the LCD, via I2C, you need to include the LCD library and also the I2C library, right?? Thanks for sharing... Best, -AC
__________________
I'm not an HVAC technician. In fact, I'm barely even a hacker... Last edited by AC_Hacker; 07-23-14 at 12:08 PM.. |
|
|
|