Search found 64 matches

by max.tisc
Fri May 31, 2024 9:20 pm
Forum: User Components
Topic: 2 Arduino I2C communication
Replies: 18
Views: 229

Re: 2 Arduino I2C communication

ok I'll try to do something tomorrow
by max.tisc
Fri May 31, 2024 8:50 pm
Forum: User Components
Topic: 2 Arduino I2C communication
Replies: 18
Views: 229

Re: 2 Arduino I2C communication

you were right, the pull-up resistors were missing, I put them at 5.6k and now the data arrives every 100ms. if it helps I already used a DS3231 which communicated with the Arduino in I2C and I could read and write on it, maybe the solution is there for chipfryer27 if you remember what you did to so...
by max.tisc
Fri May 31, 2024 6:42 pm
Forum: User Components
Topic: 2 Arduino I2C communication
Replies: 18
Views: 229

Re: 2 Arduino I2C communication

I activated the LED on port B7 at the end of reception and the LED turns on and off quickly, but I only get one sequence, maybe a bug?
by max.tisc
Fri May 31, 2024 5:35 pm
Forum: User Components
Topic: 2 Arduino I2C communication
Replies: 18
Views: 229

Re: 2 Arduino I2C communication

hi Martin, I tried the 2 codes and I get the same results as yours except for the fact that the loop does not repeat and therefore I only see the data exchange once and not every second, maybe if someone else has 2 Arduinos and 10 minutes of time could do a test and post it, if it works it won't jus...
by max.tisc
Thu May 30, 2024 4:32 pm
Forum: User Components
Topic: 2 Arduino I2C communication
Replies: 18
Views: 229

Re: 2 Arduino I2C communication

yes Martino usually only does it once a few times 2 max I've seen 3, and to start it again I have to press the reset button
thank's
by max.tisc
Tue May 28, 2024 10:39 pm
Forum: User Components
Topic: 2 Arduino I2C communication
Replies: 18
Views: 229

Re: 2 Arduino I2C communication

Hi mnfisher I tested your codes and they work as you can see from the screenshot, thank you very much, I wanted to ask you: why does the cycle not repeat every second but only once? what is the difference for example between initialise and transaction_initialise? What function do transactions have? ...
by max.tisc
Mon May 27, 2024 11:10 pm
Forum: User Components
Topic: 2 Arduino I2C communication
Replies: 18
Views: 229

Re: 2 Arduino I2C communication

Thank you very much mnfisher for your example I also tried a few days ago to create a similar code but I wasn't able to make it work, now I'll try to study yours and tomorrow if I have time I'll try it, for me the distance problem doesn't exist because then the 2 micros will be mounted on the same b...
by max.tisc
Mon May 27, 2024 9:47 pm
Forum: User Components
Topic: 2 Arduino I2C communication
Replies: 18
Views: 229

Re: 2 Arduino I2C communication

Has anyone done this before or has any ideas on how to do it?
Thank you
by max.tisc
Sun May 26, 2024 9:09 pm
Forum: User Components
Topic: 2 Arduino I2C communication
Replies: 18
Views: 229

2 Arduino I2C communication

Hi everyone I'm having difficulty with data transmission between 2 Arduinos with the I2C protocol, I searched the forum but it seems that no one has yet addressed the topic, in practice I have an Arduino mega2560 set as master that reads a sensor in SPI, processes the data collected and then the res...
by max.tisc
Wed Jan 03, 2024 4:23 pm
Forum: Bug Reports
Topic: medianfloat component
Replies: 3
Views: 905

Re: medianfloat component

Ok Steve thank you, something is wrong, the calculations did not return to me, I would also take a look at the other median components, I’m using the 32 bit and it does not seem right.