Jump to content

The Geeky Nerdy Project Page


Recommended Posts

On 12/22/2020 at 1:49 AM, owlman76 said:

I decided to have a foray into electronics recently, although I am an electrician I knew next to nothing about electronics, which surprises a lot of people although they are actually two completely different fields. Anyway I wanted a controller for the emergency equipment on my landrover and it was pretty expensive, I sat and thought about it and made an almost indentical unit for less than £30, so that was good, just need some warm weather to fit it now, lol.

I know that there's a difference between electricians and electrical engineers - the latter may be more well-versed in theory and circuit design, while the former may have more hands-on skills and be very familiar with building codes. (At least, that's the distinction in the US, as far as I'm aware.) Are you referring to a similar difference here? I find myself curious, because I've always wanted to know more about both of these fields, but I definitely don't have the time to devote to learning any of that stuff to a point of mastery. Everything electrical that I'm aware of really comes from music applications and guitar/bass amps - mostly dealing with impedance at an incredibly basic level.

Link to post

My biggest interest/hobby is restoring and working on classic cars, over the years i had a few of them and still have one small project beside my daily driver.

I always been a car guy so that is obvious choice for hobby to me. I havent actually done any of them from scratch but usually i have driveable car which i slowly restoring while still able to enjoying to drive it. So here it is, nothing special but for me its relaxing.

I also do rallycross racing actually and building these racecars of mine aswell, not much of action on this year cause cancelled races for reason anyone surely know..

Link to post
2 minutes ago, willinglywet said:

My biggest interest/hobby is restoring and working on classic cars, over the years i had a few of them and still have one small project beside my daily driver.

I always been a car guy so that is obvious choice for hobby to me. I havent actually done any of them from scratch but usually i have driveable car which i slowly restoring while still able to enjoying to drive it. So here it is, nothing special but for me its relaxing.

I also do rallycross racing actually and building these racecars of mine aswell, not much of action on this year cause cancelled races for reason anyone surely know..

That's awesome - Most of my mum's pregnancy was spent as a spectator at a local circuit, so I'm blaming my love of all things motorsport on having traces of hydrocarbons ingested pre-birth. My excuse anyway.

Completely understand that any pictures could easily link to your 'real world' identity so you most likely wouldn't want to post any...

Link to post
2 hours ago, gldenwetgoose said:

That's awesome - Most of my mum's pregnancy was spent as a spectator at a local circuit, so I'm blaming my love of all things motorsport on having traces of hydrocarbons ingested pre-birth. My excuse anyway.

Completely understand that any pictures could easily link to your 'real world' identity so you most likely wouldn't want to post any...

Would be nice to share some pictures, but like you said it could cause that. It would be ankward if someone close enough to me would find out.

Edited by willinglywet
  • Agree 1
Link to post
  • 3 weeks later...

Currently I'm working on a few web scraping projects in python and javascript, all porn related lol. 

1. A general purpose scraper to get all the pee trailers from hightide video (https://www.hightide-video.com/pissmenu.html) because I love them and they should be backed up

2. A reddit scraper, partially started already from this guy on reddit that has the ability to get download links for all submissions on a subreddit.

3. The infamous...onlyfans content ripper (for ethical use). One of these existed for public use but it came out that the dev was using it to extract credit card data. I have no such intention, I have no intention to release it publicly either I just need it for personal use but wouldn't have an issue sharing it here when I'm done (if I can get it to work). 

I have to practice programming and web development for my job so I like to relate it back to my hobbies, some of which are my sexual kinks. If you have a kink that you are modulating through pornography then data management is always going to be a problem to solve. I also like data hoarding in general because it can be kind of fun. 

  • Like 1
Link to post

As some of you might have seen in the chat, over the last couple of days I have been working on some image manipulation software. It works! But now I don't know what to do with it. Any ideas of what I could do with ~200 photos of faces? 😂

 

P7weOUt.png

  • Love 1
Link to post
2 minutes ago, Sophie said:

As some of you might have seen in the chat, over the last couple of days I have been working on some image manipulation software. It works! But now I don't know what to do with it. Any ideas of what I could do with ~200 photos of faces? 😂

 

P7weOUt.png

Fantastic! You could sell it to @Admin for use with the site video index

Link to post
  • 3 weeks later...

Making a theremin control a MIDI synthesizer

I can’t claim *any* coding credit here, but I have successfully stitched together a number of components to make a theremin control a MIDI synthesizer on my laptop. This gives me the ability to vastly expand the range of sounds and effects that can be played from the theremin.

First: a theremin is a musical instrument that is played without contact and generally makes a very spooky, ‘slidy’ sound. You’ll have heard in in the Beach Boys’ ‘Good Vibrations’ for instance. It’s based on the principle that a heterodyne oscillator can be controlled in pitch through a LC circuit where the capacitance is varied by moving the player’s right hand nearer or further from an antenna. A similar principle is used to control the volume via another antenna with the player’s left hand.

I bought an Arduino-based theremin ‘kit’ from the creator of the OpenTheremin project (http://www.gaudi.ch/OpenTheremin/). I use the term ‘kit’ loosely as it came with the extra theremin board (Arduino shield) pre-soldered in place. The only things I needed to do to play it out of the box were:

  • connect the theremin to a power supply (I powered it from the laptop via USB)
  • ground the board with a separate earth wire to the radiator (because the player is the ‘ground’ in the LC circuit, it’s important that the instrument and player are grounded)
  • connect the audio output to an active speaker.

The theremin has an auto calibration routine, and pots to adjust timbre (one of eight built-in waveforms), register (how high and low the instrument will play), volume and pitch (you can ‘tune’ it a little – though that’s not particularly useful with this instrument given that there are no absolute notes).

However, the eight built-in waveforms are what they are. For much greater flexibility, it’s possible to convert the theremin’s output into a MIDI signal that can be interpreted by a physical or virtual MIDI synthesizer. I chose the MiniMogue VA (https://vst4free.com/plugin/405/).

However, the base Open Theremin Arduino code needed replacing with a branch that included the MIDI implementation and Arduino MIDI libraries. This was straightforward even for me (with *zero* experience with Arduino).

But there are two further pieces of software required to stitch the theremin output (which comes into the laptop via a USB serial port) to the synthesizer: a MIDI serial bridge (http://projectgus.github.com/hairless-midiserial/), and a virtual MIDI passthrough driver to create the necessary ports (http://www.tobias-erichsen.de/software/loopmidi.html). It took me a while to realise the necessity of the driver; that held up the project for a while.

Once all this was in place, the synthesizer could recognise the theremin as the MIDI input and send audio to any audio device (I just plugged some headphones into the laptop).

That’s as far as the project has got, other than a very quick play with capabilities of the synthesizer – but as it’s a reasonably faithful implementation of a Mini Moog, I have a lot of possibilities; three oscillators can be used independently to generate waveforms and modify them in many, many ways. The synthesizer’s ability to bend pitch can preserve the theremin’s unique sound, but can add very much more to it – including, for instance, making a series of more-or-less discrete notes if that’s what you want.

In parallel with this tech project, of course, is the project to learn to play instrument. I have made a start on this – and have realised the importance of using hand shapes to reliably create whole tone or semitone intervals in a scale, for instance. My right hand is missing a finger, which gives me slightly less of a maximum capacitance change with the hand alone than a ‘normal’ person, but I can just about go up and down a scale with the instrument’s default calibration.

If you’ve read this far, thanks!

Screen shot.JPG

PSX_20210203_212657.jpg

Edited by Kupar
typo
  • Like 1
  • Love 2
Link to post
  • 1 month later...

I'm not sure if this counts or not but I have started working on a GUI for my yourworldoftext pasting script.

It's more or less as I want it at the moment (the browse button isn't quite aligned and it's annoying me so much) and things go strange if I expand the window, but it's a start!

It will paste whatever I put in the top box,  which I can type or copy+paste, or it will take something already written from a text file. In this case, bunnysign.txt

9j9ePhM.png

 ________
| hello!     |
|_______|
     |
(\(\ |
('-')|
( 3  3
(_")")

 

 

  • Like 1
  • Love 1
Link to post
1 minute ago, Sophie said:

I'm not sure if this counts or not but I have started working on a GUI for my yourworldoftext pasting script.

It's more or less as I want it at the moment (the browse button isn't quite aligned and it's annoying me so much) and things go strange if I expand the window, but it's a start!

It will paste whatever I put in the top box,  which I can type or copy+paste, or it will take something already written from a text file. In this case, bunnysign.txt

9j9ePhM.png

 ________
| hello!     |
|_______|
     |
(\(\ |
('-')|
( 3  3
(_")")

 

 

Definitely counts 🙂 I think many people would say something like that is almost the essence of a geeky/nerdy project. And I mean that in a complimentary way of course!

  • Love 1
Link to post
On 1/19/2021 at 5:20 AM, Sophie said:

As some of you might have seen in the chat, over the last couple of days I have been working on some image manipulation software. It works! But now I don't know what to do with it. Any ideas of what I could do with ~200 photos of faces? 😂

 

P7weOUt.png

Well....if that's your training data, I would recommend using a more varied set of faces. Your image program isn't going to recognize middle-aged, ugly dudes like me. 😂 (Also....I just realized that this year, I think I'll officially be middle-aged. Fuck.)

As for projects.....haven't really been working on anything as I've had other things going on in 2021 (and in 2020 I was focusing on music and language).I didn't have a need for any tools. However, now that I'm studying Chinese, I'm finding that I need a tool that will allow me to input sentences (in Chinese) and search them all for specific characters or combinations of characters (words) as well as grammatical phrases. I then want to be able to tag specific sentences by the searched character (for later study) as well as tag them with other criteria as well so that I can study new words and existing words in context. A sentence-mining database, basically. I haven't found anything online that provides this functionality, and so I'm wondering if I should build it. The thing is that I don't really want to go down this rabbit hole - time spent building a tool is time spent not learning and studying, so there's a fine line to walk.

  • Like 1
Link to post
24 minutes ago, p1ssputz said:

Well....if that's your training data, I would recommend using a more varied set of faces. Your image program isn't going to recognize middle-aged, ugly dudes like me. 😂 (Also....I just realized that this year, I think I'll officially be middle-aged. Fuck.)

There is no training because there is no neural network, but I get what you are saying 🙂 I would get the same results if I used 10 faces or 10 thousand, actually if anything I would get worse results with more faces because of false positives. If people looked vaugely similar it would lump them into the same folder unless there was already a photo of that person, if that makes sense?

and I have over a thousand images to play with if I really wanted to! 🙂

Ls9CrKN.png

Link to post
1 hour ago, Sophie said:

There is no training because there is no neural network, but I get what you are saying 🙂 I would get the same results if I used 10 faces or 10 thousand, actually if anything I would get worse results with more faces because of false positives. If people looked vaugely similar it would lump them into the same folder unless there was already a photo of that person, if that makes sense?

and I have over a thousand images to play with if I really wanted to! 🙂

Ls9CrKN.png

Got it, you're using whatever library you're importing into Python, and it's doing the heavy lifting. I find myself wondering how it's doing facial comparison if it's not using a neural network - I'd guess some type of image hashing algorithm for diff comparison, but that wouldn't necessarily be specific to facial recognition. But then again, I guess you're looking for photos that look similar, not necessarily photos of the same person, so maybe that's actually what it does under the hood to a certain extent. Interesting stuff.

Link to post
Posted (edited)

Another geeky little project... and the easiest one yet. 

Aside from the geekiness and the pee fetish, I’m one of those people who from time to time, give or take a lockdown, tows a caravan. 

One important thing before towing at motorway speeds is to know the nose weight is correct - the vertical weight the hitch of the caravan on the car’s tow ball. Getting it wrong when loading the caravan can make it unstable and dangerous. 

So back to the geeky stuff - and my diy nose weight gauge. It uses a fairly hefty strain gauge connected to an Arduino nano processor via a little HX711 Strain Gauge Amplifier module. There’s literally half a dozen lines of code to set up the module to read values from the strain gauge and to scale it into a kg weight. Then another half dozen or so lines of code to write the value of the display. 

Target noseweight is 75kg and I’ve tested / calibrated it using my body weight. The weakest part of the design will definitely be my woodworking, although it's be easy enough to get some metal work knocked up I guess.

[Edit - Moving forwards a month, the circuit is now in a little plastic box powered by a 9v battery and has been proven in action.  Still in it's wooden form but worked nicely.  Also a little tweak to the software now lets me weigh my propane cylinder, subtracts the typical empty cylinder weight and shows me a 'fuel gauge' of how much gas I have left for this weekend's trip.  That gas will be making my coffee and toast so important stuff!]

 

IMG_3999.jpg

IMG_4001.jpg

 

6298686E-7266-479C-9433-47363AD14305.jpeg

 

4F3C76F6-B25D-433C-9E03-310B2B00A53B.jpeg

Edited by gldenwetgoose
  • Like 2
  • Love 2
Link to post
  • 1 month later...

Tomato watering system

I have finally finished wiring up an automated irrigation system for my tomato plants so that if we get the chance to go away for a week this summer I will know that my tomatoes will still be alive when I get back. The principle is very simple: a moisture sensor stuck in the growbag, an Arduino nano comparing the measured moisture value against a pre-set value, and if the moisture falls below it, opening a solenoid valve for a pre-set length of time, then closing it. The valve will be connected to a normal garden hose between a water butt and the growbag. The flow rate will be dependent on the head of water in the butt of course, but if I keep the valve-open time reasonably short, there shouldn’t be a risk of flooding anything before the next measurement / watering cycle. Simples.

I made the system slightly superior by choosing a capacitance-based rather than a resistance-based sensor (it won’t corrode and should last longer). And the supplier of the sensor has helpfully written some Arduino code as well as providing the circuit diagram. I could have written the code myself, as when I looked at it, it all made perfect sense (which I was pleased about as I am an Arduino novice).

Another sophistication is the inclusion of a display to show the measured and set-point moisture values, with push-button adjustment of the set point so this doesn’t need to be done within the code. The valve-open time is set in the code.

The only modification I needed to make to the sensor supplier’s circuit was to replace his suggested 9V pump with my 12V normally closed solenoid valve, which required the use of a 12V mains adapter in addition to the 9V battery used for the sensor / Arduino.

54384780_Circuitdiagram.thumb.JPG.8ac0956cacb6a9a7600b6d26f5d9e728.JPG

After two minor delays (realising that my display needed an IC2 interface module soldering to it, and discovering that the MOSFET switching the 12V to the valve was f***ed and I needed to order a replacement), the circuit worked beautifully on the breadboard.

As my soldering skills having not been tested properly for about 40 years, I treated myself to a temperature-controlled iron (lovely!) and transferred everything to perf board, giving myself plenty of space because my eyesight and fingers aren’t what they were. And … argh. It still looked like a dog’s breakfast and didn’t work. Cue characteristic self-doubt and catastrophising about how complex it was going to be to correct whatever error I would discover.

1573738062_Messybutfunctional2.thumb.jpg.b1ceb7c1c8fc357663ab8bdeaf9d245c.jpg 

I found the first problem pretty quickly – a ground connection I thought I’d wired that I actually hadn’t. I connected up the sensor, valve and power supplies, switched on, and … most of the system worked: the sensor and the Arduino doing exactly what they should, sending +5V to the MOSFET when expected. But the switching circuit was wrong somewhere. But a little while checking everything again revealed I’d connected a resistor to the wrong hole on the perf board. Fortunately nothing damaged, and after correcting it – hey presto!

So only thing to do now is to house it all appropriately (I think a couple of margarine and ice cream tubs will do the job) connect the hose and that’s it. But given I don’t even have my tomato plants yet, that’ll wait.

As in quite a lot of my PeeFans life I am indebted to @Sophie and @gldenwetgoose for encouragement and practical support.

This project is the second since I started to fiddle about with nerdy stuff again. Great fun.

  • Like 1
  • Love 2
Link to post
Just now, Paulypeeps said:

Cool. You will be able to write some code now to estimate how much water the plants are using if you can work out the mean flow rate.

Yes ... though the flow rate will vary depending on the level of water in the butt. A sophistication would be to put a flow meter inline, but I can probably measure the flow rate manually at different heights of the water butt level and estimate a reasonable value. Then as you say it should be straightforward to log the number of times the system opens the valve in any given time period; the length of watering cycle is fixed so it's just volume per watering cycle x number of cycles 🙂 

  • Like 1
Link to post

Excellent - hopefully the sweat and tears over diagnosing the issue was a beneficial learning exercise too...  at least in thinking about potential fault cases if nothing else.   Well done.

  • Thanks 1
Link to post
8 minutes ago, gldenwetgoose said:

Excellent - hopefully the sweat and tears over diagnosing the issue was a beneficial learning exercise too...  at least in thinking about potential fault cases if nothing else.   Well done.

It was 🙂  (And thanks for the other suggestions; I'll order up a cheap Nano, use the 12V regulated supply for the Arduino too, and next time, remember to use the internal pullup resistor 🙂

  • Haha 1
Link to post
  • 4 weeks later...
Posted (edited)

Just a quick update on the tomato irrigation system. Following advice from @gldenwetgoose I have replaced the Arduino Uno with a Nano Every (very much neater and more compact - I could fit it on the perf board) and dispensed with the separate controller 9V battery (using the 12V regulated supply that also powers the solenoid valve). I finally got round to testing those improvements, and it all still works. Calibration still to do (the tomatoes are growing nicely, but I am still watering manually at the moment). But that trial and error stage of the project will be fun and I have several weeks to get it sorted.

Revised controller.jpg

Solenoid value.jpg

Water butt.jpg

Moisture sensor.jpg

Edited by Kupar
  • Like 2
  • Love 1
Link to post
Posted (edited)

I have many nerdy hobbies but nothing to show for most of them right now. 
I am an avid gamemaster for role playing games tho. I build maps, tokens, handouts, weave a narrative, develop handy tools for my friends and do everything to enrich the experience. 
I attached a screenshot of one of my games to give an idea for what my art style looks like. I am no artist. I merely scour the internet for interesting images and create the threads i need to sticht them together.
I will post again when i can show stuff from my other hobbies. 
  

image.png

Edited by MaxWasTaken
Fixed capitalisation. Still annoyed with all the sentences starting with "I" but to lazy to rewrite xD.
  • Like 1
  • Agree 1
  • Love 1
Link to post

Time to get the soldering iron out for a half-hour Friday afternoon project.

IMG_4391.thumb.jpg.b0ad3f660a9afc93bf530f4e33236ce3.jpg

This little fella ^^^  is a haptic motor, like you could find in a game controller.   Cheap enough with eight of them for GBP6.50 or less from Amazon.

They're small at 10mm diameter and just need a 3v dc supply for them to buzz quite happily.

 

So for today's little plaything I got five pieces of some spare stiff wire to form a positionable 'skeleton' and one motor attached to each tip (they even have their own adhesive pad).  Then a nice suede 'skin' to fit over it all.

Hook it up to a 3v dc power supply and voila - an extra helping hand in the 'personal massage' department.

IMG_4392.thumb.jpg.daa5cdb4fa4a200e5a07a43b8611c4fd.jpgIMG_4393.thumb.jpg.fad3d508146efa5be670a841d5eeb063.jpg

(They do say small things amuse small minds - the proof of concept certainly seemed effective).

For the future, if I decide to develop further I could switch the individual motors to pulse in turn or randomly I guess, but whether I bother doing that or not is a different matter.

 

  • Like 1
  • Love 2
  • Hot 1
Link to post
3 hours ago, gldenwetgoose said:

Time to get the soldering iron out for a half-hour Friday afternoon project.

IMG_4391.thumb.jpg.b0ad3f660a9afc93bf530f4e33236ce3.jpg

This little fella ^^^  is a haptic motor, like you could find in a game controller.   Cheap enough with eight of them for GBP6.50 or less from Amazon.

They're small at 10mm diameter and just need a 3v dc supply for them to buzz quite happily.

 

So for today's little plaything I got five pieces of some spare stiff wire to form a positionable 'skeleton' and one motor attached to each tip (they even have their own adhesive pad).  Then a nice suede 'skin' to fit over it all.

Hook it up to a 3v dc power supply and voila - an extra helping hand in the 'personal massage' department.

IMG_4392.thumb.jpg.daa5cdb4fa4a200e5a07a43b8611c4fd.jpgIMG_4393.thumb.jpg.fad3d508146efa5be670a841d5eeb063.jpg

(They do say small things amuse small minds - the proof of concept certainly seemed effective).

For the future, if I decide to develop further I could switch the individual motors to pulse in turn or randomly I guess, but whether I bother doing that or not is a different matter.

 

You clever, naughty boy 😉. What does D think of this project?!

  • Cheeky 1
Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...