随笔分类 - 树莓派学习
树莓派学习使用时遇到的问题及其解决方法
摘要:硬件:树莓派3B 操作系统:RASPBIAN JESSIE LITE 1 #安装NTP 2 sudo apt-get install ntpdate 3 #选择 上海时区 4 sudo dpkg-reconfigure tzdata #同步时间 #添加到/etc/rc.local里面实现开机自启动
阅读全文
摘要:raspbian pi文档 https://www.raspberrypi.org/documentation/configuration/raspi-config.md https://www.raspberrypi.org/documentation/linux/software/apt.md
阅读全文
摘要:2.led没啥新的东西 就是GPIO操作3.key可以设置中断方式的来实现GPIO操作 wiringPiISR(gpio_num, rise/fall_edge, isr_server_addr)4. gpio load i2c时候出现问题gpio: Unable to load/unload modules as this Pi has the device tree enabled. You...
阅读全文
摘要:http://shumeipai.nxez.com/2015/03/17/saks-diy-tutorials-gpio-development-environment.html 1.镜像烧写所用镜像:2017-04-10-raspbian-jessie-lite.img所用烧写程序:Win32DiskImager.exe2.开启SSH服务:因为树莓派新版本镜像是默认不开启SSH服务的,所以要在根...
阅读全文
摘要:1.下载镜像,sd卡烧录。2.桌面连接:第一种方式就是hdmi连接(不建议,因为这样不能使用Windows了,及其不方便)间接连接:1.SSH连接l:镜像默认SSH是关闭的,需要在根文件夹里面添加ssh文件来开启SSH服务 2.VNC连接sudo apt-get install tightvncserver安装VNC服务器教程链接http://www.linux...
阅读全文
摘要:1.MQTT协议概念理解https://mcxiaoke.gitbooks.io/mqtt-cn/content/mqtt/01-Introduction.htmlMQTT(Message Queuing Telemetry Transprot,消息队列遥测传输协议),是一种基于发布/订阅模式的“轻量级” 通讯协议,该协议构建于TCP/IP协议上,由IBM1999年发布。MQTT最大的优点在于,可...
阅读全文

浙公网安备 33010602011771号