RobotShop Feeds

 

RobotShop Feeds



Lynxmotion Quadrino Nano – Battery Monitoring & Alarms

This article is intended to help you get started with battery monitoring and the buzzer feature present in MultiWii. We’ll cover proper connections / wiring and software setup as it relates to the Lynxmotion Quadrino Nano flight controller (MultiWii compatible). MultiWii gives the user the ability to monitor the UAV’s main battery voltage (normally a LiPo battery), and trigger LEDs or an external buzzer to warn the user when the battery’s voltage has dropped below a certain level. The buzzer you choose should be sufficiently loud so you can hear it from the ground.

MultiWii Setup

There are several ways to set up MultiWii values via software, but for simplicity we suggest using the Quadrino FCT (Firmware Configuration Tool) as it will load the correct values for a 3s LiPo to the Quadrino Nano. The Quadrino FCT uses the MultiWii software at its core, but presents the user with a much more intuitive interface. The values which are loaded to the flight controller can later on be changed in the WinGUI application without the need to flash the board via the FCT.

1 – FCT Options

Open the FCT application and go to the “Battery” tab which is located in the “Options” page.

FCT - Options - 01

FCT – Options Page

2 – Enable Battery Voltage Monitoring

On the same page, check “Enable Battery Voltage Monitoring”. You do not need to make the physical connections yet.

FCT - Battery Box

FCT – Battery Monitoring

3 – Set values

The default settings are for a 3s (11.1V) LiPo battery, but you can change the alarms set-points (number 107 will stand for 10.7V).

FCT - Warning

FCT – Alarms Levels

4 – Activate Buzzer

In the “Misc” tab, make sure the “Buzzer” is enabled (which should automatically be enabled when “Battery Monitor” is set)

FCT - Buzzer Small

FCT – Buzzer Options

5 – Flash the Quadrino Nano

Go to the “Flash” page and flash the Quadrino Nano with the newly added options. Ensure your Quadrino Nano is connected to the computer via USB cable.

FCT - Flash

FCT – Flash Firmware

6 – WinGUI Connect & Load

Connect to the WinGUI application and hit “Load Defaults” in the top bar

WinGUI - Load Default - 03

WinGUI – Load Default Values

6 – WinGUI Write Settings

With the values loaded, click “Write Settings” to get those settings written in the Quadrino Nano memory

WinGUI - Write Settings - 03

WinGUI – Write Settings

 

Quadrino Nano Wiring

There are two pins associated with the battery monitoring and buzzer functions which are standard on all MultiWii based controllers. These pins can be used simultaneously depending on the setup needed but if no external buzzer is set up, only the LED labeled “LiPo Alarm” will blink when the battery is low. Connect your LiPo battery to the Quadrino Nano as in the drawing below.

  • VBATT (pin 19) is the battery sensing pin on the Quadrino Nano and where you need to connect the positive terminal of your battery’s charging connector. Usually there is a resistor which needs to be added between the controller pin and the battery’s positive terminal, but we already took care of this on the Quadrino Nano PCB so you can connect a 3s LiPo battery directly.
  • BUZZER (pin 20) activates the buzzer when this pin is triggered to Ground via the MultiWii software. An Arduino-based controller used with MultiWii is able to pass more current by grounding a pin than being powered from it, which is why we use the pin as the ground in this application.
Lynxmotion Quadrino Nano - VBATT & BUZZER Connection

Lynxmotion Quadrino Nano – VBATT & BUZZER Connection

Lynxmotion Quadrino Nano – I/O port Color Code

Additional Information:

 

1 – Enable Battery Voltage Monitoring

Checkbox used to Enable the battery monitoring feature

2 – WARNING LEVEL

First warning level; it will trigger the buzzer / LED once every 3 seconds.

3 – DANGEROUS

Second warning level; the battery is almost empty and the buzzer / LED is triggered in two short bursts every 3 seconds.

4 – CRITICAL

Final warning; this will cause the buzzer / LED to stay on constantly.

5 – VBATT SCALE

This is used to scale the VBATT input to match the battery’s real voltage. The default value for a 3S battery would be 128 but changes can be applied if needed. Here is a simple equation to correct the scaling:

New VBAT SCALE = ( GUI Vbat Scale * GUI Voltage ) / Measured Voltage

FCT - Battery - 01

FCT – Battery Level Indicators

 

Note: The values for the the LiPo alarms can be changed in the WinGUI after if the Battery Monitoring is activated in the MultiWii board. Look for the “FC Config” tab and “Battery Monitoring” sections.

WinGUI - Battery Monitoring

WinGUI – Battery Monitoring Options

     
 
 
   
   

IEEE Spectrum

IEEE Spectrum


Plastic Roads Sound Like a Crazy Idea, Maybe Aren’t

Posted: 16 Jul 2015 07:00 AM PDT



Just one word: plastics

Antineutrino Detectors Could Be Key to Monitoring Iran's Nuclear Program

Posted: 15 Jul 2015 02:19 PM PDT



New kinds of compact antineutrino detectors could be the next nuclear safeguard

ReWalk Robotics's New Exoskeleton Lets Paraplegic Stroll the Streets of NYC

Posted: 15 Jul 2015 01:15 PM PDT



Yesterday, a paralyzed man strapped on a pair of robotic legs and stepped out a hotel door in midtown Manhattan

Range Rover Recall is Due to a Software Glitch

Posted: 15 Jul 2015 09:04 AM PDT



It's a small recall--just 65,000 vehicles--but it's the thin edge of the entering wedge for cars that think

IEEE Spectrum

IEEE Spectrum


New Study Finds Feedback Loop Between Air Travel and Climate Change

Posted: 15 Jul 2015 06:30 AM PDT



Increased jet stream winds from warming climate could lengthen flights, causing more climate-warming emissions

Mobile Robots and RFID Tags Internet-of-Things-ify the Outdoors

Posted: 14 Jul 2015 01:11 PM PDT



With long-range RFID tags that cost pennies, mobile robots can perform dirt cheap sensing anywhere you want

Perovskite Solar Cell Production Gets Environmentally Friendly

Posted: 14 Jul 2015 11:36 AM PDT



Research project aims to develop printing production method of perovskite solar cells eliminating lead compounds

IEEE Spectrum

IEEE Spectrum


Wind Turbines Power Liquid-Air Energy Storage

Posted: 14 Jul 2015 09:00 AM PDT



Can a novel design for wind energy with storage scale up?

A Smartphone Charger That Runs On Candlepower

Posted: 14 Jul 2015 09:00 AM PDT



During the next power outage, you may indeed be lighting a candle rather than cursing the darkness, at least if you want to charge your phone

Introducing a New Material for Invisibility Cloaks

Posted: 14 Jul 2015 07:01 AM PDT



New "metasurface" makes for thinner cloaking devices

NASA’s TransFormers Could Make Harsh Lunar Environments Robot Friendly

Posted: 13 Jul 2015 01:40 PM PDT



Robots using mirrors to reflect sunlight at other robots could enable exploration of craters and caves

Exploratorium’s Iron Science Teacher Competition Explores Everyday Objects

Posted: 13 Jul 2015 01:00 PM PDT



Using light bulbs to lunch foods, competitors devise science experiments under pressure

A Middle East Supercomputer Makes the Top 10 List for the First Time

Posted: 13 Jul 2015 10:00 AM PDT



Saudi Arabia's Shaheen II is the region's first supercomputer to compete in the big leagues

Trossen Robotics Blog

Trossen Robotics Blog

Link to Trossen Robotics Blog

Lidar-Lite 360 Mirror Scanner

Posted: 13 Jul 2015 09:16 AM PDT

LIDAR-lite mirror

One of our favorite roboticists, r3n33, has been up to some magic with lite and mirrors. R3n33 has used a spinning mirror to get a 360 degree view with a LIDAR-lite sensor, without moving the sensor itself. The results speak for themselves, but here’s what r3n33 had to say about it:

This is my idea for using the LIDAR-lite sensor to produce readings in (as close to) a 360 degree view without spinning the sensor itself. I decided to start this project to give some life to my sensor which had never had a real purpose until now.

Thanks to my 3D printer I was able to quickly produce a “rig” to hold the sensor over a mirror. The mirror is attached to a 3D printed plate that is designed to hold the mirror at a 45 degree angle. This will allow me to bend the light 90 degrees from the sensor’s emitter. The mirror holder is attached to a stepper motor that will allow me to rotate the sensor’s light in a 360 degree view.

Before I go on I’ve presented a few issues.

Blocking the view. To hold the sensor over the mirror there will be an arm somewhere in the 360 degree view. I’ve already taken some action here and removed some of the arm material. In fact if I remove too much more the PLA plastic I’ve used won’t be rigid enough to hold the sensor still.

The mirror has to be quite large. This is something I discovered along the way. When it was just an idea in my head the mirror was really small but to ensure both the emitter and receiver are 100% in view I had to use the size you see.

Knowing the mirror position. Because I’m only using a stepper motor for this first design I get no positional feedback. I’ll have to assume the mirror position by starting the motor and firmware at a known point.

Reading accuracy. By bending the light alone there is going to be a small offset introduced. Then there is the ever changing distance of the mirror as it rotates. I chose to align the emitter of the sensor to the center of the mirror. This ensures the light will project in a parallel plane. When the light is received it might bounce off the high side of the mirror in one direction and the low side on the other. I may or may not concern myself with such slight offsets introduced in the readings.

IEEE Spectrum

IEEE Spectrum


Google Funds University Living Lab for Internet of Things

Posted: 13 Jul 2015 09:00 AM PDT



Google awards $500,000 to turn Carnegie Mellon University's campus into a testing ground for the Internet of Things

Solar Powered Family Car Generates More Energy Than It Uses

Posted: 13 Jul 2015 07:30 AM PDT



A solar car with an eye towards practicality is energy positive while seating four

IEEE Spectrum

IEEE Spectrum


With Pluto Encounter a Generation Passes the Torch

Posted: 10 Jul 2015 06:37 PM PDT



My generation will soon have witnessed every planet probed, but it's my grandchildren that will be the real explorers

Boeing Patents Laser Nuclear Fusion Jet Engine

Posted: 10 Jul 2015 02:00 PM PDT



We very much doubt that Boeing is actively developing this thing, but we can get excited about it anyway

The Capabilities of Nanomaterials in Textiles Continue to Expand

Posted: 10 Jul 2015 01:00 PM PDT



Nanotextiles move from mere water repellants to mobile phone chargers

This Dictionary Will Get You Ready For “Talk Like Silicon Valley” Day

Posted: 10 Jul 2015 11:53 AM PDT



Do you know what "Button's Law" is? How about a "Bus Factor" or a "Dave Ratio"? You can find out in a new Silicon Valley Dictionary