![Cool 8)](./images/smilies/icon_cool.gif)
Bill
Funny you should mention this application as it is how I got into PIC in the first place. I didn't know about the F version so I used the LM35 but after hacking away and even with the help of a very experienced PIC programmer we ended up using a 12f675 as a comparator for the fan control and then LM2903's for the heat controllers. They could have been combined into one but I was in a hurry for the fan so I did it the easy way.Bill Felker wrote:I am looking to make a greenhouse environmental controller and am thinking of using a PIC and was wondering if anyone has had experience with LM34 temp sensor (Fahrenheit readings) Also looking for a humidity sensor. Any help with experiences with this would be greatly appreciated .![]()
Bill
Hi Jack here is a quick and easy that I did to establish some of my concepts. I am using the ADC knob as a temp sensor and the LCD to record my ADC reading and my temp conversion. I did it to play with flowcode 6 and do not know if it is portable to lower flowcodes.K9ACT wrote:Funny you should mention this application as it is how I got into PIC in the first place. I didn't know about the F version so I used the LM35 but after hacking away and even with the help of a very experienced PIC programmer we ended up using a 12f675 as a comparator for the fan control and then LM2903's for the heat controllers. They could have been combined into one but I was in a hurry for the fan so I did it the easy way.Bill Felker wrote:I am looking to make a greenhouse environmental controller and am thinking of using a PIC and was wondering if anyone has had experience with LM34 temp sensor (Fahrenheit readings) Also looking for a humidity sensor. Any help with experiences with this would be greatly appreciated .![]()
Bill
I would like to use a PIC with an LCD for this but I need to learn to program first as nothing seems to fall out of the sky for me on this and my friend is getting weary of doing all the work.
Have you come up with anything yet?
Jack
I believe that's a bit harsh Jack, as the people you're calling "idiots" are trying to help you.K9ACT wrote:I have come to the conclusion more recently that the idiots are the ones trying to explain how to use the programs and not the users.
My apologies to the group if it was taken as referring to them. I was referring to the packaged information "out there" that is supposed to teach beginners how to program. I have purchased books and spent countless hours on the net trying to understand how to program pics using asm, C and not flowcode but I still can seem to get off the ground. The blinking led I referred to in another posting is the first thing I have ever done on my own but I can't take it any farther because of a lack of foundation and beginners information.medelec35 wrote: I believe that's a bit harsh Jack, as the people your calling "idiots" are trying to help you.
Many of those people e.g VC members and other forum users give up their free time to help as we are not employed By Matrix.
OK nicely done Martin. Now how would you go to 1 decimal like say 86.3º F ?medelec35 wrote:I have created a flowchart (with Flowcode V5) to display Fahrenheit and Celsius using LM34
Its untested so hope it works.
I have left both readings of Fahrenheit and Celsius on the LCD, so you can edit flowchart as you see fit. Martin
I have been using pics for a while, i remember the early days trying to learn ASM , the only bit of ASM i ever got a grasp of was doing my c&g 224 had to programme a z80 to count if i remember correctly, hated Asm ever sinceBill Felker wrote:WOW, once again the membership here has taken a concept and shown way to go to make it a reality. This site is way better than the manufactures sites which deal with customers as tho they are all engineers. Love the ideas for this sensor use and the examples are great.
Yup love it here too
And Jack ,don't be so hard on everyone.I am an electronics guy who did maintenance in the semiconductor industry for 25 years. So I started with a little knowledge on programming, I was versed on the early basic and had a course in "C" in the early 90's .
Said above about c i look at the c files and flowcharts as you can grasp a lot by working what does wha, tAs for learning flowcode we all had to start fresh at one point in time i can remember getting very frustrated trying to make a button do two things, worked on it for days and asked for help on here ,i was blown away as 2 very different solutions appeared, almost immediately, another tip is if you want to see what a component does, simply select it and then click on help and a page appears with the basics. I was lucky enough to beta test along with others, i also have visited Matrix and believe me even under pressure the Matrix Team are always enthusiastic about the product,and make time to visit the forums several times a day(also Matrix staff visit the forum off the clock in the evenings, goes to show how much they are behind the product), and will listen to users, how many software houses are like thatBill Felker wrote:So I am NO expert but what they have accomplished here with flowcode is amazing and it will help you understand "C" better as you go along.As far as the PIC line of micro-controllers it is as good as the next and they do have customer support if you are having some problems. I guess the question you need to ask yourself is were are you lacking in knowledge on this subject and how can you gain this info in a way that is useful to helping you. As for a beginner in my opinion there is no better way to program a project than flowcode (unpaid endorsement)
Bill Felker wrote: I have been brought back into electronics because of the chance of coming across a pic controller at work and being told to ignore it because I did not have the knowledge to understand the design or programming of it. By the way that was the gauntlet and I not only learned how it worked I also with flowcode help wrote a program to make it work a little better.
Bill
Attached is a flowchart that displays to 1 decimal: If you want the accuracy, then either floats or a different sensor that has a digital output should be used instead.Bill Felker wrote:OK nicely done Martin. Now how would you go to 1 decimal like say 86.3º F ?
After uploading it I tried to simulate it in flowcode 5 and the LCD shows no data.medelec35 wrote:Hi Bill,Attached is a flowchart that displays to 1 decimal: If you want the accuracy, then either floats or a different sensor that has a digital output should be used instead.Bill Felker wrote:OK nicely done Martin. Now how would you go to 1 decimal like say 86.3º F ?
Just had a thought, What about this:
http://www.matrixmultimedia.com/mmforum ... 55&#p42394
I know its not the LM34, but it may just what your looking for?
Martin
Oops sorry, I have left a breakpoint set (Red dot), and simulation stops at every breakpoint that's encountered: Just right click on the Icon that's got a red dot, and select Toggle breakpoint to removed it from the calculation box.Bill Felker wrote:After uploading it I tried to simulate it in flowcode 5 and the LCD shows no data.![]()
Sorry had a look and not got much spare myself.Bill Felker wrote:now all I need is some spare time, anyone have some? LOL