發表文章

目前顯示的是 12月, 2017的文章

Ardupilot on CC3D and other STM32F4 fly controller

圖片
https://github.com/night-ghost/ardupilot the writer has port ardupilot on to these low cost fly controllers which use STM32F1~F4 really good job... the quad one has been testing all the version, so it should be no problem, as to plan and rover or station, things needed to be verified. there are bin files in the git as zip. step as following: 1. short SBL pad. open the housing , I found on on the bottom side of my CC3D ATOM. I wire 2 wires and joint them together. Refer to this: https://librepilot.atlassian.net/wiki/spaces/LPDOC/pages/29622291/Recover+board+using+DFU for windows: 2. install driver for DFU deivce:    http://zadig.akeo.ie/ but the program did not detect my device.... I went to ST web for solution: http://www.st.com/en/development-tools/stsw-stm32102.html after some agreement, I down load the program, it installed VCP driver, still Zadig does not know it. still don't know where is the DFU mode, not even in zadig.. it's with a so

Heltec ESP32+OLED+Lora, hardware testing

圖片
you can easily find some good boards from china, but most of them lack of accurate document... Hrere is an example; https://hackaday.io/project/26991-esp32-board-wifi-lora-32 the board looks good with lora and a 128x64 OLED, but the IIC and reset connection is important, since pin can be muxing easily, so every board could be different. pinMode(16,OUTPUT);  digitalWrite(16, LOW); // set GPIO16 low to reset OLED  delay(50);  digitalWrite(16, HIGH); // while OLED is running, must set GPIO16 to high  and, if needed, edit your Wire.begin() to Wire.begin(4,15); (4 = SDA 15 SCL)  i tested it with the Adafruit SSD1306 and the Acrobotics SSD1306 Librarys  both work.  Display size is 128x64 There are discussions on these boards on TTN as a LORA node..or maybee single ch gateway? Heltec has a git :  https://github.com/Heltec-Aaron-Lee And there is another copy call TTGO https://de.aliexpress.com/item/TTGO-LORA32-868-915-Mhz-SX1276-ESP32-Oled-display-Bluetooth-WIFI

restart with bananpi 2017/12, and the installation of mavproxy with debian

Loading the firmware and start it with computer, it's comes like a raspberrypi, I think it would need some config to expend the uSD... the image I used: 2016-07-13-raspbian-jessie-bpi-m1-m1p-r1.img it's a 3.4.112 kernel easiest way is to use the GUI interface, with pi configuration. so I expand the memory and then enable some interface like uart, IIC SPI. Also turn it to 950Mhz after boot up , check version: pi@bpi-iot-ros-ai:~ $ uname -a Linux bpi-iot-ros-ai 3.4.112-sun7i #2 SMP PREEMPT Sat May 28 20:25:03 CST 2016 armv7l GNU/Linux after reboot, I plan to install Mavproxy with this: http://ardupilot.github.io/MAVProxy/html/getting_started/download_and_installation.html  first sudo su apt-get update apt-get upgrade sudo apt - get install python - dev python - opencv python - wxgtk3 . 0 python - pip python - matplotlib python - pygame python - lxml sudo apt-get libxml2-dev   sudo pip install MAVProxy   but comes with error of lacking furu

Install SITL on linux

http://ardupilot.org/dev/docs/setting-up-sitl-on-linux.html Download ardupilot If you don’t have a copy of the ardupilot git repository then open a terminal and run: git clone git : // github . com / ArduPilot / ardupilot . git cd ardupilot git submodule update -- init -- recursive Install some required packages If you are on a debian based system (such as Ubuntu or Mint) then run this: sudo apt - get install python - matplotlib python - serial python - wxgtk2 . 8 python - wxtools python - lxml sudo apt - get install python - scipy python - opencv ccache gawk git python - pip python - pexpect sudo pip install future pymavlink MAVProxy Add some directories to your search path Add the following lines to the end of your ”.bashrc” in your home directory (notice the . on the start of that filename. Also, this is a hidden file, so if you’re using a file manager, make sure to turn on “show hidden files”). Note the order, it is important