Core2 use a CP2104/CH9102F chip for USB-UART communication over USB. Your PC will see a UART (serial port) device (like the good old RS-232) not a midi device. To solve your problem you need either a piece of software on your PC that emulates a MIDI interface and route the data from UART or a piece of hardware that act as USB MIDI interface and is connected to your Core2 by GPIO. It might also be a solution to send MIDI over the (Wifi-) network.
Posts made by holofloh
RE: Core2 - Sending midi to a DAW.
RE: IMU - what is the best vibration sensor
Please specify the vibrations you want to measure. There is a big difference between a mosquito landing on a concrete block and a earthquake that cracks the block. Both has to do with vibrations...
The best will be to open the datasheets (both are linked) and compare. As far as I see the range and sensitivity are more or less similar for both sensors.
RE: DMX Addressing
I don't see your problem. Just send the data to the according address of your light.
Maybe you do not understand the addressing of DMX lights?
You need to configure an individual start channel (address) for every light with a spacing of at least the number of channels your light support. E.g. your RBGW light is set to 4-channel-mode and its start channel is set to 1, then it listen to the channel 1, 2, 3 and 4. The next light can have the start channel 5 and so on. Some more complex lights like moving heads can have more than 30 channels. It is possible to have up to 512 channels per physical bus (called DMX universe)
You may set several identical lights to the same address but then they all do the same.
Also very important: The last light in the bus should have a terminator plug/resistor. It may work without but often a missing terminator cause strange effects on the DMX bus.
RE: Random Integer Problem
According to https://xkcd.com/221/ the random number should be 4 :-)
In reality a randomizer will just be an algorithm to create numbers and often they get initialized by a timer. So if you always start the same code after reset and read the number it seems to met always the same initialisation. I miss a function to "randomize" the initialisation. Try to do it by any loop/function before that delays in a random way e.g. connection to wifi or read from a noisy AD channel until a specific value is read.
RE: Minimum temperature range for Cameras - UnitV K210 AI Camera and OV2640
I don't know the exact specs and I have not tested. In my oppinion the battery will be the weak point. The small LiPo bag-batteries often go very weak below 0°C. You may remove it and power from external.
The datasheet of the image sensor OV2640 says operating is allowed between -30°C and +70°C, stable image between 0°C and 50°C. for the other components you can find similar information in their data sheets.
Make sure there is not too much humidity in air as it can condense on the electronic parts.
It may help to pack the camera into thermal insulation so that it heats itself a bit over the environment. In extreme environment a small extra heating could help.
RE: M5Paper suggestion for multiple serial capture
Did you ever think about multiplexing? One Header as Serial I/O and one as 2-Bit control for an external 1:4/4:1 MUX. The SN74LV4052A for example provide two1:4 paths. You can use one for the RX, one for the TX signals.
Your program need to select the channel by two bits and then do the normal UART stuff as usual.
RE: RGB Leds Crossfade
This is not an Uiflow specific solution. Try as following:
- Decide how many steps you want from start color to end color. e.g. 10 steps
- find the step size from start to end color e.g. you want from value 100 to 200 (difference / steps) = step size 10.
- loop for the number of steps and increase/decrease the value with the calculated step size.
RE: Can't Run the Config util
some USB to UART chips such as the CP210x family are customizable by the device manufacturer to have its VID and / or PID.
In this case you need also a cusomizated driver or telling the existing driver the new VID/PID (which is possible for example in a linux environment). It is no problem to have several drivers in parallel as they only work for devices with the correct VID/PID.