Jump to content

raspberry pi project to to measure a solar panel power generation

hoi does anyone know what kind of device is needed to measure a pocket solar panel with a raspberry pi, in addition, the solar panel must feed an LED lamp. this is for a school project

Link to comment
Share on other sites

Link to post
Share on other sites

I've never really used the PI much outside of a portable computer scenario so I don't know what HATs are available or whatnot so I will give you a more electrical engineering answer.

 

Assuming you want to measure wattage you will need a current sense/shunt resistor. These are extremely low resistance but precise resistors that allow you to use Kirchhoffs voltage laws to measure the current flowing in the circuit. You're basically measuring the voltage drop across the resistor and measuring the supply voltage to calculate current so that you can calculate system wattage. 

 

I've never really used/looked into the GPIO/ADC's much on the raspberry pi but I doubt they are capable of reading the extremely low level signal that is the voltage drop across the shunt. So you will also need an amplifier to bring the signal to a level that can be read by the ADC on the PI. 

CPU: Intel i7 - 5820k @ 4.5GHz, Cooler: Corsair H80i, Motherboard: MSI X99S Gaming 7, RAM: Corsair Vengeance LPX 32GB DDR4 2666MHz CL16,

GPU: ASUS GTX 980 Strix, Case: Corsair 900D, PSU: Corsair AX860i 860W, Keyboard: Logitech G19, Mouse: Corsair M95, Storage: Intel 730 Series 480GB SSD, WD 1.5TB Black

Display: BenQ XL2730Z 2560x1440 144Hz

Link to comment
Share on other sites

Link to post
Share on other sites

6 hours ago, Drakenstrijder said:

hoi does anyone know what kind of device is needed to measure a pocket solar panel with a raspberry pi, in addition, the solar panel must feed an LED lamp. this is for a school project

For a "pocket" solar panel I wouldn't use a raspi. There's no point measuring a solar panel if the measuring device uses up all the power you produce (or even needs an auxiliary supply)

 

You'd be better off with a small microcontroller instead.

Link to comment
Share on other sites

Link to post
Share on other sites

54 minutes ago, James Evens said:

Yes and no. It is for a school project so use what you know.

It's not like it's easier with a pi. You'd be using very similar code and circuitry. Actually I'd argue this is far easier and quicker to set up on an arduino than on a raspi.

 

Oh BTW with microcontroller I did mean development board like arduino or something similar. I agree a bare microcontroller is too much of a hassle.

Link to comment
Share on other sites

Link to post
Share on other sites

On 9/7/2021 at 4:32 PM, Drakenstrijder said:

hoi does anyone know what kind of device is needed to measure a pocket solar panel with a raspberry pi, in addition, the solar panel must feed an LED lamp. this is for a school project

I don't think you need something as powerful as a pi to just log a power usage

 

You can do that with Arduino or if you need more computing power (for whatever reason) there's esp32, stm32 blue pill or the pi pico

 

 

 

01110100 01101000 01100001 01110100 00100000 01110111 01100001 01110011 00100000 00110111 00110000 00100000 01101001 01101110 01100011 01101000 00100000 01110000 01101100 01100001 01110011 01101101 01100001 00100000 01110011 01100011 01110010 01100101 01100101 01101110 00100000 01110100 01110110

 

 

 

 

 

 

 

 

 

 

Audio Interface I/O LIST v2

 

 

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×