Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 6 of 6

Thread: Teensy LC + MCP9808 + 4511+ 7 Segment VFD

  1. #1
    Member
    Join Date
    May 2016
    Location
    MIDDLE OF THE WORLD
    Posts
    36

    Teensy LC + MCP9808 + 4511+ 7 Segment VFD

    I'm looking for code examples for taking I2C from a MCP9808 temp sensor and out putting it to a 7 Segment VFD display thru BCD to 7 Segment chip (scl4511a/be). I know the parts are weird choice but it was on a dare to use these parts to make a working thermometer. would like to use 1 button to switch it from F to C if I could. 2 small lamps with show if it is in F or C.

    logically lay out of parts.

    Click image for larger version. 

Name:	temp.png 
Views:	15 
Size:	25.2 KB 
ID:	25931

  2. #2
    Member DIYLAB's Avatar
    Join Date
    Jun 2020
    Location
    Germany
    Posts
    64
    Hi,
    do they have to be VFD displays?
    If so, which ones exactly (name, link)?
    The 4511 is not optimal for these displays either, there are special, easy to connect VFD drivers for them.

  3. #3
    Member
    Join Date
    May 2016
    Location
    MIDDLE OF THE WORLD
    Posts
    36
    The 4511's were already running the VFD's. I had to desolder them from a board to start on this project.

    Here is a link to what they look like https://upload.wikimedia.org/wikiped...Nr%C2%B017.jpg

    They have 8 pins. No dot. Sorry I can't take a picture of them irl on phone.

  4. #4
    Member DIYLAB's Avatar
    Join Date
    Jun 2020
    Location
    Germany
    Posts
    64
    Quote Originally Posted by Demonclaw View Post
    Here is a link to what they look like https://upload.wikimedia.org/wikiped...Nr%C2%B017.jpg
    Ah, I see ;o)
    What you show is a filament display, not a VFD display.
    Of course you can use the 4511 as decoder. You just have to make sure that there is enough power for the display. For this you need transistors or a transistor array behind the 4511.
    A VFD display works with approx. 60V, the filament display is like a light bulb.
    Due to the inertia of the filament a multiplex display is not possible, therefore the way over the decoders is correct.

    These pages should lead you to the goal:
    https://github.com/Andy4495/LED744511
    https://www.meine-schaltung.de/schal...c4511_arduino/
    https://www.arduino.cc/reference/en/...isplay-driver/
    https://www.arduino-projekte.de/index.php?n=54

  5. #5
    Member
    Join Date
    May 2016
    Location
    MIDDLE OF THE WORLD
    Posts
    36
    Quote Originally Posted by DIYLAB View Post
    For this you need transistors or a transistor array behind the 4511.
    The way it looked there there was no transistors before or after the 4511. There weren't any on the board at all. I wish I would of taken a picture of the board before I removed all the stuff from it and thru it away. Do you know where I can find code examples for the MCP9808?

  6. #6
    Member DIYLAB's Avatar
    Join Date
    Jun 2020
    Location
    Germany
    Posts
    64
    Quote Originally Posted by Demonclaw View Post
    The way it looked there there was no transistors before or after the 4511.
    Ok, you can measure the current flowing through a segment and compare it with the data sheet of the decoder - maybe it fits without transistor?

    Quote Originally Posted by Demonclaw View Post
    Do you know where I can find code examples for the MCP9808?
    I find a lot about this on the web.
    I would just try a few libraries and see if it works with the Teensy LC. I only know Teensy 4.x, so I don't know any better.

    https://github.com/adafruit/Adafruit_MCP9808_Library
    https://learn.adafruit.com/adafruit-...e/arduino-code
    https://arduino-projekte.webnode.at/...ensor-mcp9808/

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •