Editor Version ×
Standard

1.Easy to use and quick to get started

2.The process supports design scales of 300 devices or 1000 pads

3.Supports simple circuit simulation

4.For students, teachers, creators

Profession

1.Brand new interactions and interfaces

2.Smooth support for design sizes of over 30,000 devices or 100,000 pads

3.More rigorous design constraints, more standardized processes

4.For enterprises, more professional users

STD Buzzer-to-i2c

  • 1.7k
  • 0
  • 1

No Profile

License: MIT

Creation time: 2018-12-11 01:22:21
Update time: 2020-09-27 19:55:01
Description
This projects is a device controlled thru i2C, it has a set of instructions to control two leds, two buzzers and a combination of them. The device uses an ATTiny85 and it connects to an RaspberryPi to send the commands. The instruction for the device are: - 0x00 --> Does nothing - 0x01 --> All Buzzers ON, All LEDs OFF - 0x10 --> Al Buzzers OFF, All LEDs ON - 0x11 --> All Buzzers ON, All LEDs ON For a better communication between the device and the RPi set the i2c baudrate to 100000 in /boot/config.txt file on the RaspberryPi: ** dtparam=i2c1_baudrate=100000** The i2c device code is available here: [https://gist.github.com/sergiomtzlosa/b0c639606dfe3e17d6ca6ac323177b02](https://gist.github.com/sergiomtzlosa/b0c639606dfe3e17d6ca6ac323177b02) Follow the instruction on the file to install additional libraries. The RaspberryPi code the send the commands to the i2c device is available here: [https://gist.github.com/sergiomtzlosa/ac0bdb416f55b6de1230a298e218e4df](https://gist.github.com/sergiomtzlosa/ac0bdb416f55b6de1230a298e218e4df) The device was sent to production and it is working.
Design Drawing
schematic diagram
1 /
PCB
1 /
Empty
ID Name Designator Footprint Quantity Mounted
1 Attiny85 IC2 DIP8 1 Yes
2 5mm LED U1,U2 5MM LED 2 Yes
3 4.7 R4,R5,R7 DIP-RES-9.0MMX3.2MM 3 Yes C122091
4 Button S1 MOMENTARY PUSH BUTTON (PCB) 1 Yes
5 10KΩ(1002) R8 AXIAL-0.5 1 Yes C119433
6 BUZZERHMB1275-12B BUZZER1,BUZZER2 DIP-BUZZER-12X7.5 2 Yes C96094
7 2Pin Dupont U3,U4,U5 2PIN DUPONT 3 Yes

Unfold

Project Attachments
Order File name Download times
1

i2c_attiny.ino

0
Target complaint
Related Projects
Change a batch
Loading...
Add to album ×

Loading...

reminder ×

Do you need to add this project to the album?

服务时间

周一至周五 9:00~18:00
  • 0755 - 2382 4495
  • 153 6159 2675

服务时间

周一至周五 9:00~18:00
  • 立创EDA微信号

    easyeda

  • QQ交流群

    664186054

  • 立创EDA公众号

    lceda-cn