The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,816 other followers

Archive for the ‘Hardware Development’ Category

Use PiServer to easily set up a network of client Raspberry Pi clients connected to a single x86-based server via Ethernet.

Posted by jpluimers on 2020/01/07

On my list of things to try:

PiServer is our new piece of software that makes it easy to create a network of Pis you can centrally control — ideal for your computing classroom or club!

Source: [WayBack] The Raspberry Pi PiServer tool – Raspberry Pi

Via: [WayBack] Use PiServer to easily set up a network of client Raspberry Pis connected to a single x86-based server via Ethernet. With PiServer, you don’t need SD card… – Raspberry Pi – Google+

–jeroen

Posted in Development, Hardware Development, Hardware Interfacing, Raspberry Pi | Leave a Comment »

elektronica-shop.nl :Montagedraad.html

Posted by jpluimers on 2020/01/03

The cool thing about elektronica-shop.nl is that they have [WayBackMontagedraad in various colours for most diameters:

A short list:

  • 0.14 mm2: rood/bruin/blauw/groen/geel/oranje/zwart/wit/grijs
  • 0.20 mm2: zwart/bruin/rood/oranje/geel/groen/blauw/paars/grijs/wit
  • 0.75 mm2: blauw/bruin/groen-geel/grijs/oranje/wit/violet(paars)/zwart/rood/geel/groen
  • 1.00 mm2: zwart/rood
  • 1.50 mm2: zwart/rood/blauw/bruin/groen-geel
  • 2.50 mm2: zwart/rood
  • 4.00 mm2: zwart/rood
  • 6.00 mm2: zwart/rood

Translations:

  • rood = red
  • bruin = brown
  • blauw = blue
  • groen = green
  • geel = yellow
  • oranje = orange
  • zwart = black
  • wit = white
  • grijs = grey/gray
  • paars = purple
  • violet = violet
  • groen-geel = green-yellow striped

The maximum current (Amperage) depend on the area through which the current can flow. It can be roughly translated from the AWG (American Wire Gauge). See the table below.

De AWG-code wordt met name in de elektrotechniek om de dikte van elektrische geleiders en de toebehoren daarvan, zoals adereindhulzen, kabelschoenen en -klemmen, aan te duiden.

AWG  -  mm²    -  mm

4   -  21       -   5.2
6   -  13       -   4.1
8   -    8       -   3.2
10   -    6       -   2.6
12   -    4       -   2
14   -    2.5    -   1.6
16   -    1.5    -   1.3
18   -    1       -   1
20   -    0.5    -   0.8
22   -    0.3    -   0.65
24   -    0.2    -   0.5
26   -    0.13  -   0.4
28   -    0.08  -   0.32
30   -    0.05  -   0.25

Posted in Development, Hardware Development, LifeHacker, Power User | Leave a Comment »

Idea: managing a garage door with a modified Marantec switch, some sensors and Raspberry Pi

Posted by jpluimers on 2019/12/24

Some links to get this idea going, incomplete, as I have not yet included Domoticz or OpenHAB links:

I will likely need:

  • some optocouplers to decouple GPIO pins from the Marantec switch and sensors
  • sensors for detecting current state: open/closed/opening/closing/obstructed

Warning on selecting GPIO pins:

When the Raspberry Pi reboots GPIO pins are reset to their default state. This can cause your garage door to open without you issuing a command. Please make sure you pick the correct pins so that you don’t accidentally have your garage door opening after a power loss.

The following pins are pulled HIGH (they output a 3.3 volt signal) on reboot:

  • GPIO0/2
  • GPIO1/3
  • GPIO4
  • GPIO7
  • GPIO8

GPIO14 is configured as a Serial Transmit line, so avoid choosing that pin.

All other pins are pulled LOW (they have a 0 volt signal, same as GND).

If your relay triggers when the GPIO pin goes LOW, then pick a pin that starts out HIGH on reboot. If your relay triggers with the GPIO PIN goes HIGH then pick a GPIO pin that starts out LOW on reboot.

–jeroen

Posted in Development, Hardware Development, Hardware Interfacing, Raspberry Pi | Leave a Comment »

Node-RED

Posted by jpluimers on 2019/12/11

Node-RED is a programming tool for wiring together hardware devices, APIs and online services in new and interesting ways.It provides a browser-based editor that makes it easy to wire together flows using the wide range of nodes in the palette that can be deployed to its runtime in a single-click.

Seems one of the ways to automate our home: [WayBack] Node-RED, as it supports many input and output methods with all kinds of nodes between them:

input output
inject debug
catch
status
link link
mqtt mqtt
http http response
websocket websocket
tcp tcp
udp udp
serial serial

It is based on node.js, seems to need PM2 for running as a service, so I need to first figure out how well it runs on OpenSuSE (with more details than this gist).

After that I need to figure out how to version your configurations using git and document as it looks like the configurations sources are stored in JSON format [WayBack].

For resources:

  • StackOverflow node-red tag
  • Github node-red repositories
  • nodered documentation to:
    • get started (including Installation, Running, Adding non-stock Nodes, Upgrading, Creating your first and second flow, running on Docker / Windows)
      • running on a device (Raspberry Pi, BeagleBone Black, Android) which needs extra device specific modules to hardware inputs/outputs
      • communicating with a device (Arduino)
      • running in the cloud (IBM Bluemix, SenseTecnic FRED, Amazon Web Services, Microsoft Azure)
    • user guide (including Configuration, Security, Logging, Command-line Admin, Writing Functions, Embedding into an existing app)
    • cookbook (with many flows covering Basics, HTTP and MQTT)
    • creating nodes (with a wall of information: Creating your first node, JavaScript File, HTML File, Storing Context, Node properties, Node credentials, Node appearance, Node status, Configuration nodes, Help style guide, Packaging, Internationalisation)
    • flows (hundreds of them)

Code is published as JSON, but I wish more examples also showed the visual representation.

Via: [WayBack] Now I can go to bed :-) Added node-red [1] to my setup and thanks to node-red-contrib-ui [2] (replaced by node-red-dashboard [3]) I can now generate ni… – Jan Wildeboer – Google+ who also provided the large screenshot below.

–jeroen

Read the rest of this entry »

Posted in Development, Hardware Development, IoT Internet of Things, Network-and-equipment, Power User, Raspberry Pi | Leave a Comment »

MeanWell Mini Switching Power Supplies May Be Useful for Development Boards

Posted by jpluimers on 2019/11/13

Great power supplies that provide a very stable power source and are adjustable too: [WayBackMeanWell Mini Switching Power Supplies May Be Useful for Development Boards

Via: [WayBack] Tiny Meanwell switch mode power supplies that should provide a good (i.e. reliable) power source for development boards. https://www.cnx-software.com/2… – Jean-Luc Aufranc – Google+

–jeroen

Posted in Development, Hardware Development | 1 Comment »

 
%d bloggers like this: