[GCP] Run tensorflow with GPU on Google Cloud Platform

To create a VM instance, you have to register on the Google cloud platform, and once you registered, you will get a 300$ free trial. I won’t include the registration part here as it is very easy. 1 External IP addresses Navigate to “VPC Network – External IP addresses” and apply for a new static...

[RPi] 为树莓派添加DIY智能散热风扇

普通散热风扇只有两个线,即VCC电源以及GND接地,而树莓派的GPIO最大只能输出几十毫安,所以根本无法直接通过GPIO来控制风扇。 所以,我们需要加装一个三极管使用小电流来控制大电流。 三极管在很多旧设备里面可以找到,这里以 1AM 示例(从USB支付钥匙拆的)。然后以以下示意图接上三极管。 GitHub: https://github.com/xswxm/Smart_Fan_for_Raspberry_Pi.git 这次一共写了两个版本,一个是普通版本,只能开关风扇,另一个PWM版本支持PWM调速。笔者的风扇使用PWM调速时,能够良好的工作,但有滋滋的噪声,这可能与风扇的质量有关,或许也可以后期改进电路解决。

[RPi] 树莓派添加samba文件共享服务

1. 安装Samba

2. 为samba添加用户,可以使用现有账户,也可以创建专属账户 添加专属账户(如果你只想要添加已存在的账户,可以跳过这一步)

为samba添加账户

3. 修改配置文件

配置文件可以照如下修改,然后按 Ctrl+o 保存,Ctrl+x退出

部分参数解释: pi: 显示的名称 comment: 显示名称下的注释 path: 共享的路径 vaild users: 具有操作权限的用户名 browseable: 是否可以浏览 writable: 是否可以写入 4. 重启samba服务

5. 使用samba服务 Windows用户: 打开计算机,在地址栏输入 ‘\\youripaddress\’(不含引号,youripaddress是你的树莓派IP地址)即可找到共享的文件夹 Linux用户: 打开文件浏览器,在地址栏 ‘smb://youripaddress/’(不含引号,youripaddress是你的树莓派IP地址)即可 输入对应的用户名和密码即可浏览操作拥有权限的文件及文件夹

[12864/SSD1306] Play Snake on Raspberry Pi

System Monitor for Raspberry Pi with 12864/SSD1306, and you can download all the files from GitHub. Demo Setting Up Configure your 128464 by following this tutorial: https://learn.adafruit.com/ssd1306-oled-displays-with-raspberry-pi-and-beaglebone-black/usage?view=all

How to Use

How to Play Control: Press ‘w’, ‘a’, ‘s’, ‘d’ Speed up/remove effect: Press ‘q’ Exit game: Press ‘x’ License —- MIT

[12864/SSD1306] System Monitor for Raspberry Pi

System Monitor for Raspberry Pi with 12864/SSD1306, and you can download all the files from GitHub. Demo Modules Adafruit_GPIO.SPI Adafruit_SSD1306 psutil Setting Up Configure your 128464 by following this tutorial: https://learn.adafruit.com/ssd1306-oled-displays-with-raspberry-pi-and-beaglebone-black/usage?view=all

How to Use

License —- MIT

[12864/SSD1306] Video Player

It is a python script for playing videos on 12864 over SPI sockets, and you can download all the files from GitHub. Demo Modules Adafruit_GPIO.SPI Adafruit_SSD1306 Setting Up Configure your 128464 by following this tutorial

How to Use

Convert a video I provided a m file for matlab for converting videos while...

[TicFirm] a tool for sniffing Ticwatch Firmware (Python script updated)!

The tool is still in its alpha stage as some functions may not work as expected, such as the alpha firmware discovery. 这是一个可以用来为Ticwatch 抓取 Ticwear 刷机包的工具,当前还在测试阶段,很多功能尚未实现,比如Alpha版的固件不能很好的获取。 Warning: this tool is only used for test purpose. Be aware of what you are doing with your watch, and I will not be responsible for breaking your device....

[Xperia XA/F3115]Stock_Marshmallow_ROM_Ultraslim (Full deodxed)

Thank to rrvuhpg‘s awesome root and recovery that allow us to install custom roms on Xperia XA. Hence, i have made a MM ROM which is fully deodexed and ultra slim, hope you will enjoy. Based on F3115_Customized AU_1302-4361_33.2.A.4.70_R4A, and for F3115 devices only. You have to unlock your bootloader and flash this rom. Features: – Full deodexed...

[MyIoT] A start with personal server for home automation

What is myIoT: 1. myIoT is a solution for home automation, it can be implemented on your Raspberry Pi. And it theoretically can enable you to control devices (include other embedded devices connected to the server) and acquire info of these devices. 2. It is currently based on python (sever part) and Android (Client) 3....

[Tricks] Enable immersive mode with ADB command

Translate »