blog.christophermullins.comChris Mullins - Computer-focused Blog

blog.christophermullins.com Profile

Blog.christophermullins.com is a subdomain of christophermullins.com, which was created on 1998-09-16,making it 26 years ago.

Description:Explore the musings of Chris Mullins on various computer-related topics. From automation projects to tech insights, find it all here....

Keywords:Chris Mullins, computer, technology, automation, blinds, projects, insights, blog...

Discover blog.christophermullins.com website stats, rating, details and status online.Use our online tools to find owner and admin contact info. Find out where is server located.Read and write reviews or vote to improve it ranking. Check alliedvsaxis duplicates with related css, domain relations, most used words, social networks references. Go to regular site

blog.christophermullins.com Information

HomePage size: 132.314 KB
Page Load Time: 0.143389 Seconds
Website IP Address: 198.199.106.86

blog.christophermullins.com Similar Website

Mullins Memorial | Funeral Services Fort Myers and Cape Coral
mullinsmemorial.casketpics.com
iconet computer - Laptop Repair, Computer Accessories, PC Speakers - Computer Store in kuchai lama
iconet-computer-laptop-repair-computer.business.site
Department of Computer Science - Department of Computer Science
cs.jhu.edu
Collierville Computer | local hosting solutions | Collierville Computer
beta.eaa42.org
Department of Computer Science - UCI School of Information & Computer Science
cs.uci.edu
Department of Computer Science - Computer Science
cs.txstate.edu
Computer Science Home | Department of Computer Science | University of Nevada, Las Vegas
cs.unlv.edu
Computer & Information Sciences at the University of Delaware | Computer & Information Sciences
cis.udel.edu
Department of Computer Science and Electrical EngineeringDepartment of Computer Science and Electric
csee.umbc.edu
Electrical & Computer Engineering | Helen and John C. Hartmann Department of Electrical and Computer
ece.njit.edu
Department of Computer and Electrical Engineering and Computer Science at the California State Unive
cs.csub.edu
Computer Science and Engineering: KNO.E.SIS | College of Engineering and Computer Science | Wright S
archive.knoesis.org
Electrical and Computer Engineering | Electrical and Computer Engineering
ece.cornell.edu
Mullins Florist with Same-Day Delivery | Molly's Florist–Molly's Florist
m.mollysuptownflorist.com
Chris Grover — Just another Fasterskier blog
blogs.fasterskier.com

blog.christophermullins.com PopUrls

Chris Mullins – I occasionally write about things. Usually these ...
https://blog.christophermullins.com/
Author Archives: chris - Chris Mullins
https://blog.christophermullins.com/author/chris/
Page 2 – I occasionally write about things ... - Chris Mullins
https://blog.christophermullins.com/page/2/
ESP8266 - Chris Mullins
https://blog.christophermullins.com/category/esp8266/
Page 3 – I occasionally write about things. Usually these ...
https://blog.christophermullins.com/page/3/
Using a Milight remote with HomeAssistant - Chris Mullins
https://blog.christophermullins.com/page/5/
electronics - Chris Mullins
https://blog.christophermullins.com/category/electronics/
Page 9 – I occasionally write about things. Usually these ...
https://blog.christophermullins.com/page/9/
tinkering - Chris Mullins
https://blog.christophermullins.com/category/tinkering/
Automating Blinds with a Retrofitted External Motor
https://blog.christophermullins.com/2020/02/16/automating-blinds-with-a-retrofitted-external-motor/
Rescue Your Amazon Dash Buttons - Chris Mullins
https://blog.christophermullins.com/2019/12/20/rescue-your-amazon-dash-buttons/
home automation - Chris Mullins
https://blog.christophermullins.com/category/home-automation/
reverse engineering - Chris Mullins
https://blog.christophermullins.com/category/reverse-engineering/
Ready-Made MiLight Hub - Chris Mullins
https://blog.christophermullins.com/2019/11/08/ready-made-milight-hub/
homeassistant - Chris Mullins
https://blog.christophermullins.com/category/homeassistant/

blog.christophermullins.com Httpheader

Server: nginx/1.10.3 (Ubuntu)
Date: Sat, 11 May 2024 15:50:33 GMT
Content-Type: text/html
Content-Length: 96233
Last-Modified: Sat, 11 May 2024 14:17:35 GMT
Connection: keep-alive
ETag: "663f7dff-177e9"
Accept-Ranges: bytes

blog.christophermullins.com Meta Info

charset="utf-8"/
content="width=device-width, initial-scale=1" name="viewport"/
content="max-image-preview:large" name="robots"/
content="WordPress 5.7.11" name="generator"/

blog.christophermullins.com Ip Information

Ip Country: United States
City Name: San Francisco
Latitude: 37.7308
Longitude: -122.3838

blog.christophermullins.com Html To Plain Text

Chris Mullins I occasionally write about things. Usually these things are about computers. Github LinkedIn More Back Automating Blinds with a Retrofitted External Motor It’d be a real stretch to say I needed to automate the blinds in my apartment, but it was fun, and I’m loving the result. Blinds open automatically at sunrise and close at sundown. It’s nice to wake up to the sun! I designed most of this setup myself, and wanted to share how I approached it. There was a lot of prior art (a particular shoutout to The Hookup’s Guide ), but nothing that worked the way I was wanting. Guides I ran across either mounted a motor inside of a 2″ track (mine are 1″), or were for pull-cord style blinds. I wanted a motor mounted on the outside of the track to drive the existing worm gear. I rent and don’t want to be kicking myself too hard when I move out. These are super easy to (un-)install. There are few parts I’ll cover in this post: The 3D-printed mount design w/ assembly instructions The driver circuit PCB Driver firmware (esphome w/ cover component) + Integration with HomeAssistant Wiring tips Bill of Materials Before going into any detail, here’s a bill of materials (links may contain affiliate codes). If you’re into tinkering, you’ll probably have most of these parts already. Driver Wemos D1 Mini ESP8266 dev board A4988 unipolar stepper driver 28BYJ stepper motor ( important : converted to bipolar, see below) 1000 µF electrolytic capacitor LM2596 DC/DC buck converter Barrel jack 2A 12V power supply 4 Pin screw terminal Driver circuit PCB ( Available on OSH Park ). Gerber files on Github . Mount A 3D printer eSun White PETG M3 screws, etc. for assembly ( this kit has all but the M3*30 screws): 2x M3*30 3x M3*20 5x M3 nuts 6x M3 washers 3D-Printed Mount The STLs are available on Thingiverse and PrusaPrinters . PrusaPrinters has gcode for the mounting arm, which requires support in some strategic locations. The mount’s design is simple — it slides into the track and holds the motor in place. Angles and lengths are adjustable so that the motor can be moved into the appropriate position. It’s held together with some M3 screws. The only piece of this that is not one-size-fits-all is the motor adapter. It connects the shaft of the stepper motor and the worm gear driver. While the 28BYJ end probably always looks the same, I had three different worm driver shafts across my apartment. Assembly should be pretty self-evident. Let me know if not and I can elaborate. Convert 28BYJ stepper to bipolar 28BYJ motors are unipolar steppers . In order to use them with the A4988 driver (which supports a higher supply voltage), they must be converted to bipolar. Fortunately, this is pretty simple. Just crack open the blue casing on the side and cut the center PCB trace. I used a small file to do this, but an X-Acto knife or small screwdriver would work just as well. You’ll probably need to break some of the plastic legs on the casing to get it open, but it closes back up well enough without them. I also snipped the lead wire going to this trace to avoid future confusion. Driver Board The schematic for this board is pretty simple and has three main components: an ESP8266, an A4988 stepper driver, and a voltage regulator (I used an LM2596-based board). This worked just fine on a perfboard, but because I wanted several of these, I used this project as an excuse to familiarize myself with Kicad and get some PCBs made from OSH Park ( project available here , all kicad+gerber files are on Github ). I was very happy with the result: Assembly Instructions Make sure to adjust the output voltage of the LM2596 to 3.3v! You’ll fry the D1 Mini if you don’t do this. Soldering components should be pretty straightforward as they’re all through-hole. I would recommend using headers for the A4988 and Wemos D1 Mini in case either gets damaged. Most D1 Mini kits come with two sets of 8-pin headers. Since the A4988 is a 2×8 pin board as well, this works out perfectly. Driver Firmware For this project, I wanted to try out ESPHome . I’ve written my own firmware for almost all of my EPS8266 projects. It was fun while it lasted, but the thought of gluing MQTT libraries to crappy C++ code didn’t sound exciting this time. ESPHome’s Template Cover component does the trick quite nicely. I’ve put the YAML definition on Github . Flashing the D1 Mini with generated firmware is pretty simple. I used this command: esphome office_blinds.yaml compile amp;amp; \ esptool.py -b 460800 write_flash 0x0000 office_blinds/.pioenvs/office_blinds/firmware.bin 1 2 esphome office_blinds . yaml compileamp ;amp ; \ esptool . py - b 460800 write _ flash 0x0000 office_blinds / . pioenvs / office_blinds / firmware . bin (obviously you’ll need to have esphome and esptool installed). You’ll also need a secrets.yaml that contains your wifi credentials and a setup password: wifi_ssid: "your wifi network name" wifi_password: "your wifi password" fallback_ap_password: "a random password" 1 2 3 wifi_ssid : "your wifi network name" wifi_password : "your wifi password" fallback_ap_password : "a random password" The meat of the definition is in the template .blinds.yaml , including pin mappings from the ESP8266 and the A4988. If you chose pins different from those shown in the schematic above, make sure to correct them. Parameters that are specific to a particular installation are substituted. In addition to names, you may also want to adjust the target parameter in the definition. This controls how many turns the motor completes when transitioning from one step to another. You can also negate it if you need to invert the direction (although you can accomplish this by reversing wiring as well). The stepper position and cover state should be persisted across reboots. HomeAssistant Integration ESPHome works really seamlessly with HomeAssistant. Just add an ESPHome integration (ConfigurationIntegrations+ESPHome) using the hostname or IP of the ESP8266 (if you’re having trouble finding this, it’ll appear in serial logs after flashing the firmware). This adds the cover component and allows you to control the blinds: To address a situation where I need to calibrate the position, I have these scripts: office_blinds_set_open: alias: Office Blinds - Set Open Position sequence: - service: esphome.office_blinds_set_open_position office_blinds_set_closed: alias: Office Blinds - Set Closed Position sequence: - service: esphome.office_blinds_set_closed_position 1 2 3 4 5 6 7 8 office_blinds_set_open : alias : Office Blinds - Set Open Position sequence : - service : esphome . office_blinds_set_open_position office_blinds_set_closed : alias : Office Blinds - Set Closed Position sequence : - service : esphome . office_blinds_set_closed_position Calling them will tell ESPHome to consider its current position as either open or closed. In combination with the up/down/stop action buttons, this will allow you to get your blinds into the desired state. Wiring Tips You can use any sufficiently large four-wire cable to connect the driver to the motor. Ethernet cable works really well. I used one twisted pair for each lead. Stranded ethernet + crimped header would be best, but I only had solid core ethernet, so I soldered some headers on and called it a day. Here are some pictures that hopefully help as a wire guide: Note that you can reverse the order in which they’re connected (1/2/3/4 - 1/4/2/3) to invert the directions the stepper turns for open/close. Updates September 29, 2022 Significant updates to the ESPHome yaml definitions Stepper position persisted across reboots Adds pin definitions for MS1/MS2/MS3 on A4988 used to control step granularity. These need to be pulled LOW during operation. By default D4 is used for MS1. D4 is also tied to the internal LED on the D1 Mini. I have this pin kept HIGH during idle so the LED stays off. It’s pulled LOW while the stepper is running, which has the...

blog.christophermullins.com Whois

Domain Name: CHRISTOPHERMULLINS.COM Registry Domain ID: 1972848_DOMAIN_COM-VRSN Registrar WHOIS Server: whois.gandi.net Registrar URL: http://www.gandi.net Updated Date: 2023-08-26T09:01:18Z Creation Date: 1998-09-16T04:00:00Z Registry Expiry Date: 2024-09-15T04:00:00Z Registrar: Gandi SAS Registrar IANA ID: 81 Registrar Abuse Contact Email: abuse@support.gandi.net Registrar Abuse Contact Phone: +33.170377661 Domain Status: clientTransferProhibited https://icann.org/epp#clientTransferProhibited Name Server: A.DNS.GANDI.NET Name Server: B.DNS.GANDI.NET Name Server: C.DNS.GANDI.NET DNSSEC: unsigned >>> Last update of whois database: 2024-05-17T13:31:00Z <<<