mattcuk / IRtranslator

Arduino IR Translator. Converts incoming IR codes from one manufacturer to another set of IR codes from a different manufacturer,
Creative Commons Zero v1.0 Universal
61 stars 5 forks source link

no reaction after uploading code #2

Closed CameraRick closed 1 year ago

CameraRick commented 1 year ago

Hi there,

me again :) I now had some time on my hands to play around with your creation. I was halted several hours because of uploading-issues, but I was able to fix them.

Anyway, I now got the code uploaded (no changes made yet) as well as the hardware laid out on a breadboard. When the upload is done (or the Arduino is rebooted), I get two comments on the Serial Monitor

Initialise IrSender on PIN 3
Initialise IrReceiver on PIN 2

So the first lines of the code work as intended. However, after that nothing is printed. I tried a few IR remotes that definitely work, but I don't get a code print like you did in your video (timestamp added to link). I do get lots of updates as soon as I unplug the IR receiver (no reaction when the sender is unplugged):

Protocol=UNKNOWN Hash=0x0 1 bits received
uint16_t rawData[1] = {8630};  // Protocol=UNKNOWN Hash=0x0 1 bits received

Current sequence = X X X X 

As mentioned before, this is my first Arduino project and I am out of ideas. Do you have any? :)

Also, I hope you don't mind me saying this, your layout shown in /images/boardDesign.png is very confusing and a bit bloated, but also wrong I'm afraid - the Sender is correct, but the Receiver is not. +3.3V needs to be on the right pin, middle should be GND and left go on D2. On /images/boardPic.png it is correct. I am not so good with using Github, so I have no idea where else to put, but I did draw a simple layout that you can of course add to this repo in case you want to:

IRtranslatorLayout

Best Regards

CameraRick commented 1 year ago

... while in bed I did have one last idea what could be the culprit: while figuring out the wiring (and the mentioned upload issues) I plugged things in and out in a happy-go-lucky manner, and because I'm an idiot I did it while power was connected.

Seems I just grilled the receiver. I ordered some spares and tried a new one now, and look at that, it works :) Thanks again, sorry for wasting your time, haha

mattcuk commented 1 year ago

Not a problem; I was just about to start to look into this and was so pleased when I saw your last comment :) Hope it goes ok with the new parts!