author

Dr_Quark

Inbox View Profile
8CommentsPalmer Lake
Working with microprocessor controllers since 1975, using machine code, assembler, Basic, Forth, and C++. Currently doing most of my work with Arduino.
  • Digispark Attiny 85 With Arduino IDE

    digistump downloaded fine from both URLs, but the second download created some issue with the code: byte LED_BUILTIN = 0 ; so I commented it out and it compiled OK.But micronucleus.2.5 couldn't find the Digispark ATiny85. I tried plugging it in first, last, in and out, etc. and nothing. I tired (in the first digistump installation) the default 16mhz, the 16.5 mhz, and the 1 mhz (all with no USB), and then did the same with the second download installation. Nothing. The Digispark power LED lights up, the laptop makes a beep that it discovered the USB unknown device, then the activity LED starts blinking in a few seconds. I find it odd that the laptop "found" the USB device even though there isn't a serial interface chip on the Digispark.What am I doing wrong? Thanks.

    View Instructable »
  • I had previously had success with this code, but today Alexa won't discover my WeMosD1. The D1 is connected to the same wifi net and the D1 is in the connected devices list in the router. Any hints on how to troubleshoot Alexa discovery?

    This is what I see in the serial monitor, repeated every 5 seconds. Should Alexa be able to discover this?ets Jan 8 2013,rst cause:4, boot mode:(3,7)wdt resetload 0x4010f000, len 1384, room 16tail 8chksum 0x2dcsum 0x2dv4ceabea9~ldConnecting to WiFiConnecting .....Connected to grandmaIP address: 192.168.1.27Begin multicast ..Udp multicast server started at 239.255.255.250:1900WebServer started on port:80WebServer started on port:81WebServer started on port:82WebServer started on port:83Adding switches upnp broadcast responderAdding switch : Light One index : 0Adding switch : Light Two index : 1Adding switch : Outlet One index : 2Adding switch : Outlet Two index : 3

    View Instructable »
  • I have the serial monitor open and I periodically see the following:------------------Got UDP Belkin Request..Sending response to 192.168.1.23Port : 50000Response sent !Sending response to 192.168.1.23Port : 50000Response sent !Sending response to 192.168.1.23Port : 50000Response sent !Sending response to 192.168.1.23Port : 50000Response sent ! ########## Responding to setup.xml ... ######## (three of these with a long line under each one beginning with "Sending :<?xml....")-------------------Is this just a periodic reconnection of the UDP link?

    View Instructable »
  • What are the blank "#include" statements at the beginning of the code?

    View Instructable »
  • I agree, but most of them are potted, so they need a bulky socket. I guess I'll be doing some destructive disassembly.

    View Instructable »
  • I'd like to install this device remotely, near the load that is being switched. Does anyone have an easy way to generate Vcc from the mains? It can be done with a bridge rectifier, a resistor ladder, and a linear regulator, but the ESP8266 needs upwards of 200 ma when it's in transmit mode and the resistor ladder has to dissipate too much heat in order to provide a satisfactory voltage divider function to get down to a max of 35 volts feeding the regulator.

    View Instructable »