still cannot get command control of the lcd. i am trying to send
$07C,$18,1,$07C,$19,62,"LFO",$07c,$19,54,"LFM",124,25,62,"LFI"
in a string. this is from a previous project in liberty basic. keep getting
expected end of line error. also i am trying to read a k type thermocouple in
the a/d inputs i can read voltage easily just wondering if there was a way to
read the thermocouple resistance. thanks for the help
phijoh
LCD-09351 interface
-
- Posts: 1462
- Joined: Fri Oct 19, 2012 5:11 am
Re: LCD-09351 interface
You'd have to give me the line of code you got the error on
Strings are arrays of bytes, which you can build up by
S$ = chr($7c)+chr($18) ...
Or by individual elements
S$(0) = $7c
S$(1) = $18
...
Strings are arrays of bytes, which you can build up by
S$ = chr($7c)+chr($18) ...
Or by individual elements
S$(0) = $7c
S$(1) = $18
...
-
- Posts: 1462
- Joined: Fri Oct 19, 2012 5:11 am
Re: LCD-09351 interface
To read resistance you need to supply a known current and then measure the
voltage drop. Thermocouples produce voltage based on the temperature at the
union of the two metals. Since they produce voltage it makes it real hard to
measure the resistance. RTDs change resistance based on the temperature.
There tables that show the voltage that the different types of thermocouples
produce at the different temperatures, and there are formulas for calculating
the temperature curve of each type. The curves are non-linear.
Hope this helps
James
voltage drop. Thermocouples produce voltage based on the temperature at the
union of the two metals. Since they produce voltage it makes it real hard to
measure the resistance. RTDs change resistance based on the temperature.
There tables that show the voltage that the different types of thermocouples
produce at the different temperatures, and there are formulas for calculating
the temperature curve of each type. The curves are non-linear.
Hope this helps
James