nuttx (1)

12232301255?profile=original

After the latest firmware release, vrb supports RtOS for operation.

A neat feature is the advanced and quasi-unlimited logging capabilities. The logs will be written after each flight session and they are stored on SdCard.

on Vrb 5.0 the microsd adapter is on board, but for owners (like me) of the previous hw revision, we need to work creatively.

the standard SD-CARDs is accesible via SPI bus, and the mandatory connections are : MISO(master-in-slave-out) / MOSI (master-out-slave-in) / SCK (clock) / SS (signal-select) / GND and VCC+.

all of them is available on JP27  connector (the white one near the INPUT rails). This one, has 8 pin connections, we need (as stated before) only six of them.

We can figure out which ones by looking at image below.

pin-1 is the one which is more close to MCU (the big chip on the center of the board); pin-8 is the one near the input rails.

12232301071?profile=original

I could buy a specific adapter for sd card, but I decided to be creative and I invented this system, which at the moment seems to work very well.

12232301255?profile=original

Basically I used a simple adapter sdcard-> microsd and I soldered directly to the exposed pad on the back as shown.

12232301084?profile=original

all the connections are straight point-to-point. watch out for "exp_EN" which connects to SS on sd card adapter. i've ordered pre-crimped cables and the female terminal directly at VirtualRobotix.

You can check if everything works correctly by connecting the VRB with sd-card inserted in Mission planner and connect with Terminal. Once connected, enter in "TEST" and then in "SHELL".

Check for a folder called "APM" into fs/microsd path.

No more configuration is necessary.

Now the system will log all the flight data on different files on sd, and you can retrive them by simply unplugging the card from the copter and reading it with a computer.

UPDATE : 

NOT all microSD is +5v tolerant on vcc. so i've tested a solution using a 78l33 linear regulator soldered directly on pads.

12232301097?profile=original

the "VCC_5V" connection goes in the In pin of the 78l33 (pin3), gnd on sdcard pad 3 and the output of the 78l33 goes to pad 4.

The mod works flawlessly.

check datasheet of 78l33 for pinout numbering.

Read more…

Blog Topics by Tags

Monthly Archives