Tell us about yourself!

Complete Your Profile
  • DannyM62 commented on TeeMick's instructable Raspi-Nextion Weather Clock17 days ago
    Raspi-Nextion Weather Clock

    Do you have a different piece of code in python to read the data sent by the pressing of a command button? I have searched and searched and have not come up with any examples. I have found a similar example using Arduino IDE, but not sure how to convert it. On the Button I am using I have set up "Touch Press Event" and even tried to enter a line "print 1", but I cannot get the piece of code to appear trying to use the print command . I tried using your code but never could get anything to work properly. What I would like to happen is when I press the Command Button my python code would be looking for the button press and through an if statement check the output from the Nextion Button and execute another piece of code. Sounds easy but I have yet get it to work.Thanks...

    see more »

    Do you have a different piece of code in python to read the data sent by the pressing of a command button? I have searched and searched and have not come up with any examples. I have found a similar example using Arduino IDE, but not sure how to convert it. On the Button I am using I have set up "Touch Press Event" and even tried to enter a line "print 1", but I cannot get the piece of code to appear trying to use the print command . I tried using your code but never could get anything to work properly. What I would like to happen is when I press the Command Button my python code would be looking for the button press and through an if statement check the output from the Nextion Button and execute another piece of code. Sounds easy but I have yet get it to work.Thanks for your help.Danny

    I am using a raspberry 3B+ and my config.txt file is so:# Enable audio (loads snd_bcm2835)dtparam=audio=ongpu_mem=128enable_uart=1I am using serial0 instead of ttyAMA0

    View Instructable »
  • DannyM62 commented on TeeMick's instructable Raspi-Nextion Weather Clock21 days ago
    Raspi-Nextion Weather Clock

    Is the code part of the python program or set up on the Nextion?

    So when I print the files I should tell the slicer to set to inches or MM?

    Thanks

    Do you have correct 3D stl files? I was trying to print the top at my local public library and the object is very tiny. Maybe you have adjusted the files for the inch Nexiton display. Thanks

    View Instructable »
  • DannyM62 commented on TeeMick's instructable Raspi-Nextion Weather Clock22 days ago
    Raspi-Nextion Weather Clock

    Thanks again for a great project. I have the project working but would like to make a couple of changes. I want to add buttons to call functions in my python program, I use them to turn on and off a Wemo switch. I can put the buttons on the display, but not sure how to send the data to the program that would call the function. I can see how you used the port.write command to send data to the display. I am just trying to understand how to do the reverse. Thanks again in advance for your help.Danny

    View Instructable »
  • DannyM62 commented on TeeMick's instructable Raspi-Nextion Weather Clock24 days ago
    Raspi-Nextion Weather Clock

    I am also using a Pi 3B with Stretch.

    View Instructable »
  • DannyM62 commented on TeeMick's instructable Raspi-Nextion Weather Clock4 weeks ago
    Raspi-Nextion Weather Clock

    Thanks for the quick response. I obtained a new display, the same as you show in your project. I ran into the same problem, but discovered that if I changed one line of code in WeatherClockFinal.py "port=serial.Serial(port='/dev/serial0',baudrate=9600, timeout=1.0)" from "port=serial.Serial(port='/dev/ttyAMA0',baudrate=9600, timeout=1.0)" it made a connection to the display. However, when it loads the file on the display it momentarily displays page0, then displays page1. I am not sure but the Nextion editor updated to a newer version. Any suggestions on this problem?Thanks,Danny

    View Instructable »
  • DannyM62 commented on TeeMick's instructable Raspi-Nextion Weather Clock4 weeks ago
    Raspi-Nextion Weather Clock

    Hey TeeMick nice project. I am having a problem getting the python program to work. I have a smaller Nextion display and I change all of the sizes of the pages and graphics but not the names of the pages or fields. I have downloaded the tft file to the display and it all looks good and I have got a clean compile. However when I start the Pi (and run WeatherClockFinal.py) I can see only the display on the screen and not any data. Can you give me some direction as to what to do next?Thanks,Danny

    View Instructable »
  • DannyM62 commented on khinds10's instructable Weather Clock7 weeks ago
    Weather Clock

    Could you send me the code as well? I made a modification to the display.py to show the temperature with the degree symbol ° . {subprocess.call(["/home/pi/EnvironmentClock/digole", "printxy_abs", "70", "230", "Inside: " + str(insideTemperature) + chr(176) + "F [" + str(insideHumidity) + " %]"])} . Use without the braces {}. Thanks

    View Instructable »
  • DIY Professional Open Source Night Vision Security Camera

    Do you have any problem with reflection from the IR leds back from the lens?

    View Instructable »
  • DannyM62 commented on TechKiwiGadgets's instructable Retro Arcade Clock - Arduino9 months ago
    Retro Arcade Clock - Arduino

    I have tried to copy the libraries into the sketch , and on the version of Arduino IDE that you have suggested to use I don't see any option to add a zip library. So with the version 1.06 how do you get these libraries into the proper location?ThanksDanny

    I have managed to get all the libraries where they are supposed to be and can compile without any errors (do see some warnings), the sketch does upload successfully, but I am only seeing a white blank screen??Thanks,Danny

    Well I now have the PacMan screen to display. I think the problem was that I had wired some parts of the clock and LDR to the Arduino, and must have grounded the LCD, so I pulled out all of the wires and it loads and displays the graphics. However I cannot get the touch to work. I tried loading an example in the URTOUCH library but couldn't get the calibration program to load. Which one of these files will let me test and calibrate the screen?Many thanks (almost there)Danny

    View Instructable »
  • DannyM62 commented on TechKiwiGadgets's instructable Retro Arcade Clock - Arduino9 months ago
    Retro Arcade Clock - Arduino

    Thanks for you quick response, I have followed your suggestions but am still getting a compile error. Error listing:Retro_DK_Clock_V3.ino:5:19: warning: UTFT.h: No such file or directoryRetro_DK_Clock_V3.ino:6:21: warning: URTouch.h: No such file or directoryRetro_DK_Clock_V3.ino:8:20: warning: Time.h: No such file or directoryRetro_DK_Clock_V3.ino:10:80: warning: DS1307RTC.h: No such file or directoryRetro_DK_Clock_V3:92: error: 'UTFT' does not name a typeRetro_DK_Clock_V3:94: error: 'URTouch' does not name a typeRetro_DK_Clock_V3.ino: In function 'void setup()':Retro_DK_Clock_V3:172: error: 'RTC' was not declared in this scopeRetro_DK_Clock_V3:172: error: 'setSyncProvider' was not declared in this scopeRetro_DK_Clock_V3:173: error: 'setSyncInterval' was not declared in this scopeRetro...

    see more »

    Thanks for you quick response, I have followed your suggestions but am still getting a compile error. Error listing:Retro_DK_Clock_V3.ino:5:19: warning: UTFT.h: No such file or directoryRetro_DK_Clock_V3.ino:6:21: warning: URTouch.h: No such file or directoryRetro_DK_Clock_V3.ino:8:20: warning: Time.h: No such file or directoryRetro_DK_Clock_V3.ino:10:80: warning: DS1307RTC.h: No such file or directoryRetro_DK_Clock_V3:92: error: 'UTFT' does not name a typeRetro_DK_Clock_V3:94: error: 'URTouch' does not name a typeRetro_DK_Clock_V3.ino: In function 'void setup()':Retro_DK_Clock_V3:172: error: 'RTC' was not declared in this scopeRetro_DK_Clock_V3:172: error: 'setSyncProvider' was not declared in this scopeRetro_DK_Clock_V3:173: error: 'setSyncInterval' was not declared in this scopeRetro_DK_Clock_V3:174: error: 'timeStatus' was not declared in this scopeRetro_DK_Clock_V3:174: error: 'timeSet' was not declared in this scopeRetro_DK_Clock_V3:177: error: 'setTime' was not declared in this scopeRetro_DK_Clock_V3:191: error: 'myGLCD' was not declared in this scopeRetro_DK_Clock_V3:193: error: 'myTouch' was not declared in this scopeRetro_DK_Clock_V3:194: error: 'PREC_LOW' was not declared in this scopeRetro_DK_Clock_V3.ino: In function 'void loop()':Retro_DK_Clock_V3:229: error: 'myGLCD' was not declared in this scopeRetro_DK_Clock_V3:293: error: 'myGLCD' was not declared in this scopeRetro_DK_Clock_V3:357: error: 'myGLCD' was not declared in this scopeRetro_DK_Clock_V3:381: error: 'myGLCD' was not declared in this scopeRetro_DK_Clock_V3:399: error: 'myGLCD' was not declared in this scopeRetro_DK_Clock_V3:416: error: 'myGLCD' was not declared in this scopeRetro_DK_Clock_V3:434: error: 'myGLCD' was not declared in this scopeRetro_DK_Clock_V3:1046: error: 'myGLCD' was not declared in this scopeRetro_DK_Clock_V3:1284: error: 'myGLCD' was not declared in this scopeRetro_DK_Clock_V3:1466: error: 'myGLCD' was not declared in this scopeRetro_DK_Clock_V3:1647: error: 'myGLCD' was not declared in this scopeRetro_DK_Clock_V3:1830: error: 'myGLCD' was not declared in this scopeRetro_DK_Clock_V3:1859: error: 'hour' was not declared in this scopeRetro_DK_Clock_V3:1859: error: 'minute' was not declared in this scopeRetro_DK_Clock_V3:1887: error: 'myTouch' was not declared in this scopeRetro_DK_Clock_V3:1954: error: 'myGLCD' was not declared in this scopeRetro_DK_Clock_V3.ino: In function 'void UpdateDisp()':Retro_DK_Clock_V3:2007: error: 'myGLCD' was not declared in this scopeRetro_DK_Clock_V3:2023: error: 'hour' was not declared in this scopeRetro_DK_Clock_V3:2024: error: 'minute' was not declared in this scopeRetro_DK_Clock_V3.ino: In function 'void drawscreen()':Retro_DK_Clock_V3:2228: error: 'myGLCD' was not declared in this scopeRetro_DK_Clock_V3.ino: In function 'void clocksetup()':Retro_DK_Clock_V3:2383: error: 'hour' was not declared in this scopeRetro_DK_Clock_V3:2384: error: 'minute' was not declared in this scopeRetro_DK_Clock_V3:2405: error: 'myGLCD' was not declared in this scopeRetro_DK_Clock_V3:2521: error: 'myTouch' was not declared in this scopeRetro_DK_Clock_V3:2652: error: 'RTC' was not declared in this scopeRetro_DK_Clock_V3:2652: error: 'setSyncProvider' was not declared in this scopeRetro_DK_Clock_V3:2653: error: 'setSyncInterval' was not declared in this scopeRetro_DK_Clock_V3.ino: In function 'void drawbarrel(int, int, int, int, int)':Retro_DK_Clock_V3:2682: error: 'myGLCD' was not declared in this scopeRetro_DK_Clock_V3.ino: In function 'void drawMario(int, int, int, int, int)':Retro_DK_Clock_V3:2867: error: 'myGLCD' was not declared in this scopeRetro_DK_Clock_V3.ino: In function 'void redraw(int, int, int)':Retro_DK_Clock_V3:3292: error: 'myGLCD' was not declared in this scopeRetro_DK_Clock_V3:3299: error: 'myGLCD' was not declared in this scopeRetro_DK_Clock_V3:3315: error: 'myGLCD' was not declared in this scopeRetro_DK_Clock_V3:3330: error: 'myGLCD' was not declared in this scopeRetro_DK_Clock_V3:3342: error: 'myGLCD' was not declared in this scopeRetro_DK_Clock_V3:3357: error: 'myGLCD' was not declared in this scopeRetro_DK_Clock_V3:3365: error: 'myGLCD' was not declared in this scopeRetro_DK_Clock_V3:3375: error: 'myGLCD' was not declared in this scopeRetro_DK_Clock_V3:3388: error: 'myGLCD' was not declared in this scopeRetro_DK_Clock_V3:3400: error: 'myGLCD' was not declared in this scopeRetro_DK_Clock_V3:3405: error: 'myGLCD' was not declared in this scopeRetro_DK_Clock_V3:3415: error: 'myGLCD' was not declared in this scopeRetro_DK_Clock_V3:3425: error: 'myGLCD' was not declared in this scopeRetro_DK_Clock_V3:3434: error: 'myGLCD' was not declared in this scopeEnd of errors..The compiler highlights the following line:UTFT myGLCD(SSD1289,38,39,40,41); //Parameters should be adjusted to your Display/Schield modelI have used both options the above and the other for the "ILI9341_16", with the same results. What am I doing wrong?Thanks,Danny

    Thanks for this great project. I have received the kit from Aliexpress that you recommended and have printed the case and purchased all of the components. However, I have most of the project assembled, except for connecting the LDR and bending the pin on the LCD. I wanted to check out the code before continuing, and this is the problem. I am using Arduino IDE v 1.06 and have download all of the zip files. I place the extracted files,(ex: Time.h, UTFT.h,etc.) into the library of my sketch. I also checked the type of LCD I received and printed on the back of the screen is TFT_320QDT_9341, I am assuming it is the ILI9341 version. I have changed the code to UTFT myGLCD(ILI9341_16,38,39,40,41); //Parameters should be adjusted to your Display/Schield model. I cannot get the sketch to compile...

    see more »

    Thanks for this great project. I have received the kit from Aliexpress that you recommended and have printed the case and purchased all of the components. However, I have most of the project assembled, except for connecting the LDR and bending the pin on the LCD. I wanted to check out the code before continuing, and this is the problem. I am using Arduino IDE v 1.06 and have download all of the zip files. I place the extracted files,(ex: Time.h, UTFT.h,etc.) into the library of my sketch. I also checked the type of LCD I received and printed on the back of the screen is TFT_320QDT_9341, I am assuming it is the ILI9341 version. I have changed the code to UTFT myGLCD(ILI9341_16,38,39,40,41); //Parameters should be adjusted to your Display/Schield model. I cannot get the sketch to compile without errors. I can send you a copy of the error codes that display at the end of the compile, but the file is very large, not sure I can send it without problems, but I can if you let me know how to send to you. Here is a small snippet of the errors I am getting:Retro_DK_Clock_V3:92: error: 'UTFT' does not name a typeRetro_DK_Clock_V3:93: error: 'URTouch' does not name a typeRetro_DK_Clock_V3.ino: In function 'void setup()':Retro_DK_Clock_V3:171: error: 'class DS1307RTC' has no member named 'get'Retro_DK_Clock_V3:171: error: 'setSyncProvider' was not declared in this scopeRetro_DK_Clock_V3:172: error: 'setSyncInterval' was not declared in this scopeRetro_DK_Clock_V3:173: error: 'timeStatus' was not declared in this scopeRetro_DK_Clock_V3:173: error: 'timeSet' was not declared in this scopeRetro_DK_Clock_V3.ino:175: warning: overflow in implicit constant conversionRetro_DK_Clock_V3:176: error: 'setTime' was not declared in this scopeRetro_DK_Clock_V3:190: error: 'myGLCD' was not declared in this scopeRetro_DK_Clock_V3:192: error: 'myTouch' was not declared in this scopeRetro_DK_Clock_V3:193: error: 'PREC_LOW' was not declared in this scopeRetro_DK_Clock_V3.ino: In function 'void loop()':Retro_DK_Clock_V3:228: error: 'myGLCD' was not declared in this scopeRetro_DK_Clock_V3:292: error: 'myGLCD' was not declared in this scopeRetro_DK_Clock_V3:356: error: 'myGLCD' was not declared in this scopeRetro_DK_Clock_V3:380: error: 'myGLCD' was not declared in this scopeRetro_DK_Clock_V3:398: error: 'myGLCD' was not declared in this scopeRetro_DK_Clock_V3:415: error: 'myGLCD' was not declared in this scopeRetro_DK_Clock_V3:433: error: 'myGLCD' was not declared in this scopeRetro_DK_Clock_V3:1045: error: 'myGLCD' was not declared in this scopeRetro_DK_Clock_V3:1283: error: 'myGLCD' was not declared in this scopeRetro_DK_Clock_V3:1465: error: 'myGLCD' was not declared in this scopeRetro_DK_Clock_V3:1646: error: 'myGLCD' was not declared in this scopeRetro_DK_Clock_V3:1829: error: 'myGLCD' was not declared in this scopeRetro_DK_Clock_V3:1858: error: 'hour' was not declared in this scopeRetro_DK_Clock_V3:1858: error: 'minute' was not declared in this scopeRetro_DK_Clock_V3:1886: error: 'myTouch' was not declared in this scopeRetro_DK_Clock_V3:1953: error: 'myGLCD' was not declared in this scopeRetro_DK_Clock_V3.ino: In function 'void UpdateDisp()':Retro_DK_Clock_V3:2006: error: 'myGLCD' was not declared in this scopeRetro_DK_Clock_V3:2022: error: 'hour' was not declared in this scopeRetro_DK_Clock_V3:2023: error: 'minute' was not declared in this scopeRetro_DK_Clock_V3.ino: In function 'void drawscreen()':Retro_DK_Clock_V3:2227: error: 'myGLCD' was not declared in this scopeRetro_DK_Clock_V3.ino: In function 'void clocksetup()':Retro_DK_Clock_V3:2382: error: 'hour' was not declared in this scopeRetro_DK_Clock_V3:2383: error: 'minute' was not declared in this scopeRetro_DK_Clock_V3:2404: error: 'myGLCD' was not declared in this scopeRetro_DK_Clock_V3:2520: error: 'myTouch' was not declared in this scopeRetro_DK_Clock_V3:2651: error: 'class DS1307RTC' has no member named 'get'Retro_DK_Clock_V3:2651: error: 'setSyncProvider' was not declared in this scopeRetro_DK_Clock_V3:2652: error: 'setSyncInterval' was not declared in this scopeRetro_DK_Clock_V3.ino: In function 'void drawbarrel(int, int, int, int, int)':Retro_DK_Clock_V3:2681: error: 'myGLCD' was not declared in this scopeRetro_DK_Clock_V3.ino: In function 'void drawMario(int, int, int, int, int)':Retro_DK_Clock_V3:2866: error: 'myGLCD' was not declared in this scopeRetro_DK_Clock_V3.ino: In function 'void redraw(int, int, int)':Retro_DK_Clock_V3:3291: error: 'myGLCD' was not declared in this scopeRetro_DK_Clock_V3:3298: error: 'myGLCD' was not declared in this scopeRetro_DK_Clock_V3:3314: error: 'myGLCD' was not declared in this scopeRetro_DK_Clock_V3:3329: error: 'myGLCD' was not declared in this scopeRetro_DK_Clock_V3:3341: error: 'myGLCD' was not declared in this scopeRetro_DK_Clock_V3:3356: error: 'myGLCD' was not declared in this scopeRetro_DK_Clock_V3:3364: error: 'myGLCD' was not declared in this scopeRetro_DK_Clock_V3:3374: error: 'myGLCD' was not declared in this scopeRetro_DK_Clock_V3:3387: error: 'myGLCD' was not declared in this scopeRetro_DK_Clock_V3:3399: error: 'myGLCD' was not declared in this scopeRetro_DK_Clock_V3:3404: error: 'myGLCD' was not declared in this scopeRetro_DK_Clock_V3:3414: error: 'myGLCD' was not declared in this scopeRetro_DK_Clock_V3:3424: error: 'myGLCD' was not declared in this scopeRetro_DK_Clock_V3:3433: error: 'myGLCD' was not declared in this scopeThanks again for your time working on this project, I would like very much to finish it. Hopefully what I have done is correctable.Danny

    View Instructable »
  • DannyM62 commented on Funguypro's instructable DIY Raspberry Pi Indoor Outdoor Webcam1 year ago
    DIY Raspberry Pi Indoor Outdoor Webcam

    Great project, I want to make one. Just a quick question, do you have any problem with a reflection from the IR leds on the camera?

    View Instructable »
  • Hands Free Google Assistant for Raspberry Pi

    I tried to get this link and it has moved or something. I sent a message to Eric Duncan asking him for the correct link. Do you know anything about why the link was bad?Thanks

    I initially used this Instructable and got to the part that said if you have the kit don't change the sound configuration settings. I did proceed using my setup from the image I downloaded from your instructions. I have gotten to a hang up with the credentials I ran the command "src/main.py" and get a 400 error saying that there is a redirect URL mismatch. Trying to work through that, but if you have a link to tutorial to make my kit hands free please send it to me and I will start over with that information. Thanks,Danny

    Luke can this project be done using the MagPi kit without any or much code change? I am excited to get started.Thanks

    View Instructable »
  • DannyM62 commented on sjowett's instructable Minitaure Weather Station - ESP82662 years ago
    Minitaure Weather Station - ESP8266

    Could you use a WEMO mini instead of the board you are showing, that way you would not need the FTDI cable to program it. Just a thought

    Do you mean the Node MCU would not fit in your case? What is the issue with the 1.3" or the 0.96" fitting in the footprint?Thanks,DannyPS I am going to build this with the WEMO Mini board. Will let you know the outcome.

    Simon, another quick question. Does the software from Daniel Eichhorn at https://blog.squix.org/2015/12/esp8266-weather-sta... contain all the code for your Shock Vibration Sensor and the Push Button? If not where can I find your code?Thanks,Danny

    View Instructable »
  • DIY Home Automation with ESP8266 (Linknode R4) and Amazon Alexa

    Charles really like this Linkmode R4 and Alexa project. I have followed your instructions and am stuck after loading the sketch. I get a good comile and upload. When I check the serial monitor I see what appears to be correct (see Text file). I open a browser and type in a link for the server and it says "You should tell Alexa to discover devices". If I try to discover devices it never gives me anything new. I would appreciate any help you might offer.Thanks,Danny

    View Instructable »
  • Build a Raspberry Pi-Powered Amazon Echo

    Thanks for the info. I was able to get two of them registered. Great project.

    View Instructable »
  • Build a Raspberry Pi-Powered Amazon Echo

    Thanks for the info I now have two Echo Pi's running.

    View Instructable »
  • DannyM62 made the instructable Build a Raspberry Pi-Powered Amazon Echo2 years ago
    Build a Raspberry Pi-Powered Amazon Echo

    Can there be more than one EchoPi per Amazon account?

    View Instructable »
  • Build a Raspberry Pi-Powered Amazon Echo

    As noted in the comment by DavidT511 about using cron to auto start the process, I also tried that and it seems to me the only way to activate the Alexa process is by the instructions in steps 10 to 12. Is there any other way to autostart this process without opene three different terminal windows? Also can this be run headless.Thanks

    View Instructable »
  • Build a Raspberry Pi-Powered Amazon Echo

    Thanks for the info. I have tried the 5v power supply directly into the amp and I need to do some tweeking on the audio, because I am still getting sound through the HDMI speaker.

    View Instructable »
  • Build a Raspberry Pi-Powered Amazon Echo

    What voltage of power supply do you use to plug into the amp. Adafruit says it can be from 5-14vdc and that the higher voltage that is used the better the sound quality of the speaker. But if a 12 v power supply is used won't that be too much voltage for the Pi? Also if a 5v power supply is used will it be enough to power a Pi 3? Thanks for the help. I have all the parts ready to assemble and have tested the software and all works I just wanted to get a clarification on the power supply. Thanks for the Instructable.

    View Instructable »