Recent content by Lt2mc

  1. L

    Read Temp DS18b20 Parasitic Mode

    Thanks everyone for the input. after a few tweaks to the OWIN command sample from the manual, i was able to get the ds18 working, albeit with a large offset of -85c over the raw value. In non-parisitic Mode using READTEMP the other DS18s were accurate to +/-1c roughly. The device now also...
  2. L

    Read Temp DS18b20 Parasitic Mode

    Thanks technical, I just ordered 10ea from the store, and will play with the owin command till they get here. I guess the DS18B going 0- stock and obsolete is not as bad as I thought.
  3. L

    Read Temp DS18b20 Parasitic Mode

    hey All, Just a quick question, I could not find the answer to in this forum. Does the ReadTemp function in a 28x2 work with a parasitic DS18B20-par? I have finally used the last of my Stashed DS 18b temperature sensors, and I am now forced into switching over to the newer DS18b20-par...
  4. L

    Did I damage My pic?? (2x)

    Dang Guys, It looks like I am working with the big kids now, and it is humbling. This has always been a kind of rouge project at my day job, so it is very enlightening to finally get some solid critical feed back. As for the simpler PWM control. I had to rule out PWM control early on in the...
  5. L

    Did I damage My pic?? (2x)

    Ok back to another weekend of bit bashing, today's efforts found 3 bad/damaged/burned up 28x2s. So Long post short I did damage my PICs. Thanks to JG's suggestion, I broke out the bread board and rigged up an led output test for my suspected bad PICs, verified with some known good 28x2s. Long...
  6. L

    Did I damage My pic?? (2x)

    thanks for all the inputs. If I showed you my schematics/cave drawings their would definitely be more confusion, since napkins and crayons dont scan so well. So far the assumptions are accurate, Q1 is a NPN (3904), and Q2 is a N-channel Mosfet (Fqp30N06). The idea of a voltage divider sounds...
  7. L

    Did I damage My pic?? (2x)

    Thanks everyone for the inputs, (pun Intended). To clarify when I am testing for my outputs , I have isolated the IC from that specific leg of the circuit, and am checking for voltage at the ic leg directly. Should I test the leg using a 1k load on my meter lead? Here is the pcb diagram...
  8. L

    Did I damage My pic?? (2x)

    Hey all, I am back on my LED test project, after an 18 month TBI induce hiatus, enough said, I am now trying to get back up to speed, with more help from you all. for some back ground, This is the same project i was working on back in 2019, and everyone helped me get the Hi2c DAC working. I...
  9. L

    Thoughts on a Unique I2C-DAC Interface.

    Thanks for the detailed explanation. Now what I was reading in the datasheet and manual makes more since, though it's execution is still makes my brain hurt. I have updated the remarks in my code from "Magic??" to "Ingenious!!". Thanks again
  10. L

    Thoughts on a Unique I2C-DAC Interface.

    Hippy, You are the Man!! Thanks ever so much. Does this site have a "Beer Credit" button? If not it needs one. :cool: After a cut n paste from you, and a little tweaking to fit my code, it works. With one driver (1.3max Vin) i get a resolution of 100, and on the other driver (2.5max Vin) I get...
  11. L

    Thoughts on a Unique I2C-DAC Interface.

    Alright, back at it with a good solid day of work. :) Followed unfortunately by even more questions. I got my new 3v3 VR, and every thing there works fine. However I am still having a resolution problem. I hit my max Vout (3.0v) when I have only writen a value of 0-15 to the DAC. I would...
  12. L

    Thoughts on a Unique I2C-DAC Interface.

    Ok, that is down right embarrassing, talk about "not seeing the trees through the forest". Thanks Pongo, I can throw together a quick divider and continue my testing, while i wait for a new 3v3 VR. It is amazing, the more I learn, the more I forget. Thanks everyone for the help. BTW, I can't...
  13. L

    Thoughts on a Unique I2C-DAC Interface.

    Wow, thanks for all the responses. My bad, I should have given the DAC details up front. I am using an 8-bit Gravitech unit, that unfortunately does not have any external Vref-pin (at the board level). It is a nice component that fit within the 6-pin slot on my board, other then that I will...
  14. L

    Thoughts on a Unique I2C-DAC Interface.

    Hey All, I have an interesting thought for improving the resolution of my I2C-DAC, and I am solicitation everyone's feedback. I have taken my LED life span project back up, and have successfully interfaced my I2C-DAC. Thanks Hippy for the insights last year, it was easier then I thought...
  15. L

    Quick I2C Question

    Thanks guys for the quick answers in the affirmative. Adding a I2C DAC daughter board to my project should be fairly easy. BTW, You were correct when I stated simultaneous, I did mean together within the same program. The serial comm would be used several times per prog loop, while the DAC...
Top