Go to advanced search

by tlfong01
Thu Mar 07, 2019 7:57 am
Forum: HATs and other add-ons
Topic: I2C I/O PORT EXPANDER QUESTION
Replies: 37
Views: 6677

Re: I2C I/O PORT EXPANDER QUESTION

... switches such as ULN2803. (2) Rpi GPIO is only 3V logic. You might need to consider using logical level shifter to convert the signals to 5V. MCP23017 + ULN2803 Relay Circuit [/color] https://www.raspberrypi.org/forums/viewtopic.php?f=37&t=77158&start=25#p1325530 Rpi + TSX0108 + MCP23017 ...
by tlfong01
Wed Mar 06, 2019 7:07 am
Forum: Automation, sensing and robotics
Topic: Connecting electromagnet to pi
Replies: 94
Views: 11539

Re: Connecting electromagnet to pi

... Forbes Relay Board https://www.raspberrypi.org/forums/viewtopic.php?f=37&t=77158&start=150#p1340696 MCP23017 + ULN2803 Relay Circuit https://www.raspberrypi.org/forums/viewtopic.php?f=37&t=77158&start=25#p1325530 Old Relay Posts to Refresh ...
by tlfong01
Tue Mar 05, 2019 1:29 am
Forum: HATs and other add-ons
Topic: I2C I/O PORT EXPANDER QUESTION
Replies: 37
Views: 6677

Re: I2C I/O PORT EXPANDER QUESTION

... ports. Is there anyway to use 8x MCP23S17 on each of them? Using MCP23017 GPIO Pins to Select MCP23S17 Chips I almost never make use of Rpi's ... my old post on MCP23017 Demuxing . RE: RPI ZERO W MULTIPLE SENSORS - tlfong01 2019-Feb-13 https://www.raspberrypi.org/forums/viewtopic.php?f=91&t=233311#p1429189 ...
by MMoazam
Tue Feb 12, 2019 5:36 pm
Forum: Beginners
Topic: RPI Zero W multiple sensors
Replies: 27
Views: 7303

Re: RPI Zero W multiple sensors

... hobby on and off, ... And that is why I have the time luxury to stall ESP8266-12 and wait for NodeMCU ESP32 Lua to mature. I also paused Rpi3 I2C MCP23017 because I got stuck by the low fixed I2C speed of 100kHz. I am waiting for 2010 Q1 Rpi4 which I hope can run 400 kHz I2C, ... So if you can ...
by tlfong01
Tue Feb 12, 2019 11:39 am
Forum: Beginners
Topic: RPI Zero W multiple sensors
Replies: 27
Views: 7303

Re: RPI Zero W multiple sensors

... hobby on and off, ... And that is why I have the time luxury to stall ESP8266-12 and wait for NodeMCU ESP32 Lua to mature. I also paused Rpi3 I2C MCP23017 because I got stuck by the low fixed I2C speed of 100kHz. I am waiting for 2020 Q1 Rpi4 which I hope can run 400 kHz I2C, ... So if you can ...
by MMoazam
Mon Feb 11, 2019 4:26 pm
Forum: Beginners
Topic: RPI Zero W multiple sensors
Replies: 27
Views: 7303

Re: RPI Zero W multiple sensors

... for development, because 3B is much faster than ZW. 2. Rpi3B+ and MCP23017 can work together. 3. ESP8266-12/32 is strong in WiFi, but much ... can search the forum for my relevant old posts using the keywords "tlfong01" + "hx711" + "mcp23017" + "esp3266" ...
by tlfong01
Mon Feb 11, 2019 2:18 pm
Forum: Beginners
Topic: RPI Zero W multiple sensors
Replies: 27
Views: 7303

Re: RPI Zero W multiple sensors

... these sensors? 2. is it possible to do this project with ESP32 and MCP23017 3. could ESP32 handle these sensor's processing load? Short Reply ... can search the forum for my relevant old posts using the keywords "tlfong01" + "hx711" + "mcp23017" + "esp3266" ...
by tlfong01
Thu Jan 31, 2019 4:06 am
Forum: Automation, sensing and robotics
Topic: MCP23017 Learning Notes
Replies: 34
Views: 4269

Re: Cat Home DIY Q&A - Solenoid MCP23017 How To

tlfong01 wrote:
Wed Jan 30, 2019 2:01 pm

MCP23017 Basic Test Program

I am writing a MCVO PCA9865 program, using the most updated MCP23017 MCVO program as a template, the old PCA9865 program to cut down.

https://penzu.com/p/10f0caed
by tlfong01
Wed Jan 30, 2019 2:01 pm
Forum: Automation, sensing and robotics
Topic: MCP23017 Learning Notes
Replies: 34
Views: 4269

Re: Cat Home DIY Q&A - Solenoid MCP23017 How To

tlfong01 wrote:
Wed Jan 30, 2019 1:48 pm
PCA9685 Getting to know the registers

PCA9685 An Old Program 2017 Listing

Now I am reading an old program to refresh my memory.

https://penzu.com/p/05d7cee9
by tlfong01
Wed Jan 30, 2019 1:48 pm
Forum: Automation, sensing and robotics
Topic: MCP23017 Learning Notes
Replies: 34
Views: 4269

Re: Cat Home DIY Q&A - Solenoid MCP23017 How To

tlfong01 wrote:
Wed Jan 30, 2019 8:43 am

PCA9685 Getting to know the registers

https://penzu.com/p/4e0b5b3c
by tlfong01
Wed Jan 30, 2019 8:43 am
Forum: Automation, sensing and robotics
Topic: MCP23017 Learning Notes
Replies: 34
Views: 4269

Re: Cat Home DIY Q&A - Solenoid MCP23017 How To

tlfong01 wrote:
Wed Jan 30, 2019 7:27 am
https://penzu.com/p/94ad8ffc
Now I have placed 2 PCA9865 on a proto board and i2cdetect OK.
by tlfong01
Wed Jan 30, 2019 7:27 am
Forum: Automation, sensing and robotics
Topic: MCP23017 Learning Notes
Replies: 34
Views: 4269

Re: Cat Home DIY Q&A - Solenoid MCP23017 How To

Now I am telling MCP23017 to switch on/off solenoid and motor at the same time, as show in the schematic below. https://penzu.com/p/174b5d73 PCA9865 PWM LED Controller Setup Notes I am also adding a PWM controller for the LED. So ...
by tlfong01
Wed Jan 30, 2019 3:44 am
Forum: Other
Topic: Raspberry Pi + relay GPIO dont work
Replies: 27
Views: 16647

Re: Raspberry Pi + relay GPIO dont work

... Rpi (I learnt it the hard way, frying one Rpi3B+ by over voltage) . I also followed the experts on using ULN2803 to shift up the Rpi GPIO signals, MCP23017 for scalability (controlling 128 relays) and flexibility (using real time clock and sensors), ... References CONNECTING A 5V RELAY BOARD Postby ...
by Franita
Tue Jan 29, 2019 8:28 pm
Forum: Beginners
Topic: Relay boards
Replies: 31
Views: 5778

Re: Relay boards

Hi tlfong01, Thanks for your reply, yes I have read just about everything on the Pi & MCP23017 including the links you have given me they are in fact in my Favourites folder....WHAT I HAVEN'T DONE is ...
by tlfong01
Tue Jan 29, 2019 12:52 pm
Forum: Other
Topic: Raspberry Pi + relay GPIO dont work
Replies: 27
Views: 16647

Re: Raspberry Pi + relay GPIO dont work

@tlfong01 Any advise on : But meanwhile, I would like to explore the : 2. Shift up the Rpi ... TSX0104 + MCP23017 to control relay schematic https://www.raspberrypi.org/forums/viewtopic.php?f=37&t=77158&start=200#p1343814 ...
by tlfong01
Mon Jan 28, 2019 1:02 pm
Forum: Automation, sensing and robotics
Topic: MCP23017 Learning Notes
Replies: 34
Views: 4269

Re: Cat Home DIY Q&A - Solenoid MCP23017 How To

tlfong01 wrote:
Mon Jan 28, 2019 9:48 am
MCP23017 Toggles Solenoid Valve

MCP23017 switching on/off solenoid valve and pressure booster pump at the same time

Now I am telling MCP23017 to switch on/off solenoid and motor at the same time, as show in the schematic below.

https://penzu.com/p/174b5d73
by tlfong01
Mon Jan 28, 2019 9:48 am
Forum: Automation, sensing and robotics
Topic: MCP23017 Learning Notes
Replies: 34
Views: 4269

Re: Cat Home DIY Q&A - Solenoid MCP23017 How To

tlfong01 wrote:
Mon Jan 28, 2019 8:59 am

MCP23017 Toggles Solenoid Valve

youtube mcp23017 toggles solenoid valve.
https://youtu.be/UBEpBsEiCJk

The program listing
https://penzu.com/p/1bdc6ccd
...
by tlfong01
Mon Jan 28, 2019 8:59 am
Forum: Automation, sensing and robotics
Topic: MCP23017 Learning Notes
Replies: 34
Views: 4269

Re: Cat Home DIY Q&A - Solenoid MCP23017 How To

So I have snipped the messy old program into a simple blink program https://penzu.com/p/c6f9d144 MCP23017 Blink Port A LED 8 Times, then Port B LED 16 Times youtube MCP3017 Blink https://youtu.be/iNY1GiyrKug The program listing https://penzu.com/p/43138c67 Errata 2019feb01hkt0915 ...
by tlfong01
Mon Jan 28, 2019 4:45 am
Forum: Automation, sensing and robotics
Topic: MCP23017 Learning Notes
Replies: 34
Views: 4269

Re: Cat Home DIY Q&A - Solenoid MCP23017 How To

... The ping M017 program still working. Before testing M017 toggle, I first checked out if Rpi Pin11 can still toggle Ky019. If OK, I then will try MCP23017. The Rpi GPIO Pin11 toggle program is still working, as displayed below. (The image is too big to display here, because Rpi Forum allows only ...
by tlfong01
Mon Jan 28, 2019 4:08 am
Forum: Automation, sensing and robotics
Topic: MCP23017 Learning Notes
Replies: 34
Views: 4269

Re: Cat Home DIY Q&A - Solenoid MCP23017 How To

MCP23017 Octet Wiring Completed, Each One of Eight Modules Detectable by $ i2cdetect -y 1 MCP23017 Water Jet Control Program Notes Now I am writing a python program to toggle IoX MCP23017 Port A Pin 0, which in turn activates ...
by tlfong01
Sun Jan 27, 2019 3:12 pm
Forum: Automation, sensing and robotics
Topic: MCP23017 Learning Notes
Replies: 34
Views: 4269

Re: Cat Home DIY Q&A - Solenoid MCP23017 How To

Soldering MCP23017 SMD work is too boring. So I am taking a break to do something more interesting. I searched my junk components box and found a couple of SSRs. I need to experiment to check out if I correctly understand what ...
by tlfong01
Sun Jan 27, 2019 4:51 am
Forum: Automation, sensing and robotics
Topic: MCP23017 Learning Notes
Replies: 34
Views: 4269

Re: Cat Home DIY Q&A - IOX MCP23017 How To

Panasonic APAN3124 1a5A x 8 Power Realy Module Chentron Panasonic APAN3124 1a5A NPN/PNP RT-P Power Realy Module CN¥106 https://item.taobao.com/item.htm?spm=2013.1.0.0.50564f80VFRUza&id=568345955555 Chentron Power Relays https://oyunele.world.taobao.com/?spm=2013.1.1000126.d21.72de71c16rHclN Pan...
by tlfong01
Sun Jan 27, 2019 3:57 am
Forum: Automation, sensing and robotics
Topic: MCP23017 Learning Notes
Replies: 34
Views: 4269

Re: Cat Home DIY Q&A - IOX MCP23017 How To

Solid State Relays are no use for switching DC voltage, ... So newbie me will keep it simple - mechanical relays forever!, ... Panasonic APAN3124 1a5A x 8 Mechanical Power Relay Module Just now I googled again and found the following relay x 8 module good. I am thinking of trying them later. Chentr...
by tlfong01
Sun Jan 27, 2019 2:06 am
Forum: Automation, sensing and robotics
Topic: MCP23017 Learning Notes
Replies: 34
Views: 4269

Re: Cat Home DIY Q&A - IOX MCP23017 How To

Solid State Relays are no use for switching DC voltage, ... Anyway, I have already kissed good bye to SSR, ... AdaFruit Youtube Tutorial on WiFi AC/DC SSR This morning I googled and found AdaFruit does has a SSR that can switch both AC and DC. Their YT tutorials is really good and clarifies my mind...
by tlfong01
Sat Jan 26, 2019 1:17 pm
Forum: Automation, sensing and robotics
Topic: MCP23017 Learning Notes
Replies: 34
Views: 4269

Re: Cat Home DIY Q&A - Solenoid MCP23017 How To

... study the power devices triac and thyrsitor . So I decided to give up, put the SSR back to the junk components box, and return to the very boring MCP23017 wiring work.

Go to advanced search