Search found 913 matches
- Wed May 29, 2024 2:11 pm
- Forum: Bug Reports
- Topic: ESP32 timer interrupt problem [SOLVED]
- Replies: 7
- Views: 145
Re: ESP32 timer interrupt problem [SOLVED]
Cool - glad it's working for you...
- Wed May 29, 2024 2:10 pm
- Forum: User Components
- Topic: 2 Arduino I2C communication
- Replies: 6
- Views: 139
Re: 2 Arduino I2C communication
It's odd that it just worked one time for you - repeated every second for me. Strange. Initialise is needed before using the i2c (once only), the transaction routines allow a simpler interface (it handles start and stop conditions. Transactions are also the only available interface on some MCUs but ...
- Tue May 28, 2024 10:28 pm
- Forum: Bug Reports
- Topic: ESP32 timer interrupt problem [SOLVED]
- Replies: 7
- Views: 145
Re: ESP32 timer interrupt problem [SOLVED]
It is an amazingly powerful chip - with a lot of features. It does take a slightly different 'mindset' to MCUs that run a single program though.. I did a very simple SQW example using a timer. Pulses are 2.00 or 2.01ms according to my scope. However the chip is doing nothing except looping on a dela...
- Tue May 28, 2024 5:19 pm
- Forum: Bug Reports
- Topic: ESP32 timer interrupt problem [SOLVED]
- Replies: 7
- Views: 145
Re: ESP32 timer interrupt problem
As the code stands - the wdt will cause a reboot repeatedly. Your main loop needs to have a delay in it to allow the (co-operative) multi-tasking to work (and there are at least 5 tasks running created by the RTOS) One option might be to create a separate task (with xTaskCreate) - (In pseudocode) .l...
- Mon May 27, 2024 10:02 pm
- Forum: User Components
- Topic: 2 Arduino I2C communication
- Replies: 6
- Views: 139
Re: 2 Arduino I2C communication
I got this working reliably at 100kHz and 400kHz. At 1MHz it worked a while before stopping (I was surprised it worked as well as it did though) I set the slave address (arbitrarily) as 0x54 - when transmitted this is shifted left one bit (with bit 0 set to 'read' data) - So here address displays in...
- Mon May 27, 2024 9:48 pm
- Forum: User Components
- Topic: 2 Arduino I2C communication
- Replies: 6
- Views: 139
Re: 2 Arduino I2C communication
I created a simple demo that uses the i2c master and slave components. I have the master as an Arduino Mega and the slave as an Arduino Nano - but this should work with any combination of boards. Connect SDA, SCL and GND (a common ground is essential) I also added 10k pullups on SDA and SCL - but af...
- Tue May 21, 2024 2:51 pm
- Forum: Feature Requests
- Topic: 4x8x8 7219 led matrix board i2c
- Replies: 2
- Views: 88
- Sat May 18, 2024 10:24 pm
- Forum: User Components
- Topic: DF player
- Replies: 4
- Views: 775
Re: DF player
The 'new' boards are marked v0.5.1 will have to google see if they need anything different to the old..
- Sat May 18, 2024 10:03 pm
- Forum: User Components
- Topic: DF player
- Replies: 4
- Views: 775
Re: DF player
Just had a play at getting one of these to work (I had an idea for a project using one and had just got two new boards from Temu). This didn't seem to work with an Arduino - and I swapped to an esp32 (for 3.3V) and still nothing. I used the component from the above link (and a simple initialise, Pla...
- Thu May 16, 2024 7:03 pm
- Forum: User Components
- Topic: DF player
- Replies: 4
- Views: 775