2019-05-14 (Tu) Little Drummer Bot LittleDB

Receiving MIDI communication was supposed to take a couple of hours, but this was the second day. A list of possible remedies was sketched. The first try was using different communication cables, even though the cable worked well with the old Electronic Wind Chimes. There was no change with new cables. One difference between the drum machine and the old EWC was the metal case which made contact with the sleeve of the 3.5mm headphone cable. When the headphone socket was freed from the metal enclosure, there was no change in the received data.

The last hardware change was to feed the drum machine clean power. First, a USB switch was added, which did not have data connectors. The fear was that the serial to USB chip was interfering with the MIDI communication even though it was not necessary at this point. There was still no change in the received data.
 Clean USB power

The problem seemed to be in the drum machine code. Serial MIDI used a baud rate of 31,250 bits per second, bps, but that was not one of the Arduino standard options. As an experiment, the baud rate of the drum machine and receiver were set to 9,600 bps, which was a reliable rate. This produced the correct output! The frequency was increased until the data stream became unreliable somewhere between 18,000bps and 20,000bps. To send data, this disparity will have to be solved.


The rest of the posts for this project have been arranged by date.

First time here?

Completed projects from year 1
Completed projects from year 2
Completed projects from year 3
Completed projects from year 4
Completed projects from year 5
Completed projects from year 6

Disclaimer for http://24hourengineer.blogspot.com and 24HourEngineer.com

This disclaimer must be intact and whole. This disclaimer must be included if a project is distributed.

All information in this blog, or linked by this blog, is not to be taken as advice or solicitation. Anyone attempting to replicate, in whole or in part, is responsible for the outcome and procedure. Any loss of functionality, money, property or similar, is the responsibility of those involved in the replication.

All digital communication regarding the email address 24hourengineer@gmail.com becomes the intellectual property of Brian McEvoy. Any information contained within these messages may be distributed or retained at the discretion of Brian McEvoy. Any email sent to this address, or any email account owned by  Brian McEvoy, cannot be used to claim property or assets.

Comments to the blog may be utilized or erased at the discretion of the owner. No one posting may claim property or assets based on their post.

This blog, including pictures and text, is copyright to Brian McEvoy.

2019-04-24

Comments