chris r Posted August 13, 2025 Posted August 13, 2025 6 hours ago, h4nd said: If you can get clean 0-5V into them, shouldn't be too hard. YoEddy muttered about Speedo re-scaling, was that in his Imp thread? I may have dropped some freq reading code there you could adapt. Ooh will have a look thanks Will need to check the spec of the thermocouple board but pretty sure I was smart enough to get the 0-5v option Quote
Willdat? Posted August 13, 2025 Posted August 13, 2025 1 hour ago, chris r said: Ooh will have a look thanks Will need to check the spec of the thermocouple board but pretty sure I was smart enough to get the 0-5v option The code side is something ChatGPT does well if you don't have a trained @h4nd by your side. It's not great at optimising, but it will get you functional pretty quick. 1 Quote
h4nd Posted August 13, 2025 Posted August 13, 2025 6 minutes ago, Willdat? said: The code side is something ChatGPT does well if you don't have a trained @h4nd by your side. It's not great at optimising, but it will get you functional pretty quick. I don't actually believe this, but do please note the time taken to get to an actual working result, and you can have coffee and lamingtons because I'd be interested to be proven wrong 1 Quote
Willdat? Posted August 13, 2025 Posted August 13, 2025 4 minutes ago, h4nd said: I don't actually believe this, but do please note the time taken to get to an actual working result, and you can have coffee and lamingtons because I'd be interested to be proven wrong For me, I'm often working with components that are unfamiliar to me, most recently was a number (4) of Decawave DW1000 controlled by an ESP32, solo and with just the data sheets/the internet I reckon it would have taken me a week to get something functional. With ChatGPT holding my hand I got my robot following me in a few hours... Note, I have zero electronics training, I'm sure @h4nd would beat AI. 1 Quote
chris r Posted August 14, 2025 Posted August 14, 2025 I've done some digging and found this - https://autonomylogic.com/ Looks like I can use ladder and have a play around with that. I've still got a lot of learning to do with ladder but am further along than my zero knoweledge of other coding languages Quote
h4nd Posted August 14, 2025 Posted August 14, 2025 Yeah, nah, it'll be easier in code: Trust me bro! So, a variation on https://oldschool.co.nz/index.php?/topic/58205-discuss-here-about-yoeddynzs-little-imp-project/page/60/#findComment-2725790 #define pulse_ip 7 // input int ontime, offtime; float freq, period; void setup() { Serial.begin(9600); pinMode(pulse_ip, INPUT); } void loop() { ontime = pulseIn(pulse_ip, HIGH); offtime = pulseIn(pulse_ip, LOW); period = ontime + offtime; freq = 1000000.0 / period; Serial.println(freq); delay(500); // ms } 2 Quote
chris r Posted August 14, 2025 Posted August 14, 2025 3 hours ago, h4nd said: Yeah, nah, it'll be easier in code: Trust me bro! So, a variation on https://oldschool.co.nz/index.php?/topic/58205-discuss-here-about-yoeddynzs-little-imp-project/page/60/#findComment-2725790 this is oldschool why owuld we do it the smart easy way :P Noted though I understand as much as the Define part and its all confusing after that. (well mapping/defining the input and output terminal atleast) Quote
shizzl Posted July 31 Posted July 31 Hello brains trust. I need to find a way to shut off an air ride system at 20kph or lower to comply with lvvta. i have a speed sensor on the gearbox. the air ride doesn’t feature a “park” or “drive” lock out. so looking like I need to find someone to build a frequency counter with a NC/NO relay to cut power when it hits its limit. is this making sense/doable? Quote
GARDRB Posted August 4 Posted August 4 On 31/07/2026 at 17:42, shizzl said: Hello brains trust. I need to find a way to shut off an air ride system at 20kph or lower to comply with lvvta. i have a speed sensor on the gearbox. the air ride doesn’t feature a “park” or “drive” lock out. so looking like I need to find someone to build a frequency counter with a NC/NO relay to cut power when it hits its limit. is this making sense/doable? What airride controller do you have? Quote
shizzl Posted August 4 Posted August 4 6 hours ago, GARDRB said: What airride controller do you have? It’s a maxload. Identical to one of the American kits , just can’t remember which one it was. also has Bluetooth connectivity. just need to figure this lockout out. can be programmed to air up on start up, air down on shutdown etc. ill set it to not air down on shutdown. Quote
cletus Posted August 4 Posted August 4 Airlift do a thing called stance guard, I think its a plug in GPS unit, locks the system as soon as you start moving Otherwise most people just wire it so engine running= no power to switches , or to the inhibitor switch if its auto 1 Quote
shizzl Posted August 4 Posted August 4 3 hours ago, cletus said: Airlift do a thing called stance guard, I think its a plug in GPS unit, locks the system as soon as you start moving Otherwise most people just wire it so engine running= no power to switches , or to the inhibitor switch if its auto Sounds lift the airlift 3P is a very similar set up. That looks like a handy little device, would be great if it was compatible Quote
Roman Posted August 5 Posted August 5 On 14/08/2025 at 09:13, h4nd said: I don't actually believe this, but do please note the time taken to get to an actual working result, and you can have coffee and lamingtons because I'd be interested to be proven wrong If I can help it, I'm never writing any code myself ever again. The digidash code that I've been on and off writing for about a decade, and every now and then changing screen type and so on (which usually necessitates a full rewrite and reoptimization) I had chatgpt start from a blank sheet of paper, and I had all of my functions working as good as ever, in about 3 afternoons. Then it added a bunch of other trickery in and made its own program to view the data. The paid version that runs as an app on your PC is very very good. It's tightened the loop from concept to end result so much, that it actually makes me more engaged and interested in electronics. As it feels more like I'm concentrating on the creative and conceptual side of things, rather than trudging through all of the code to make it happen. 4 Quote
Roman Posted August 5 Posted August 5 Slightly tangential to Arduino programming. But a program that I see cited in a lot of university papers and so on, is called Openfoam. It's basically a very very complex CFD program that can model temperature, stresses, airflow, acoustic waves, whatever. It's one of those things where it's so powerful, that the only way to make it work is via command lines and an insanely complex set of setup instructions. So I'd tried it in the past, and just given up as it's too crazy. I could see why people spend their entire thesis on trying to get a 1D model of an intake runner or something to work. haha. But this is a brilliant use case for AI as it can just setup all of the test environment, read through all of the incredibly dreary documentation and just make it work. So I can just go straight to the part where I draw erroneous conclusions from my garbage in > garbage out analysis. Living the dream! Even if it's not doing the programming for you directly, it's an incredible resource for bouncing questions off, which speeds up learning time. I'm learning how to use openfoam/paraview because now I can just ask plain English questions and get answers quickly. 2 Quote
h4nd Posted August 5 Posted August 5 That's really timely, as I'm considering modelling some combustion stuff, and OpenFoam is one of the options I was considering. I have some Clause-code for ESP32 video compression to review soon. It'll be really interesting to see how that is, i'll report back. 1 Quote
flyingbrick Posted 13 hours ago Author Posted 13 hours ago On 05/08/2026 at 14:52, Roman said: If I can help it, I'm never writing any code myself ever again. The digidash code that I've been on and off writing for about a decade, and every now and then changing screen type and so on (which usually necessitates a full rewrite and reoptimization) I had chatgpt start from a blank sheet of paper, and I had all of my functions working as good as ever, in about 3 afternoons. Then it added a bunch of other trickery in and made its own program to view the data. The paid version that runs as an app on your PC is very very good. It's tightened the loop from concept to end result so much, that it actually makes me more engaged and interested in electronics. As it feels more like I'm concentrating on the creative and conceptual side of things, rather than trudging through all of the code to make it happen. This. Codex is amazing. Its even more amazing now that normal people with day jobs can control codex (on their home pc) remotely via their phone (using chatGPT app). Integration is not perfect- it has a few major bugs, but its good enough to do some funny shit (for those who aren't getting fb messenger spam from me, today i had codex on my home PC write a windows app. took about 30 seconds. The app turns my laptop volume to 90% and then says my wifes name out loud. So i can just tell gpt via codex remotely to run the program and it starts saying MEGAN MEGAN MEGAN (or whatever else i ask it to say on repeat) untill i tell it to stop. I probably used like 6 buckets of water for that app and im not even sad. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.