element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
    About the element14 Community
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      •  Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Embedded and Microcontrollers
  • Technologies
  • More
Embedded and Microcontrollers
Embedded Forum Do you have a question on Embedded electronics and controls? Ask our Expert, Paul Clarke
  • Blog
  • Forum
  • Documents
  • Quiz
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Embedded and Microcontrollers to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 126 replies
  • Subscribers 508 subscribers
  • Views 10569 views
  • Users 0 members are here
  • skills
  • c
  • hvac
  • digital
  • engineer
  • expert
  • microprocessor
  • answer
  • control
  • thermal_management
  • embedded_system
  • embedded
  • thermal
  • electronics
  • paul_clarke
  • assembly
  • solutions
  • rac
  • software
  • develop
  • question
Related

Do you have a question on Embedded electronics and controls? Ask our Expert, Paul Clarke

pjclarke
pjclarke over 14 years ago

This thread has been closed to new questions.

However, we welcome you to Post Your Question about Embedded in the element14 Community Embedded group. You'll find many fellow members and experts who have just the answer you're looking to find! 

 

Thank You, Your Friends at element14 Community

image

Paul Clarke

Paul has 20+ years of working as a digital electronics engineer and has strong software skills in assembly and C for embedded systems. Currently developing embedded electronics for thermal management control solutions for the air movement industry (HVAC & RAC).




  • Sign in to reply
  • Cancel
  • pjclarke
    pjclarke over 14 years ago in reply to e14 Contributor
    Hi Irhorer,
     
    First off your project sounds great and nice to see people trying to do this at home.!
     
    Sounds like you have it working of sorts so far. Building controls are great fun and data is your friend here. While your solution sounds a little clunky it may actually be just as you need it. I like the sound of different limits for when someone is in the room. So I have some questions for you...
     
    I assume then the warm or cold air coming from the main air con unit goes to every room? Without dampers? I’m interested to know what happen if two rooms are asking for different things?
     
    Back to data – I’d be interested to see a log of temperatures and decisions, also a block diagram. Would help me understand it better before suggesting things to try.
     
    Hope that’s ok.
     
    Thanks
    Paul
     
    PS: I'm on Holiday for Christmas now, so apploigies in advance for slow answers to updates.
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • e14 Contributor
    e14 Contributor over 14 years ago in reply to pjclarke

    Actually, no, there are two air handlers, each servicing four rooms.  (There are actually more than 8 rooms, but these are the ony ones that are monitored.)  Each room makes the call to a specific air handler, but there is only one variable which controlls heating and cooling.  It's not very wise to run the heat on one and the AC on the other, as the heat from one set of rooms tends to leak generously into the others.  I also have dampers and booster fans in the system, but their operation is not relevant to the question of when to cool and when to heat.  They simply turn on or off as appropriate during the conditioning cycle, and that code is working perfectly well, as is the code which makes the calls for each room.  It is the decision point for cooling vs. heatig that is not working well.  When  the sun has gone down and the house is cooling, depending on the exact numbers I deploy into the working constants, the system may either switch to heating too soon, leaving some rooms overly warm (the heater does not come on, of course, but then neither does the AC because the system has switched to heating mode), or else the cooling cycle goes too long and some of the rooms get too cool, albeit passively.  The reverse is true when the temperature transitions from cool to hot outside.

     

    It may help you to take a look at the ststus screen from the thermostat programming utility.  You can view this at http://fletchergeek.homelinux.net.  You cannot see or manipulate the controls from your site (I haven't implemented logins, yet, and security is enabled), but it may give you an idea.  Ther is a little bug in the passive reporting that I need to stamp out. Your view does not show the correct occupied status.

     

    Here is the live schedule matrix:

     

    01 08 16 45 01 75 86 55
    02 07 00 00 00 75 86 55
    03 08 02 30 00 76 83 55
    04 07 02 00 01 75 85 55
    05 07 00 00 00 74 85 55
    06 08 12 30 00 78 83 55
    07 08 02 30 00 77 85 55
    08 07 00 00 00 77 85 55

     

    The fields are: Sensor number, Schedule area ( Sun, Mon, Tue,...Sat, Weekdays, Daily, Now), Hour, Minute, Occupied (1=yes), Target, Maximum, Minimum.  This data is fed from a master schedule which determines when the temperatures change and when the rooms become unoccupied.

     

    I understand perfectly well about the holidays.  I am in the same boat myself, so don't be surprised if it takes several days for me to respond.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • e14 Contributor
    e14 Contributor over 14 years ago in reply to e14 Contributor

    Hi Paul,

     

    Was my question beneath you or something?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • pjclarke
    pjclarke over 14 years ago in reply to e14 Contributor

    As you had a answer or sorts then I guessed you were moving forward.

     

    To be totaly honest I would not have gone about this at all. However I'm a embeded electroincs engineer so have little transmsstion experiance - and these distances count as that.

     

    I would have put it over RS485 which can handel the SNR at this distance, but maybe not the data rate. Optics is another option but costly, What about over a network, VPN or even RF? but how would you get the DC voltages there?

     

    Your question is not beneath me, just not maybe my expert area I'm not one to just cast option on things I'm not 100% on.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • e14 Contributor
    e14 Contributor over 14 years ago in reply to pjclarke

    If I may be so bold, it happens I am a qualified expert on transmission systems, so I hope I am not out of line if I interject something.  If this is a commercial or industrial application, fiber is really not that expensive.  If this is for a personal project, it's a little different matter, but even then it is not all that far beyond the pale.  Non-plenum duplex fiber cable can be purchsed retail in lengths of 5000ft or longer for about $0.30 a foot.  Of course that means one will have to splice up to 5 reals together.  At this rate, 25Kft will cost about $7500.  Of course this is more expensive than coax, but not hideously so.  I would not attempt to supply power to the end terminmation remotely.  Rather, I would obtain a local source of power, even if it has to be solar.  Ethernet media converters can be had foir under $200 each, and there are standard devices available to convert from analog to digital signals and back.  For more in-depth analysis, I would need more details of the exact nature of the signals.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • e14 Contributor
    e14 Contributor over 14 years ago

    Hi Paul,

    I had posted this in Experts Exchange but I think this is a better venue for the question and I am hoping you can help:

    I have a device that appends data  to a csv file on a compactflash card every 60 seconda.  Since I have no way of changing the device that is doing the logging, I am looking for  a way to either have the data wirelessly pushed by the cf card like  eye-fi does for sd or be able to mount the card wirelesly to read the  csv file.  I was thinking that using cf to sd adapter with eye-fi might  work or possibly use an arduino module to read and transmit the data.   Am I on the right track or is there a better way to solve this?

     

     

    TIA,

    John

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • e14 Contributor
    e14 Contributor over 14 years ago

    Hi Sir I am a biginer in embedded software development I can not translate the C program to hex program with Kiel microvisio soft ware please help

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • spec2012
    spec2012 over 14 years ago

    Paul, I already a H-bridge temperature controller that I want to replace with a MCU.

    It's been awhile since I used the latest microcontrollers (MCUs) available on the open market.
    These usually have their own developmental boards with an IDE software, etc.
    I used Zilog's Z8 microcontroller back in the 90's.
    I realize that the majority of EEs prefer these 3 candidates:
    1) Atmel AVR
    2) Microchip PIC
    3) TI MSP430 (low-powered)

    It's been awhile since I used the latest microcontrollers (MCUs) available on the open market.

    These usually have their own developmental boards with an IDE software, etc.

    I used Zilog's Z8 microcontroller back in the 90's.

     

    I realize that the majority of EEs prefer these 3 candidates:

    1) Atmel AVR

    2) Microchip PIC

    3) TI MSP430 (low-powered)

    My app is to provide 2 pairs of PWM signals (non-inverting and inverting), with adjustable duty cycles, to drive a H-bridge controller configuration.
    I need to replace a motor controller IC along with various components and provide logic to drive an LED display (RPM, etc).
    I already have an analog version of what I need replaced. Just need someone to show me the correct MCU to use for this app I have. I'm also need low power since this requires battery power.
    I'm a RF engineer but need someone that has experience with using MCUs.
    Arduino, or Parallex development boards?
    Maybe a custom made ASIC (via an Altera FPGA) might be the best route?
    Best Regards,
    Frank

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • e14 Contributor
    e14 Contributor over 14 years ago in reply to spec2012

    You may want to take a look at this application note from Microchip.  Sensored BLDC Motor Control Using dsPIC30F2010

     

    also dsPIC30F2010  and  The dsPICDEMTm MCLV Development Board provides a cost-effective method of  evaluating and developing sensored or sensorless brushless DC (BLDC)  and Permanent Magnet Synchronous motor control applications.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • spec2012
    spec2012 over 14 years ago in reply to e14 Contributor

    Extreme Gratitude...I will follow up on this.

     

    Frank

    /*********************/

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
<>
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2026 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube