Go to advanced search

by tlfong01
Wed Dec 26, 2018 2:57 am
Forum: Automation, sensing and robotics
Topic: Reading old weight scale
Replies: 124
Views: 30273

Re: Reading old weight scale

... :mrgreen: My GitHub [ 2019 New Year Resolution! ] https://github.com/tlfong01/mcp23x17/ AliExpress MCP23S08/008 https://www.aliexpress.com/store/product/Free-Shipping-MCP23S08-E-SS-MCP23S08-I-SS-MCP23016-I-SO-MCP23017-I-SO/1395137_32247127139.html https://www.aliexpress.com/item/5pcs-lot-MCP23008-E-P-MCP23008-E-P-DIP-18-IC/32836410885.html?spm=2114.search0104.3.14.bfb84807dgjyj1&ws_ab_test=searchweb0_0,searchweb201602_5_10065_10068_319_10059_10884_317_10887_10696_100031_321_322_10084_453_10083_454_10103_10618_10307_538_537_536,searchweb201603_1,ppcSwitch_0&algo_expid=a1316457-aa8d-45af-8f15-ed86eca01c94-2&algo_pvid=a1316457-aa8d-45af-8f15-ed86eca01c94 ...
by tlfong01
Fri Dec 07, 2018 11:46 am
Forum: Automation, sensing and robotics
Topic: Object detection / surface scanning
Replies: 11
Views: 2420

Re: Object detection / surface scanning

... pieces. The weight sensors are already little tiles. You stick the tiles, say 16, on a printed circuit board, and extend the wires to your Rpi and MCP23008. You then place a thin sheet, say plastic, over the whole thing, to make a carpet. The resulting carpet should be thinner than 1cm. MicroChip ...
by tlfong01
Tue Oct 23, 2018 2:19 pm
Forum: Python
Topic: GPIO.input voltage levels vs edge detection
Replies: 430
Views: 96636

Re: GPIO.input voltage levels vs edge detection

... Reset ESP 2. Fortmat (won't erase firmware) -- *** Blinky2018oct2301c tlfong01 2018oct23hkt2150 *** -- -- *** Debugging notes *** -- Debugging ... -- https://github.com/nodemcu/nodemcu-firmware/tree/master/lua_examples/mcp23008 -- http://www.electronicwings.com/nodemcu/nodemcu-gpio-with-esplorer-ide ...
by tlfong01
Tue Oct 23, 2018 6:56 am
Forum: Python
Topic: GPIO.input voltage levels vs edge detection
Replies: 430
Views: 96636

Re: GPIO.input voltage levels vs edge detection

... functions and full code (204 lines) below. -- *** Blinky2018oct2201a tlfong01 2018oct22hkt1541 *** -- function printTitle(title) function printTitleNum(title, ... -- https://github.com/nodemcu/nodemcu-firmware/tree/master/lua_examples/mcp23008 -- http://www.electronicwings.com/nodemcu/nodemcu-gpio-with-esplorer-ide ...
by tlfong01
Fri Oct 12, 2018 1:22 pm
Forum: Python
Topic: GPIO.input voltage levels vs edge detection
Replies: 430
Views: 96636

Re: GPIO.input voltage levels vs edge detection

... test blink program blinky2018oct1121.lua *** -- *** Blinky2018oct1120 tlfong01 2018oct11hkt1527 *** -- -- *** Contents *** -- -- References -- ... -- https://github.com/nodemcu/nodemcu-firmware/tree/master/lua_examples/mcp23008 -- http://www.electronicwings.com/nodemcu/nodemcu-gpio-with-esplorer-ide ...
by tlfong01
Tue Oct 09, 2018 5:08 am
Forum: Python
Topic: GPIO.input voltage levels vs edge detection
Replies: 430
Views: 96636

Re: GPIO.input voltage levels vs edge detection

... loading firmware etc. ESPlorer v0.2.0-rct by 4refrOnt test record tlfong01 2018oct09hkt1252 PORT OPEN 115200 Communication with MCU..Got answer! ... -- https://github.com/nodemcu/nodemcu-firmware/tree/master/lua_examples/mcp23008 -- http://www.electronicwings.com/nodemcu/nodemcu-gpio-with-esplorer-ide ...
by tlfong01
Thu Sep 13, 2018 7:50 am
Forum: Python
Topic: GPIO.input voltage levels vs edge detection
Replies: 430
Views: 96636

Re: GPIO.input voltage levels vs edge detection

... 3V3 circuits. ( 5V I2C MCP23017 ) RE: RELAY MODULE KY-019 5V Post by tlfong01 » 2018-Sep-05 Wed 11:22 am https://www.raspberrypi.org/forums/viewtopic.php?f=37&t=77158&start=375#p1361576 ... and all have fun together. Update 2018sep14hkt1638 PS - I learnt about MCP23008 when reading MagPi ...
by petermeigs
Sat Sep 08, 2018 6:11 am
Forum: Python
Topic: GPIO.input voltage levels vs edge detection
Replies: 430
Views: 96636

Re: GPIO.input voltage levels vs edge detection

I did not read your code because I always find it hard to read other people's code. But you do remind me that when I played with MCP23008/017/S08/S17, I noticed that mcp23xxx seemed to hang from time to time, with unknown reason. MCP23017 PROBLEM Postby JonasE » 2014-Nov-09 Sun 4:52 pm ...
by tlfong01
Fri Sep 07, 2018 7:10 am
Forum: Python
Topic: GPIO.input voltage levels vs edge detection
Replies: 430
Views: 96636

Re: GPIO.input voltage levels vs edge detection

... interrupts on the MCP23017 side and the program seems to hang. ... 4. tlfong01 mentioned he had to reset his mcp23017 from time to time. Perhaps ... read other people's code. But you do remind me that when I played with MCP23008/017/S08/S17, I noticed that mcp23xxx seemed to hang from time to ...
by tlfong01
Wed Jul 25, 2018 3:08 pm
Forum: Automation, sensing and robotics
Topic: Relay Module KY-019 5V
Replies: 488
Views: 133274

Re: Relay Module KY-019 5V

... #!/usr/bin/python3 # KY019 DS3231 Real Time Clock Test Program V1.5 tlfong01 2018jul25hkt2230 # *** Short Description *** # 1. read, write, print ... = 0x68 dayRegAddrByte = 0x03 # *** Device Functions (copied from MCP23008 test program example) *** def readDvRegOneByte (i2cPort, dvAddrByte, ...
by tlfong01
Fri Jun 08, 2018 6:54 am
Forum: Automation, sensing and robotics
Topic: Relay Module KY-019 5V
Replies: 488
Views: 133274

Re: Relay Module KY-019 5V

... using MCP23017 - DougieLawson 2017may18 https://www.raspberrypi.org/forums/viewtopic.php?p=1164047#p1164164 The way I drive relays is to use an MCP23008 or MCP23017 I²C chip as they are safe at 5V. Programming those I²C chips is trivial.

Go to advanced search