谁有8X8X8光立方电路图,还有下面这个微动开关包括双灯接在哪个位置,配合这个图有一段英语解释,
来源:学生作业帮 编辑:百度作业网作业帮 分类:英语作业 时间:2024/08/19 09:37:35
谁有8X8X8光立方电路图,还有下面这个微动开关包括双灯接在哪个位置,配合这个图有一段英语解释,
英语翻译过来了,没太明白 You can make a LED cube without any buttons at all,but it's nice to have at least one button and some status LEDs for debugging.
We added one awesome looking button with two built in LEDs,and one regular button with an LED.
The first button is mounted on the latch array PCB,since this will sit on top of the AVR board,and we want the button easily accessible.The wires are routed through the ribbon cable.The second button and LED sits on the AVR board and was mostly used for debugging during construction.
The buttons are connected between GND and the IO pin on the ATmega.An internal pull-up resistor inside the ATmega is used to pull the pin high when the button is not pressed.When the button is pressed,the IO pin is pulled low.A logic 0 indicates that a button has been pressed.
The LEDs are also connected between GND and the IO pin via a resistor of appropriate size.Don't connect an LED to a micro controller IO pin without having a resistor connected in series.The resistor is there to limit the current,and skipping it can blow the IO port on your micro controller.
To find the appropriate resistor,just plug the led into a breadboard and test different resistors with a 5v power supply.Choose the resistors that make the LED light up with the brightness you want.If you use LEDs with different colors,you should test them side by side.Different color LEDs usually require different resistors to reach the same level of brightness.
We will leave it up to you to decide the placement of your status LEDs,but you can see in the pictures below how we did it:
没有任何按钮,可以使一个LED立方体,但它是不错的,至少有一个按钮,用于调试的一些状态LED的.
我们增加了真棒建立了两个在LED的按钮,并定期与LED按钮.
第一个按钮是安装在锁存器阵列电路板,因为这样会坐的AVR板之上,我们希望按钮方便.通过带状电缆电线路由.坐在第二个按钮和LED的AVR板,主要是在施工期间进行调试.
GND和IO引脚之间连接的ATMEGA按钮.内的ATMEGA内部上拉电阻是用来拉没有按下按钮时,脚上的高.当按下按钮时,IO引脚被拉低.逻辑0表示已按下一个按钮.
LED也通过一个适当大小的电阻连接GND和IO引脚之间.不要连接一个LED到微控制器的IO引脚,而无需串联一个电阻.电阻是有限制电流,并跳过它可以吹你的微控制器的IO端口.
为了找到合适的电阻,只需将其插入到面包板和测试不同的电阻与5V电源的LED.选择的电阻,使你想要的亮度的LED补光灯.如果您使用不同颜色的LED,你应该测试他们并排.不同颜色的LED通常需要不同的电阻,以达到相同的亮度水平.
我们将离开,由你来决定你的状态LED的位置,但你可以看到我们做到了下面的图片:
![](http://img.wesiedu.com/upload/f/5b/f5b9103d033153efe6c656612d1b90e7.jpg)
英语翻译过来了,没太明白 You can make a LED cube without any buttons at all,but it's nice to have at least one button and some status LEDs for debugging.
We added one awesome looking button with two built in LEDs,and one regular button with an LED.
The first button is mounted on the latch array PCB,since this will sit on top of the AVR board,and we want the button easily accessible.The wires are routed through the ribbon cable.The second button and LED sits on the AVR board and was mostly used for debugging during construction.
The buttons are connected between GND and the IO pin on the ATmega.An internal pull-up resistor inside the ATmega is used to pull the pin high when the button is not pressed.When the button is pressed,the IO pin is pulled low.A logic 0 indicates that a button has been pressed.
The LEDs are also connected between GND and the IO pin via a resistor of appropriate size.Don't connect an LED to a micro controller IO pin without having a resistor connected in series.The resistor is there to limit the current,and skipping it can blow the IO port on your micro controller.
To find the appropriate resistor,just plug the led into a breadboard and test different resistors with a 5v power supply.Choose the resistors that make the LED light up with the brightness you want.If you use LEDs with different colors,you should test them side by side.Different color LEDs usually require different resistors to reach the same level of brightness.
We will leave it up to you to decide the placement of your status LEDs,but you can see in the pictures below how we did it:
没有任何按钮,可以使一个LED立方体,但它是不错的,至少有一个按钮,用于调试的一些状态LED的.
我们增加了真棒建立了两个在LED的按钮,并定期与LED按钮.
第一个按钮是安装在锁存器阵列电路板,因为这样会坐的AVR板之上,我们希望按钮方便.通过带状电缆电线路由.坐在第二个按钮和LED的AVR板,主要是在施工期间进行调试.
GND和IO引脚之间连接的ATMEGA按钮.内的ATMEGA内部上拉电阻是用来拉没有按下按钮时,脚上的高.当按下按钮时,IO引脚被拉低.逻辑0表示已按下一个按钮.
LED也通过一个适当大小的电阻连接GND和IO引脚之间.不要连接一个LED到微控制器的IO引脚,而无需串联一个电阻.电阻是有限制电流,并跳过它可以吹你的微控制器的IO端口.
为了找到合适的电阻,只需将其插入到面包板和测试不同的电阻与5V电源的LED.选择的电阻,使你想要的亮度的LED补光灯.如果您使用不同颜色的LED,你应该测试他们并排.不同颜色的LED通常需要不同的电阻,以达到相同的亮度水平.
我们将离开,由你来决定你的状态LED的位置,但你可以看到我们做到了下面的图片:
![](http://img.wesiedu.com/upload/f/5b/f5b9103d033153efe6c656612d1b90e7.jpg)
![谁有8X8X8光立方电路图,还有下面这个微动开关包括双灯接在哪个位置,配合这个图有一段英语解释,](/uploads/image/z/17520265-1-5.jpg?t=%E8%B0%81%E6%9C%898X8X8%E5%85%89%E7%AB%8B%E6%96%B9%E7%94%B5%E8%B7%AF%E5%9B%BE%2C%E8%BF%98%E6%9C%89%E4%B8%8B%E9%9D%A2%E8%BF%99%E4%B8%AA%E5%BE%AE%E5%8A%A8%E5%BC%80%E5%85%B3%E5%8C%85%E6%8B%AC%E5%8F%8C%E7%81%AF%E6%8E%A5%E5%9C%A8%E5%93%AA%E4%B8%AA%E4%BD%8D%E7%BD%AE%2C%E9%85%8D%E5%90%88%E8%BF%99%E4%B8%AA%E5%9B%BE%E6%9C%89%E4%B8%80%E6%AE%B5%E8%8B%B1%E8%AF%AD%E8%A7%A3%E9%87%8A%2C)
一般微动开关都是串接在回路里的,不需要什么电路图的.你只要知道了微动开关安装的具体位置和作用,就知道怎么串了! 线路图应该能查到,不过的有