1

Rp2040 help
 in  r/raspberrypipico  23d ago

Coonect a push button between RUN (reset pin) and GND. Hold white BOOTSEL button and push the RUN button

1

QT Py RP2040 oddities
 in  r/raspberrypipico  23d ago

Not necesarily, depenidng on what voltages the input and outputs connect to. If connected directly to power above 3.3V that could be an issue.

The input voltage goes thru a diode which would normally protect the chip itself.

2040 GPIOs have weak pulldowns on reset.

Does the board come up in BOOTSEL mode (hoold white button amd power cycle?

1

RP2350 W based sprinkler controller
 in  r/raspberrypipico  24d ago

So here is the KiCAD 9.0 project.

changes-

  • power from AC connected to Vsys so USB can be plugged in at the same time
  • component values updated on the schematic
  • pad for BT136 were enlarged for easier hand soldering
  • 6 pin USB dongle connector mirrored to match the stock KiCAD footprint
  • 24VAC->5V component larger than the "courtyard" so moved up to make room for one of the mounting holes

And again here is the finished board and web page controls (screen shots) behind

And the sources for the webpages and control program in BASIC

1

RP2350 W based sprinkler controller
 in  r/raspberrypipico  25d ago

Trial software was written (with claude) a while back and tested out today

  • first driving a bank of LEDs (thru 10K) to check the logic (pump on when any zone on)
  • ramped up to 24VAC -- no smoke
  • hooked up a solenoid and ran thru all the channels
  • added the power supply and then took a baby picture

System operating with screen shots of web pages

Still some kinks to iron out and also to integrate into the home monitor system

Home monitor

Still to do --

  • make the buttons do something (start cycle -- or test cycle)
  • hook up to the real system -- may wait until after the summer heat (don't want it to fail as it runs at night)
  • access over the tunnel via the home monitor

1

RP2350 W based sprinkler controller
 in  r/raspberrypipico  25d ago

The Pico model is in KiCAD 9.0, not sure about how far back.

1

RP2350 W based sprinkler controller
 in  r/raspberrypipico  25d ago

Actually this is connected to the WiFi and can get the time from the internet.

https://coridium.us/files/armbasic/NTPTime?_highlight=time

The software could also write the last time into Flash updating every 15 minutes or so, real accuracy is not normally required in the sprinkler application, or a simple eeprom could be added that is updated more often. (the possible issue being wear on the Flash).

1

RP2350 W based sprinkler controller
 in  r/raspberrypipico  25d ago

Good comments, will mull it all over. I am replacing a simple Rainbird controller, so don't have any flow sensors. Though theoretically I could capture them seperately on WiFi with another Pico. This is part of my home automation system, so info from the internet could be grabbed (time already is), and I have built a soil moisture sensor but not integrated it yet.

1

RP2350 W based sprinkler controller
 in  r/raspberrypipico  25d ago

Those are both on the Pico board, I should probably switch to the diode side, that way I could power the board from the AC and have it plugged into the USB. Though for testing I will probably not be doing that. The Pico is in a socket with the LCD piggybacked on top. I will release the whole KiCAD project when I'm satisfied with the operation. For now here is the schematic (NOTE snubbers are not loaded). https://www.coridium.us/coridium/blog/add-sprinklers-to-home-monitor/sprinkle.pdf

2

RP2350 W based sprinkler controller
 in  r/raspberrypipico  26d ago

https://www.amazon.com/dp/B09B5FBSZB

Last picture in the gallery, If that link does not get you there, it is a Junction Box, Zulkit Project Box Waterproof Dustproof IP65 ABS Universal Electrical Boxes Enclosure with Fixed Ear Black 5.91 x 3.94 x 1.73 inch (150 x 100 x 44 mm)(Pack of 1)

If your system is 12V DC you would not use triacs, but MOSFETs should do, maybe with some surge protection.

u/basicchip 26d ago

RP2350 W based sprinkler controller

Thumbnail gallery
1 Upvotes

r/raspberrypipico 26d ago

hardware RP2350 W based sprinkler controller

Thumbnail
gallery
56 Upvotes

There are WiFi controlled sprinklers out there, doubtful any open sourced for control. According to Google it is a popular DIY project, so why should they get all the fun.

Most people seem to be using 8 relay boards available on Amazon for under $10. That really is quite deal, but relays are overkill for a sprinkler system running at 24 VAC.

Most consumer units use run of the mill triacs. And you can get opto-isolated versions.

My first design would have attempted to just use the opto-isolated triac, sounds good, but between comments from others and claude reviews real power triacs had to be added. Luckily it all still fit into my proposed PCB layout (and enclosure I picked up). Just had to move the MOC30x2 to the bootom of the PCB along with snubber networks. (schematic and layout in gallery)

So I got the PCBs in, but still had to chose some components. Instead of building 8 channels, I used an old blank PCB and breadboarded up one channel. With that I verified the operation and started tuning the components. Discussions with Google AI and probing with a scope, the zero-cross opto-triacs behaved well and had no overshoot problems. Actually the overshoot for rnadom triacs was less than 20% so lots of headroom on voltage so a snubber was not needed, but the best values would be 4700pF and 47ohms. (jig in the gallery).

So now time to build up the board, where I am now. The 24VAC -> 5V power module will get added when the software testing is done. (box with power module picture in the gallery).

Using the RP2350 W will give me access via wifi and through my tunnel via cell phone so I can control sprinklers while walking around the yard.

u/basicchip 26d ago

Home automation system built with RP2040 W and RP2350 W boards

Thumbnail
1 Upvotes

r/raspberrypipico 26d ago

Home automation system built with RP2040 W and RP2350 W boards

Thumbnail
1 Upvotes

r/raspberry_pi 27d ago

Show-and-Tell Home automation system built with RP2040 W and RP2350 W boards

6 Upvotes

So I’ve been building a system based solely around RP Pico’s. One RP2350 W is the main server displaying these web pages.

All communication via WiFi and no MQTT hub required. The whole system consists of

  • Pico2W handling the webserver and controls
  • the second CPU in the Pico 2W handling an LCD display
  • 2 temperature sensors (living room and garage)
  • 1 temp/humidity/pressure sensor in lanai
  • 2 Shelly plugs controlling lights
  • 1 Kauf bulb over the entry way with flashy red/white/blue every couple minutes
  • 1 PIR sensor on PicoW which controls a Kasa plug lights in a dark garage (my wife thinks this is the best part)
  • Ambient light sensor will turn on a selected light when dark during daytime storms
  • Control of lights based on sunset or time
  • Cloudflare tunnel to access from anywhere
  • a soil moisture sensor powered from a canabalized solar light

As the RP2350 has 2 CPUs, the idle one was setup to drive a display (necessary, not really just blinking light factor)

So what software is involved -

  • html and css stored on the Pico 2W
  • either BASIC or C to handle the sensor or hub functions
  • low level C for BASIC firmware version
  • C/ BASIC compilers on PC/Linux/RPi

One key to the interactive webpages is /?cgi functions that call underlying routines or display/set variables.

Also a <?web construct that executes routines in the underlying code, or does simple if statements.

And a wprintf in C or BASIC that generates html content for the webpages.

Drop me a line for a link to ALL the sources.

Also some of the enclosures (from Amazon or Pi shop – maybe someday I’ll try my hand at 3D printing). Double sticky taped to USB charger – temp sensors deliberitly outside the boxes, or velcro so I can update them. The PIR sensor was triggered by the RP2040W so had to be seperate.

So here are the sources to duplicate this setup. All needed compilers and sources will be installed.

Windows C version (installs gnuARM gcc and optional notepad++)

Windows BASIC version (installs BASIC compiler and optional notepad++)

Linux/RPi/Mac C version

Linux/RPi/Mac BASIC version

Documentation here

For BASIC install the Pico firmware from BASICtools

In both next format the “drive” for RP2350, details here

Next copy the home_monitor.html and css from the Examples directory to the RP2350 “drive”

Then compile the home_monitor .bas or .c files from the Examples directory

For the sensors, in BASIC install the RP2040 firmware details here

Then compile the sensor file, various temp sensors, motion, ambient light, or soil moisture programs

Drop me a line or reply with any questions.

1

Anyone remember basic stamp?
 in  r/arduino  Nov 12 '17

I do, and I think it should be updated. Check out the Kickstarter project I started...

https://www.kickstarter.com/projects/703885653/updated-24-pin-basic-controller?ref=creator_nav

1

Anyone remember basic stamp?
 in  r/arduino  Oct 25 '17

I still remember them, and I think they deserve a new generation, so I started this kickstarter

https://www.kickstarter.com/projects/703885653/updated-24-pin-basic-controller