author
1Instructables201Views11CommentsJoined November 29th, 2015

Tell us about yourself!

Complete Your Profile

Achievements

Show 1 More »
  • Raspberry Pi With 4 Relay Module ( for Home Automation )

    Success! Finally found a solution. Not the best (nor secure) by far, but it is working for now.The solution I found that worked was in this post: https://stackoverflow.com/questions/27864804/raspb...Basically involved changing how php called the py code - using the php shellexec and entering the www-data entry into the /etc/sudoers file. I undid the chmod +s and file ownership back to the original settings on the python modules. And it still works so now to move on and do my project - randomly turning lights on and off in the house from the office when I am working mid-night shifts and the wife is home alone sleeping ;}

    View Instructable »
  • Raspberry Pi With 4 Relay Module ( for Home Automation )

    I too have tried this and have the same problem as many others.I went into the php and python code and put debug statements between practically every line until I found the problem (I think ???). However, I have not been able to work out a solution.The problem seems to center on the line in all the Python scripts: GPIO.setup(pinNum,GPIO.OUT)When this line is encountered in any of the three Python scripts, execution stops. Or at least output to my log files stops.I have also included the pinNum in the output of my debug and it is getting the correct pin number (14, 15, 17, 18).Of note, if I run the Python script directly it works fine - for example, if I go to the /var/www/html directory where the php code is and I enter the same command line with the path where I put the python scri...

    see more »

    I too have tried this and have the same problem as many others.I went into the php and python code and put debug statements between practically every line until I found the problem (I think ???). However, I have not been able to work out a solution.The problem seems to center on the line in all the Python scripts: GPIO.setup(pinNum,GPIO.OUT)When this line is encountered in any of the three Python scripts, execution stops. Or at least output to my log files stops.I have also included the pinNum in the output of my debug and it is getting the correct pin number (14, 15, 17, 18).Of note, if I run the Python script directly it works fine - for example, if I go to the /var/www/html directory where the php code is and I enter the same command line with the path where I put the python scripts all three run as expected. However, when the python is called from the php code - not. I still get the expected output in my debug file - just all stops when it hits the GPIO.setup... line shown above.Any ideas?This looks like a great project and perfect for some of my home automation projects. Now if I can just get it to work .)Mike

    View Instructable »
  • MSargent99 commented on Young scientist's instructable Automatic Night Light10 months ago
    Automatic Night Light

    Used the same schematic but changed resistor values. Based on the diagram - I used a 33k ohm resistor in-place of 680k ohm resistor in series with the LDR and used a 470 ohm resistor in place of the 1k ohm resistor.Also used a 3xAAA battery pack.Then it works.

    View Instructable »
  • MSargent99's instructable Arduino Micro Low Power Christmas Lights's weekly stats: 10 months ago
    • Arduino Micro Low Power Christmas Lights
      126 views
      4 favorites
      1 comments
  • MSargent99 commented on Young scientist's instructable Automatic Night Light11 months ago
    Automatic Night Light

    Neat idea.But - the resistors in your parts list do not match the values shown in your schematic.Could you please clarify?Thanks

    View Instructable »
  • MSargent99 made the instructable Arduino Powered Musical Christmas Lights11 months ago
    Arduino Powered Musical Christmas Lights

    Ported the code to work on an Arduino Micro.Also have a board set up using small N-channel MOSFETS to control six strings of LED lights that run off 3xAA batteries. So suitable for setting up on a small tree or other small Christmas decoration.Again thanks for a great project! Mike

    View Instructable »
  • MSargent99 commented on adafruit's instructable Temperature Sensor Tutorial!1 year ago
    Temperature Sensor Tutorial!

    You mentioned: "You can also solder to the pins to connect long wires."Any idea how long the wires can be? I would like to use one of these as an outside air temperature sensor by just hanging a long set of wires out the window with the temperature sensor at the end and leave the Arduino and power source inside the house nice and dry.

    View Instructable »
  • Computer Power Supply to Bench Power Supply Adapter

    Great project! And I found it just as I was needing a higher current power supply from some of my other Arduino projects.I make just a couple minor modifications - I added a small 78S09 voltage regulator circuit to give me a 9V 2A output so my supply has: 3.3V, 5V, 9V, & 12V outputs. I also added fuses for each output. I added a small 5v fan inside direct connected to the 5v line just in case the internals get a little warm and it adds just a small enough load so that hopefully I won't need the 10W resistor for a load. But will see. And finally I added a small green LED to let me know when it is on. But that wasn't really necessary, I forgot just how loud the fans in the old ATX power supplies really are. Last thing I need to do is to attach my labels and then it will be total...

    see more »

    Great project! And I found it just as I was needing a higher current power supply from some of my other Arduino projects.I make just a couple minor modifications - I added a small 78S09 voltage regulator circuit to give me a 9V 2A output so my supply has: 3.3V, 5V, 9V, & 12V outputs. I also added fuses for each output. I added a small 5v fan inside direct connected to the 5v line just in case the internals get a little warm and it adds just a small enough load so that hopefully I won't need the 10W resistor for a load. But will see. And finally I added a small green LED to let me know when it is on. But that wasn't really necessary, I forgot just how loud the fans in the old ATX power supplies really are. Last thing I need to do is to attach my labels and then it will be totally finished.Thanks again for a great Instructable project!Mike

    View Instructable »