I've ordered the LF-converter BX-082 kit from the German HAM Radio magazine FUNKAMATEUR already some months ago and now found the time to build and test it.
It all started with an article in the issue July 2014 of the German amateur radio magazine FUNKAMATEUR. Martin Kumm, DC3MKB published in this issue an interesting article for a smart SMD soldering station based on the well know ARDUINO UNO.
In this post, I've showed, how to setup Mosquitto on an Windows 8 machine. Now let me describe, howto connect an Arduino via Ethernet to the running Mosquitto MQTT broker.
After my first experiments with 2elemtry, I decided to give MOSQUITTO a try. Mosquitto is a small MQTT message broker, which provides basically the same functionality like 2lemetry.
Here the steps, I got Mosquitto up und running on my Windows 8 machine:
During my researches for my home automation project I also stumbled across the MQTT protocol for sensor-server-communication. A matching arduino library was found quickly here on Nick's blog. An arduino sketch was quickly copied from here and modified. Download my version from here.
Für den ersten nanoKeyer habe ich mir zwar das Original-Gehäuse gekauft, aber der Einfachheit halber eine simple Alu-Fronplatte genommen. So richtig schick war die auf Dauer nicht. Es wurde langsam Zeit, dass er noch eine schöne Frontplatte bekommt.
The electronics for my capacitive (water) level sensor is described here. In this article I will go a little bit in depth regarding the sensor reading and value compensation.
This is the second PCB I've developed. It is an arduino-shield for my home automation project. It is also devoped using CADSoft EAGLE and was produced by PCB-Devboards in Germany.
The hardware for the MODBus master is mounted on DIN-rails inside a cheap installation box.
The MODBUS-slave with the capacitive water level sensor is now mounted inside a die cast aluminium case.
In the previous article regarding the capacitive water level sensor, I've presented two different electrode designs:
- A coaxial electrode made from a rectangular aluminium tube an a single isolated wire as "central conductor"
- A simple twin-wire electrode made from simple speaker-wire
Here my findings regarding each electrode.
This is a MODBUS-node with a capacitive water level sensor, a DS12S80 temperature sensor and a RS485 interface to the main controller.
This is my first project based on CADSOFT Eagle free-version. I still have to learn a lot for creating 2-layer PCBs :-/
Long time ago I've started my personal home automation project. The first building blocks where some small PCBs for RS485 interfacing and temperature sensing. Later I've started outlining a controller architecture for my home automation projects.
Currently my infastructure looks like this:
From top to bottom:
- An Arduino Mega256 with Ethernet-Shield. The RS485 interface is assembled on a small breadboard using the LTC1487 line driver. The LCD is attached via small I2C interface to the arduino.
- An Seeeduino 328P with an attached experimental shield with an identical RS485 interface.
The Arduino Mega256 is the MODBUS master with connection the internet data collection server. The Seeeduino is acting as a MODBUS slave providing 4 analog and 1 digital register.
Read on about the next steps here:
Usually the MODBUS protocoll only supports registers based on 16-bit values. If you want to transfer custom datatypes like double, float etc. via the modbus a simple trick can be used.
Saving parameter to EEPROM
I've discovered, that the value of the weighting feature is not saved to the EEPROM. I'Ve updated the Sketch.
All my changes in the sketch are surrounded with a conditional statement:
#ifdef DL2SBA...#endifand should be discovered easily.
Extensions
I've applied the following extension to my nanoKeyer:
- Powersupply
- Memory bank selection
- smaller code changes
Ich habe wieder ein bisschen mit Hardware-Basteln angefangen und folgende Zusatzschaltungen entworfen, die ich hier vorstellen möchte:
- Messverstärker - hiermit kann man z.B. den interessanten Messbereich von LM335 Thermosensoren auf den A/D Wandler des Arduino anpassen.
- Eingangsadapter für Netzspannung - hiermit kann man z.B. feststellen, ob am Anschluß des Adapters 230V~ anliegen.
- Echtzeituhr für I2C Bus - hiermit hat man über den I2C Bus des Arduino Zugriff auf eine batteriegepufferte Echtzeituhr mit Kalender
- TTL-RS485 Schnittstelle- hiermit kann man an die serielle TTL-Schnittstelle des Arduino auf ein RS485 Netzwerk zugreifen.
- Achtung - Im Schaltplan ist die Bus-Terminierung falsch. Pin 7 muss nach Masse terminiert werden. Pin 6 muss nach Vcc terminiert werden.
Ich habe schon länger nach einem externen Memory-Keyer Ausschau gehalten und mir auch mal den MasterKeyer von hamGadgets angeschaut. Für 200€ fand ich aber die mechanische Ausführung nicht so toll, wobei aber die Funktionsvielfalt schon wirklich beeindruckend ist - und eigentlich wollte ich auch mal wieder basteln