G+_Bill (CryptoMoore) Posted January 27, 2016 Share Posted January 27, 2016 Watching KH 178 and have the sonar working but for some reason I cannot get the lights to work -- i have looked at the code and the wiring as outlined in the episode.. but not working... the pins are as follows and I am using the same sketch from the show notes. Fr. Robert Ballecer, SJ Bryan Burnett 7 = DIN (led) VIN = VCC (led) GND = GND (led) 13 = trig 12 = echo 5v = vcc (sonar) GND = GND (sonar) Sorry for the repost hit wrong button -- Link to comment Share on other sites More sharing options...
G+_Mark Tashiro Posted January 27, 2016 Share Posted January 27, 2016 It looks like the sketch has LED on Pin 3 not 7. Try moving to Pin 3. Link to comment Share on other sites More sharing options...
G+_Scott W Posted January 27, 2016 Share Posted January 27, 2016 The VIN pin is for Voltage In, move the LED to the 5v pin Link to comment Share on other sites More sharing options...
G+_Bill (CryptoMoore) Posted January 27, 2016 Author Share Posted January 27, 2016 Scott Weeks Sweet now working yes moved the pin to the sonar to 5v and pin to the led to 5v also and now works like a champ -- i must have head Fr. Robert Ballecer, SJ during the episode -- works now just need to put it all together into a nice little package.. Man I wish I had one of those Dremel 3d printers.. it made it look nice and tidy. Thanks for the help Scott.. Link to comment Share on other sites More sharing options...
G+_Eric Dry Posted January 29, 2016 Share Posted January 29, 2016 You can get a male DC power plug to 9V battery button connector cable from amazon. http://smile.amazon.com/gp/product/B005D65LEG?psc=1&redirect=true&ref_=ox_sc_act_title_10&smid=AXE9HLLNL9GPA Link to comment Share on other sites More sharing options...
G+_Mark Tashiro Posted January 30, 2016 Share Posted January 30, 2016 I have used the small USB batteries used to charge phones. Link to comment Share on other sites More sharing options...
Recommended Posts