Aquarium Raspberry Pi project

April 6, 2023, 11:27

aelen

https://www.kiwi-electronics.com/en/tools-machines-155/solder-sn60-pb40-0-6mm-100g-11351 the packaging says "the best quality solder", so it must be true

aelen

I'll be soldering the male header set onto the pico w in that case

oops.se

0,6 and 1.2 mm

oops.se

I would by thos two

oops.se

And start with leaded

aelen

alright cool, thank you πŸ™‚

aelen

I'm very much a beginner, so whatever's easiest

oops.se

YW

aelen

actually looks like the pico w is not supported by tiny go (it only supports the pico), so I might actually go for a raspberry pi zero instead

aelen

gives me a bit more options

oops.se

Ok, then your choices is clear, "must support Go"

oops.se

I'm a bit more pragmatic, I mix ready made firmware, my own code in C++ or Python

aelen

I think for a first project it'll be a bit easier since I also don't have experience with python/c++

aelen

so I can play around with the hardware first, using a language I'm more comfortable in, and then later move on to micropython/c++

aelen

cause it's my first time also dealing with the electronics etc

aelen

one step at a time haha

oops.se

I support your thought to 100%

oops.se

Electronics is cool, and I have seen so many kids be inspired to program with just a LED, buzzer and a button connected

oops.se

I have a teacher background πŸ˜‰

oops.se

Add dupont wires male-male and female-male and a "MB102 breadboard" to your list

aelen

alright gonna look those up!

aelen

and yeah it's cool, I'm 36 now, and I've been a software engineer for ~20 years by now, but it's never too late to learn new stuff πŸ™‚

aelen

and I'll need to add an actual breadboard to my list as well

aelen

nice ^^

aelen

this is what I ended up ordering - figured I'd also grab some buttons and leds and such to mess around with just to make something simple

oops.se

Please don't post pictures, a pita to read

aelen

haha fair

oops.se

It looks like a complete starter kit

aelen

yeah, I figured I can play around with some buttons and leds to start out with

aelen

I'm currently researching pH electrodes - what a minefield

oops.se

From my experience, they are quirky and needs calibrations quite often.

oops.se

And a search tip is to include "Arduino" in the search term since that platform is common for DIY'ers.

aelen

I received a bunch of stuff today, but I just realised I don't have an SD card \o/

oops.se

I would recommend a SSD

oops.se

Much more reliable

aelen

hmm, what kind of ssd would that be?

oops.se

Accidental power off's

aelen

I'll mainly just be running a go program (in case I use the pi zero)

oops.se

and I had one SD card that got so hot that you could boil water with it

oops.se

Ahh Ok

aelen

I'll be starting with the pi zero I reckon, since then I can use go to start with

oops.se

I thought you where using a big Pi

aelen

for the pico w, I'll be trying out C

aelen

initially I was going to use a 4b

aelen

but as was pointed out to me, what I want to achieve could even be done on a pico w (which I also received today)

aelen

but I need to figure out how the pico w actually works, cause I'll need to flash it somehow from my laptop (which runs macOS)

oops.se

Pi Z W has a nice format

aelen

yeah, that's the one I have πŸ™‚

oops.se

If your going to use C, look at the "Arduino IDE" (www.arduino.ccΒ΄) and add support for rp2040

aelen

ideally I'd like to use neovim as that's my editor of choice, but yeah I'll need to figure it out πŸ˜‚

aelen

so far all the things I want to do seem to be non-conventional haha

aelen

yeah, the main reason was cause I already have a 4b haha

oops.se

neovim, god luck, thats abowe my paygrade πŸ˜‰

oops.se

Well if you want to have DB and graphs a 4b is suitable

oops.se

Then the Pico is a "NoGo"

aelen

my intent is to run a service on my kubernetes cluster and push readings to it, eventually πŸ™‚

aelen

so no db or anything like that needed on the actual thing running my local service

oops.se

K8's cool

aelen

whether that's the pico w or the pi zero

oops.se

I use docker a lot

aelen

yeah, k8s is great! \:D

aelen

yeah same, so it just makes sense to combine things

aelen

so I'll have stuff running in the cloud somewhere, and the local device/service will do as little as possible, ideally

aelen

but since I don't know C, and golang is not properly supported on the pico w, it's going to take a bit of time for me to get comfortable haha

aelen

I would try micropython, but I'm really not a fan of whitespace-sensitive languages 😬

oops.se

I don't like the cloud, I run as much as I can locally

aelen

the cloud comes with its fair share of challenges, I'll give you that

aelen

I gotta say, I'm so impressed with how tiny the pico w is

oops.se

Ahhh for me its simple, when I push the button for the lights or other home automation, I don't want to be dependent on the internet

aelen

it's insane

aelen

oh for sure

aelen

the cloud-portion of this would just be for graphs and stuff

aelen

so if a reading fails to push to the cloud, no biggie

oops.se

And that you have the cpu for locally as well

oops.se

But thats my preference

aelen

yeah, all makes sense πŸ™‚

aelen

my first little experiment will just to be to get a led to blink haha

aelen

and then maybe use a button to activate a led, and I'll slowly get into more complex stuff

aelen

I have ~20 years experience as an engineer, but I am 100% noob when it comes to electronics :p

oops.se

Thats a god start, the next should be to start the power plant

oops.se

But you seems to have a brain, with working brain cells, and that's helps a lot πŸ˜‰

aelen

of course :p

aelen

haha, that's what I try to let people think, yes 😬

oops.se

πŸ˜‰ deception ... haha

oops.se

Well, Im off, to late for me now, cya l8r

aelen

have a good one!