Search found 157 matches
- Tue Feb 25, 2014 5:07 pm
- Forum: Flowcode V5
- Topic: Help With Temperature
- Replies: 12
- Views: 9128
Re: Help With Temperature
Thanks to this post: http://www.matrixmultimedia.com/mmforums/viewtopic.php?f=7&p=56523#p56523 I have it figured out and working. For those also building projects, do read other post, down load the included charts. It took me looking at 3 other examples before I understood how the LEFT and RIGHT com...
- Tue Feb 25, 2014 2:46 pm
- Forum: Flowcode V5
- Topic: Help With Temperature
- Replies: 12
- Views: 9128
Re: Help With Temperature
After reading more on floats, I think I will use the LEFT and RIGHT function to get the results I need. I am not sure how to set the ADC to read the 10 bit resolution (0-1023) or 0.004883 MV per step. Do I have to use the VREF pin of the PIC by connecting +5 volts to it, or is that done internally? ...
- Mon Feb 24, 2014 3:38 pm
- Forum: Flowcode V5
- Topic: Help With Temperature
- Replies: 12
- Views: 9128
Re: Help With Temperature
I am using the home student version. I read in other post where floats take up a lot of ROM, did not realize it was that memory hungry. May just leave it at whole numbers. Have attached what I have so far using whole numbers. It works great for Humidity. My temperature calculations are off. I have i...
- Mon Feb 24, 2014 5:05 am
- Forum: Flowcode V5
- Topic: Help With Temperature
- Replies: 12
- Views: 9128
Re: Help With Temperature
Guess I can not compile it to hex get the following errors FCD_ADC1_ADC_RAW_Average_Channel_Byte in: C:\Users\Bob-Notebook\Documents\FlowCode\newhum5.c FCD_ADC1_ADC_RAW_Average_Channel_Int in: C:\Users\Bob-Notebook\Documents\FlowCode\newhum5.c FCD_ADC1_ADC_RAW_Disable_Channel in: C:\Users\Bob-Notebo...
- Mon Feb 24, 2014 4:52 am
- Forum: Flowcode V5
- Topic: Help With Temperature
- Replies: 12
- Views: 9128
Help With Temperature
I am trying to display temperature in degrees Fahrenheit. I am using the following sensor : http://ww1.microchip.com/downloads/en/DeviceDoc/21942e.pdf I am also using a 16F1827 I am able to read the sensor no problem. I am using an example that John Crow (thanks John) had posted http://www.matrixmul...
- Thu Feb 20, 2014 3:55 pm
- Forum: Flowcode V5
- Topic: Speech Output
- Replies: 3
- Views: 4325
Re: Speech Output
Brandon and Ben, Thanks for the input. I also found this: http://electronic-4y.blogspot.com/2012/02/45-second-voice-recorder-module.html http://www.jaycar.com.au/productView.asp?ID=KC5454 Which is exactly the type of circuit I need. Can easily make a PIC control which message and when it is played b...
- Wed Feb 19, 2014 4:41 pm
- Forum: Flowcode V5
- Topic: Speech Output
- Replies: 3
- Views: 4325
Speech Output
I have been searching other post and do not see much information on speech output. I am toying with the idea for a project that will be able to output 1-2 spoken words if set criteria is met. I am looking at a 3-4 word library. I can easily handle the criteria part, but I do not know if there is a P...
- Mon Feb 17, 2014 5:22 pm
- Forum: Flowcode V5
- Topic: Project Control Humidifier
- Replies: 4
- Views: 4827
Re: Project Control Humidifier
Yes I will provide a list of the components I used. I had to use separate temperature and humidity sensors as I am measuring OUT door temperature but IN door Humidity. I purchased most of my items from MOUSER here in the USA Humidity sensor is a Honeywell 785-HIH-4010-001 http://www.mouser.com/Searc...
- Sun Feb 16, 2014 12:24 am
- Forum: Flowcode V5
- Topic: Project Control Humidifier
- Replies: 4
- Views: 4827
Re: Project Control Humidifier
TempHumid.jpg Been slowly building the actual board. Have every thing finished except an LCD display. Ones I had were bad, no wonder I got them for a dollar each. Here is a picture of the completed board. I used screw terminal connections for the AC in, the temperature probe , and the switched AC o...
- Sun Feb 09, 2014 10:44 pm
- Forum: Flowcode V5
- Topic: Feeling really Dumb
- Replies: 8
- Views: 5548
Re: Feeling really Dumb
Martin,
Thank You.
Helps if you also do not have the supplementary code box checked too......
The LED in question is also going to be used as an ON indicator from that pin.
Think I have just gone at it too long and got tunnel visioned.
All works as expected.
Thank You.
Helps if you also do not have the supplementary code box checked too......
The LED in question is also going to be used as an ON indicator from that pin.
Think I have just gone at it too long and got tunnel visioned.
All works as expected.
- Sun Feb 09, 2014 10:31 pm
- Forum: Flowcode V5
- Topic: Feeling really Dumb
- Replies: 8
- Views: 5548
Re: Feeling really Dumb
Yeah I saw that I did not change the clock to 8000000 right after I posted what I had.
Tried another PIC, even tried changing to output to Pin 10 (RB4)
Will take a coffee break and try again.
Tried another PIC, even tried changing to output to Pin 10 (RB4)
Will take a coffee break and try again.
- Sun Feb 09, 2014 10:12 pm
- Forum: Flowcode V5
- Topic: Feeling really Dumb
- Replies: 8
- Views: 5548
Re: Feeling really Dumb
Removed the pull down resistor.
Set osccon = 0x70; in a C code box at the very beginning.
Have "Auto clear watch dog" Unchecked.
Verified that the program was written to the pic.
I have another chip I am going to try.
So simple yet so hard !
Set osccon = 0x70; in a C code box at the very beginning.
Have "Auto clear watch dog" Unchecked.
Verified that the program was written to the pic.
I have another chip I am going to try.
So simple yet so hard !
- Sun Feb 09, 2014 9:42 pm
- Forum: Flowcode V5
- Topic: Feeling really Dumb
- Replies: 8
- Views: 5548
Re: Feeling really Dumb
Martin, Wow quick response. Thanks: Not using an external crystal. Only thing on the board is the PIC and the 5 pin programming plug. A single LED to Pin 3 (RA4) with a 100ohm dropping resistor and a 4.7K pull down resistor. I do have to LED correctly oriented polarity wise. Works when I apply direc...
- Sun Feb 09, 2014 6:50 pm
- Forum: Flowcode V5
- Topic: Feeling really Dumb
- Replies: 8
- Views: 5548
Feeling really Dumb
I am using a 16F1827 18 pin DIP I wrote a simple Blink LED to verify my programming set up. Works fine in simulator. PicKit3 will not program it (another issue all together) Used Pickit3 stand alone program to program the hex file the FC5 made. Programmed with success, verified, but program does not...
- Tue Feb 04, 2014 3:24 pm
- Forum: Flowcode V5
- Topic: Temperature ambiguity
- Replies: 5
- Views: 4231
Re: Temperature ambiguity
Have built most of the live circuit, had to order new LCD display, the ones I had are bad. I have been playing with it in the Simulator. I found about the best way to go it to have the program read and display the temperature and humidity all the time, and only have it run the decision trees every 3...
- Tue Feb 04, 2014 3:13 pm
- Forum: Flowcode V5
- Topic: Can't figure out how to break in/out of loop
- Replies: 4
- Views: 5296
Re: Can't figure out how to break in/out of loop
Ionize, I think you have too many loops, or loops that lead you no where: In your get_mesurments Macro you have several loops set as Loop While, these leave you trapped in the loops. You should either have them set to only loop a set number of times, or provide a way to go elsewhere in your program ...
- Mon Jan 27, 2014 3:52 pm
- Forum: Flowcode V5
- Topic: temperature calculations
- Replies: 6
- Views: 5165
Re: temperature calculations
Martin, I know my temperature/Humidity calculations will need to be cleaned up. The temperature probe will be mounted aprox 25' external to the board so wire resistance and such will play into the final numbers. I am still writing out my Yes/No trees on paper before I flowcode them. 13 of them so fa...
- Sun Jan 26, 2014 5:43 pm
- Forum: Flowcode V5
- Topic: Project Control Humidifier
- Replies: 4
- Views: 4827
Project Control Humidifier
This is a project in progress. I am posting this so it may help others with similar projects. Scope: Control a HVAC humidifier based on OUTSIDE air temperature and INSIDE HUMIDITY. Prevent moisture build up on windows and doors during the winter time from too much moisture in the air. Winter time he...
- Sun Jan 26, 2014 5:03 pm
- Forum: Flowcode V5
- Topic: temperature calculations
- Replies: 6
- Views: 5165
Re: temperature calculations
Martin, Thanks for the input. I know there are a few ways to go about it. Was just trying to avoid using a LUT. Yeah I am lazy that way. I am going to start a new thread and post my project as it goes along. I know watching the development of other peoples projects has helped me in the past. Have en...
- Sun Jan 26, 2014 2:17 pm
- Forum: Flowcode V5
- Topic: temperature calculations
- Replies: 6
- Views: 5165
Re: temperature calculations
I am using a Microchip MCP9701T-E/TT Data SHEET: http://www.mouser.com/ds/2/268/21942e-53364.pdf From the data sheet: temperature coefficients are scaled to provide a 1°C/bit resolution for an 8-bit ADC with a reference voltage of 2.5V and 5V, respectively • Wide Temperature Measurement Range: - -40...
- Sun Jan 26, 2014 5:52 am
- Forum: Flowcode V5
- Topic: temperature calculations
- Replies: 6
- Views: 5165
temperature calculations
I am using a thermistor into an ADC port for temperature. In most of the post I have read, most reference a LOOK UP table to compare the ADC value to displayed temperature. I have two variables Labeled "temp" = Byte (0-255), the second labeled "adjtemp" =integer (-32768 to 32767) Not having the actu...
- Fri Jan 24, 2014 5:39 pm
- Forum: Flowcode V5
- Topic: Temperature ambiguity
- Replies: 5
- Views: 4231
Re: Temperature ambiguity
Hey thanks for the ideas. Problem is not noise. Just simple dealing with the almost change in temperature. Have it working to just read inside temperature for right now but was noticing a flip flop between 72 F and 73 F. This was happening over a period of about 5 seconds and lasted several minutes ...
- Fri Jan 24, 2014 3:23 pm
- Forum: Flowcode V5
- Topic: Temperature ambiguity
- Replies: 5
- Views: 4231
Temperature ambiguity
I am trying to think of a way to stop the change in readings of a temperature probe. If the temperature changes from 20 F to 21 F and then back to 20 F quickly enough I will drive a relay crazy with the off on off of the quick temperature changes. I could put a delay in there so it would have time t...
- Tue Jan 21, 2014 4:02 pm
- Forum: Flowcode V5
- Topic: Temp/Humidity componants
- Replies: 2
- Views: 2802
Re: Temp/Humidity componants
Ben, Thanks for they reply. I had run across several post using that sensor. For my application the temp sensor will be out doors, and the humidity sensor in doors. I was looking at a resistance change type sensor http://www.elecrow.com/download/HR202%20Humidity%20Sensor.pdf So that I could just use...
- Sun Jan 19, 2014 5:18 am
- Forum: Flowcode V5
- Topic: Temp/Humidity componants
- Replies: 2
- Views: 2802
Temp/Humidity componants
I want to build a Outdoor temperature, indoor Humidity sensor/display to control my humidifier. Since what you set your humidifier to is based on out door temperature, the temp sensor will have to be external and remotely connected. I do plan on using a hard wire connection. Was thinking my old temp...