Tell me what you want, What you really, really want.

Moderator: Mmiscool

User avatar
By forlotto
#50876 I am taking cicro's advice this 8 bit shift register is cool and it does allow for pwm down to 2v technically so for say a 3v led it would be alright however I think that the dimming effect is reliant on the shift register if the shift register allows for a lower voltage of opertion while I am not entirely sure how pwm works I believe it works for all pins using analog write on the voltage voltage is capable of allowing 0 - 6v however the nodemcu is 0-3v I believe for pins.

I believe I have my code ready for my relay board to communicate with this I just need to figure out the best possible way to hook things up the extra GPIO in my case will only be used for ON/OFF function.

This should be a fairly simplistic task if I am correct in my assumptions.

Fun project so I will move ahead I think with bitbang of the shift register however using the example as a reference and a heavily modified irbranch to msg branch conversion I believe I may have the correct code that will keep track of each relay's status and be able to toggle the relays according to an http request.

When and if I get GPIO expansion working for the 74HC595 I will post a video I am currently without the ability to test as I am waiting on the slow boat to bring me my goods. However for those interested in this I have found the pin out of the Texas Instraments 74HC595 shift register.

This should prove helpful I am unsure how this is going to work totally but for now I think I may have code that might work and data collection is always good to do while in wait for parts ;)

So here is the pinout.
Texas Instraments SN74HC595 shift Register Pinout.jpg


I do plan to mess more with the other noted I/O expansion but for now I feel this thing is plenty for my hardware.

TrackerJ has some really interesting hardware and modules even his own NextEVO board is way cool cleaner power and better ranges and all kinda of nextevo modules available as well great guy from Romania very smart with interesting solutions he has helped me a bit on my light dimmer issues as the previous light dimmer I used was about 30% more expensive then the new one and had flicker problems with every brand and type of bulb I used. The cool thing is with his help I used a different board and I plan to release all the information on that as well in the future do a video and share some simplistic code on how to go about having an easy light dimmer that works well with little or no flicker even with dimmable LED bulbs off the shelf at walmart :P


I hope you all enjoy and share with me any information on the other 8bit shift register you can.

As of now GPIO expansion seems to be nothing more than a waiting game for me to test out.
Thank You all that have replied.

And also a big thanks for cicciocb he seen the importance in gpio expansion it has been fairly long in wait for a solution or even some direction to a solution and I believe I have finally arrived at one. The importance of expansion and expansion support is a lot more than most people know one only needs to look at the sales of the previous mentioned gpio expansion board I linked to. There are 10's of thousands sold likely on ebay alone. So this is not just a personal objective it goes above and beyond personal with limited useable gpio's on an esp it comes natural to me that their are many reasons someone would want to expand their GPIO's. A fella in another post wanted to expand GPIO using the board I posted a link to to run an LCD for instance to interface with his project and still have GPIO. I am curious to see how that one goes. viewtopic.php?f=153&t=10810 if you want to read up on it.
You do not have the required permissions to view the files attached to this post.
Last edited by forlotto on Sat Jul 16, 2016 10:32 pm, edited 1 time in total.
User avatar
By forlotto
#50880 Info on this post would only confuse people so it has been deleted.
Last edited by forlotto on Wed Jul 20, 2016 10:17 pm, edited 1 time in total.
User avatar
By forlotto
#51014 Move along to last post.
Last edited by forlotto on Wed Jul 20, 2016 10:18 pm, edited 1 time in total.
User avatar
By forlotto
#51020 incorrect info go to pg4 or last post.
Last edited by forlotto on Wed Jul 20, 2016 10:19 pm, edited 1 time in total.