I am currently working on my senior design project. I have made the stack of raspberry pi's. I am just wondering on how to create a BACnet stack where each raspberry pi device is a unique device, with a unique device ID. Additionally, we plan to use a cisco switch to connect with other raspberry pi stacks. I understand that there is a bacpypes module, which is amazing but it is mainly for dealing with a bacnet device. In my scenario, I need to create a stack of raspberry pi's emulating the BACnet communication protocol.
It would be really helpful
Quickest way:
Compile Steve Karg's BACnet stack by following this: "How to build a FOSS BACnet Server based on Steve Karg’s SourceForge project" on the BITS blog.
Run the BACnet SErver sample executable on each of your Pis:
cd /demo/server
./bacserv
May I suggest trying BAC0, a python implementation of BACnet.
BAC0 is a high level wrapper around bacpypes. And when launched, becomes a BACnet device on any network.
https://github.com/ChristianTremblay/BAC0
https://bac0.readthedocs.io/en/latest/
Related
I got my hands on an already deployed yocto system (yocto 2.6.2 - thud) on a board with a NXP i.MX 6UL Cortex-A7. My only possible access at the moment is via wifi. I have access as root via wifi with ssh. The board is embedded into a case which I can't open. So no physical access to that board - just wifi.
My further intention is to setup/deploy/flash my own OS (yocto/debian/etc.) onto this board, but I have no proper knowledge to do so...
Is it even possible to flash a new image only with wifi access?
Which step is the next one I should consider?
Are there any documentations to start with?
Thanks
From your comments, I mention that you have the Variscite DART-6UL module. The producer of your module provides a wiki with lots of information and tutorials on how to start work with. Variscite DART-6UL Wiki
How to build your yocto system
Ready solution for update - SWUpdate Guide
Using SWUpdate is the easiest way to achieve updates for your module.
Custom solution:
Another way is to develop your own mechanism. In this case, you can do developed all processes and make them fully automatic, but it is complicated and required knowledge and experience.
For development boot from the server
For the development time, it can be useful to use booting from TFTP/NFS server. More information here
Other help sources:
Yocto Project - System Update
SWUpdate: software update for
embedded system
Updating Embedded Linux Devices: SWUpdate
I am using a raspberry pi and I am trying to do a project where I want to turn my Raspberry pi 4 into a development machine to write spring boot applications for API development so far it has been a success. But to test the API I use curl. I need a GUI client So I came across Advanced rest client. if there is an arm build that will be awesome. Or if I have to build from scratch I can do that on my raspberry pi. But I need to know the build process. If anyone can point to to any documentation or readme that will be great.
I think the source is at :
https://github.com/advanced-rest-client/arc-electron
I've started testing edgeSDK in a prototype IOT environment.
The idea is to connect devices with sensors and other nodes (Raspberry Pi, ESP8266, macOS, etc.) and exchange data or messages between them on the edge, trying to avoid communicating through the cloud.
(I will be also "mirroring" this exchanges in an AWS central cloud environment, to establish some comparisons/evaluations).
At this point, I have edgeSDK running on macOS and the Raspberry Pi and would like to add ESP8266 into the mix.
My Question is:
Can I get ESP8266 to work with edgeSDK? I don't see it listed as a supported platform.
If yes, which OS? (I was thinking about Mongoose, keeping the JavaScript coding and follow the standard).
Any other comments/suggestions or similar references would be very welcome!
ESP8266 is a microcontroller, which edgeSDK does not support. However, you can run a RESTFul API client on ESP8266 to call a API served by a microservice hosted by edgeSDK on a Raspberry Pi for example.
Currently I am working on simulation of SCADA system using bacnet protocol for network communication with my Raspberrry Pi for my final year project.
Current status: Raspberry Pi 2 able to run openplc (act like PLC)
done installing ScadaBR (act like SCADA system)
Current issue: How would I implement bacnet protocol for data link to make connection between both Raspberry Pi and my workstation?
I tried to research on bacnet stack protocol, implement some opensource but there is no luck. But I using the demo of youtube video (http://www.youtube.com/watch?v=0TJIrnAPsw4).
It making raspberry pi act as a bacnet server. the code is working perfectly. How can I find a bacnet protocol (client version) running on my Raspberry Pi.
here are some question I unable to source:
Which bacnet stack able to control the bacnet communication between PLC (Raspberry Pi) and ScadaBR?
How Raspberry Pi (openPLC preinstalled) communicate with ScadaBR?
use which bacnet stack to implement both workstation.
The BACpypes library is written Python and runs on a variety of platforms, if you still have some time before the end of the term for your final project, contact me (the author) and maybe we can make something work. I see that your question is tagged with Java, but maybe you have other options.
I am interfacing with some external hardware (can't disclose much details on hardware) and I am using Ethernet cable to talk to external hardware boards. I have windows 7 on my machine. In between the external hardware and my PC, I have a small ethernet hub that communicates with multiple circuit boards of my external hardware.
Also, in order to get internet connection on my PC, I am using a USB2Ethernet adapter which provides me the internet connectivity.
The problem I am having is that whenever PC is connected to internet, certain test that I run on the external hardware do not work. If I dicsonnect the internet cable, then my external hardware works fine and I can do my testing.
I have disabled the USB2Ethernet through device manager and (I get no internet) and tried to run the test and my hardware doesnt work.
Has anyone encounter a problem like this and if so, what would be an ideal solution? Any help would be greately appreciated.
Please feel free to contact for any other information related to the problem if I haven't explained it well.