My Spanish is lacking in so many ways so I’ll do this in English and Google translate some important stuff in Spanish to help the non-English speakers here.
The project is in 3 parts:
- Setting up Arduino for use with the Nucleo boards
- Solar-powered board
- Programming the Nucleo board for various sensors
When I got the Nucleo boards, I was confused and spent a better part of a day or two trying to figure out how to program it. So I went here. I do not want to plagiarize this gentleman’s work so I will just provide links for you to follow.
Part 1
https://www.instructables.com/id/Quick-Start-to-STM-Nucleo-on-Arduino-IDE/ on how to cross program with an Arduino IDE problem solved. Here is the Github repository for pin mapping and a simple sketch: https://github.com/sriksh9/Nucleo-PinMapping-for-Arduino
Part 2
My project uses a small board attached to solar panels (Mexico gets lots of sun) and it powers the Nucleo board. I will include the Fritizing files and a Gerber file for sending to PCBway.com. The cost is pretty low ($5.00 USD for 5) for the boards but shipping is a bit high ($25.00) then taxes on top when it gets here.
The Fritizing file is below, but this is a picture of the board and a brief bill of materials.
A real produced board from PCBWay.com
A couple of changes as the BOM did not include the rectifier but I will include it here. Also, make sure you get the proper voltage regulator. They are not all the same.
I will list it here and provide a link to the shopping list.
Total cost $16.65 including board.
Shopping list can be found here: http://www.digikey.com.mx/short/jmvww0
- 1 Electrolytic Capacitor; capacitance 47µF; voltage 50V; package 0405 [SMD, electrolytic]
- 1 Electrolytic Capacitor; capacitance 10µF; voltage 16V; package 0405 [SMD, electrolytic]
- 220Ω Resistor tolerance ±5%; resistance 220Ω; package 2010 [SMD]
- Voltage Regulator chip 78005; variant -to-220; voltage 5V; package to-220-alt1
- Generic double row male header - 4 pins; pin spacing 0.1in (2.54mm); pins 4; form; package THT; row double; hole size 1.0mm, 0.508mm 1 IC pin spacing 300mil; true;
- Rectifier -RECT BRIDGE GPP 400V 1A DF-M
- Screw terminal - 2 pins; pin spacing 0.2in (5.08mm); pins 2; package THT; hole size 1.25mm, 0.508mm
- 2 Pad layer copper 01 Red (633nm) LED; color Red (633nm); package 1206 [SMD]
- USB Connectors variant -a-smd; package usb-a-s-nosilk-female; target USB-A
Here is how you solder SMD parts and through hole parts.
I ordered a heat sink from here to help with the heat generated. I also ordered a 3D printer for the case, which I will provide in this document in the future for use in a backpack.
Comments
Please log in or sign up to comment.