Update 3 on May 20, 2020: Build log Tronxy X5SA Pro

The SKR 1.4 Turbo board and 4.5 TFT E3.0 display arrived and replaced the Tronxy controller and display. I mounted the controller on the right side of the printer, as I intend to close the build chamber.

With the tmc 2209 drivers I do not need the endstop switches anymore. The inductive probe can be used for probing and Z-endstop (I had to solder a zener diode). It is WIP and there is much left to do. Here is my first benchy with the new controller (1 mm nozzle):

Problems with ABL and Octoprint are now gone…. 🙂

If you interested in my marlin configuration, here is my fork: https://github.com/FotoFieber/Marlin

Update 2 on May 9, 2020: Build log Tronxy X5SA Pro

What a cool idea: a Quick Tool Change found on https://www.thingiverse.com/thing:3369444

I adapted it to the Tronxy X5SA Pro https://www.thingiverse.com/thing:4337090

Then I remixed my remix of the V6 hotend for this Quick Tool Change https://www.thingiverse.com/thing:4345021

Inspired by all the ideas I found on thingiverse, I tried to print petg….

The build surface peeled completely off the build plate at 85 degree celsius. 🙁

(I have some blobs in my print too. The 1 mm nozzle must be tuned in in Cura.)

I sanded the surface down and try now with glue stick:

And then the filament run out and the chitu controller didn’t signal it to octoprint….

It is high time, the orders from china arrive:

  • new build surface
  • skr 1.4 turbo controller

Update 1 on april 22, 2020: Build log Tronxy X5SA Pro

Printed some nice drawers for my screws and nuts. Z-leveling is a pain as the two z-axes always get out of sync. I found a fix for the Tronxy X5SA https://www.thingiverse.com/thing:4297432 and adapted it for my setup: https://www.thingiverse.com/thing:4305634

The problems with octoprint may be fixed with a new plugin: https://plugins.octoprint.org/plugins/fixcbdfirmware/

The build plate is worn out, the coating peels off. I now print with a cooler heat bed and wait until it is cold, before I take the prints off. Hopefully the z-axis fix does bring a further relief.

Build log of my Tronxy X5SA Pro up to april 17, 2020

This blog post reflects the fun I have with my Tronxy X5SA Pro as of the time of this writing.

This is the 5th 3D printer after

  • XYZ Da Vinci 1.0
  • Wanhao Duplicator i3
  • Tevo Tarrantula
  • Prusa i3 MK3S

I wanted to build a CoreXY printer and didn’t want to wait for the one Prusa announced lately.

Some days before the review on Teaching Tech I ordered the printer on Aliexpress. After this review, I expected to have a lot of fun with it. 🙂

Building this printer was easier than the build of my prusa printer. But I soon recognized I have to change many things:

  1. Replaced belts with fiber inforced ones. They can be better tensioned.
  2. Replaced hotend with a E3D V6 as the original one clogged to often and I want to use my V6 nozzles. https://www.thingiverse.com/thing:4265612
  3. Repaired path of the cable chain: https://www.thingiverse.com/thing:3390159
  4. WIP: Repair belt path:
    1. straighten it
    2. replace most of the belt pullies with GT2 22 M5 versions, to reduce rattle
    3. replace the construction of the front GT2 pullies with a more stable ones
  5. WIP: Repair z-axis: the two motors get always out of sync. Temporary fix: https://www.thingiverse.com/thing:4274159
  6. ToDo: Replace filament runout sensor as he is eager to eat my filament and doesn’t like to let it to the extruder. 🙂
  7. ToDo: Replace control board, as it isn’t running nice with ocoprint and the data from the bed leveling doesn’t seem to be taken into account when printing. The board doesn0t use marlin and can not be flushed with it.
  8. Support was not really helpful.

… to be continued

Easter Egg Painting -> easter bunny 2.0

There are so many projects, I would like to do and there is little time to make them all…

One of these projects is the eggbot, designed by Evil Mad Scientist.

https://shop.evilmadscientist.com/productsmenu/171

I found a DIY version on thingiverse and built it with my daughter: https://www.thingiverse.com/thing:1683764

And hooray….

My daughter screwed all the parts together, organized the wires and made some nice drawings (better, than I could do).

webthings (mozilla iot)

Did I get it right?

Sometimes you rub your eyes and think, did I really get it?

This happened to me when I looked at mozilla iot aka webthings.

What is mozilla webthings really? You get software, where you can integrate different IOT systems (e.g. zwave, mysensors…) and have a UI where you can define rules.

I digged down to the api and didn’t find anything about security….

There are example sketches for esp8266 or esp32 to implement webthings that don’t need a gateway to webthings. When looking at the source code, you rub your eyes and ask:

Where is the enxryption of the communication channel (e.g. https)?

Where is the authentication (e.g. basic auth, or at least key hashed requests)?

Maybe I am blind (or I am getting to old…) … investigate yourself… 🙂

Comments are welcome…

Project: Evaluation of CO2 sensors

some sensors still in calibration phase

In my home automation system I use CO2 sensors from Netatmo and some MH-Z14A based arduino nodes.

I really like, that the Netatmo sensors work for about a year on battery. But they can only be integrated with a cloud api into my home automation. This has led to one interruption of several hours in the past, when the service was down. As I regulate my heating with the measured data of these sensors, this was problematic. 🙂

What I am missing with the battery powered Netatmo sensors, is a led indicating air quality.

To remove the dependency of the cloud api, I decided to build my own sensors. But before I order more MH-Z14A sensors, I want to make an evaluation.

Caution: This article is about the experiences I made in my setup with the sensors I have and with the (maybe buggy) code I wrote. It may be, that you can not reproduce my findings. 🙂

goal:
evaluate CO2 sensors for Netatmo replacement

motivation:

  • I don’t want to be dependent on cloud
  • I wan’t a led indicating air quality with every sensor

deliverables:

  • prototype with every sensor
  • graphs of measurements made with different sensors
  • decision for one sensor

approach:

  • buy samples of different sensors
  • build a prototype with all sensors
  • make measurements, store them in influxdb and make graphs with grafana
  • evaluate the measurements

progress:

  • 20190409
    • Prototype built with MH-Z14A and CCS811
    • API Endpoint with node-red configured to store data in influxdb
    • first dashboard in grafana implemented
    • other sensors ordered
  • Progress 20190424
    • MH-Z19b arrived

findings:

  • na

open items:

  • na

log:

20190410:
The CCS811 seems to reset sometimes (no values for several minutes and then starts with 400ppm). I will add a pull up resistor on the I2C bus.

20180424:
CCS811 is quite complex to handle. It has a MCU and you can make firmware updates. The library from adafruit is incomplete, it doesn’t support baseline-functions, which you have to use. I changed to the sparkfun library.

CCS811 didn’t show usable results in mode 3 (measurement every 60s). Now trying mode 1 (every 1s) with a moving average over one minute.

MH-Z19b arrived

OSS gem motioneye

Over the last 20 years I used many different video surveillance software.

I started with open source software on linux (motion), then switched to Surveillance Station on a Synology nas.

After that I changed from Synology to Qnap and Surveillance Station was not available back then. I switched to Netcam Studio which is really nice, but requires windows.

QVR Pro from Qnap evolved and is quite usable. Unfortunately it only supports motion detection on two cameras. I was playing with the QVR API to inject motion events with PIR sensors and motion events detected by other software.

The circle closes here, as I stumbled over motion again. motion is quite clumsy to configure. Looking for a configuration tool I found motioneye. Motioneye is a open source surveillance software based on motion. It has all the features I need and its motion detection is much more powerful and flexible than the one from QVR.

motioneye is a real OSS gem and replaced QVR Pro within 2 days… 😀

webcam rtsp stream multiple usage

Using the rtsp stream of webcams from multiple apps can make you some headache, i.e.
– WiFi connection bandwidth
– load on cam
– credential sharing

I solved these problems with an rtsp-proxy from
http://live555.com/

With this proxy, the stream from the cam is only transferred once from the cam to the proxy, independent of the actual apps connecting to the cam via proxy.

To use the proxy on my QNAP NAS (where I use QVR PRO) I wrote a Dockerfile: https://github.com/FotoFieber/live555-docker

On my debian server I built a Docker image and saved it to a tar-file on my nas (build.sh):

The saved image I then importet on my QNAP-NAS with

Smarte Türklingel ohne Akku

Schon länger wollte ich meine Türklingel in die Heimautomatisierung integrieren.

Anforderungen:
– darf keine Batterien brauchen
– sollte möglichst auch noch weitere Sensoren integrieren
– WAF 🙂

Iteration 1 gescheitert:
– Nutzung des integrierten oder eines externen Hallsensors zur Erkennung der Aktivität des Elektromagnetes der Klingel -> Leider zu wenig Signal

Iteration 2 zurückgestellt:
– Nutzung verschiedener Mikrofone. Die im Baukasten vorrätigen Mikrofone haben zu wenig Signal abgegeben. Ich wollte mich nicht auf einen reinen Level-Schalter verlassen. Irgendetwas mit FFT sollte da doch drin sein… 🙂 I2S Mikrofon bestellt.

Iteration 3, aktueller Prototyp:
– Verwendung eines Optokopplers

Bei der Montage wollte ich für die Stromversorgung ein weiteres Kabel vom Schalter (vor der Unterbrechung) zur smarten Klingel ziehen. Leider hat jedoch irgend ein lieber Mensch das Rohr von der Klingeltaste zur Klingel verstopft, so dass ich mit den bestehenden zwei Kabeln eine Lösung finden musste. Mittels zweier Dioden leite ich ‘Gleichstrom’ über den Klingeltaster. Dieser speist den AC/DC Wandler und versorgt den Mikrokontroller. Bei Betätigung der Taste fliesst dann Wechselstrom, der vom Optokoppler detektiert wird:

Schema für smarte Türklingel

Den Prototypen habe ich mit wirewrapping aufgebaut:

wire wrapped ac sensor

Nun kam der Wunsch auf, einen schöneren Klang zu haben. Ein MP3-Shield lag noch in der Bastelkiste und funktioniert prinzipiell auch. Die Lautstärke ist aber noch zu klein.

Offene Punkte:
– lauterer Klang
– schönes Gehäuse
– Bewegungssensor
– Mikrofon zur Lautstärkemessung
– CO2 Sensor

Fortsetzung folgt…