Search found 46 matches

Return

by JohnCrow
Sat Mar 14, 2015 9:44 am
Jump to forum
Jump to topic

Re: Flowcode v6.1.1

Hi Ted I'm not familiar with that display, but to work in flowcode the display must have a Hitachi HD44780 or Samsung KS0066U controller chip or equivalent (the same controller as used in the e-block display). Flowcode works with a large range of device not just the PIC 16F1927 and 16F88. If you thi...
by medelec35
Sat Mar 14, 2015 1:07 pm
Jump to forum
Jump to topic

Re: Flowcode v6.1.1

What have you got pin 5 of LCD connected to, and does 1sec flash test work ok? If it does and you completed continuity tests to make sure all connections are correct then yes looking at LCD. But all it takes is one wrong connection or microcontroller to run at the wrong speed for LCD not to be initi...
by medelec35
Sun Mar 15, 2015 12:07 pm
Jump to forum
Jump to topic

Re: Flowcode v6.1.1

Hi Ted, looking at your circuit diagram, MCLR is left floating. That will keep your microcontroller in permanent reset state since its active low to reset. With 16F84A MCLR must be connected to +5V with other chips can be floating if MCLR witin configuration settings is set to internal. Have you got...
by medelec35
Thu Mar 19, 2015 8:49 am
Jump to forum
Jump to topic

Re: Flowcode v6.1.1

Hi Ted, I always get confused when to connect or not to connect the MCLR pin as some chips have an internal MCLR facility. There are two ways of checking if MCLR must be connected or not. 1) Look at the datasheet and see if there is a port that's on MCLR. For example RA3: MCLR.png if there is then y...
by medelec35
Fri Jul 24, 2015 3:10 pm
Jump to forum
Jump to topic

Re: ADC input conversion using PIC16F690

Hi Ted, Perhaps the simplest way is to use GetInt instead of GetByte with ADC component. Then Just add more decision branches. What I would do is use line 1 of LCD to display Button Value. Then if you know that when tank is say 1/8 full and button value is 3 then you can either use a decision branch...
by medelec35
Fri Aug 21, 2015 5:53 pm
Jump to forum
Jump to topic

Re: ADC input conversion using PIC16F690

Hi Ted,
Did it work ok?
by medelec35
Tue Aug 18, 2015 1:46 pm
Jump to forum
Jump to topic

Re: ADC input conversion using PIC16F690

Hi Ted,
No problem.
Can you give this a try please.

Martin
by Benj
Tue Aug 18, 2015 12:38 pm
Jump to forum
Jump to topic

Re: Printing degree character on 16x2 LCD display

Hello Ted,

This forum topic may help get you started.
viewtopic.php?f=26&t=11987
by cubitus54
Tue Sep 01, 2015 7:33 am
Jump to forum
Jump to topic

Re: DS18B20 Temperature Component Macro

Hello,

Use "One Wire" in "Comms"
by Benj
Thu Sep 10, 2015 10:26 am
Jump to forum
Jump to topic

Re: DS18B20 Temperature Component Macro

Hello,

I have just tried my known working v5 program in v6 using a 16F1937 running at 19.6608Mhz and it's working fine for me.

If you have a simple file that shows the problem then I will look into that.

Here is my file,
1. Single OneWire device_v6.fcfx
by medelec35
Mon Sep 14, 2015 12:01 pm
Jump to forum
Jump to topic

Re: DS18B20 Temperature Component Macro

Hi Ted, What I do is ReadAsInt then use: Temperature = ReadIntValue * 49 * 10 The temperature will be temperature x 10 E.g if result is 214 then Temperature is 21.4 deg. Personally I use MCP9701-E/TO becuse they are cheap, and very easy to use since the resolution of this device is 19.53mV/C Which i...
by medelec35
Mon Sep 14, 2015 1:55 pm
Jump to forum
Jump to topic

Re: DS18B20 Temperature Component Macro

Hi Ted,
Sorry, I had V5 on my mind as that uses ReadAsInt.
You are correct in saying GetInt as that is the V6 equivalent..
There is no C code

Martin
by medelec35
Tue Sep 15, 2015 2:55 pm
Jump to forum
Jump to topic

Re: DS18B20 Temperature Component Macro

As MCP9701 you can try attached flowchart.

Martin
by medelec35
Tue Sep 15, 2015 2:14 pm
Jump to forum
Jump to topic

Re: DS18B20 Temperature Component Macro

Hi Ted, Thanks. Reason Flowchart does not compile is because there are Two LCD's! One on the Dashboard panel which is OK because it's pins are connected to C port. The other is on the System panel which is causing compile to fail as its pins are connected to B port which does not exist on the select...
by medelec35
Sun Sep 20, 2015 3:03 pm
Jump to forum
Jump to topic

Re: DS18B20 Temperature Component Macro

Hi Ted, By the way, your MPC9701 thermometer works very well Thanks. If you prefer that sensor I can incorporate within your application. Reason why you Flowchart is not working when you add in your case: Temp = Temp * 49 / 10 Is because the string part has been removed. Reason it makes a difference...
by medelec35
Mon Sep 21, 2015 6:24 pm
Jump to forum
Jump to topic

Re: DS18B20 Temperature Component Macro

Hi Ted, Thanks once again for bailing me out due to my inexperience! Your valued sharing of your experience to newcomers is greatly appreciated, my friend Martin will be delighted to hear about the help. No problem, Glad I can help you and your friend with the cool name :lol: what I don't understand...
by Benj
Mon Sep 21, 2015 4:42 pm
Jump to forum
Jump to topic

Re: DS18B20 Temperature Component Macro

Hi Ted, I can't explain the 49 but I can help with the MOD function. Mod or modulus is basically giving you the remainder after a divide operation. so... 21 mod 10 is 1 33 mod 10 is 3 54 mod 10 is 4 60 mod 10 is 0 It will eat up lets say more than a few processor cycles so best not to use unless you...
by Benj
Thu Oct 08, 2015 11:42 am
Jump to forum
Jump to topic

Re: Reading 12 volt DC input via ADC

Hello Ted, I would use a simple potential divider resistor circuit to drop the 12V down to something you can read directly. 12V | 10K | |- ADC Pin | 1K | GND This would give you 1/11th of the voltage to the ADC pin. VOUT = (12V / 11K) * 1K = 1.09V Changing the resistor values will give you different...
by Steve001
Thu Oct 08, 2015 12:45 pm
Jump to forum
Jump to topic

Re: Reading 12 volt DC input via ADC

HI Ted ,

if you look at martin's post on this thread he posted a 0 - 15 volt voltmeter

http://www.matrixtsl.com/mmforums/viewtopic.php?f=29&t=7699&p=20326

Steve
by Benj
Thu Mar 17, 2016 5:36 pm
Jump to forum
Jump to topic

Re: NRF24L01+ 2.4gHz communication

Hi Ted,

It looks like the FSEL pin is the IRQ pin. I copied the name from the original Arduino library. I don't think it is actually used in the code.
by MJU
Tue Apr 05, 2016 5:26 pm
Jump to forum
Jump to topic

Re: nRF24L01 Radio Module Component

Hello TedO, Please check my working example here: http://www.matrixtsl.com/mmforums/viewtopic.php?f=54&t=16778&p=71942&hilit=nrf24l01#p71942 It's just the basics, send and receive. My goal was to extend the chart to one that can receive the ack from the RX and so on, but I don't have muc...
by Benj
Wed Apr 06, 2016 5:14 pm
Jump to forum
Jump to topic

Re: nRF24L01 Radio Module Component

Hello Ted, You can split an integer variable up into two bytes using the following. MSB, LSB are byte variables and INT is your Integer variable. MSB = INT >> 8 LSB = INT Send the two bytes and then at the receiver end you need to combine the two bytes to an int again. INT = ( MSB << 8 ) + LSB
by Steve001
Wed May 18, 2016 12:47 pm
Jump to forum
Jump to topic

Re: Multiple Timing Cycles 16F877A

Hi Tedo Have you seen this post re timer settings https://www.matrixtsl.com/mmforums/viewtopic.php?f=54&t=17496 Steve edit :- this post may be useful also http://www.matrixtsl.com/blog/setting-rtc-in-a-flash/ If you search for RTC there is quite a lot of information on this
by medelec35
Sat May 28, 2016 11:07 am
Jump to forum
Jump to topic

Re: Flowcode V6 Simulator

Hi Ted, You don't need both input icon and ReadState. So either can be removed. The reason simulation is not working is because you have got the switch and LCD pin on the same Port B4 connection. On hardware not a good idea, unless limiting resistors are used as if LCD pin4 is low to send a char wih...
by QMESAR
Sun Jul 17, 2016 1:59 pm
Jump to forum
Jump to topic

Re: Reading an LM35 sensor in minus degrees 16F690

Well yes Kersing is correct the next question would be how do you measure negative voltages with the PIC ADC ?
would ne bice if some one can explain this