- BLTouch setup notes:
- this is essentially the procedure i used to setup my BLTouch sensor on my Anet A8
- wired it up based on this: https://www.antclabs.com/wiring3 i spliced into the lcd cable
- printed the mounting bracket found here: https://www.thingiverse.com/thing:2091529
- installed marlin with the anet a8 configuration file they provide
- modified the config to turn on BLTouch and used the other settings provided at the above thingiverse page
- also had to enable a safe z homing setting and bilinear auto bed level
- used the procedure in the thingiverse page above to get the probe z offset setting correct. although it actually took some other adjustment on top of that
- in order to communicate and send gcode to the printer i used the arduino serial monitor with "Both NL & CR" option on and the baud set to 115200
- using that arduino console thing saved my butt as i could much more easily make adjustments
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import yaml | |
import logging.config | |
import logging | |
import coloredlogs | |
def setup_logging(default_path='logging.yaml', default_level=logging.INFO, env_key='LOG_CFG'): | |
""" | |
| **@author:** Prathyush SP | |
| Logging Setup |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Marlin 3D Printer Firmware | |
* Copyright (C) 2016 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] | |
* | |
* Based on Sprinter and grbl. | |
* Copyright (C) 2011 Camiel Gubbels / Erik van der Zalm | |
* | |
* This program is free software: you can redistribute it and/or modify | |
* it under the terms of the GNU General Public License as published by | |
* the Free Software Foundation, either version 3 of the License, or |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
# -*- coding: UTF-8 -*- | |
import zmq | |
def main(): | |
context = zmq.Context() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import cv2 as cv | |
import numpy as np | |
from urllib.request import urlopen | |
import os | |
import datetime | |
import time | |
import sys | |
#change to your ESP32-CAM ip | |
url="http://192.168.1.149:9601/stream" |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
This is a program to access spotify and create a youtube play list based on a song or premade playlist | |
in spotify so that Rythm bot can play the playlists made in spotify | |
This technique will then be used to create a discord bot that accesses spotify and can access playlists from that | |
Process: | |
Step 1 - Open spotify | |
Step 2 - Access Playlists and/or songs desired by using name of song/playlists and name of artist/playlist user | |
Step 3 - Get name of song and artists of the song and/or songs in the playlist of use the name and song found in |