chuck-finley's instructables
Tell us about yourself!
Achievements
- chuck-finley commented on chuck-finley's instructable Raspberry Pi Hardware Reset and Shutdown Buttons
- chuck-finley commented on chuck-finley's instructable Raspberry Pi Hardware Reset and Shutdown ButtonsView Instructable »
Hello,please excuse the delayed reply. If I got you right it would be no problem, just don't define 3 colors and replace yellow and red in the reboot and shutdown sequences with your LED color of choice. The modifications would like this:# Define GPIO powerLED = 19 GPIO.setup(powerLED, GPIO.OUT) GPIO.output(powerLED, 1) holdTime = int(3) # Hold Button for at least 3 seconds # Define Commands def reboot(): GPIO.output(powerLED, 0) time.sleep(0.1) GPIO.output(powerLED, 1) time.sleep(0.1) GPIO.output(powerLED, 0) time.sleep(0.1) GPIO.output(powerLED, 1) time.sleep(0.1) GPIO.output(powerLED, 0) GPIO.cleanup() os.system("sudo reboot") def shutdown(): GPIO.output(powerLED, 0) time.sleep(0.1) GPIO.output(powerLED, 1) time.sleep(0.1) GPIO.output(powerLED, 0) time.sleep(0.1) GPIO.output…
see more » - chuck-finley commented on NEIN's instructable On/Off Switch for a USB-Powered DeviceView Instructable »
I'm probably a little late to the party, but is there any reason why you cut and soldered the black wire? Wouldn't it have been the easiest to just add the switch to red cable only?
- chuck-finley commented on makjosher's instructable Secret Book Light SwitchView Instructable »
Great instructable! The video is concise & well made, really enjoyed it!
- chuck-finley's instructable Motion Triggered Hallway Lamp's weekly stats:
- chuck-finley's instructable Arduino Home Irrigation System With a 7 Segment Display's weekly stats:
- chuck-finley commented on chuck-finley's instructable Arduino Home Irrigation System With a 7 Segment Display
I think I understand you now. If I would have made full use of the opto isolation (connecting the other GND / VCC Pins with a separate connection and removing the jumper) I shouldn't need to worry about the current limitations. I will definitely keep that in mind when I do my final design in an enclosure, thank you for your input!
View Instructable »Thank you for your positive feedback and your remarks! Yes probably I could leave the sensor module out, but then I would need to make a connection on my perfboard to get one of the connections to an analog pin and an output pin. Probably easier to just leave it that way since they ship with the modules anyway.Regarding the ULN2803 comment, I had a different circuit with a relay that fried one of my chips within a day. After adding the ULN no fried chip in a week now. For complete opto isolation I probably would need another power supply and then the current draw for the relay board would still exceed the chips rating, if I understood everything correctly. The ULN chips are pretty cheap. Thanks for pointing the issues out!
- chuck-finley commented on chuck-finley's instructable Motion Triggered Hallway LampView Instructable »
Thank you for your input. I actually used a standalone atmega chip but referred to an arduino in the instructable for the simplicity. I originally planned to combine the project with a sensor for day and nighttimes but found out that the lightning conditions in my hallway would not really allow me to sharply distinguish between the times I need the lamp to turn on or not by a photoresistor. I will probably extent the project with a solution to that that justifies the need of a controller of some kind in the future. This was one of my first projects with the arduino/atmega so I kind of missed the opportunity that I don't really need it. Good catch!
- chuck-finley commented on Ardumotive_com's instructable Arduino Digital Clock With Alarm Function (custom PCB)View Instructable »
You do not need to remove the chip from the Arduino to program. You can build a minimal circuit on the breadboard for the chip (I think this would be required anyway) and upload the ISP program to the chip on the uno, and then program the chip via "upload using ISP". My chip sits so firmly on the uno, I was afraid to break it during removal, so I left it.
- chuck-finley commented on jfk2bd's instructable Arduino Morse CodeView Instructable »
Neat project! I always wanted to learn morse code and I have most of the required parts lying around. This is a nice starting point to finally learn it.
- chuck-finley commented on bleatingspectre's instructable Arduino Volume ControlView Instructable »
Nice instructable! I like that you explained all the connections in such detail. On a side note, you can use code blocks in the formatting to embed the code a little better.
- chuck-finley's instructable Raspberry Pi Hardware Reset and Shutdown Buttons's weekly stats:
- chuck-finley commented on chuck-finley's instructable Raspberry Pi Hardware Reset and Shutdown Buttons
Thank you for your question! The grey wire should be connected to Ground.