7/26/2023 0 Comments Adafruit trinket 3v not recognized![]() ![]() I suspected fan noise early on so the most interesting experiment I've tried so far IMHO is to remove the 12vdc to the fan but keep it supplying the DC-DC converter for the 5v to the trinket-But, the onboard led has the same instability as when fan is connected. I've checked grounds multiple times and this one is really stumping me. I've tried all different parameters for the library including the series resistor, sampling rate and frequency modes. Fan and built-in led cycle on/off randomly at 0.5sec to 2sec intervals. The circuit and code work great when the USB cable from my laptop is connected to the Trinket.īUT, when I disconnect the USB cable from the Trinket and touch the sensor, everything goes unstable. The 12Vdc also supplies power to the small computer fan ( uses about 200ma) I am using a small 12VDC wall transformer (1.25A) and then a DC-DC converter to output 5vdc for the Trinket on the BAT in. Using a FET on the digital output A2 to turn a fan on or off when the foil is touched. ![]() I modified the code to use the A0 input as a touch sensor with a wire and aluminum foil. I am using a Trinket M0 with the Arduino IDE with the Adafruit_FreeTouch.h library. How to use capactive touch on Adafruit board in Arduino mode? Note that to get to this point, I used much of the helpful information from the Post
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |