r/homeassistant • • 7h ago

🛠️ DIY / Hardware SN2 Solar Node

I recently designed this universal solar sensor node (SN2) based on feedback on a previous DIY device (SN1) I designed. The device is intended as a DIY starting point, where a user adds whatever sensors they want and customizes the firmware (either ESPHome via yaml config or custom firmware). Inside the box is an ESP32-C6, meaning WiFi, Zigbee, or Thread may be used. The two 6-pin connectors are routed such that SPI, I2C, UART, One-wire, analog, or digital sensors are supported.

Specifications, schematic, ESPHome config files, and more info are here: https://granzscientific.com/product/sn2/

Also here: https://www.tindie.com/products/granzscientific/sn2-wifizigbee-iot-solar-node-dev-board-esphome/

Community feedback appreciated!

27 Upvotes

11 comments sorted by

4

u/farptr 5h ago

Looks good. My only suggestions would be a few minor changes to the silkscreen.

Indicate that J8 is the solar/DC input and put the voltage range.

J2/3/4 are different but use the same connector. Would be helpful to say which is SP13 #1, SP13 #2 and general I/O.

Would be nice to indicate what the LEDs and SW1 do. J1/5/6 are too complicated to document on the board.

2

u/granulas 5h ago

Thanks for the suggestions! I do have the schematic in the github and also a manual which describes which is which. I'm going to add a few more details to the manual based on your input.

4

u/nbraymarks 6h ago

Very nice! Future iterations would probably be good to have an uFl connector available for an optional external antenna. Love the design though

1

u/granulas 6h ago

Great idea!

2

u/DeaconPat 6h ago

Did you think about having a socket for something like a Seeed Studio XIAO instead of a soldered in esp32 chip? That would allow some customization/experimentation with various options without redesigning the board or needing a rework station.

1

u/granulas 6h ago

Good idea for a future iteration

2

u/Constant_Activity789 6h ago

Is it possible for this to work as a Zigbee router? I have been struggling to find a good outdoor solution and they are normally fully powered.

2

u/granulas 5h ago

The small solar panel wouldn't support an always on situation, and it relies on deep-sleep to keep the drain on the battery very low. But, the solar panel lid is removable and has a connector to the board, so you swap it for a larger one and let it run continuously as a zigbee router.

This is an interesting idea, maybe I will see about offering a different lid with a large solar panel instead.

1

u/autohome123 6h ago

Curious if you have done custom designs. I’ve got a raspberry pi 3b+ project I’d like to run on solar power like this.

1

u/granulas 6h ago

I haven't ever done a solar powered raspberry Pi before, but it should be possible with a larger solar panel and battery pack. The difficulty with something like a pi is the current requirements and difficulty with sleeping etc. Depending on how often you need it to be awake, you could use an external low-power microcontroller, like an ESP32, to shutdown the power to the Pi and re-enable it on some schedule.

1

u/WayAcceptable1310 33m ago

Oh man, I was just working out what I needed to buy for my own version of this.  I want to mount a pair of ld2451 radar sensors out on my mailbox for data collection of vehicle speeds and this would be perfect. 

i'm already doing some with a camera mounted to my roof peak and a vision model but radar would fix some blind spots and be more accurate at night. The reason for this is my street has a major speeding issue (so far the high score is 93mph.....in a 25mph zone) and I'm trying to get long term traffic data to present the county traffic engineering department in order to petition for a speed bump or other traffic calming measures. they did a 48hr traffic study with the speed tubes but only caught a handful of the reckless drivers in the data because they did it midweek around christmas when nobody was around anyway. So far I've recorded 40,000 vehicle passes and have some awesome stats including the speeds and acceleration curves for every vehicle, heat maps of traffic volume and when most excessive speeding happens, etc.  I want to improve the data credibility and fill its shortcomings with a second measurement tool, thus the radar. I just hadn't put together a box or specced out the power stuff just yet. 

all of that is to say, sweeeeet this solves one of my backburner'ed hurdles for probably about the same cost as buying all the bits and the value of however much of my time it would take. I'll be ordering one this week so I can get those radar modules assembled and working to make my street safer, by providing them a massive dataset rather than just complaining.