MR650A, MR18, MR19 & MR20 Download remote button guide (PDF) Magic Remote troubleshooting Order a new remote by visiting our TV accessories page. If the troubleshooting fails, the remote will need to be replaced. I could place this easily on the sofa armrest and control the Chromecast.If the TV displays a message stating, “Bluetooth Initialization Failed,” Your TV will require service. The locations for these declarations have marked clearly.Īfter compiling and verification, I decided to power the setup with a power bank. The code is dependent on other libraries as well.įor your own use, make sure to declare the IP address of your Chromecast and also your WiFi SSID and WiFi password in the code/script. You can find the modified libraries here and the sample code here. I modified the sample code from the ArduCastControl library and combined it with the modified gesture sensor code. If you want to create your own design, you can modify the board design with the Fritzing file I have provided here. Use this link for great discounts and minimal PCB fabrication costs. With their online Gerber viewer, you can verify the PCB design before ordering and they have different PCB colors to choose from. For PCB fabrication, you can use JLCPCB's service. Instead if you want something neat, I have prepared a gesture sensor shield for the Wemos. Not clean, but I did not mind as they going to be unseen inside the enclosure. The connections were made using just the jumper wires. The LED and the connections to the sensor were bonded to the backplate with some hot glue. Drilled the matching holes on the PCB and held them in place securely using two M2.5 screws. I measured the seize of the wooden backplate that was previously used and replaced it with a double sided PCB. On a hindsight, I could have used a duct tape here, my bad. On the back of the lid, I stuck a piece of small wood and held it in place with some electrical tape.I hot-glued the Wemos in its place and stuck some paper tape on the exposed Wemos to temporarily protect it from dust and other elements.Similarly, made a cutout on the lid for the gesture sensor.Using a box cutter, I cutout the plastic to make room for the Wemos.In the fourth image, you can actually see the tape's border matching the Wemos's height.With the Wemos's outline as reference, I used a piece of electrical tape to mark the dimensions of the cutout.I placed the Wemos inside in the desired position and I could see it's outline from outside. The partial translucency in fact helped my cause.While inspecting the enclosure, I saw that the plastic was partially translucent. First I inspected the plastic enclosure for any defects.This will also allow me to RESET the Wemos when desired. This way, I need not take out the Wemos out of the enclosure for updating the code or re-purposing the setup for some other display based project. I decided to partially expose the Wemos's USB connector and RESET button outside the enclosure. This was the same box that I used in my previous Crypto Ticker project. Instead I decided to recycle a sweatbox that I had in plenty with me. I did not want to add new and more plastic waste in this world by 3D printing something. That was one huge hurdle that was crossed. I was able see the gestures getting detected in the serial monitor. I gave the Wemos a test run with the modified library and it did work.You can download the copy of the modified library from here. That was tailored to work with Wemos and when I tested it out it did work, but had to do some minor changes. That was when I came across a fork of the Sparkfun's official library. Going through various forums, the issue was likely IRAM related. So I downloaded the Sparkfun's APDS9960 sensor library and use the built-in example. Next step was to check the if the Wemos read the gestures.I could see that the sensor was at 0x39 I2C address. I used the I2Cdetect library and check for the APDS9960 Sensor's address. So to start with, I first connected the APDS9960 sensor to the Wemos as per the attached wiring diagram to check if the Wemos detected the sensor at all.So I knew that I was venturing into the unknown territory. There were hardly any working references available for using Wemos D1 Mini/NodeMCU with ADPS9960 sensor in the internet.
0 Comments
Leave a Reply. |