Rs232 send/receive?
Hi !
There is a serial port module that just do that !
if you have a real serial port on your computer (usually PC tower do) that is easy.
If you're on a laptop, you'll need a good USB to Serial interface. Keep away from the cheap ones as they are not very reliable and stable. This one is a good pick : https://www.ebay.fr/itm/UGREEN-Cable-Se ... SwSidcPwut
as for IR command, you could use a teensy 2 and a IR receiver (both work with 5Volts)
https://www.ebay.fr/itm/Teensy-2-0-USB- ... :rk:1:pf:0
https://www.ebay.fr/itm/IR-Infrared-Sig ... rk:11:pf:0
the decoder will send to the teensy in TTL level serial then the Teensy will translate all that and send to the USB as MIDIUSB
For Ethernet, same decoder + arduino uno + wiznet
https://www.ebay.fr/itm/W5100-Ethernet- ... :rk:1:pf:0
There is a serial port module that just do that !
if you have a real serial port on your computer (usually PC tower do) that is easy.
If you're on a laptop, you'll need a good USB to Serial interface. Keep away from the cheap ones as they are not very reliable and stable. This one is a good pick : https://www.ebay.fr/itm/UGREEN-Cable-Se ... SwSidcPwut
as for IR command, you could use a teensy 2 and a IR receiver (both work with 5Volts)
https://www.ebay.fr/itm/Teensy-2-0-USB- ... :rk:1:pf:0
https://www.ebay.fr/itm/IR-Infrared-Sig ... rk:11:pf:0
the decoder will send to the teensy in TTL level serial then the Teensy will translate all that and send to the USB as MIDIUSB
For Ethernet, same decoder + arduino uno + wiznet
https://www.ebay.fr/itm/W5100-Ethernet- ... :rk:1:pf:0
http://oli-lab.org
Win11 Ryzen9/32GB RAM - RME MADIFACE - SSL alpha link 4-16 - OSC capable interfaces
follow OLI_LAB adventures on Mastodon
@olivar_premier@mastodon.social
Win11 Ryzen9/32GB RAM - RME MADIFACE - SSL alpha link 4-16 - OSC capable interfaces
follow OLI_LAB adventures on Mastodon
@olivar_premier@mastodon.social
If you were getting it for yourself, would you get the Teensy 2 or the IR, Oli_lab?
already done IR over OSC few years ago as all my interfaces can be connected on the same networkSwofford wrote:If you were getting it for yourself, would you get the Teensy 2 or the IR, Oli_lab?
for a simpler use, I'll recommand teensy2 as USBMIDI AND the IR decoder connected to the Teensy.
What I wouldn't bother doing is using the IR decoder with a serial TTL to USB serial as it will be not very easy to reliably setting up.
with teensy USBMIDI, there is a trick to make each device with a different name : that is required to use more than one teensy on the same computer.
// To give your project a unique name, this code must be
// placed into a .c file (its own tab). It can not be in
// a .cpp file or your main sketch (the .ino file).
#include "usb_names.h"
// Edit these lines to create your own name. The length must
// match the number of characters in your custom name.
#define MANUFACTURER_NAME {'O','L','I','_','L','A','B'}
#define MANUFACTURER_NAME_LEN 7
#define MIDI_NAME {'M','E','L','E','C','1'} //changer ici le nom d'un teensy à l'autre
#define MIDI_NAME_LEN 6
#define SERIAL_NUM {'1'}
#define SERIAL_NUM_LEN 1
#define MIDI_PORT1_NAME {'V','i','d','e','o','_','c','o','n','t','r','o','l'}
#define MIDI_PORT1_NAME_LEN 13
// Do not change this part. This exact format is required by USB.
struct usb_string_descriptor_struct usb_string_manufacturer_name = {
2 + MANUFACTURER_NAME_LEN * 2,
3,
MANUFACTURER_NAME
};
struct usb_string_descriptor_struct usb_string_product_name = {
2 + MIDI_NAME_LEN * 2,
3,
MIDI_NAME
};
struct usb_string_descriptor_struct usb_string_serial_number = {
2 + SERIAL_NUM_LEN * 2,
3,
SERIAL_NUM
};
struct usb_string_descriptor_struct usb_string_midi_port1 = {
2 + MIDI_PORT1_NAME_LEN * 2,
3,
MIDI_PORT1_NAME
};
http://oli-lab.org
Win11 Ryzen9/32GB RAM - RME MADIFACE - SSL alpha link 4-16 - OSC capable interfaces
follow OLI_LAB adventures on Mastodon
@olivar_premier@mastodon.social
Win11 Ryzen9/32GB RAM - RME MADIFACE - SSL alpha link 4-16 - OSC capable interfaces
follow OLI_LAB adventures on Mastodon
@olivar_premier@mastodon.social
Thanks OLI! Would you recommend anything like this for RS232 over Ethernet?
https://www.workpro.es/products/lm-serial
https://www.workpro.es/products/lm-serial
I'll respond to you with more details later on, just make sure you understood the difference between RS232 and TTL serial, even tho those 2 things are similar, you cannot connect a TTL thing to a RS232 port
do you already have the IR decoder ?
What I'll do, because i'm a DIY guy :
if I want the IR decoder far away from th computer : IR decoder, wiznet ethernet shield , arduino uno (OSC)
if the IR decoder is close to the computeur : IR decoder, teensy 2 (MIDI)
do you already have the IR decoder ?
What I'll do, because i'm a DIY guy :
if I want the IR decoder far away from th computer : IR decoder, wiznet ethernet shield , arduino uno (OSC)
if the IR decoder is close to the computeur : IR decoder, teensy 2 (MIDI)
http://oli-lab.org
Win11 Ryzen9/32GB RAM - RME MADIFACE - SSL alpha link 4-16 - OSC capable interfaces
follow OLI_LAB adventures on Mastodon
@olivar_premier@mastodon.social
Win11 Ryzen9/32GB RAM - RME MADIFACE - SSL alpha link 4-16 - OSC capable interfaces
follow OLI_LAB adventures on Mastodon
@olivar_premier@mastodon.social
nope just poking around at this point but will post my findings once and if i pull the trigger on it.
Who is online
Users browsing this forum: Bing [Bot] and 88 guests
