夜视仪专用空气软枪配件(Picatinny轴承)
Night Vision for Airsoft with picatiny rail
2024-01-17 21:57:01
使用说明
- 所有模型资源均由用户上传分享,内容来源于网络公开资源
- 侵权投诉:通过抖音私信 @jobsfan 联系我们(需附版权证明),24小时内处理
- 模型将通过邮件发送(5分钟内自动发货),感谢理解带宽压力
关于费用
我们是爱好者共建社区,为维持服务器成本,每个模型收取微量费用(仅覆盖基础开支)。我们承诺最低成本运营,感谢您的支持!
扫码手机访问
抖音私信 @jobsfan摘要
所有部件都是在 Ender 3 S1 Pro 上用 PLA 无支撑材料打印的。
基于.NET 的相机案例
https://www.thingiverse.com/thing:465678
基于 .NET 的 Raspberry pi 和 + LCD 屏幕保护套:
https://www.thingiverse.com/thing:2755112
材料 :
- 库曼 3.5 英寸 TFT 触摸液晶屏,带 HDMI 接口
- 树莓派 2 或 3
- 红外手电筒: https://www.amazon.fr/dp/B0BKT3FWR8?psc=1&ref=ppx_yo2ov_dt_b_product_details
- 用于 Raspberry Pi 的红外摄像头 : https://www.amazon.fr/dp/B0919M7728?psc=1&ref=ppx_yo2ov_dt_b_product_details
计划 :
- 树莓派操作系统(传统,32 位)精简版
- 如果需要,可进行静音启动 :
sudo nano /boot/cmdline.txt
添加:安静 - 启动脚本 :
1- sudo chmod +x jam.py
2- sudo nano /etc/rc.local
add : /usr/bin/python3 /home/'your directory'/jam.py &; - 自动启动日志 :
raspi-config
选择您需要的选项 - 将文字放大 :
sudo nano /etc/default/console-setup
FONTFACE="Terminus"
FONTSIZE="16x32"
Python 程序:jam.py
# _*_ 编码: utf-8 _*_ import os import RPi.GPIO as GPIO import time from time import sleep from picamera import PiCamera import datetime as dt #Choix du GPIO sur lequel est connecté le bouton button = 21 stop = 13 etat = 'off' txt = 40 # 6 to 160 cb = 50 cc = 0 cs = 2 cr = 90 cf = 24 ccu = 128 ccv = 0 h = 0 m = 0 GPIO.setmode(GPIO.BCM) GPIO.setup(button, GPIO.IN, pull_up_down = GPIO.PUD_UP) GPIO.setup(stop, GPIO.IN, pull_up_down = GPIO.PUD_UP) start = dt.datetime.now() #print (start) while True: # Affichage de l'heure : #time = dt.datetime.now().strftime('%H:%M:%S %d/%m/%Y') # Affichage de la durée de fonctionnement #delta = (dt.datetime.now() - start).seconds #time = dt.datetime.utcfromtimestamp(delta) #time = time.strftime('%H:%M:%S') if etat == 'night': camera.annotate_text_size = txt camera.annotate_text = 'NIGHT MODE' #+ " : " + time elif etat == 'day' : camera.annotate_text_size = txt camera.annotate_text = 'DAY MODE' #+ " : " + time if GPIO.input(button) == GPIO.且 etat == 'off': camera = PiCamera() etat = 'night' #camera.brightness = cb #camera.contrast = cc #camera.saturation = cs camera.framerate = cf camera.rotation = cr camera.color_effects = (ccu, ccv) camera.start_preview() sleep(0.2) elif GPIO.input(button) == GPIO.LOW and etat == 'night': camera.stop_preview() etat = 'day' camera.framerate = cf camera.rotation = cr camera.color_effects = None camera.start_preview() sleep(0.2) elif GPIO.input(button) == GPIO.LOW and etat == 'night': camera.stop_preview() etat = 'day' camera.framerate = cf camera.rotation = cr camera.color_effects = Noneinput(button) == GPIO.LOW 且 etat == 'day': etat = 'off' camera.stop_preview() camera.close() duree = (dt.datetime.now() - start).seconds duree = dt.datetime.utcfromtimestamp(duree) duree = duree.strftime('%H:%M:%S') print ('Durée de fonctionnement : ' + duree) sleep(0.2) start_time = time.time() if GPIO.input(stop) == GPIO.LOW: start_time = time.time() while GPIO.input(stop) == GPIO.LOW: pass duration = time.time() - start_time if duration >= 2: os.system('shutdown now -h') elif duration < 2: if etat == 'off': string_cr = str(cr) print ("Camera rotation set to : " + string_cr + "°") elif cr > 180: cr = 0 camera.rotation = cr camera.stop_preview() camera.start_preview() else: cr = cr + 90 camera.rotation = cr camera.stop_preview() camera.start_preview() sleep(0.2)
标签
气枪 气枪 accesories 气枪 attachment 夜视 树莓派 2 树莓派 3 raspberry pi 摄像头 raspberry pi 盒
朋友,你觉得上面这个模型,属于下面的哪个分类?
必须全中文,且长度不超过15
相关内容
猜你喜欢
联系我们
邮箱: 289047960@qq.com
最新模型
-
卡塔琳娜22型船模桅杆门2024-05-08
-
魔幻蘑菇202024-05-06
-
原子堆栈A5 PRO专注卡片与六角螺丝刀存放器2024-05-06
-
原型船2024-05-06
-
火炮部门徽章-50倍光镜显示2024-05-06
最热下载
-
ToyREP 3D 打印机2023-03-26
-
免费蜘蛛侠头像STL模型,适合3D打印2024-03-24
-
基础鸟饲料架2024-04-30
-
线框无心2024-05-08