Jade Perreault
Published © CC BY-NC-SA

Solar Powered Shield for the ST Nucleo Sensor Shields

An easy-to-make, solar-powered shield for the ST Nucleo shield.

IntermediateProtip2 hours667
Solar Powered Shield for the ST Nucleo Sensor Shields

Things used in this project

Hardware components

STM32 Nucleo-64 Board
STMicroelectronics STM32 Nucleo-64 Board
×1
Nucleo Motion Mems Expansion Board
×1
STM32 MCU Nucleo-32 Board
STMicroelectronics STM32 MCU Nucleo-32 Board
×1
Breadboard (generic)
Breadboard (generic)
×1

Story

Read more

Schematics

Fritizing File

Download fritizing program from fritizing.org install and open file

Code

Simple Blink Code

C/C++
Copy and Paste it into Arduino Program
#include <f401reMap.h>
int LED1 = D2;

void setup() {
  Serial.begin(9600);
  
  pinMode(LED1, OUTPUT);
 
}

void loop()
{
  
  digitalWrite(LED1, HIGH);
  delay(500);
  digitalWrite(LED1, LOW);
  delay(500);
  
 // read the input pin:
  int buttonState = digitalRead(LED1);
 
  // print out the state of the button:
  Serial.print(buttonState);
  Serial.println("__LED1");
  
}

Credits

Jade Perreault

Jade Perreault

32 projects • 59 followers
27 Years as a Journeyman Electrician , 4 Years as a PCB design engineer for Penteon Corporation Out of New York ..

Comments