Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PCB for this hardware #50

Closed
raptordemon opened this issue Jul 17, 2017 · 56 comments
Closed

PCB for this hardware #50

raptordemon opened this issue Jul 17, 2017 · 56 comments

Comments

@raptordemon
Copy link

Hi,

thanks for building this, just wanted to let you know that i built a PCB for this code.

its not been tested yet but i will report back when its been tested:
https://easyeda.com/raptordemon/ESP8266_IR_blaster-f8f224faba554bf3bb6ce0e32759fc23

cheers!
Raptor

@mdhiggins
Copy link
Owner

This looks really cool
I don't have much experience with this, is the 1.3 revision using the latest pin assignments now?
I'd definitely like to order a couple of these if you've tried
I thought I had replied to this comment earlier and may be going crazy but don't see that reply now
Let me know how it goes! Is this using the V2 nodeMCU?

@mdhiggins
Copy link
Owner

Never mind it was on the pull request that I commented, sanity restored

But yeah definitely keep me posted and send some pics when you get the PCB ordered, I'd like to check it out

@raptordemon
Copy link
Author

yea sorry about that, feel free to delete one.

do these look correct?
int pinr1 = gpio14; // Receiving pin
int pins1 = gpio4; // Transmitting preset 1
int pins2 = gpio5; // Transmitting preset 2
int pins3 = gpio12; // Transmitting preset 3
int pins4 = gpio13; // Transmitting preset 4

its for the 25mm / 1in width node mcu like this one:
https://www.amazon.com/Generic-ESP8266-NodeMcu-Internet-Development/dp/B01N0B48NI/ref=sr_1_6?ie=UTF8&qid=1500467677&sr=8-6&keywords=nodemcu

im not sure if that counts as the v2

@mdhiggins
Copy link
Owner

Yeah that's the V2, there's an unofficial V3 version that's larger that was made by some other company, that's why I asked

And those pinouts look correct yes

@raptordemon
Copy link
Author

great, i m going to reorder the boards this week and hopefully get it right this time.

@mdhiggins
Copy link
Owner

mdhiggins commented Jul 20, 2017 via email

@Hasenpups
Copy link

Just as an information.
I use the firmware with this hardware: https://www.openhardware.io/view/385/MySWeMosIRShield-IR-blaster-shield-for-WeMos-D1

@mdhiggins
Copy link
Owner

That's pretty cool looking, but looks like no spot for a receiver?

@mdhiggins
Copy link
Owner

Nevermind, just saw the receiver

@Hasenpups
Copy link

There is a receive on one side between two LEDs. Someone already printed a housing.

https://forum.fhem.de/index.php/topic,72950.msg659524.html#msg659524

@raptordemon
Copy link
Author

@mdhiggins
Copy link
Owner

Looks like the GPIO15 reset option was causing people a lot of problems, I had to change to GPIO10

Any chance I could get you to at least update the small blueprint? I'm not familiar with this and afraid I'm gonna screw something up

@raptordemon
Copy link
Author

raptordemon commented Oct 2, 2017

sure no problem, does GPIO10 work for you? because i had issues with gpio9 and gpio10 in the past

@mdhiggins
Copy link
Owner

mdhiggins commented Oct 4, 2017

GPIO10 is working well for me on the NodeMCU board, can't speak to the other variants but I changed all my boards over to that without problems

Also, I have a new update hopefully coming soon and am looking for a beta tester that uses the IR Blaster with Alexa (and I guess is in the US cause of Amazon's limitations). Any interest?

@kokarn
Copy link

kokarn commented Oct 4, 2017

Just ordered all the parts, this looks amazing. I'll be using it with IFTTT & Google Assistant, is that any help?

PS: The PCBs looks great as well, will get those as well ^^

@raptordemon
Copy link
Author

HI pcb's updated, v1.5 is the latest it has gpio10 as the wifi reset. i have not tested this board as i am using the v1.3 and still have boards.

please let me know if it works
Raptor

@mdhiggins
Copy link
Owner

Awesome thanks, I'll order some for testing

Also @raptordemon if you use your devices with Alexa, any interest in beta testing something?

@raptordemon
Copy link
Author

yw.

yea i can do that.

@mdhiggins
Copy link
Owner

Send me an email with your amazon account email address and I'll add you as a beta tester for a new skill

@ipjcrane
Copy link

ipjcrane commented Oct 5, 2017 via email

@mdhiggins
Copy link
Owner

Invite sent, and sent you an email explaining the new features

@mdhiggins
Copy link
Owner

@ipjcrane @raptordemon

Any luck with the beta testing?

If you need more help with setup here is a complete setup tutorial video that I finished making that will be live when Amazon enables the V3 API for all users
https://www.youtube.com/watch?v=JysKXOdrOlM

@KDean7
Copy link

KDean7 commented Oct 24, 2017

@raptordemon,
Are the circuit boards available yet? Just starting this project and ordering parts now. I have no breadboards and just heard about the samples you sent to mdhiggins. Sounds like they'd be a much cleaner solution.

@mdhiggins
Copy link
Owner

They are available. Use the v1.5 schematic when ordering. For first time builds though I would recommend using a breadboard for testing/debugging

@w-brown
Copy link

w-brown commented Dec 18, 2017

Just wanted to say nice job! I have built a prototype board using the ESP8266-12E module and am having fun playing with it. I may decide to develop a board as well and share it out for those who want to reduce the size a bit as the NodeMCU is a bit bulky compared to the ESP module and a few surface mount components.

Do you have any plans to update the interface for the back end server? One thing that would make it a bit more 'general user' friendly is if you had options not to have to enter the url for each command. I feel if the interface simply asked for your ip, port, model of device, password, etc... and then for each command only required the hex codes for your remote it would make setting up various devices much simpler.

In any case, great job!

@mdhiggins
Copy link
Owner

Probably not
While it would make the interface a little cleaner it locks in less flexibility and it would also potentially break compatibility with all the people who have already defined their devices
In the current iteration you can actually combine controlling different controllers within the same virtual device
That being said it would be nice to reduce some of the redundant data. I'll have to see if I can come up with a clever solution that's backward compatible

@zobotek
Copy link
Contributor

zobotek commented Dec 21, 2017

@raptordemon

  1. Nice job on the V1.5 PCBs! Many thanks for sharing.

  2. I just ordered a batch of 10 large and 10 regular V1.5 boards from EasyEDA (China). Got them and built them up today. They were cheap - $26 got me 10 of each, including DHL shipping from China. Delivery was 3 days after ordering.

@raptordemon & @mdhiggins
2. Only one problem: configpin=GPIO10 crashed my NODEMCU board, even without being plugged in to the IR Blaster board. Solution for me was to use configpin=16 (aka D0). It is NOT a good idea to use GPIO10 on a NODEMCU board because it's a reserved pin on some versions, including the NODEMCU Version 0.9 board which uses it for flash chip write control. 0.9 NODEMCU crashes with pinmode(10,INPUT_PULLUP).

@raptordemon
3. Some suggestions for improvement:

  • make the pin spacing for the resistors wider to accommodate 1/4W resistors
  • put down pads for a micro config switch in addition to a config jumper. Putting a reset jumper in place on the smaller boards is inconvenient.
  • put down pads for config mode on GPIO16 to support V0.9 NODEMCU (in addition to those on GPIO10 for V1.0)

@mdhiggins
Copy link
Owner

mdhiggins commented Dec 21, 2017 via email

@KDean7
Copy link

KDean7 commented Mar 9, 2018

@raptordemon - This may sound really basic but I can't figure out how to order PCB's. When I go to PCB Order on https://easyeda.com/order, it isn't clear on how to place an order. Any suggestions?

@katamara
Copy link

@KDean7 I was having a hard time too. But I figured it out. Here's what you need to do:

-go to: https://easyeda.com/raptordemon/ESP8266_IR_blaster-f8f224faba554bf3bb6ce0e32759fc23
-scroll down to the last board
-under the last board, there is a blue box that says "Open in Editor"
-click that button and it will take you to a new page
-once it loads, there are tabs at the top for all the different board configurations
-choose the tab with the board you want
-next to the website logo , there is a drop down that lets you save the file
-choose save as (if you do not have an account, you will be prompted to create one)
-now choose Generate Gerber File
-at the bottom of the popup screen (you can order from here if you want) there is another button that says "Generate Gerber"
-now you have the gerber file that you can upload to the website that you want to order from.

Does any have any amazon or aliexpress links (or part#'s) for the wifi_reset button and/or the 3.5mm audio jack?

@katamara
Copy link

katamara commented Apr 7, 2018

Does any have any amazon or aliexpress links (or part#'s) for the wifi_reset button and/or the 3.5mm audio jack?
I ended up ordering these jacks: https://www.aliexpress.com/item/20PCS-3-5mm-1-8-Female-Audio-Connector-5-Pin-DIP-Stereo-Headphone-Jack-PJ3024M/32689293903.html they do fit but I have not been able to confirm that they work yet. they do fit in the holes. I will update once I can confirm they do indeed work.
for the reset button, I'm just using headers with a jumper.

@katamara
Copy link

katamara commented Apr 7, 2018

I ordered and received the following boards:
IRBlaster v1.5 small
IRBlaster v1.5

I have soldered components on to the small board, but it's not transmitting IR. The IR Receiver works fine.
I am wondering if I have 2n2222 and/or IR transmitter backwards. Has anyone successfully used either of these boards?
If so, which way do these components fit in the board? ie does the flat side of the component follow the outline on the board?
Can you post a picture of the completed board?

@chrislawson
Copy link

Yes, I have successfully assembled the v1.5 small. I am only using one IR transmitter so it did take a bit to ensure that I put all of the components in the right spot.

Here's a pic before I soldered everything in.
https://imgur.com/a/6YP83FE

@Masonl23
Copy link

Hey , I got 1.5 board soldered everything up and The reciever works great but only the LED 1 to work and the others don’t. Btw i don’t have the 3 jacks soldered in, Without them does that mean it won’t finish the circuit and doesn’t power the other 3 LED’s?
Thanks

@wdavalil
Copy link

hi guys great work really, I order the boar 1.5 I solder everything in place except for the jacks that part I just confess I didn't understood and I still don't know how to do it im about to upload the code but not sure if everything is really in the place im kind of new in all this trying to learn. if someone have a pic showing how is the final result or similar would be really good. thanks ill be updating my progress.

@Masonl23
Copy link

this is an update 4 months later , i still don’t think the 3 other leds work but it doesn’t matter because i use the 3 aux ports and use a cheap ir emitter cable. This controls my tv , stereo, And light strip combined with alexa is awesome. wdavalil message me i can send you a picture of the final result.

@raptordemon
Copy link
Author

sorry for the delay, you should not need to populate the jacks for the extra leds to work. ill see if i can test mine

@RienduPre
Copy link

I ordered and received the following boards:
IRBlaster v1.5 small
IRBlaster v1.5

I have soldered components on to the small board, but it's not transmitting IR. The IR Receiver works fine.
I am wondering if I have 2n2222 and/or IR transmitter backwards. Has anyone successfully used either of these boards?
If so, which way do these components fit in the board? ie does the flat side of the component follow the outline on the board?
Can you post a picture of the completed board?

Did you ever got it to work? I have the same issue?

@TheMCMan
Copy link

TheMCMan commented Jan 5, 2020

Hey there. Got mine to work correctly. I have a schematic that shows how to correctly determine proper part orientation. Will post here later today.

Do you have pic of your esp board to place here? Not sure what you mean by a 1.5 board big and small..

@RienduPre
Copy link

45B319A4-C99C-41B0-A550-0BD5D5F1AD4D
F6FB4475-B579-48DE-A4C9-A056AF05A1D7

@TheMCMan
Copy link

TheMCMan commented Jan 5, 2020

Hey there, The PCB you posted a pic of is interesting. It looks like all of the parts are positioned correctly. Like the flat side of the LED and Transistor are placed correctly, which means the polarity is correct. I traced the lines from the parts the best I could and everything appears to be good.

Please also send a pic of the ESP8266 board you plug into the headers on the PCB. Maybe your ESP8266 has a different pinout than what is needed by the PCB.

Attached is a schematic I developed and used for this project based on the project notes:
IRBlaster-Project_pcb-01-3

Here is the PCB i built using this schematic:
IMG_20191120_225057

If you use plug connectors, for like the LED, you would be able to swap out the parts more easily to see if you had a part that was malfunctioning. I am currently transitioning to these connectors for my builds.
IMG_20200105_121017

I then put my PCB into a project box.
enabler-finished-project

I'm in the process of setting up this device for my disabled friends that are paraplegics or cannot use a remote. As I too am disabled,

please send a pic of your ESP8266 board

@RienduPre
Copy link

Here you go.
The only difference I see is that I use a 180 ohm resistor and you 10 ohm

18CC9097-7109-4307-B7AA-0EFA9F5D5B38
2610D044-DFFA-48C2-8D44-735291A329FC
0D6E3F97-9C40-4EF0-992A-A9F0126AA040
DD17B79C-F07A-46E3-831E-967D7A780F9A
821B7D22-0DE4-49A4-9884-ED1215C632C7

@TheMCMan
Copy link

TheMCMan commented Jan 7, 2020

That's the exact same ESP8266 board I use : )

Believe you nailed it with your keen observation there lol. Going from a 10 ohm to an 180 ohm resistor would have a great impact in my opinion. This resistor size directly controls the brightness of the Infrared LED.

In the project video of IR Blaster Tutorial, at 1:32 minutes:seconds, mdhiggins references the resistance at 10 ohm as that would provide 500 mAmp current to the IR LED.

The IR Blaster Tutorial video is located here -- https://youtu.be/JysKXOdrOlM

With a little experiment lol, maybe you can tell if you just have a rather dim IR LED bulb... find out exactly where the actual TV IR Receiver is located around the display screen. What I normally do lol is put the remote like directly against the TV and move it around while pressing the on/off button. When you identify that sweet spot that turns off the TV you can then hold your IRBlaster, with the IR LED pointed towards the TV of course, and send your commands away.

With any luck you will see that your device works but it's light might be just a bit dim... then replacing the resistor will fix this.

I did see many diagrams on Google images showing a higher value resistor like you used. When building mine I tried to just base it off of the video. But every hurdle in this project seems to be monumental lol.

Out of the 4 boards I've built, I couldn't get 1 to work.. never figured out why, but I think it had a lot to do with my despicable soldering..

@RienduPre
Copy link

I can't get it to work. I gave up and look for other methods to operate my fire place

@benlye
Copy link

benlye commented Jan 8, 2020

Just buy one of these. Works really nicely with Michael's code.
https://www.aliexpress.com/item/32958748327.html

See #236 for more information.

@mdhiggins
Copy link
Owner

@raptordemon not sure if you're still using this project or not, but was wondering if you'd be interested in making a small update to your PCB. I continue to use the 1.5 small version to this day and its been awesome

I'm looking to tweak the design a little in a coming update, removing 4th IR led and subsequent hardware and replacing it with an input using a optocoupler.

The goal is to allow a 5v input/ground from a USB cable to be connected to the optocoupler and then to use GPIO13 as an input pin. This would allow me to detect the TV state using power from the debug USB port present on most TVs for reliable state monitoring to prevent repeat "on" commands from turning a TV off when discrete codes are absent.

I currently have the external/debug USB 5v port with a 220 ohm resistor and external ground connected to one side of the optocoupler with GPIO13 connected on the other side.

The mqttdev branch is updated to include the code

I tried modifying your PCB design myself but realized I have no idea what I'm doing.

You would be able to eliminate one of the 2N222 transistors and one resistor and repurpose the other resistor for the optocoupler

Here is a quick photo of my test setup

image

Thanks

@raptordemon
Copy link
Author

raptordemon commented Aug 25, 2021 via email

@mdhiggins
Copy link
Owner

The part is PC817 optocoupler

I took a crack at it myself if you want to just look it over, its not letting me share the easyEDA project for some reason but I exported it as a DXF

I'll try and draw out the schematic shortly but that should give you an idea too

IRBlaster v1.6 small_2021-08-25.zip

@raptordemon
Copy link
Author

raptordemon commented Aug 25, 2021 via email

@mdhiggins
Copy link
Owner

mdhiggins commented Aug 25, 2021

image

How's that?

The components related to the 4th output LED can be removed
Q4 and R8

R7 repurposed

image

That's what I came up with but I don't know enough to know if that'll work

@mdhiggins
Copy link
Owner

Finally let me share
https://oshwlab.com/mdhiggins23/ESP8266_IR_blaster_copy-73a49d4e049f40d986477c90a3d21e56, 1.6 is the only one I made changes to

@raptordemon
Copy link
Author

raptordemon commented Aug 26, 2021 via email

@mdhiggins
Copy link
Owner

Looks good! Ordered a few for testing

@raptordemon
Copy link
Author

raptordemon commented Aug 26, 2021 via email

@mdhiggins
Copy link
Owner

Built a few of the boards and its working great! Thanks for the update

@raptordemon
Copy link
Author

raptordemon commented Sep 13, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

16 participants