https://gist.githubusercontent.com/fashice/2098d1301117b86caed94aca8f2101ff/raw/7d2a7300e7ddf42d4f1793f693dbb517e09bd2d8/gistfile1.txt
change mqtt server and add to hydra using
await loadScript("https://domain/script.js¨);
It gave me the idea to make a pole which displays digital “fireworks” using leds. Fireworks are becoming illegal the next year in the Netherlands, I think.
So why not going digital? 12 Meter pole, 300 Leds.
There is a QR code and a website link mentioned on a page at the gate. 10 presets to select via a website.
Notification on my TV
While waiting for the first visitor I made a magnetic game. Using a bunch of magnets, and 3D printed hexagon rings. Two players try to place magnets in a small area without moving the others. If magnets slam together, you have more pieces to place. (Below, last player has to take those 6 pieces)
One of my old ideas, never made or tested. I saw a post on Reddit with this question, I decided to post a little drawing using my idea.
Center of below picture shows pages (the lines), with coppertape going front to back and connect to following page
Inductive copper tape
Taking resistors of the same value, you’ll get a logarithmic voltage divider. If you want the values evenly spaced, to make sure you are not misreading the value you have to make the resistors more like: 10k,6k,3k3,2k5,2k,1k68,1k5
We are planning to redo our garden. And I am making a water and light plan for it.
I thought I could do it myself using 12V and RS485/Modbus.
So these are my plans. (NOTE, this is a work in progress)
I’m going to put 4-wire ground cable in our garden, and a RS485/Modbus master controller in my shed. 4 Wires will have 12V low voltage, ground and RS485 A/B wires. This way I can control till 64 devices on a single cable.
Below, a USB stick to connect the RS485 cables to a Raspberry Pi? Software is probably going to be a NodeRed instance connected to Home Assistant.
On/Off lights using a RS485 board and relay. These can be bought on a single PCB and can control 220V. I am probably going to use generic outside lamps and refit them for 12V led or 220v, with those RS485 controllers.
Test PCB
The above left part will be encased in resin or alike. Right PCB is for testing only.
For dimming RGB lights, I made the below design.
NOTE: This needs 120ohm end resistor and capacitors over the 7805.
12V to 5V using a 7805, RS485 8pin DIL/DIP and a ATTiny85 8pin DIL/DIP. Plus a 4×4 RGB Matrix. These also encased in resin.
More information on the ATTiny85 and programmer can be found here:
Deeply impressed by your blog content which means a lot to electronic enthusiasts.
I'd like to sponsor your project by providing free PCB prototyping,
ROM SWITCHER
I made a rom switcher in the past. Now I’m using an Arduino to switch Kernal and Character rom. (Partly idea from Adrian)
Where the F* is my schematic. Ah here it is.
Above right picture:
Tactile button (emulates restore key)
Red led – reset
Yellow led – Exrom
Blue leds, Address lines select ROM part in 27512 EPROM
Green leds, Address lines select ROM part Character ROM
Motorized Fader Potentiometer
I don’t trust some B&B’s so I made a camera detector. (I always scan the wifi and Access Points) This one lets you know if there are IR enabled camera’s. (Night vision)
Picture 1:
1 = org camera module, IR filter is hard to remove. (See pink color)
2 = other module, IR filter is at bottom
3 = IR Filter, I removed this.
Picture 2:
IR light blast from a “hidden” camera. (I need to adjust focus of lens)
While I made this for my Commodore C64, it is applicable for many things.
It started with some cheap displays from Ali, and some leftover Wemos D1 from my Pressure Lab project.
I Started measuring the audio output from sound devices and from my C64. I soon discovered that I needed some way to get the offset and amplification correct for the analogue input of a Wemos. (0-3v3)
So a little op-amp circuit was born, but not without some struggles. I forgot many things about amplifiers. It was one of the first school books I got rid of. (Sorry mister Rafaela)
After searching the internet and posting a question on Reddit I ended up with the following.
R1 and R2 are 100M. The potentiometer P1 allows me to set the offset. R3 is 1M C1 is 100nF to decouple the audio signal from the RCA.
R4 is 47K and C2 is 330nF (thanks tycho205) Cimportant=1/(2πfR2) where f is the lowest frequency of interest. In this case Cimportant should be about 330nF
LM324 is a quad amplifier, leftover from another project. Note, the SINGLE RAIL power.
P2 potentiometer is 2M (leftover) and gives me a variable amplifying opportunity.
A = Audio input
B = Setting the offset with P1
C = Setting the amplification
Below input signal (note negative values) above amplified signal with offset!
The displays are 3 Wemos controllers with a cheap I2C display. These are just fast enough to do FFT.
Analogue in is the output from the OP-amp offsetter ..
CODE
Needs cleaning up, and a better stabilize routine.
"If something is worth doing, it's worth overdoing."