Heres the Youtube video I got the Temperature chip MCP9801 now showing in the GUI with the full resolution of 1/16th degree C
YouTube Link... http://youtu.be/wqDGz2HilIQ
Thanks All...
Tom
User Profile
Collapse
-
Thanks for the hints, I'll do that, you might enjoy my youtube channel http://www.youtube.com/user/HamRadio2008 if you are interested in embedded microcontroller s and such. Tom...Leave a comment:
-
Good idea, I am just learning c# I have a few books here and will try out your suggestion.Leave a comment:
-
Sorry for the confusion, you are right. What I really need is for the C# program to accept the bytes coming in over the serial port (data in the Hex format) and the C# program convert them into ASCII to display in the text box. I got the GUI to work accepting bytes of ASCII data as seen in this youtube video on my Youtube channel... http://youtu.be/qSGybjs-F7g By brute force converting the hex into ASCII within the microcontroller using assembler...Leave a comment:
-
Examples of this microcontroller Real Time Clock Calemder and Temperature sensor can be found on my youtube channel "Hamradio20 08" http://youtu.be/D1ctheXbfh8Leave a comment:
-
The temperature sensor datasrtucture looks like this... http://dl.dropbox.com/u/23363133/C_P...tureSensor.PNGLeave a comment:
-
Brute forced hex in ASCII for the C# GUI
I was able to brute force change the hex into ASCII within the microcontroller with assembler like this...
movff SECONDS,ALSECON DS
movff SECONDS,AUSECON DS
bcf ALSECONDS,4
bcf ALSECONDS,5
bcf ALSECONDS,6
bcf ALSECONDS,7
movlw 0x30
addwf ALSECONDS,1
swapf AUSECONDS,1
bcf AUSECONDS,4
bcf AUSECONDS,5...Leave a comment:
-
Here is a followup video that shows that the values are coming over the serial line as hex and showing in the C# GUI as ASCII how can I convert (correct this)
Public Video Link is here... http://dl.dropbox.com/u/23363133/C_P...progVideo2.AVI
Please help if you can,
Thanks TomLeave a comment:
-
I am trying to get data from the serial port
I am trying to get data from the serial port
I have built a simple serial program that opens the port and displays to a text box. It is working in that it opens and closes the port alright.
BUT the data some how needs to be converted. It is garbled the data is in 8bit bytes how do I get them to show in hexdecimal? This is what they should look like in hex values, 19 39 43 09 29 11 19 80 they represent the (hour, minutes,...
No activity results to display
Show More
Leave a comment: