{"action":"created","issue":{"url":"https://api.github.com/repos/earlephilhower/ESP8266Audio/issues/65","repository_url":"https://api.github.com/repos/earlephilhower/ESP8266Audio","labels_url":"https://api.github.com/repos/earlephilhower/ESP8266Audio/issues/65/labels{/name}","comments_url":"https://api.github.com/repos/earlephilhower/ESP8266Audio/issues/65/comments","events_url":"https://api.github.com/repos/earlephilhower/ESP8266Audio/issues/65/events","html_url":"https://github.com/earlephilhower/ESP8266Audio/issues/65","id":302014498,"number":65,"title":"Audio Playback causes relay switch to \"fade\" and cause relay to \"buzz\" whilst audio is playing","user":{"login":"renegadeandy","id":831013,"avatar_url":"https://avatars1.githubusercontent.com/u/831013?v=4","gravatar_id":"","url":"https://api.github.com/users/renegadeandy","html_url":"https://github.com/renegadeandy","followers_url":"https://api.github.com/users/renegadeandy/followers","following_url":"https://api.github.com/users/renegadeandy/following{/other_user}","gists_url":"https://api.github.com/users/renegadeandy/gists{/gist_id}","starred_url":"https://api.github.com/users/renegadeandy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/renegadeandy/subscriptions","organizations_url":"https://api.github.com/users/renegadeandy/orgs","repos_url":"https://api.github.com/users/renegadeandy/repos","events_url":"https://api.github.com/users/renegadeandy/events{/privacy}","received_events_url":"https://api.github.com/users/renegadeandy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-03-03T17:04:28Z","updated_at":"2018-03-05T15:44:46Z","closed_at":null,"author_association":"NONE","body":"I have an ESP32 which is playing back audio through I2S using this library nicely.\r\n\r\nHowever when MP3 audio is playing, from SPIFFS, when I have my relay being driven (by sending LOW on pin 21) I get 2 problems. \r\n\r\n1. The relay LED dims oddly during the Audio playback, and returns to normal after audio stops\r\n2. The relay makes buzz noises during the Audio playback, and returns to normal after audio stops.\r\n\r\nI am not sure why this happens, ultimately, I want a solution where these effects are not present. This problem seems related but is not the same as this issue: https://github.com/earlephilhower/ESP8266Audio/issues/63 because this new issue happens DURING audio playback, but not after. The issue which is now fixed caused noise AFTER audio playback, but not DURING.\r\n\r\nThe sketch which recreates this issue can be found at this repository:https://bitbucket.org/renegadeandy/audio_bug_relay\r\n\r\nCheck it out with:\r\n\r\n`git clone https://bitbucket.org/renegadeandy/audio_bug_relay`\r\n"},"comment":{"url":"https://api.github.com/repos/earlephilhower/ESP8266Audio/issues/comments/370461514","html_url":"https://github.com/earlephilhower/ESP8266Audio/issues/65#issuecomment-370461514","issue_url":"https://api.github.com/repos/earlephilhower/ESP8266Audio/issues/65","id":370461514,"user":{"login":"earlephilhower","id":11875,"avatar_url":"https://avatars0.githubusercontent.com/u/11875?v=4","gravatar_id":"","url":"https://api.github.com/users/earlephilhower","html_url":"https://github.com/earlephilhower","followers_url":"https://api.github.com/users/earlephilhower/followers","following_url":"https://api.github.com/users/earlephilhower/following{/other_user}","gists_url":"https://api.github.com/users/earlephilhower/gists{/gist_id}","starred_url":"https://api.github.com/users/earlephilhower/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/earlephilhower/subscriptions","organizations_url":"https://api.github.com/users/earlephilhower/orgs","repos_url":"https://api.github.com/users/earlephilhower/repos","events_url":"https://api.github.com/users/earlephilhower/events{/privacy}","received_events_url":"https://api.github.com/users/earlephilhower/received_events","type":"User","site_admin":false},"created_at":"2018-03-05T15:44:46Z","updated_at":"2018-03-05T15:44:46Z","author_association":"OWNER","body":"I think you need to check the current requirements for that relay module.  The ones I've used need >10mA to drive the optoisolator, which is beyond chip spec for the ESP32.  Unlike the Atmel AVR chips in the classic Arduino setup, which are built for driving outputs and can source or sink a lot of current (and are 5V tolerant to boot), the ESP32 is intended for more cerebral tasks. :)  Some sort of 74xx series buffer is required to safely drive that relay isolator..."}}
{"actor":{"display_login":"earlephilhower"}}