That didn’t work as nicely as anyone might hope. You can get them from here once the mirror updates in a few minutes:
http://www.gedasymbols.org/user/russell_nelson/RGBLED3.fp
http://www.gedasymbols.org/user/russell_nelson/rgbled.sym
Yeah, I don’t understand why hardware manufacturers don’t look at us as unpaid sales staff, who are happy to tell people to buy hundreds of these products to incorporate them into other things.
I think they’re afraid that we’ll attempt warranty returns of our hacked devices, or that we’ll overwhelm their support staff with calls.
Given the wifi, they’re probably going to use it as a Zigbee gateway. There’s a LOT of potential to save copper when building a new house. No need for any wired light switches — just put a control unit in the fixture, and slap zigbee light switches wherever you want them.
Everything is migrating to micro because on mini, the springs that hold the connector in the socket are on the socket. When they wear out, you have to discard the device ($$$). On micro, the springs are on the connector. When they wear out, you discard the cable ($).
Oh, FAIL! Ben121’s code has a problem. Unless you specify otherwise, character values are signed in C. i2c_read_byte returns a char, which is signed. So values between 0x00 and 0x7f go from 0 to 127, and 0x80 through 0xFF go from -128 to -1. The fix is simple: change the type of i2c_read_byte from char to unsigned char. Also, because it could affect calculations, change the type of the argument to i2c_write_byte to unsigned char as well.
Product COM-00105 | about 4 months ago
That didn’t work as nicely as anyone might hope. You can get them from here once the mirror updates in a few minutes: http://www.gedasymbols.org/user/russell_nelson/RGBLED3.fp http://www.gedasymbols.org/user/russell_nelson/rgbled.sym
Product COM-00105 | about 4 months ago
I made a symbol and footprint for gEDA. http://geda-project.com/ Remember that a symbol file can’t have any blank lines, so when you edit rgb-led.sym, make sure you haven’t added a blank line to the end (like I did). ——————————-symbol——————————— v 20100214 2 P 0 500 200 500 1 0 0 { T 150 550 5 8 1 1 0 6 1 pinnumber=1 T 150 450 5 8 0 1 0 8 1 pinseq=1 T 200 525 9 8 1 1 0 0 1 pinlabel=R T 200 500 5 8 0 1 0 2 1 pintype=pas } P 900 500 700 500 1 0 0 { T 750 550 5 8 1 1 0 0 1 pinnumber=3 T 750 450 5 8 0 1 0 2 1 pinseq=3 T 725 525 9 8 1 1 0 6 1 pinlabel=G T 700 500 5 8 0 1 0 8 1 pintype=pas } V 450 450 300 3 0 0 0 -1 -1 0 -1 -1 -1 -1 -1 T 800 900 5 10 0 0 0 0 1 device=LED L 516 803 617 904 3 0 0 0 -1 -1 L 617 904 621 855 3 0 0 0 -1 -1 L 621 855 722 957 3 0 0 0 -1 -1 L 484 718 585 818 3 0 0 0 -1 -1 L 585 818 589 769 3 0 0 0 -1 -1 L 589 769 690 870 3 0 0 0 -1 -1 L 300 575 300 425 3 0 0 0 -1 -1 L 375 500 300 575 3 0 0 0 -1 -1 L 375 500 300 425 3 0 0 0 -1 -1 L 375 575 375 425 3 0 0 0 -1 -1 L 600 425 600 575 3 0 0 0 -1 -1 L 525 500 600 425 3 0 0 0 -1 -1 L 525 500 600 575 3 0 0 0 -1 -1 L 525 425 525 575 3 0 0 0 -1 -1 P 400 900 400 700 1 0 0 { T 275 775 5 8 1 1 0 0 1 pinnumber=2 T 450 750 5 8 0 1 0 2 1 pinseq=2 T 400 650 9 8 0 1 0 5 1 pinlabel=K T 400 600 5 8 0 1 0 5 1 pintype=pas } L 200 500 300 500 3 0 0 0 -1 -1 L 375 500 525 500 3 0 0 0 -1 -1 L 600 500 700 500 3 0 0 0 -1 -1 L 450 500 450 650 3 0 0 0 -1 -1 L 450 650 400 650 3 0 0 0 -1 -1 L 400 650 400 700 3 0 0 0 -1 -1 T 800 700 8 10 1 1 0 0 1 refdes=LED? T 800 1500 5 10 0 0 0 0 1 description=RGB LED with common cathode T 800 1300 5 10 0 0 0 0 1 numslots=0 T 800 1100 5 10 0 0 0 0 1 symversion=0.1 L 375 300 525 300 3 0 0 0 -1 -1 L 450 300 450 200 3 0 0 0 -1 -1 L 375 375 525 375 3 0 0 0 -1 -1 L 450 375 525 300 3 0 0 0 -1 -1 L 450 375 375 300 3 0 0 0 -1 -1 L 450 500 450 375 3 0 0 0 -1 -1 P 400 0 400 200 1 0 0 { T 270 125 5 8 1 1 180 6 1 pinnumber=4 T 450 150 5 8 0 1 90 8 1 pinseq=4 T 375 325 9 8 1 1 180 0 1 pinlabel=B T 400 200 5 8 0 1 90 2 1 pintype=pas } L 450 200 400 200 3 0 0 0 -1 -1 ———————————————-footprint———————————— Element(0x00 “LED, size in mm (pin 1 is +, 2 is –)” “” “LED5” 100 70 0 100 0x00) (
typical LED is 0.5 mm or 0.020" square pin. See for example
http://www.lumex.com and part number SSL-LX3054LGD.
0.020" square is 0.0288" diagonal. A number 57 drill is
0.043" which should be enough. a 65 mil pad gives 11 mils
of annular ring.
ElementArc(0 0 118 118 0 360 10) ElementArc(0 0 138 138 0 360 10)
)
Tutorial - Laser Tape Measure Hacking | about 6 months ago
Yeah, I don’t understand why hardware manufacturers don’t look at us as unpaid sales staff, who are happy to tell people to buy hundreds of these products to incorporate them into other things.
I think they’re afraid that we’ll attempt warranty returns of our hacked devices, or that we’ll overwhelm their support staff with calls.
Tutorial - Nest Teardown | about 6 months ago
Given the wifi, they’re probably going to use it as a Zigbee gateway. There’s a LOT of potential to save copper when building a new house. No need for any wired light switches — just put a control unit in the fixture, and slap zigbee light switches wherever you want them.
Product PRT-10217 | about 6 months ago
Everything is migrating to micro because on mini, the springs that hold the connector in the socket are on the socket. When they wear out, you have to discard the device ($$$). On micro, the springs are on the connector. When they wear out, you discard the cable ($).
Product ROB-10543 | last year
Airtrax is the company. They ran out of money (including some of mine) and now exist only to license the technology to … nobody.
Product ROB-10336 | last year
I’ve done this also. It works a champ.
Product COM-00315 | about a year ago
Yes. Disable the enable pin, and you’ll get coasting.
Product PRT-00133 | about a year ago
Note that if your serial signals are 3.3V, and you supply the board with 5V, your logic “1” will probably not be high enough to fire.
Product SEN-09570 | about 2 years ago
Oh, FAIL! Ben121’s code has a problem. Unless you specify otherwise, character values are signed in C. i2c_read_byte returns a char, which is signed. So values between 0x00 and 0x7f go from 0 to 127, and 0x80 through 0xFF go from -128 to -1. The fix is simple: change the type of i2c_read_byte from char to unsigned char. Also, because it could affect calculations, change the type of the argument to i2c_write_byte to unsigned char as well.