License

MIT

Recommend Projects

ATmega328 with I2C & NRF24L01+ (~21uA in deep sleep)

2 months ago 152
  • Description
  • Documents
  • BOM
  • Attachments
  • Members
  • Comments

Description

Unfortunately there is packet loss on the NRF24L01+ with this design. Using jumper wires to increase the distance between ATmega and NRF24L01+ stops the packet loss. Another option is to put tinfoil between the NRF24L01+ and the ATmega

ATmega328 board with NRF23L01+ and I2C for reading BME280 sensor data while running on 3 x AA battery

  • ATmega328 runs without external crystal (8 MHz)
  • Needs about 21uA while in deep sleep, BME280 power down and NRF24L01+ power down (some NRF24L01+ modules don't power down however)
  • Instead of using the power down modes of BME280 and NRFL01+ you can also power them through MCU pins (which I did for a few years)
  • Optional tantal (10uF) and ceramic (100nF) caps to improve NRFL01+ transmission
  • With header for FTDI programmer (3.3V is not connected, so you have to power it from battery while flashing it)

PCB is not tested yet, but the circuit is tested

BEFORE START

Choose how to power BME280 and NRF24L01+ by soldering a bridge over the 2 solder pads on the bottom of the PCB. I recommend using the power down modes of BME280 and NRF24L01+, if your NRF24L01+ does power down correctly

Use this board in Arduino IDE: https://raw.githubusercontent.com/oshlab/Breadboard-Arduino/master/avr/boardsmanager/package_oshlab_breadboard_index.json

R0039041.JPGR0039051.JPGR0039048.JPGR0039085.JPG

Put tinfoil on ATmega to reduce NRF24L01+ packet loss

R0039089.JPG

Documents

ATmega328 weather sch

ATmega328 weather PCB

BOM

ID Name Designator Footprint Quantity
1 Header-Male-2.54_1x6 FTDI HDR-6X1/2.54 1
2 BSSolderPad_1x3_1.27 BMEPWR,NRFPWR BS_SOLDERPAD_1X3 2
3 MCP1700T-3302E/TT MCP1700 SOT-23-3_L2.9-W1.6-P1.90-LS2.8-BR 1
4 10K R-RST R0805 1
5 4.7K R-PU2,R-PU1 R0805 2
6 SWITCH,6*6*5PLASTIC HEAD,260G, 0.25MM,DIP2 RESET KEY-TH_2P-L6.0-W6.0-P5.00 1
7 Header-Female-2.54_1x4 BME280 HDR-4X1/2.54 1
8 10u C-NRF2 CASE-B_3528 1
9 Header-Male-2.54_1x2 BAT HDR-TH_2P-P2.54-V 1
10 Header-Male-2.54_2x4 NRF24L01+ HDR-TH_8P-P2.54-V-R2-C4-S2.54 1
11 1u C-VOUT,C-VIN C0805 2
12 100nF C-RST C0805 1
13 100n C-MCU C0805 1
14 ATMEGA328P-PU ATMEGA328-PU ATMEGA328P 1
15 100n C-NRF1 C0805 1

Attachments

None
Success
The owner does not allow comments in this project now

Comments (0)

goToTop
你现在访问的是EasyEDA海外版,使用建立访问速度更快的国内版 https://lceda.cn(需要重新注册)
如果需要转移工程请在个人中心 - 工程 - 工程高级设置 - 下载工程,下载后在https://lceda.cn/editor 打开保存即可。
有问题联系QQ 3001956291 不再提醒
svg-battery svg-battery-wifi svg-books svg-more svg-paste svg-pencil svg-plant svg-ruler svg-share svg-user svg-logo-cn svg-double-arrow
We use cookies to offer you a better experience. Detailed information on the use of cookies on this website is provided in our Privacy Policy. By using this site, you consent to the use of our cookies.