Nano 33 BLE With External EEPROM - Storage - Arduino Forum Home » Arduino Ble Eeprom » Nano 33 BLE With External EEPROM - Storage - Arduino Forum Maybe your like Arduino Ble Example Github Arduino Ble Float Arduino Ble Github Arduino Ble Hc-05 Arduino Ble Hid Keyboard Nano 33 BLE with external EEPROM Other Hardware Storage jureg July 21, 2021, 7:43am 1 Hello! Since Nano33 BLE does't have an EEPROM, I am trying to store a value to external EEPROM on DS3231. The code compile without error but after upload, the Com port dissapear and my pc doesn't recognize arduino board anymore. To get the board back I need to press reset button twice and upload a new sketch. Here is a code that I found on a Forum and should work: #include <RtcDS3231.h> #include <Wire.h> #define EEPROM_I2C_ADDRESS 0x57 byte sum = 123; int readVal = 0; void setup() { Serial.begin(9600); writeEEPROM(0, sum, EEPROM_I2C_ADDRESS); } void loop() { // put your main code here, to run repeatedly: readVal = readEEPROM(0, EEPROM_I2C_ADDRESS); Serial.println(readVal); delay(5000); } void writeEEPROM(int address, byte sum, int i2c_address){ // Begin transmission to I2C EEPROM Wire.beginTransmission(i2c_address); // Send memory address as two 8-bit bytes Wire.write((int)(address >> 8)); // MSB Wire.write((int)(address & 0xFF)); // LSB // Send data to be stored Wire.write(sum); // End the transmission Wire.endTransmission(); // Add 5ms delay for EEPROM delay(5); } byte readEEPROM(int address, int i2c_address){ // Define byte for received data byte rcvData = 0x00; // Begin transmission to I2C EEPROM Wire.beginTransmission(i2c_address); // Send memory address as two 8-bit bytes Wire.write((int)(address >> 8)); // MSB Wire.write((int)(address & 0xFF)); // LSB // End the transmission Wire.endTransmission(); // Request one byte of data at current memory address Wire.requestFrom(i2c_address, 1); // Read the data and assign to variable rcvData = Wire.read(); // Return the data as function output return rcvData; } Does anyone have any working example for Nano 33 BLE? cattledog July 21, 2021, 5:30pm 2 jureg: I am trying to store a value to external EEPROM on DS3231. The code compile without error but after upload, the Com port dissapear and my pc doesn't recognize arduino board anymore. You need to add Wire.begin() to setup() in your sketch. When I do that, your sketch stores and reads 123 in my testing. 1 Like jureg July 22, 2021, 12:00pm 3 Thank you cattledog. It works. I was searching a whole day for a library or code that would work on Nano 33 BLE and when the board stopped responding I just gave up. system Closed November 19, 2021, 12:01pm 4 This topic was automatically closed 120 days after the last reply. New replies are no longer allowed. Related topics Topic Replies Views Activity How to use eeprom on arduino nano Storage 5 1280 June 9, 2024 Did I just brick my Nano 33 BLE? 3rd Party Boards 9 3109 May 6, 2021 Uso de la memoria EEPROM del shield DS3231 Hardware 7 4888 May 7, 2021 Escritura/lectura en EEPROM mediante I2c Software 5 2145 May 7, 2021 EEprom AT24C32 Generale 1 750 May 7, 2021 Tag » Arduino Ble Eeprom Non Volatile Memory Nano 33 BLE Sense - Storage - Arduino Forum Library For Missing EEPROM Functionality On Nano 33 BLE EEPROM On The Nano 33 BLE - Arduino Forum FlashStorage - Arduino Reference EEPROM Emulation On The New Nano Types - Arduino Forum Persistent Storage - Nano 33 BLE - Arduino Forum NanoBLEFlashPrefs - Arduino Reference Help With EEPROM.h Library For Arduino Nano BLE Sense Arduino Nano 33 BLE - Use Of Flash To Store Data; How To Expand A ... Arduino-Nano-33-BLE-Sense-Code-Collection/ - GitHub EEPROM With Arduino - Internal & External - DroneBot Workshop BLE-Nano Arduino ATMEGA328 Tích Hợp CC2540 - Thegioiic [Solved] Arduino Nano 33 BLE - Use Of Flash To Store Data