Shop OBEX P1 Docs P2 Docs Learn Events
LED Temp. Project. — Parallax Forums

LED Temp. Project.

TheWizard65TheWizard65 Posts: 91
edited 2009-11-12 04:42 in Robotics
For months I have been working on two projects. 1. the HC4LED temp project. and 2. Ken Gracy's temp project. Well I have both of them working (some what) but with all my projects they need debugging. Now some of the people in the forum can see what Ken's project might look from the bottom (sorry Ken) At least I know now they can be done. All objects for these two projects can be found in both the forum (do a search for HC4LED) and in Obex at the Parallax web site. I'm glad I won a Demo Board at the Wooster Library Prop meeting ( Thank You OBC.) and Thanks to Parallax.

Post Edited (TheWizard65) : 9/28/2009 8:09:26 PM GMT
640 x 480 - 328K
640 x 480 - 334K
640 x 480 - 289K
640 x 480 - 279K

Comments

  • mikedivmikediv Posts: 825
    edited 2009-09-27 21:59
    Very cool nice job
  • Ken GraceyKen Gracey Posts: 7,392
    edited 2009-09-27 22:15
    TheWizard65, welcome back! Me and OBC knew you'd make it through the most treacherous part and now you have arrived with a functional project. Really nice job on the effort; each subsequent project will be easier.

    Now that you've got it working, how about doing the same thing with a TV or VGA display? It'll be child's play compared to what you've just experienced. Looks like you need the VGA connector for the Prop Proto Board and then you'll be ready!

    Sincerely,

    Ken Gracey
  • TheWizard65TheWizard65 Posts: 91
    edited 2009-09-27 23:38
    Thanks, everyone. Now that I've worked a few bugs out I have it is reading actual temps, and giving a Close to correct reading and display, I have one or two more bugs to work out. Here is the latest Picture.

    Ken I do have the set up for VGA, it was part of the door prize at the last expo. So again my hats off to Parallax and OBC and his crew. Oh BTW, this was done without a diagram or schematic, only a picture of Ken"s Project.

    I am in fact having trouble displaying a seven, any help would be greatly appreciated.

    Post Edited (TheWizard65) : 9/27/2009 11:49:27 PM GMT
    640 x 480 - 321K
  • VaatiVaati Posts: 712
    edited 2009-09-28 01:31
    Oh cool--you got the HC4LED code to work?!? That is some tough coding... Well, doing the same thing for TV and/or VGA truly is cake.

    Good luck on all future projects! smile.gif

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Quit buying all those fixed voltage regulators, and·get an Adjustable Power Supply·for your projects!· Includes an LED testing terminal!

    *-NEW-* SD Card Adapter·Now available!· Add extra memory to your next Propeller project with ease!
  • Oldbitcollector (Jeff)Oldbitcollector (Jeff) Posts: 8,091
    edited 2009-09-28 02:37
    @Brad

    Awesome! I'm betting you've learned some spin while doing this!
    Congrats on getting into the software side of things as well as the hardware.

    Looks like you took the hard way and wired your own LED digits instead of
    using that ready-made solution. AWESOME!

    Here's your next challenge...

    You could save I/O lines by connecting each of the same LED segments to
    a single I/O line, then connect the GND of each LED digit to another I/O pin.
    By quickly triggering the GND lines you could jump quickly from digit to
    digit, lighting the segment you need at that moment.

    (If you do it fast enough, your eyes won't be able to tell and both digits
    will appear to be displaying data, just a little dimmer than before.)

    Don't rip apart your current project to do this! Let me know if you need
    another protoboard. (I KNOW you have plenty of LED digits on hand. [noparse]:)[/noparse]

    OBC

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    New to the Propeller?

    Visit the: The Propeller Pages @ Warranty Void.

    Post Edited (Oldbitcollector) : 9/28/2009 2:45:17 AM GMT
  • potatoheadpotatohead Posts: 10,261
    edited 2009-09-28 15:38
    Excellent work, and a fun project from the looks of things.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Propeller Wiki: Share the coolness!
    Chat in real time with other Propellerheads on IRC #propeller @ freenode.net
    Safety Tip: Life is as good as YOU think it is!
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2009-09-28 19:30
    Mr. Wizard…that’s great work and all…but unless the format of the post changes, it’s off topic in the Completed Projects Forum. Please see the sticky thread in this forum for the guidelines. Initially you’re lacking at least a title, full description of how the project works, example source code and a schematic. =(

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage

    Parallax Engineering
    50 72 6F 6A 65 63 74 20 53 69 74 65
    ·
  • TheWizard65TheWizard65 Posts: 91
    edited 2009-09-28 20:03
    Chris Savage (Parallax) said...
    Mr. Wizard…that’s great work and all…but unless the format of the post changes, it’s off topic in the Completed Projects Forum. Please see the sticky thread in this forum for the guidelines. Initially you’re lacking at least a title, full description of how the project works, example source code and a schematic. =(

    Ooops Sorry Chris I'll change it. I'll get to work uploading the sorce Code, and Schematic asap!

    My Project takes a reading from the DS1620 Digital Temperature Sensor and Display's it on a 2 Digit 7 Segment LED Display. Using Spin code created by Ken Gracey. Who infact created the first Project of this type.

    Here is the source code, It will take me some time to do the schematic, how ever there are pictures above in the first line of this thread. Sorry for not checking the guidelines. I was excited.

    I must add I am having some problem displaying a 7 in the tens column (7?)

    Post Edited (TheWizard65) : 9/28/2009 8:41:05 PM GMT
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2009-09-28 22:05
    I understand...It's just my duty to keep the projects posted here within the guidelines of this forum. Take care.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage

    Parallax Engineering
    50 72 6F 6A 65 63 74 20 53 69 74 65
    ·
  • TheWizard65TheWizard65 Posts: 91
    edited 2009-10-13 01:55
    Sorry it took so long to get this Schematic (if you want to call it one) to the forum. Please keep in mind I'm no artist.

    I would have drawn lines representing the wired connection but it would make it a big mess.
  • photomankcphotomankc Posts: 943
    edited 2009-10-13 14:16
    Wiz....

    You'll get slightly better *F accuracy if you take the decimal portion of the reading that the DS1620 object returns and make a rounding choice based on it. I noticed that doing this caused my thermostat to track better since it no longer displays 78.8 (788) as 78. It moves it up to 79.

    I divide by ten to get the whole part 788/10 = 78 (integer div)
    I modulus by ten to get the decimal 788//10 = 8
    I compare the decimal to 5 and if it's equal or greater then I add one to the whole part.

    I like your clear case.
  • OakGraphicsOakGraphics Posts: 202
    edited 2009-11-09 21:33
    TheWizard65 said...
    My Project takes a reading from the DS1620 Digital Temperature Sensor and Display's it on a 2 Digit 7 Segment LED Display.

    Just one question - where is the DS1620 hooked up? I did not see it.
  • TheWizard65TheWizard65 Posts: 91
    edited 2009-11-12 04:42
    Up at the begining of this thread you'll see some Photo's, In the second Photo the DS1620 is on the lower right hand corner of the Propeller Board.

    The DS1620's Pin out is as follow's: DQ = Pin 16 , CLK = Pin 17 , RST = 18 , GND = VSS , VDD = 5v
    Sorry about not having this proper Posted.

    Post Edited (TheWizard65) : 11/27/2009 4:37:19 PM GMT
Sign In or Register to comment.