Professional Documents
Culture Documents
Solar Bear Instructions
Solar Bear Instructions
Solar Bear is an easy to build pure solar flying wing that requires about 10 hours and about $70 worth
of materials to build with the majority of the time spent soldering up the maximum power point tracker
(mppt) and the solar cells.
BOM
Airframe
Control
Power
Rib spacing is 1.4” between the center two ribs and then 4” for each additional rib. The end rib is
doubled up.
The nacelle is put on after the covering is applied and then glued directly on top of the center ribs.
Solar Cells
The solar cells are soldered in series with a piece of 29guage magnet wire going to each pad on the
cells. Start on one end and then go to the other running the wire from positive to negative to
positive..etc. Then take 24gauge magnet wire from each end and run it to the center. Be sure to solder a
piece of 29ga on the end cells from one pad to the other on the same polarity of the same cell to let the
current flow easier. Each cell should have 2 wires connecting it to the next except the end cells that
have the heavier wire coming to the center.
Attiny85
First you can wire up the DIP 8 socket according to the diagram at the beginning of the mppt code.
The optional power on reset IC has 3 pins and can be purchased from Microchip directly. If you do not
use this IC you will have to put a switch on the main power to keep the Attiny85 from locking up. If
using the switch you will need to connect the reset pin of the Attiny85 to ground thru a 10kohm resistor
The power on reset IC has 3 pins 1 is connected to the reset pin on the Attiny85 thru a 10kohm resistor.
Pin 2 is connect to Vcc and pin 3 is connected to ground.
__ __
Reset -|o \/ |- VCC
3 Rx -| |- 2 Solarvoltage
4 ESC -| |- 1
GND -|______|- 0
*/
//#include <avr/wdt.h> // Watch Dog Timer
#define Vmpp 0.55 // good setting: 0.84 for 12 cell and .55 for 8 cell. If too low motor will be faster at
less than full throttle.
#define VmppLOW 0.63 // low throttle mpp voltage. 0.97 seems to be good for 12 cell and .63 for 8
cell.Set so that motor cuts off when parallel with suns rays.
#define STEPdown 2 //default 2 If too high throttle will oscilate, if too low esc will reset
#define STEPup 1
#define iterations 15 //default 15. This is how many times the algo averages the array voltage.
#define transition 150 // point at wich transition takes place from Vmpp to VmppLOW between 110
and 230. Default 150.If too high it will kick in too soon and mimick Vmpp set too low.
#define LOW false
#define HIGH true
int x = 0;
int Vcell = 0;
int VMPP = 0.00;
int VMPPlow = 0.00;
boolean cur_level = LOW;
void setup()
{
//Vcell=analogRead(A1);
if (Vcell > x)
{
if (Vcell < x)
{
if (OCR0A >= 110) { //110
OCR0A -= STEPdown;
}}