Conversation
|
Thanks for putting the PR up. Afaik the module for the Cardputer Adv doesn't have a TCXO, should it need I made my own module using a Ra-01SH and I had to remove that for it to work. |
|
@WillyJL Could you correct the capital letters "n," "o," and "k"? I was careless and wrote them in lowercase, which I noticed later. Thank you. 😉 |
|
Would it be possible to remove the GPS_BAUDRATE definition, to let the autodetection find the right baudrate instead of a static one? |
Yes, it works, but boot time takes much longer. You may need to change the GPS baud rate using the u-center program. |
That makes sense, ended up using |
|
Enable Screen Options. Screen color and brightness. |
|
You need to set MCLK to any free GPIO. |
I tried, but there is no sound. (extra variant is a copy of the T-LoRa pager). If I select a free GPIO, at least I don't get an error message from the audiodriverlogger. If MCLK is -1, I receive an error message. must be able to use the internal MCLK. |
|
Well, I managed to fix the sound.
However, it seems that the message melody is not playing all the way through. Also, the status of notifications - buzzer actions in the BaseUI menu has no effect on it. // audio codec ES8311
#define HAS_I2S
#define DAC_I2S_BCK 41
#define DAC_I2S_WS 43
#define DAC_I2S_DOUT 42
#define DAC_I2S_DIN 46
#define DAC_I2S_MCLK 0 // Not connected, dummy PIN. It has no effect on the push button. |
Note that it does have an effect on the push button in case the device goes into powersave/light sleep. In case a message arrives and the user presses the button while the sound is playing the firmware will crash. This is because the button GPIO is an input GPIO but the audio module will program it as output GPIO. |
PINs 45 and 47 are available. You can assign them to these. |
|
|
Another suggestion if you actually want to be able to use i2c devices using the grove port, since the standard i2c lines get covered by the lora cap: // Custom port I2C1 or UART // Secondary I2C for external sensors |
I deliberately did not define it. However, I wanted to make it visible as information. Precisely so that there would be a choice. |
|
I have a Cardputer ADV + LoRA Cap and I'd love to help any way I can. Is checking out your |
Unfortunately if you have a M5 LoRa Cap attached, you cant access the standard I2C lines, I wonder if there's a UI option suggested to gave a second set of I2C pins? |
|
I got it all working in my fork but I'm not great at github, feel free to look, i used m5's env pro bme688, and i got the accelerometer to wake the screen. |
Looking at your fork, you can definitely simplify the wire1 stuff, with the following in the varient.h file I'm testing your IMU BMI270 stuff now |
I was experimenting yes, if the normal way works ok ignore that, feel free to mess with what I have but I can't take credit as I got a bit of help to get that working XD |
The Wire1 solution is ingenious. This way, the port remains usable even when nothing is connected to it. I tried it as UART2 for a standalone UI. It's a crazy solution, but it works. 😂 |
|
I've been testing this for a few weeks on my ADV. Took it to downtown Austin during the ACL Music Festival. Made plenty of contacts. Overall the build is stable, but for some reason the battery isn't charging in my Cardputer while running it. It'll say 100% while plugged in and just die when I unplug it now. Switched over to my NEMO firmware and the battery is charging fine so doesn't appear to be a hardware issue. That's the only thing I've seen that's amiss so far. |
|
FYI, I've submitted some changes to this PR at: WillyJL#1 |
would be nice if ESC key (#0) would be also included to the context-aware key set |
|
(Bumping to prevent the bot closing this PR) |
|
I recently was gifted an ADV as well. Anything I can do to help, either this PR, or the audio one linked earlier? |
|
Here is another working build for the Cardputer ADV, with the source code released: Meshtastic_for_Cardputer_ADV.zip What can we do to get this PR merged in? |
|
Here is the open source code synced from a reddit thread from gt4kill3r: https://github.com/RaymiiOrg/meshtastic-firmware/tree/feat/m5stack-cardputer-adv I've disabled a few things to lower the ram usage and have less unwanted reboots. |
|
superseded by #9540 |


🤝 Attestations