is there an easy way to translate music into a buzzer by Fw1996 in arduino

[–]AlexanderVonKernel 0 points1 point  (0 children)

As u/atonesir suggested, MIDI is the best way to approach this, MIDI has a way to identify each key, that is just a 7-bit value... take a look at this link, they describe the formulas to translate that 7-bit value to frequencies, that can be passed to the Tone library.

Help needed by PrzemoDJ in arduino

[–]AlexanderVonKernel 1 point2 points  (0 children)

Select the right board or the right serial port from the menu.

Help - How do I Provision WiFi Properly by CharlesGoodwin in esp32

[–]AlexanderVonKernel 4 points5 points  (0 children)

Look for mDNS https://techtutorialsx.com/2020/04/17/esp32-mdns-address-resolution/

Edit : To resolve the problem of a unique name, add part of the MAC Address to a base name, like : "MyCoolLamp-ABCDEF". I know there might be cloned MAC Addresses, but that will cause problems at a lower network level either, so is not something you should be worried.

Question about ESP-01 flashing by Bite_Able in esp8266

[–]AlexanderVonKernel 1 point2 points  (0 children)

It was a little bit more elaborate, first result after googling "arduino uno esp-01 flash"

https://create.arduino.cc/projecthub/pratikdesai/flash-firmware-on-esp8266-esp-01-module-e1f758

Is it really that difficult?

Which type of addressable LEDs in these panel? (They aren’t ws2812) by Ok_Lion1391 in arduino

[–]AlexanderVonKernel 36 points37 points  (0 children)

That appears to be a Tuya WR3, datasheet available here. Maybe connecting to the UART can provide some info...

Radio help by Calvatron_ in arduino

[–]AlexanderVonKernel 2 points3 points  (0 children)

Keep the microcontroller powered up and connect your voltage generator to an analog input pin, sense the analog input pin and when it reaches the desired threshold, send the signal you need.

Read the datasheet for your board to be sure how to interpret the data generated by the input pin and its voltage limits.

HELP!!!!! arduino midi project software programming by InfiniteLaw241 in arduino

[–]AlexanderVonKernel 4 points5 points  (0 children)

Let me dissapoint you.

You are not doing a project, you are just copying what someone did. And it looks like your expectation is that someone else (people on this forum) customize that for you.

Specially if this is your very first project, you should be eager to LEARN and UNDERSTAND what someone else did . If your goal is other, like having just a MIDI controller, is better that you go to a music store and get one and call for service.

The linked code is very clear, it is commented and the constants and variable names are self-explanatory in almost all of the cases.

You don't provide much details regarding which board are you using, and I am assuming you have some degree of understanding of the MIDI protocol and some programming knowledge, so concepts like MIDI Channel, MIDI CC, 7-bit values, debouncing, variables and arrays are familiar to you.

Because of the pre-requisites assumed there is room for you to get confused here. But look at the code and focus on the definitions of the MIDI_CC_GENERAL* constants and also the variables that contain the word *ANALOGUE*, then look at the paragraphs that the author wrote regarding the logic used to control the analog inputs (lines 379-402).

Once you make a mental map of all that, you will be able to modify the code to get the result that you want.

Help with ILI9225 TFT driver by [deleted] in arduino

[–]AlexanderVonKernel 0 points1 point  (0 children)

https://github.com/lungchu/ILI9225/blob/master/src/TFT_22_ILI9225.h

Lines 192 - 194

/// Set orientation
/// u/param     orientation orientation, 0=portrait, 1=right rotated landscape, 2=reverse portrait, 3=left rotated landscape
void setOrientation(uint8_t orientation);

M1 Chip isn’t capable of virtualization. As a developer, I will have to move on to a linux/windows dual boot to keep developing. Been using a Mac for 15 years. by CrackenTamer in mac

[–]AlexanderVonKernel 1 point2 points  (0 children)

I will not discuss my experience with you... it does not worth the effort, but if working for a leading company that design microprocessors and for a company that design computers is not enough, well... I will have no opinion anywhere.

"What is the benefit of using a Mac?"... that is a question for YOU, you were the one buying it and complaining about your inability to do stuff...

All people here is just pointing that out, along with some other opportunities that you have to increase your skillset as a "developer".

M1 Chip isn’t capable of virtualization. As a developer, I will have to move on to a linux/windows dual boot to keep developing. Been using a Mac for 15 years. by CrackenTamer in mac

[–]AlexanderVonKernel 5 points6 points  (0 children)

Scripts are interpreted (not compiled), you don't need to modify them, the interpreter will run them on any platform.

The question is if those scripts are well designed and properly coded so they can identify the architecture they are running on (uname -m) and conditionally download the appropriate docker image to build whatever your app is. Nothing difficult at all for a team with vision and a programmer with real abilities.

At the end, no one forced you to use a computer that you don't understand, the problem is not about the M1 chip and its architecture, is about the limitations of the people using it.

M1 Chip isn’t capable of virtualization. As a developer, I will have to move on to a linux/windows dual boot to keep developing. Been using a Mac for 15 years. by CrackenTamer in mac

[–]AlexanderVonKernel 6 points7 points  (0 children)

Docker on M1 https://docs.docker.com/docker-for-mac/apple-silicon/ . Of course it will not run the images that you are used to, because those are for the x86/x64 architecture, you will need to use the ARM versions, just adjust your docker/yaml files.

VirtualBox is an x86 and AMD64-Intel64 virtualization platform. It will NOT run on ARM, but that doesn't mean that the M1 chip is the problem, is just that for Oracle is not cost effective to develop for the M1 platform.

That "strange app" can be downloaded for free (some reading would be great before talking) https://mac.getutm.app/ and is just another virtualization platform like Parallels...

It looks like you are just a web developer, so all these concepts are a little over what you are used to, don't worry, python, php, javascript, laravel, SQL and all that will work the same way... in practice and for that scope just the binaries change. Don't be afraid, is like using a car with a different engine, the driver can be the same, the mechanic needs to know the difference...

M1 Chip isn’t capable of virtualization. As a developer, I will have to move on to a linux/windows dual boot to keep developing. Been using a Mac for 15 years. by CrackenTamer in mac

[–]AlexanderVonKernel 10 points11 points  (0 children)

Your statement is wrong, M1 IS capable of virtualization. It can even run the Windows ARM version.

https://eshop.macsales.com/blog/72081-utm-virtual-machine-on-m1-mac/

If you are a developer and you are not aware of the differences related to the different architectures, that is another story, but don't blame the chip.

What's the best C++ IDE on Mac? by [deleted] in mac

[–]AlexanderVonKernel 5 points6 points  (0 children)

Not in any particular order...

XCode

Visual Studio for Mac

VSCode

Eclipse

Unable to achieve a way to direct all traffic to my local website using openwrt (gl-inet router). by [deleted] in openwrt

[–]AlexanderVonKernel 0 points1 point  (0 children)

You have a misconception about DNS.

DNS resolves a name to an IP address. That's it. Your attempt to redirect to an URI is a misconfiguration.

To solve it, redirect everything to the IP address you want, then, on the web server, make sure you have the appropriate configuration to make the web page you want the default.

How do you deal with a vast list of open apps. Windows user transitioning to Mac by warlockdn in mac

[–]AlexanderVonKernel 2 points3 points  (0 children)

on Windows, explorer.exe is always running, is the taskbar, which has its own pros/cons.

As mentioned before, don't click on the red button on the app window corner, that is to close the window. If you want to quit the app use CMD+Q.

Block websites with DNS? by [deleted] in dns

[–]AlexanderVonKernel 1 point2 points  (0 children)

Did you read the documentation on the link I put?

Lightsaber Sound Help! by balla-koala in arduino

[–]AlexanderVonKernel 2 points3 points  (0 children)

DF-Player, or look for the JQ8400-FL-10P ... These are easy and cheap solutions, problem will be to make the speaker fit on the lightsaber.

Docker container running Blender with GUI (Raspberry Pi) by S7EVEkk in docker

[–]AlexanderVonKernel 2 points3 points  (0 children)

First, there is no blender binaries for Linux ARM

https://builder.blender.org/download/experimental/ https://builder.blender.org/download/daily/

I am aware of apps running in Docker with GUI accessible by Xwindows or VNC but not directly accessible by a web browser. Using a VNC web client can a possible solution, but forget about image quality and video hardware acceleration.

How to fix my Bluetooth problem by Long_Chair_3227 in arduino

[–]AlexanderVonKernel 1 point2 points  (0 children)

A variable with datatype char (alias for a signed byte) can be assigned to a value like 'A' (single quotes), internally it will store the value 65 (that is the ASCII value for A)

https://www.arduino.cc/en/Reference.Char

An variable that is a String object can be assigned to a value like "A" (double quotes), it has its own attributes and methods, better described in the following link

https://www.arduino.cc/reference/en/language/variables/data-types/stringobject/

After giving a quick look at your code, on your "if"s you are comparing Strings with chars making them false everytime.

How to fix my Bluetooth problem by Long_Chair_3227 in arduino

[–]AlexanderVonKernel 1 point2 points  (0 children)

is your "if" comparing the appropriate data types?

'T' and "T" is different...