3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

Fart Operated Random Channel TV Remote

Step 3Clean up your Pulse Codes

Clean up your Pulse Codes
The raw pulse codes come out a little messy for what we want to do with them so we need to clean them up.

1)  Copy/Paste your raw codes into an empty Notepad (or similar) Doc and Label them 0 through 9.
2)  The first pulse (large red circles in the Serial Monitor picture) is a sort of warm up for the IR LED so you want to delete it.
3)  Then move on and delete any negative (-) signs you see in your pulses (small red circles in the Serial Monitor picture)
4)  Go through your code and delete all the spaces leaving a coma (,) between each pulse.

Your finished pulses should look nice and clean like the string of pulses pictured in my code.
« Previous StepDownload PDFView All StepsNext Step »
5 comments
Jan 31, 2011. 3:46 PMBuild_it_Bob says:
Hello Schmidtn,
I am using 0021 and an Uno . I read some more on line and in the end copied into Hyperterminal. I didn't copy it right ( it was late at night) so the code didn't work right. I will try again and keep you posted .
I also wanted to compliment you on your step by step approach to putting a project like this together and testing it as you go along...very wise! It also makes it much easier to trouble shoot each step as opposed to when the project is complete and a puff of magic smoke is all there is to show for it.
Thumbs up and bravo,
Build_it_Bob
Feb 3, 2011. 7:56 PMBuild_it_Bob says:
Sucess using Hyperterminal and copy paste . I just had to make sure the commas were correct and then it worked for a samsung tv power off/on command . I removed power from the arduino , re-powered and tried it again a few times and it worked each time . This is something that can now be expanded and used in other projects !
Yea Team!
Arduino coupled with good instructables ( and teachers!) make for awesome learning.
Many Thanks!
Build_it_Bob
Jan 30, 2011. 6:23 PMBuild_it_Bob says:
I am trying to "Copy" the readings and can't seam to highlight them ?? Is there a step that i am missing?
Thanks for your help with this as i was able to to decode my Sherwood RC-119 remote by disconnecting pin 11 every time I seen the NEC 32 bit code come up on the serial monitor.
Build_it_Bob

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
14
Followers
3
Author:Schmidtn
Former custom bike manufacturer, spent four years as a spy and now I'm an Industrial Engineering student spending my free time thinking up things to invent that I think people will like well enough to...
more »