@felmue I found the M024 M-BUS Connection proto board. It looks like the bus is available on two rows. I think this is the thing to use for connecting to the bus.
Posts made by stanely
RE: Core2 Proto Perf Board
@felmue I got some of these proto boards model M001, and it was a real mistake. They don't break out any bus signals, so you have to solder tack on tiny wires to the inaccessible surface-mount headers. Ugh. This is a poorly-designed and hard to use proto board. All they had to do is add a couple through-hole rows with the bus signals. I have yet to find a single example of someone actually using this proto board to build something useful.
UIFlow 2.0 Suggestion
In case the UIFlow team is working on 2.0, please explore a means of adding modular programming concepts to Blockly. It would be great if blockly segments could be selected, saved, and imported. That way complex pieces of code could be reused, instead of re-created.
RE: UIFlow Desktop 1.0.17, Custom Block Problem?
I tried this with the online version of UIFlow, and am able to open MakerCloud1.m5b but not the custom blocks I created with the desktop version.
Using the online UIFlow Block Maker, I was able to create, save (download), and open for edit a new block. I was also able to open the new custom block for insertion into the Blockley workspace.
This is in fact a bug in the desktop version of Block Maker.
UIFlow Desktop 1.0.17, Custom Block Problem?
Is there a bug in UIFlow Desktop version or am I doing something wrong? I'm unable to create a working custom block. Also, can't reload a created block for editing.
I'm able to create custom blocks with the Block Maker. Everything seems to work fine, and I can save (Download) the new custom block.
Newly created blocks can be opened in UIFlow, but the namespace (group name) has no blocks in it. The blocks that were created do not appear and can't be inserted into Blockly.
Attempting to edit a previously created block in the Block Maker also doesn't work. I can click on Open .m5b, and the file selection window pops up. I select a block I created, but Block Maker does not import the file's Block Settings. Whatever block design was open at that time remains unchanged.
I'm pretty sure the problem is in the desktop version of the Block Maker. Here's why... I found a .m5b file on the internet called MakerCloud1.m5b and downloaded it. In UIFlow the MakerCloud1 group name now has blocks in it that I can move onto my workspace. But Block Maker doesn't import those block designs when I open the .m5b file. So it looks to me like desktop Block Maker can't read and can't write correct files.
Can anyone please offer help on how to fix this in my project?
RE: Frequency measurement with hardware interrupt handler
@Amani , I also need to measure frequency using an M5 Stack Core 2. I was looking at your code and wondering if you ever solved this problem? I see that you're using a counter that's incremented in an interrupt handler. How do you get the frequency from that?
The way I understand Micro Python interrupts is that they're soft and give you jitter of some milliseconds, like over 2. Because the M5 Stack UIFlow runs on top of Micro Python, it does not seem likely that interrupts with adequate resolution are possible. You'll be lucky to measure a 500Hz signal.
But I'm very interested to hear if you came up with a solution.
I'm planning to solve this problem with a frequency to voltage converter. TI makes a low voltage part, LM331. The output is a voltage proportional to frequency that can be input to an ADC pin. Here's a link to the datasheet, https://www.ti.com/lit/ds/symlink/lm331.pdf
I don't see another way to solve this problem using an M5 Stack. I'm hoping you found one that you can tell me about.