-18%
AT24C256 EEPROM 儲存模組/記憶體模組 Arduino 擴充儲存記憶體專用
NT$81 NT$67 未稅
AT24C256 EEPROM 儲存模組/記憶體模組 Arduino 擴充儲存記憶體專用
容量:256KB I2C接口
- 板載8P晶片座,安裝AT24C256晶片;
- 排針供電,板載電源指示燈;
- 板載I2C通訊所需的上拉電阻;
- 所有管腳均引出並標注,地址輸入和寫保護管腳直接可以跳線設置;
- PCB板子尺寸:36.5(mm)x12(mm)
尚有庫存
- 商品說明
商品說明
AT24C256 EEPROM 儲存模組/記憶體模組 Arduino 擴充儲存記憶體專用
容量:256K I2C接口
- 板載8P晶片座,安裝AT24C256晶片;
- 排針供電,板載電源指示燈;
- 板載I2C通訊所需的上拉電阻;
- 所有管腳均引出並標注,地址輸入和寫保護管腳直接可以跳線設置;
- PCB板子尺寸:36.5(mm)x12(mm)
發貨清單:AT24C256存儲模組 x 1塊
原廠技術文件 http://playground.arduino.cc/Code/I2CEEPROM
Arduino 範例
/* * Use the I2C bus with EEPROM 24LC64 * Sketch: eeprom.pde * * Author: hkhijhe * Date: 01/10/2010 * * */ #include <Wire.h> //I2C library void i2c_eeprom_write_byte( int deviceaddress, unsigned int eeaddress, byte data ) { int rdata = data; Wire.beginTransmission(deviceaddress); Wire.send((int)(eeaddress >> 8)); // MSB Wire.send((int)(eeaddress & 0xFF)); // LSB Wire.send(rdata); Wire.endTransmission(); } // WARNING: address is a page address, 6-bit end will wrap around // also, data can be maximum of about 30 bytes, because the Wire library has a buffer of 32 bytes void i2c_eeprom_write_page( int deviceaddress, unsigned int eeaddresspage, byte* data, byte length ) { Wire.beginTransmission(deviceaddress); Wire.send((int)(eeaddresspage >> 8)); // MSB Wire.send((int)(eeaddresspage & 0xFF)); // LSB byte c; for ( c = 0; c < length; c++) Wire.send(data[c]); Wire.endTransmission(); } byte i2c_eeprom_read_byte( int deviceaddress, unsigned int eeaddress ) { byte rdata = 0xFF; Wire.beginTransmission(deviceaddress); Wire.send((int)(eeaddress >> 8)); // MSB Wire.send((int)(eeaddress & 0xFF)); // LSB Wire.endTransmission(); Wire.requestFrom(deviceaddress,1); if (Wire.available()) rdata = Wire.receive(); return rdata; } // maybe let's not read more than 30 or 32 bytes at a time! void i2c_eeprom_read_buffer( int deviceaddress, unsigned int eeaddress, byte *buffer, int length ) { Wire.beginTransmission(deviceaddress); Wire.send((int)(eeaddress >> 8)); // MSB Wire.send((int)(eeaddress & 0xFF)); // LSB Wire.endTransmission(); Wire.requestFrom(deviceaddress,length); int c = 0; for ( c = 0; c < length; c++ ) if (Wire.available()) buffer[c] = Wire.receive(); } void setup() { char somedata[] = "this is data from the eeprom"; // data to write Wire.begin(); // initialise the connection Serial.begin(9600); i2c_eeprom_write_page(0x50, 0, (byte *)somedata, sizeof(somedata)); // write to EEPROM delay(10); //add a small delay Serial.println("Memory written"); } void loop() { int addr=0; //first address byte b = i2c_eeprom_read_byte(0x50, 0); // access the first address from the memory while (b!=0) { Serial.print((char)b); //print content to serial port addr++; //increase address b = i2c_eeprom_read_byte(0x50, addr); //access an address from the memory } Serial.println(" "); delay(2000); }
相關商品
-
新款PL2303TA USB轉串口模组傳輸線 USB轉 TTL/RS232 支持WIN7
0 滿分 5 分注意!WIN8/WIN10 不支援!
NT$190NT$80 未稅加入購物車Quick View -
4X4 微動開關 矩陣鍵盤模組 16 外擴鍵盤模組
0 滿分 5 分4X4微動開關矩陣鍵盤模組 16 外擴鍵盤模組
16-Button Tactile Keypad Matrix
NT$71NT$33 未稅加入購物車Quick View -
加入購物車Quick View
Grove-Encoder 旋轉編碼器 增量式360度旋轉編碼器 seeed原廠
0 滿分 5 分這個模塊是增量式旋轉編碼器。它編碼由軸和輸出由電子脈衝信號的旋轉信號。加入購物車Quick View -
Touch 觸摸感測器模組 1路觸摸開關傳感器
0 滿分 5 分該模組是一個基於觸摸檢測IC(TTP223B)的電容式點動型觸摸開關模組。常態下,模組輸出低電平,模式為低功耗模式;當用手指觸摸相應位置時,模組會輸出高電平,模式切換為快速模式;當持續12秒沒有觸摸時,模式又切換為低功耗模式。可以將模組安裝在非金屬材料如塑膠、玻璃的表面,另外將薄薄的紙片(非金屬)覆蓋在模組的表面,只要觸摸的位置正確,即可做成隱藏在牆壁、桌面等地方的按鍵。該模組可以讓你免除常規按壓型按鍵的煩惱。
NT$48NT$38 未稅加入購物車Quick View -
薄型 RFID Mifare 13.56MHz 感應卡 IC白卡 五片裝
0 滿分 5 分薄型 RFID Mifare 13.56MHz 感應卡 IC白卡 x 5 片
RFID IC感應卡 復旦卡 智慧卡 白卡 13.56MHz 相容 Mifare S50
NT$67NT$48 未稅加入購物車Quick View -
微動開關 TACK-SW 4P 6x6x5mm(H) 10個一包
0 滿分 5 分微動開關 TACK-SW 10P 一包
尺寸:6mm x 6mm x 5.0mmNT$29NT$24 未稅加入購物車Quick View -
4×4矩陣薄膜鍵盤 支援Arduino
0 滿分 5 分4×4矩陣薄膜鍵盤
該鍵盤帶有8P杜邦頭,間距2.54mm。可插上排針,然後連接到Arduino,使用非常簡單。鍵盤背面白色貼紙可揭去,能牢固粘貼於機箱表面。你可以用它輸入數字參數等信息,特別是對於LCD模塊,GSM/GPRS模塊等需要參數輸入的模塊。薄膜防水耐用,可經受幾萬次按壓。
NT$48NT$33 未稅加入購物車Quick View -
Grove-Magnetic Switch 磁力開關模組 seeed原廠
0 滿分 5 分NT$114NT$100 未稅加入購物車Quick View -
TTL 轉 RS485/RS422 模組 MAX485 Arduino 可用
0 滿分 5 分MAX485 Module TTL 轉 RS485/RS422 模組 MAX485 Arduino 可用 TTL 轉 RS-485 可雙向,半雙工,多節點傳輸
採用原裝的MAX485收發晶片。實現UART串口與RS485的信號轉換,實現半雙工RS485傳輸,傳輸速率可達10M。供電電壓3.3V,兼容5V邏輯電平。RS485接口,具有短路保護功能,適應-7v至+12v電壓。可以掛32個終端節點發送、接收開始使用RTS信號控制,或者FT232RL的TXDEN信號控制。可選購FT232RL模組, 可以組成性能穩定的USB轉RS485模組!
NT$76NT$52 未稅加入購物車Quick View -
有源蜂鳴器 驅動模組 低電平觸發 蜂鳴器控制板
0 滿分 5 分有源蜂鳴器驅動模組
- 模組採用S8550三極管驅動
- 工作電壓3.3V-5V
- 設有固定螺栓孔,方便安裝
- 小板PCB尺寸:3.2cm * 1.3cm
- 當I/O口輸入低電平時,蜂鳴器發聲
NT$48NT$29 未稅加入購物車Quick View