Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 320
» Latest member: C@rlo5Sepulveda
» Forum threads: 310
» Forum posts: 1,430

Full Statistics

Latest Threads
Mosquitto MQTT Broker
Forum: Software
Last Post: C@rlo5Sepulveda
Yesterday, 03:08 AM
» Replies: 1
» Views: 71
Automatic setup of NetPI ...
Forum: Software
Last Post: Armin@netPI
December-12th-2019, 03:23 PM
» Replies: 3
» Views: 15
running ethercat slave
Forum: Projects
Last Post: MGharat
December-10th-2019, 10:06 AM
» Replies: 6
» Views: 18
NIOT-E-NPI3-EN
Forum: Software
Last Post: Armin@netPI
December-5th-2019, 02:57 PM
» Replies: 8
» Views: 40
file folder with netPI RT...
Forum: Software
Last Post: Armin@netPI
December-5th-2019, 07:04 AM
» Replies: 1
» Views: 12
tcp/ip udp to EIP convert...
Forum: Projects
Last Post: Armin@netPI
December-4th-2019, 02:17 PM
» Replies: 1
» Views: 6
Starting example cifxlinu...
Forum: Software
Last Post: Armin@netPI
December-2nd-2019, 07:45 PM
» Replies: 4
» Views: 15
[SOLVED] netPI with Raspb...
Forum: Software
Last Post: Armin@netPI
November-28th-2019, 06:01 PM
» Replies: 8
» Views: 55
C Compiler
Forum: Software
Last Post: Armin@netPI
November-28th-2019, 12:36 PM
» Replies: 1
» Views: 10
Zuführungssystem mit netP...
Forum: Projects
Last Post: pstern
November-26th-2019, 09:13 PM
» Replies: 5
» Views: 15

 
  [SOLVED] Raspberry compute module used?
Posted by: dcatteeu - September-16th-2019, 02:05 PM - Forum: Hardware - Replies (2)

Hi,

Does the netPI host a Raspberry Pi Compute Module? Or is it a completely new board?

Thanks,
david.


  AnyDesk remote desktop (over the internet)
Posted by: Armin@netPI - September-15th-2019, 10:32 AM - Forum: News - No Replies

Wanna control a netPI desktop from remote over the internet?

No problem since the latest release of netPI's Desktop container featuring AnyDesk.

All you need to do is to install AnyDesk on your remote machine, enter the ID shown on netPI's desktop and the screen is right there.

For private and non-commercial use AnyDesk is for free. With a license for just 16,99€/month (september 2019) you can logon to an unlimited number of devices.

Products like TeamViewer in comparison would cost you 57,90€/month (september 2019) for the very same offer while REALVNC is about 36€/year (september 2019) for a single device.

Regading prices and license models pls visit the 3rd parties'  websites in any case.

Thx
Armin


  Designing own NPIX extension modules
Posted by: Armin@netPI - September-12th-2019, 11:54 AM - Forum: Hardware - No Replies

This post is an extend to the posts:

a. Custom NPIX modules: https://forum.hilscher.com/Thread-Custom-NPIX-modules
b. NPIX Board-outline: https://forum.hilscher.com/Thread-NPIX-board-outline

What HAT (Hardware Attached on Top) modules are for the Raspberry Pi the NPIX modules are for netPI. They are add-on boards extending basic devices with physical hardware to add more connectivity to them.

HAT modules are attached onto RPi3B 40W GPIO headers whereas NPIX module are shifted into a slot at netPI's bottom. The good thing is that NPIXs' connecting host signals (not all supported) are the same as those known from HAT. So in the end only the modules' form factor is different. This means that the official HAT introduction on Raspberry HATs applies for NPIX as well.

There is a set of Hilscher netPI NPIX extension modules already released. The manual for those can be obtained from the download section here.

But how about designing own NPIX modules?

For designing own NPIX modules you should consider the following questions:

  1. Will I be using the standard netPI with preinstalled software or do I use a netPI version without SD card for using my own system software?

    Reason for this question: An NPIX respectively HAT module has an EEPROM needed for automatic Linux onboarding using overlay/device-tree techniques. The content of the EEPROM must match to the used OS. If you are using the original Raspbian system software the HAT's git hub project applies to compile your own EEPROM file. If you are using the standard netPI only Hilscher is able to provide you an EEPROM file based on the settings you need to tell us.

  2. Is it possible for me to design an NPIX module that reuses one of the existing mounting brackets or do I need a new bracket with a new front?

    Reason for this question: NPIX modules need brackets for proper mounting. For Hilscher's NPIX we have a set of brackets already in stock ready to be offered to you for sale at a price of 7EUR/piece at 100pcs. The following brackets are available through us


    .pdf   NPIX-RCAN-bracket.pdf (Size: 212.47 KB / Downloads: 3)

    .pdf   NPIX-AIDIO-bracket.pdf (Size: 214.69 KB / Downloads: 5)

    .pdf   NPIX-IOL-bracket.pdf (Size: 23.11 KB / Downloads: 4)

    .pdf   NPIX-RJ45-bracket.pdf (Size: 104.29 KB / Downloads: 2)

    In any case it is possible to receive our brackets directly from our manufacturer in Taiwan. This will lower the price for you. In such case we would inform the manufacturer for your subscription of an order permission for those.

    For new brackets it is possible to deal with the manufacturer directly. In this case Hilscher is in the loop no more and delivers best price ratio. The manufacturer just needs a drawing of the new bracket's front and he will provide you an offer. Usually he will not charge you with an initial tooling fee until it is only the
    bracket's front that is different to existing brackets.

  3. Will all signals provided by the NPIX mPCIe connector cover my NPIX hardware setup in mind?

    Reason for this question: The standard 40W PIN header of RPi3B provides a lot of signals and features the design of full featured HAT module. On the NPIX connector a subset of all those singals is available. On netPI some are already in use like the SPI0 for the netX industrial network controller so it doesn't make sense to offer them in NPIX. So study the NPIX documentation and the connector's pinout well before starting a design.

  4. Have I evaluated my design in mind with a mock-up using an NPIX-EVA evaluation board before?

    Reason for this question: We offer a board that routes the inner NPIX mPCIe connector signals on a pin header. This allows you to make a design study with ease and avoids unwanted surprises if you have started directly with the PCBA design and are recognizing them with the first prototypes.

Thx Armin


  USB camera issues
Posted by: dcatteeu - September-12th-2019, 08:27 AM - Forum: Software - Replies (9)

Hi,

I have a docker container with a Python application that connects to a USB (infrared) camera. 

The docker container runs fine on the Raspberry Pi 3 B, but not on the netPI. 

On the netPI, additionally to running in privileged mode, I have added following devices: 
/dev/gpiomem (for digital IO), 
/dev/bus (for usb; I also tried with just /dev/bus/usb), 
/dev/video0, and
/dev/hidraw0.


The camera library complains about data corruption and "select error". Since, the problem does not appear on the Raspberry Pi and happens inside code I do not own, I see no way how to debug this.

Any idea what other docker container configuration could be missing? Or any ideas on how to investigate this?

Some extra details, just in case:
- The RaspberryPi is connected to the intranet via Wifi, the netPi via Ethernet.
- Infrared Camera: Optris Xi400, https://www.optris.global/optris-xi-400
- Camera SDK for Linux: http://documentation.evocortex.com/libir...index.htmlhttps://evocortex.org/downloads/
- The container is based on the image https://hub.docker.com/r/balenalib/raspberry-pi (balenalib/raspberry-pi-debian-python:3.7.4).
- The Python app also reads and write some GPIOs.
- There's a second container running Redis.

Thanks,
david.


  error when using GPIO from Python
Posted by: dcatteeu - September-9th-2019, 12:24 PM - Forum: Software - Replies (4)

Hi,

I have a docker that runs a Python application which uses GPIOs (via the Python RPi.GPIO library).

This docker runs fine on the Raspberry Pi 3B, but not on the netPI. I get:

Code:
RuntimeError: No access to /dev/mem.  Try running as root!

Further information:
- I do start the docker container with the `--priviliged` option.
- I have not yet attached a DI DO extension the netPI. I assume the module is "just" extending the GPIOs to the outside.
- On the Raspberry Pi, I don't use portainer.
- I've upgraded the firmware of the netPI to the latest version on September 5.

Are there any differences between the netPI and Raspberry Pi concerning the GPIOs or am I doing something wrong?

Thanks,
david.


  EIP Node Red configurator
Posted by: mnieuzyla - September-6th-2019, 01:44 PM - Forum: Software - Replies (4)

Hi,

I'm trying to test a Ethernet IP communication with netPI on NodeRED.
I managed to deploy NodeRed on docker (it needed upgrade, so I have firmware version V1.2.0.0). However, when I try to configure the Fieldbus node, I can choose the EIP adapter, but I cannot enter the configurator. Web browser is trying to open new tab (https://DeviceIP:9000/webConfigurator/fieldbus?Config_Filename=Hil~cifX0~Ch_2~CC_5~PC_10.json) and then halts with ERR_CONNECTION_CLOSED (chrome).

Is there something missing in the nodeRED package?NIOT-E-NPI3-51-EN-RE | V1.2.0.0


  Connecting two LAN network segments
Posted by: Lingyue - September-5th-2019, 04:19 PM - Forum: Hardware - Replies (2)

Hello Armin,

Now we want to use netPI to connect MES system and the machine tool which on field at the same time. Both network are standard TCP/IP ethernet protocol, they are different network segment, but on our netPI just has one ethernet interface. We have considered the way to use WiFi. Do you have any other suggestions for this question? 

Looking forward your reply.

Lingyue


  NodeRed and EtherCAT
Posted by: Schranz - September-2nd-2019, 03:37 PM - Forum: Software - Replies (1)

Currently I use a netPI RTE 3 as a profinet client with a hilschernetpi/netpi-nodered-fieldbus container.
Now I need to do the same as an ethercat client. Possible with NodeRed (FIELD ecs)?

The sample container hilschernetpi/netpi-netx-programming-examples works.


  create container in Portainer v1.12.4
Posted by: dcatteeu - August-29th-2019, 09:59 AM - Forum: Software - Replies (2)

Hi,

I have a NetPi with Portainer v1.12.4. 

I can't seem to figure out how to start a container from an image that is available on my local docker registry.

I can specify a docker registry, but the NetPi has no way of knowing where to find it. I think I need somehow to specify it's ip address (adding it to /etc/hosts) and its certificate (adding it to /etc/docker/certs.d/<myregistry>/ca.crt).

Am I missing something or is this not possible in this old version?

Thanks,
david.


  NPIX-RS485 with auto direction control now available
Posted by: Armin@netPI - August-26th-2019, 07:18 AM - Forum: Hardware - No Replies

We changed the RS-485 transceiver used on module NIOT-E-NPIX-RS485 in REV#2.

The new part - MAX13488E - features auto direction control and is switching between TX (transmit) and RX (receive) mode automatically once you enabled it. The advantage is to be no longer compelled to handle switching in software causing unpredictable/prolonged switching times and loss of serial receive data if too long.

The MAX13488E is pin compatible to the previous used transceiver SN65ALS176 in #REV1. Instead of using the TX_EN pin to switch between TX/RX as done before on #REV1 you have now just to set the TX_EN pin to "high" state a single time and automatic direction control is enabled.

With Node-RED for example you could just inject a "true" to a rpi gpio node directed to GPIO17 (TX_EN) and you are done:

Code:
[{"id":"287692d1.c61e06","type":"inject","z":"d31910c1.fd0618","name":"","topic":"","payload":"true","payloadType":"bool","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":295.5,"y":599,"wires":[["6bbb3ed9.4bb6d8"]]},{"id":"6bbb3ed9.4bb6d8","type":"rpi-gpio out","z":"d31910c1.fd0618","name":"","pin":"11","set":"","level":"0","freq":"","out":"out","x":483.5,"y":599,"wires":[]}]


After pulling the TX_EN pin to high state the NPIX-RS485 module will get compatible with any serial communicating program or Node-RED node.

Download the latest NPIX modules documentation highlighting the modules' difference in the download section here .

Thx
Armin