←back to thread

263 points chaosprint | 9 comments | | HN request time: 0s | source | bottom
Show context
ChuckMcM ◴[] No.45754594[source]
Fun stuff. You kids don't know how lucky you are to have really capable MCU's for just a few bucks. :-)

It is kind of the ultimate "not a TOE[1]" example yet.

[1] TOE or TCP Offload Engine was a dedicated peripheral card that implements both the layer 1 (MAC), layer 2 (Ethernet), and layer 3 (IP) functions as a co-processing element to relieve the 'main' CPU the burden of doing all that.

replies(4): >>45755798 #>>45756795 #>>45758335 #>>45760521 #
1. kace91 ◴[] No.45760521[source]
>Fun stuff. You kids don't know how lucky you are to have really capable MCU's for just a few bucks. :-)

Any suggestions for people not used to tinkering with hardware? I would like to play I think, but I have a lack of imagination regarding potential projects/goals.

replies(4): >>45761064 #>>45762747 #>>45764892 #>>45780422 #
2. bux93 ◴[] No.45761064[source]
I have plenty of ideas, I'm just super lazy!

I'd like to hook up a rain sensor to a skylight to close it when it rains (needs a little motor, too), and then also hook it up to weather forecasts.

I currently have to switch on my TV, surround set and a laptop, and then push multiple buttons to switch to/from a firestick. I'd like to automate that, so I can just switch it on/off and switch the source easily. Also if the system is in an unknown state (tv on, but using the incorrect HDMI input and the surround set if switched off, etc.), which is what the naive solution using a "fingerbot" and a IR blaster hooked up to godawful tuya stuff doesn't do.

Build a GPS-synchronized flip clock.

Add remote control door opening without destroying my flat's intercom system.

Mostly kinda boring home automation stuff, but would be worth it for tinkering.

replies(2): >>45766289 #>>45779742 #
3. ChuckMcM ◴[] No.45762747[source]
I can recommend a 'Hacker Boxes'[1] subscription. It's $44/month currently, every month you'll get all the parts to build some gizmo or project and a full list of instructions. The prerequisites are that you know how to solder and have a soldering iron, and have a computer you can run the Arduino IDE on (even a Raspberry Pi can do that these days).

If you don't know how to solder the Hacker Boxes folks have a soldering workshop kit that includes an iron[2], but many maker spaces will do soldering clinics. Soldering irons are available as cheap[3] and more expensive[4] (and ludicrous[5]). The Arduino IDE runs on pretty much anything (Linux, MacOS, Windows).

[1] https://hackerboxes.com/

[2] Soldering Workshop --- https://hackerboxes.com/collections/subscriptions/products/s...

[3] $13 iron from Amazon --- https://www.amazon.com/dp/B09DY7CCW5

[4] ~$150 soldering station --- https://www.amazon.com/dp/B077JDGY1J?th=1

[5] $1000+ Metcal station --- https://www.qsource.com/itemdetail/?itemCode=MX-5210-M020

4. ssl-3 ◴[] No.45764892[source]
"Play" implies a lack of seriousness.

To that end:

1. Blink an LED (this is more rewarding than it seems it should be, because it proves that the toolchain works)

2. Learn to fade that LED on and off instead of blink

3. Learn to make an RGB pixel using red, green, and blue LEDs and some tissue paper

4. Realize that's kind of limiting, and use a WS2812B LED pixel instead

5. Notice that there's whole panels of WS2812B available

6. Buy one. Make it display dumb memes or emojis or dickbutts or whatever.

7. Add a web interface.

8. Give it a domain name.

9. Aim a camera at it, fire up a twitch stream, send the link to HN, and we'll spend a few hours or days shitposting on your little video wall

10. ???

11. (there is no profit. it's supposed to be fun, right?)

replies(2): >>45765199 #>>45765271 #
5. ChuckMcM ◴[] No.45765199[source]
I just have to add that this is a fucking brilliant plan. The number of useful things you will learn doing this is very high.
6. Teknoman117 ◴[] No.45765271[source]
One of my friends got a Pimoroni InkyFrame and was trying to figure out what to do with it. Ended up learning a substantial amount about how dithering works to convert images into the 7 colors the eInk display can produce. It just sits there playing the original Shrek at 1 minute per frame over and over again XD.

When he messed up the color conversion "Green Farquaad" was a recurring meme in our group chat.

7. ficklepickle ◴[] No.45766289[source]
> Add remote control door opening without destroying my flat's intercom system.

Oh hey, I made that[0] at a previous apartment! It sat on my LAN and I'd VPN in if I was out of wifi range.

I struggle to find time/motivation for stuff like that these days. I was contracting back then and had downtime between jobs.

[0] https://github.com/jeremy21212121/doorman-building-arduino

8. samarthr1 ◴[] No.45779742[source]
As someone who is only mildly bullish about AI, my hope is that such ultra custom HA will be more common, and no longer limited fo the 0.1% and software engineers.
9. tripzilch ◴[] No.45780422[source]
get an ESP32, costs about $1-3

you can program it with the USB and the Arduino IDE

most dev boards (that means the MCU is put onto a PCB and you can do stuff with its pins) already have a LED on it so you can blink that without any soldering

they also usually have two tiny buttons one of which doesn't do anything/much and you can use those as input

ESP32 also has built in Wifi and you can make it host a supertiny webserver, or even be its own AP. It also has Bluetooth but I haven't tried that yet.

You can do all these things by asking ChatGPT for the code and instructions :-)

It can do a lot more than this though, but it might inspire you to try other things.

Oh one more very cool thing if you're just getting started is that the ESP32 has 10 pins which are "capacitive touch" sensors and attach a wire to that pin and if you touch the wire, your program gets a signal. This works very well and makes that you can do interactive stuff without even having to solder buttons on anything.