The new Arduino R4 Minima and WiFi have a secret and I'll show you how to make use of it in your own sketch! You can find the Renesas RA4M1 hardware manual here: www.renesas.co...
On cypress boards the cap input pin can be used to measure heart rate, you just hold ground with one hand and touch the CPE pin, they even have example code for it.
Wow, thanks for the heads-up! Looks like capacitive touch has been explored as a cheap method for heart rate monitoring. Maybe Arduino has some code for this hidden somewhere...
Thank you for plowing through 1400 pages of documentation to find that. Now, if I wasn't afraid to take it our of the nice clear plastic case, I'd play with it!
There is a other "easter egg" on this PCB. If you look at the copper pour on the bottom under the reset button, it is in shape of Italy including one Via named Torino. Torino because it is a city in northern Italy where Silvio Navaretti, the Senior Hardware Engineer at Arduino lives. ;-)
Putting a transistor from LOVE PIN TO GROUND OR POSITIVE and the BASE to a PLATE AS A TOCH PAD works just as well if is conected to any otrher pin used as input in the same way
I wonder what happens if you touch (with a finger) the heart-shaped solder blob, with the default sketch running? BTW, is the default sketch available to inspect? If so and touching the heart does something, the sketch may give a clue about how to use the capacitive-touch function.
The default sketch for the WiFi board is available. Not sure about the Minima, I think it was just the blink sketch. I haven't seen any references to the relevant pins in the Arduino core source, but I was thinking something could be hidden in the bootloader as I haven't seen source for it, just the binary blob
would be amazing if someone with the skills could port GRBL or fluidNC to this board. It would be nice to be able to turbo charge cnc and laser machines that are using the original 8bit uno controllers.
you missed that on the top right corner of the arduino r4 wifi (idk about minima i dont have it) that if you shine it in the light there is a map of ITALY
This will probably sound lame due to my inexperience but as I am still learning, I will throw it out there. I do not mind sounding stupid in the process of learning. Naturally you can use it on any other pin but how about just using a TTP223 Touch switch on it? These are the kind of things I generally result to as a beginner and as I progress, I can look back and makes changes as I gain more knowledge.
If ESP-Now works with that board, I'd like to see and example of it. From all I've been able to find out, it should work. However, I don't know if there are special considerations, or how exactly the ESP32 chip is addressed by the R4 WiFi.
I'll make a video about what I learned trying to drive the GPIO pins as fast as possible. I learned some interesting things about ARM assembly and the different clock speeds of the CPU and I/O pins
💙 copy/paste. The UTF-8 encoding is multiple bytes, so it must be a string or wide char, not a plain char. Not sure if this works on the old IDE, I used the new one. I think technically it should be a UTF-8 string u8"like this"
Thank you for such a deep dive into this! I am currently experimenting with my R4 WiFi board and I am interested with tinkering with both processors on their register level. I am fairly new to the game and haven't managed to find the resources on how to implement that in the Arduino IDE. Could you please provide some guidance for where/what to look for? 🙏👏
Check out the RA4M1 hardware manual from Renesas linked in the description above and start looking at the I/O port registers that I talk about in this video. It's not too complicated to configure the pins and read/write from them when you know how to address them. I'll make another video on what I learned about port output in the coming weeks.
this is not how this kind of datasheet works. You do read and understand it, but at the same time: You only have to skim the table of contents, skim section that seam relevant and when you identified which section is relevant, you read that section very carefully. BTW: You can not convert the datasheet to text, as the most relevant and complex information is decoded in tables.
On cypress boards the cap input pin can be used to measure heart rate, you just hold ground with one hand and touch the CPE pin, they even have example code for it.
Wow, thanks for the heads-up! Looks like capacitive touch has been explored as a cheap method for heart rate monitoring. Maybe Arduino has some code for this hidden somewhere...
I like the ECG heart beat track next to it.
Someone had fun routing this PCB
@@TrevorMakes Well, it's a pretty simple 2 layer PCB without any real impedance concerns. I would have fun with this too! ;-)
You missed the trace that's in the shape of a heartbeat on an EKG
Thank you for plowing through 1400 pages of documentation to find that. Now, if I wasn't afraid to take it our of the nice clear plastic case, I'd play with it!
Don't be afraid! The plastic case is easy to take off and goes back on snugly. It was a nice addition to the board
There is a other "easter egg" on this PCB. If you look at the copper pour on the bottom under the reset button, it is in shape of Italy including one Via named Torino.
Torino because it is a city in northern Italy where Silvio Navaretti, the Senior Hardware Engineer at Arduino lives. ;-)
looking forward to your video on the R4 wifi matrix display
Putting a transistor from LOVE PIN TO GROUND OR POSITIVE and the BASE to a PLATE AS A TOCH PAD works just as well if is conected to any otrher pin used as input in the same way
I wonder what happens if you touch (with a finger) the heart-shaped solder blob, with the default sketch running? BTW, is the default sketch available to inspect? If so and touching the heart does something, the sketch may give a clue about how to use the capacitive-touch function.
The default sketch for the WiFi board is available. Not sure about the Minima, I think it was just the blink sketch. I haven't seen any references to the relevant pins in the Arduino core source, but I was thinking something could be hidden in the bootloader as I haven't seen source for it, just the binary blob
I would like to see a working example of OpAMP pins. I could not find any code to configure them.
Can you make a video on how to do register wise coding for timer/counter in Arduino uno R4 wifi ?
Nice and informative, Can you please help me in how to use unused (remains unconnected) pins of renesas ra4m1 controller of arduino uno r4 minima?
would be amazing if someone with the skills could port GRBL or fluidNC to this board. It would be nice to be able to turbo charge cnc and laser machines that are using the original 8bit uno controllers.
you missed that on the top right corner of the arduino r4 wifi (idk about minima i dont have it) that if you shine it in the light there is a map of ITALY
Hai can u make tutorial how to sent notification through whatsapp using arduino uno r4 wifi
How to update the firm ware???
This will probably sound lame due to my inexperience but as I am still learning, I will throw it out there. I do not mind sounding stupid in the process of learning.
Naturally you can use it on any other pin but how about just using a TTP223 Touch switch on it? These are the kind of things I generally result to as a beginner and as I progress, I can look back and makes changes as I gain more knowledge.
I think that module would work very well if you need a touch pad, and would be much easier to set up!
Closer to the uart!
If ESP-Now works with that board, I'd like to see and example of it. From all I've been able to find out, it should work. However, I don't know if there are special considerations, or how exactly the ESP32 chip is addressed by the R4 WiFi.
Interesting, I'll keep that in mind when I get around to looking at the wireless communication and ESP32 chip
could it be possibile to use the pin to measure the heartbeat with the touch function?
I don't think so... Neither of these can be used as analog inputs, which I think would be necessary to pick up subtle signals like that
My computer can not find com port for Arduino uno R4, can you teach me how to fix that problem?
What O.S. is PC? What wire PC to Ard? (VDUC--VDUC?)
Very nice detective work!
There' the ITALY etched in the groundplane...a test pad marking Arduino homebase woulda been cool...hehehe
your content is interesting more video on R4 register level also ARM programming details.
I'll make a video about what I learned trying to drive the GPIO pins as fast as possible. I learned some interesting things about ARM assembly and the different clock speeds of the CPU and I/O pins
please tell me how you added that enoji on arduino ide!!!
💙 copy/paste. The UTF-8 encoding is multiple bytes, so it must be a string or wide char, not a plain char. Not sure if this works on the old IDE, I used the new one. I think technically it should be a UTF-8 string u8"like this"
@@TrevorMakes yes, I did it! Thank you so much...😄
The ❤ is so cute. It’s a really nice ‘touch’.
Nice one!
Arduino uno r4 sine wave inverter next video .
great, thx for the video ;-)
really sad to see a Renesas CPU than the most cheap and common STM32 cpu. Unclear why they choose that. the Heart is btw lovely
Probably easier when it comes to licensing, library usage and all that stuff.
Just speculation, but maybe it was cheaper and more readily available when they were designing the board?
3:30 "pidr" is literally the fa letters slur in russian
That reminds me of how the SPI MISO is now considered offensive so was renamed to CIPO... but is now a slur in Polish
Thank you for such a deep dive into this! I am currently experimenting with my R4 WiFi board and I am interested with tinkering with both processors on their register level. I am fairly new to the game and haven't managed to find the resources on how to implement that in the Arduino IDE. Could you please provide some guidance for where/what to look for? 🙏👏
Check out the RA4M1 hardware manual from Renesas linked in the description above and start looking at the I/O port registers that I talk about in this video. It's not too complicated to configure the pins and read/write from them when you know how to address them. I'll make another video on what I learned about port output in the coming weeks.
Turn the pdf to text, split it into 15000 word chunks using one of the online GPT splitters feed it to chatGPT start developing what you need
this is not how this kind of datasheet works.
You do read and understand it, but at the same time:
You only have to skim the table of contents, skim section that seam relevant and when you identified which section is relevant, you read that section very carefully.
BTW: You can not convert the datasheet to text, as the most relevant and complex information is decoded in tables.
there's more to the heart
Ah! I'll have to dig around some more then!
700th like!
There’s no such thing as a non-hidden Easter egg.