發表文章

目前顯示的是 4月, 2019的文章

ESP NOW for 8266

圖片
I learned ESP-NOW from It's fast, using 802.11 Mac with proprietary protocol... As usual, chinese chipset vendor does not make the document very well, It took me a while to understand how it's organized. Especially on the master and slave relation in espnow. https://docs.espressif.com/projects/esp-idf/en/latest/api-reference/network/esp_now.html This video explain very well, only a little long... The trick is that, the sensors side is master, the gateway side is slave. It's a little bit like bluetooth IOT...where sensor is master...  2nd thing, the arduino lib is for esp32, when you choose your board to esp32,there will be examples for it, but if you select board to 8266, there is no examples of espnow. But you do find some one has espnow on esp8266.... https://github.com/HarringayMakerSpace/ESP-Now He made a very interesting sensor on web: http://s3.eu-west-2.amazonaws.com/torntrousers/espnow-test1.html I have esp-now example under ESP32, but if I choose

Beaglebone for ardupilot = beaglebone+BBBmini or beaglebone blue

圖片
I recently attracted by a new version of beaglebone, which is developed for robatic, and comes with debian+ arduipilot on it. it's only 80USD,(well I paid 3000NTD with mouser)....for a fly control and on board computer, it is very cheap compare to pixhawk 2(which used discontinued CPU from Intel) and other ones with Pi... There is also a very compact version of beagle bone which is even cheaper. packet bone... but with no wifi, no display....it would be interesting few years age. So, for beaglebone marrage with ardupilot I guess it started here: https://github.com/mirkix/BBBMINI BBBmini is the DIT cap, but you can also start with own PCB... With my extra BB A6A on hand, this become very interesting for me... Here are the interesting spec for me: MPU-9250 IMU 9 x DOF( GY9250) MS5611 barometer(GY-63 ) GPS PRU firmware: 12 x PWM OUT with better than 1us accuracy, separate frequency for each channel. RC input capture with 5ns accuracy, can be used to capture PP

Beaglebone Blue build form zero to ardupilot

The beaglebone blue hardware is super, but document is not so easy to find....and some how confusing.... beaglebone blue is an integration of beaglebone green wifi with beaglebone robotic cap and BBBMINI, the later one is for ardupilot and developped by  Mirko Denecke So, it's interesting to know how he did it. https://github.com/mirkix/BBBMINI https://github.com/mirkix/BBBMINI/blob/master/doc/software/software.md Mirko's  BBBmini project description on hackster.io . as to beagleboneBlue 2 github, more hardware stiff https://github.com/beagleboard/beaglebone-blue this is mirkix ownner https://github.com/mirkix/ardupilotblue So, for SW install, I follow the later one. using firmware with sd card, this latest version at this time: Stretch IoT (non-GUI) for BeagleBone and PocketBeagle via microSD card Debian 9.2 2017-10-10 4GB SD IoT 2. follow the  https://github.com/mirkix/ardupilotblue  for following:

WebODM OpenDroneMap installation on windows 7

OpenDroneMap is based on docker, which is a kind of Virtual machine. To install docker, 64bits version windows 7 is minimum 1. I have a windows 7, to install Docker, first you have to enable the Microsoft® Hardware-Assisted Virtualization Detection Toool, this is in the BIOS, so make sure that your PC does have this supported. Docker comes with docker tool box for older windows, and Docker desktop for new windows( 64bit Windows 10 Pro, with Enterprise and Education (1607 Anniversary update, Build 14393 or later) ) If you do a google, every pages bring you to this: https://docs.docker.com/toolbox/toolbox_install_windows/ it explain well, but does not show easily where is the down load link for docker toolbox, since it's consider as legacy...they want you to use docker desktop. Here is the link to down load docker: https://docs.docker.com/v17.09/docker-for-windows/install/#download-docker-for-windows follow the installation of docker, you will have docker Quickstart and

RTL_433 on beaglebone hacking for general 433Mhz device(weather station)

圖片
I have a Chinese made weather station, it comes with a station and a receiver panel I try to get the data out, there is a way using RTL-SDR...and the lib is ready, for a lot of protocol on the market... https://github.com/merbanan/rtl_433 building step : fro debian: sudo apt-get install libtool libusb-1.0-0-dev librtlsdr-dev rtl-sdr build-essential autoconf cmake pkg-config then clone the git  git clone https://github.com/merbanan/rtl_433.git Installation using CMake: cd rtl_433/ mkdir build cd build cmake .. make make install then run rtl_433 I got my weather station data, and some one else... I live in a 11 flowers building, I setup the weather station on the roof, my room is in 7th floor, I got nothing from the receiver. So the first thing comes to my mind is to upgrade the antenna inside the weather station. it took me a while to  open up the station, since it's all siliconned. you also need to release the wire of temp and humidity sensor fro