Does anybody know if it is possible to use CAN communication with beaglebone black when programming with Simulink??
We need Simulink for prototyping so, it is paramount to be able to program with this software.
Thanks.
Related
this is my first post please be kind.
I have experience programming C++, but it has been a few years since I did anything...
I would like to program a real-time CNC controller, to run CNC machines without a motion controller. I will use a Raspberry Pi and connect it to a MESA card for running all the physical inputs and outputs.
The application and GUI for touch screens will in the future support a small simple slicer for 3D printers, and some simple CAM operations for graphically programming CNC machines for simple tasks.
What RTOS would you recommend to build my program on?
-I have thought about making a Linux based system run realtime, or maybe use Zephyr OS.
Please share your thoughts.
Regards William
I would like to run deep learning functionality with MATLAB, and my graphics card needs to have compute capability 3.0 or higher. How do I find out whether it is supported? I checked my PC, and it says Intel HD graphics.
Does my PC support this functionality?
If you're running MATLAB, you can type the command gpuDevice to return information about your graphics card, and it will tell you whether it's supported by MATLAB (i.e. compute capability 3.0 or higher). To run this you'll need to make sure you have a CUDA driver for your card installed (but if you run the command and you don't have the driver installed, MATLAB will give you an error message pointing you to the website where you can install the driver).
If it's a supported card, it should be capable of running MATLAB's deep learning functionality. Bear in mind that this functionality requires not only MATLAB, but also Parallel Computing Toolbox and Neural Network Toolbox as well.
I would like to start a semester project related to Matlab Simulink and USRP devices. I am new in this field and studying regularly about it...
The first step to setup the devices is completed and now I would like to check if both device can communicate properly. For this Reason can any one suggest a simple Communication Module...
anything would be OK to start with. e.g sending text, Image, Voice, Video etc etc...
Regards
I suggest you take a look at the communications toolbox in matlab:
USRPĀ® Support Package from Communications System Toolbox
There seem to be some code snippets for simulink available as well.
BR
Magnus
I hope you can help me. I am trying to build a robot but I am kind of stuck. The Arduino Mega is controlling the stepper motors drivers of the robot. The odroid-x is a single board computer that has installed linaro ubuntu and eclipse c++. All the programming is done in C++ and OpenCV is an image processing library.
The odroid-x has only as input a color camera. Therefore, the information from the camera is received and is processed in eclipse. Then, according to the information that is received, the odroid-x should send different integers to the arduino. The arduino should have a program already uploaded in itself, so it will be waiting for an integer and that integer is going to determine what the arduino is going to send to the drivers.
My questions are the following:
How can I do a serial communication between the arduino and the odroid-x?
How can I send information from eclipse to the arduino with a serial connection?
Thanks so much for any guide you can give me
First, be very, very, very careful. The ODROID boards use 1.8V signalling, so hooking up your 3.3V or 5V Arduino to the pins that expect no more than 1.8V will give you a burnt ODROID-X. It is possible to hook these two boards together if you put a level converter between them, and Sparkfun and Adafruit have some of those converters available. There is even a 1.8V reference voltage pin available... one of the pins that go to the LCD panel RGB-to-LVDS converter board puts out a constant 1.8V.
You could use either the four pins of the little white connector, or UART1, as a serial port, or you can use some of the pins in the 50-pin GPIO block as UART4. There are board schematics available on Hardkernel's website. These two UARTs show up as /dev/ttySAC0 (UART1) and /dev/ttySAC3 (UART4).
I don't know how to talk to those UARTs from a program, personally, but I know there are serial communications libraries available for python from watching threads pop up on the ODROID forums.
I am looking into what's the best method for getting external data (custom built hardware) and to intercept and process this data (programming language / tool), the cheapest and easiest and with the least learning curve.
Background:
I am a web dev.
External device will be switches, motion detection, velocity detection
Programming language: Delphy (which I don't know)? or C# (which I know for web dev) or other?
Anyone done anything like this before? Got any advice?
Any and all information is appreciated.
D
The easiest solution might be to use an Arduino.
It's :
cheap (~ 30$)
easy to program
easy to connect to your PC (it use an USB cable which emulate a serial connection)
have a HUGE community with tons of tutorials for doing whatever you want
Here is an example how to control a led using C#