Paul Hurdsfield - Joint Manchester AO Posted September 17, 2023 Posted September 17, 2023 Here’s a view from inside, I can even wash the caravan up to the roof without ladders, and those that know me know that’s quite a feat 😂 1 5 Quote
Flying Carrot Steve Posted September 17, 2023 Posted September 17, 2023 4 hours ago, Paul Hurdsfield - Joint Manchester AO said: Here’s a view from inside, I can even wash the caravan up to the roof without ladders, and those that know me know that’s quite a feat 😂 That's a big ol' van! Quote
Robin Parker (Red Spider) - Yorkshire AO Posted September 17, 2023 Posted September 17, 2023 Been to see Wheatus. I'm still a teenage dirtbag. 3 Quote
aeg Posted September 18, 2023 Posted September 18, 2023 14 hours ago, Paul Hurdsfield - Joint Manchester AO said: Here’s a view from inside, I can even wash the caravan up to the roof without ladders, and those that know me know that’s quite a feat 😂 I take it this sides really clean and the other side just up to the window sill 🤣 4 Quote
cjwood23 Posted September 18, 2023 Posted September 18, 2023 Rode the Ruthin MTB Marathon with my 12yo Daughter yesterday. Really good day out apart from the MASSIVE climb at the start! 8 Quote
Naranja_Al Posted September 18, 2023 Posted September 18, 2023 Love this. I was wondering what to do with my spare metal bonnet badge and how to get rid of my yellow Momo steering wheel centre. This is the perfect solution! Quote
Naranja_Al Posted September 18, 2023 Posted September 18, 2023 On 22/07/2023 at 08:10, Ewan said: Chanced across a Westfield bonnet badge I bought a while back but decided not to fit. Then noticed it was the perfect size to replace the Momo badge in my steering wheel. Now looks way better. Love this. I was wondering what to do with my spare metal bonnet badge and how to get rid of my yellow Momo steering wheel centre. This is the perfect solution! 2 Quote
Paul Hurdsfield - Joint Manchester AO Posted September 18, 2023 Posted September 18, 2023 8 hours ago, aeg said: I take it this sides really clean and the other side just up to the window sill 🤣 Nope the dwarf wall goes all round, this is quite an early photo, the shrubs are higher than the caravan now. Quote
cjwood23 Posted September 24, 2023 Posted September 24, 2023 Took my daughter to 417 Bike Park in Gloucester for her first Downhill race. 2nd in her age group 👍👍 7 Quote
Andrzej Posted September 25, 2023 Posted September 25, 2023 I have finally found use for 2 out of about two dozens os used wiper blades i kept in corner of garage for years.. last week wanted to throw it away, good I did not Now, what to do with rest... 4 Quote
DanM Posted September 26, 2023 Posted September 26, 2023 I put up some new wall art in my home office! 8 Quote
DanM Posted November 10, 2023 Posted November 10, 2023 I experimented with Chat GPT to create some Arduino code to control my button switch illumination level (Horn button, etc.). Here's what I asked it: "I want you to act as an arduino board. you are controlling the lights on 6 different buttons on the dashboard. When the head lights are on you turn on all 6 button lights 50%. when the head lights are on and a button is pushed you turn that button light 100% and leave the remaining 5 button lights 50%, when the head lights are off and a button is pushed you turn that button light 100% and leave the remaining 5 buttons off. What arduino code do I need?" Here's what it gave me back: const int headlightPin = 8; // Pin for controlling headlights (example pin number) const int buttonPins[] = {2, 3, 4, 5, 6, 7}; // Pins for buttons (example pin numbers) const int buttonLightPins[] = {9, 10, 11, 12, 13, 14}; // Pins for button lights (example PWM pin numbers) void setup() { pinMode(headlightPin, INPUT); for (int i = 0; i < 6; i++) { pinMode(buttonPins[i], INPUT); pinMode(buttonLightPins[i], OUTPUT); } } void loop() { int headlightState = digitalRead(headlightPin); for (int i = 0; i < 6; i++) { int buttonState = digitalRead(buttonPins[i]); if (headlightState == HIGH) { // Headlights are on if (buttonState == HIGH) { // Button is pushed analogWrite(buttonLightPins[i], 255); // Set button light intensity to 100% delay(100); // Debounce delay to prevent rapid toggling for (int j = 0; j < 6; j++) { if (j != i) { analogWrite(buttonLightPins[j], 128); // Set other button lights to 50% } } } else { // Button is not pushed analogWrite(buttonLightPins[i], 128); // Set button light intensity to 50% } } else { // Headlights are off if (buttonState == HIGH) { // Button is pushed analogWrite(buttonLightPins[i], 255); // Set button light intensity to 100% delay(100); // Debounce delay to prevent rapid toggling for (int j = 0; j < 6; j++) { if (j != i) { analogWrite(buttonLightPins[j], 0); // Turn off other button lights } } } else { // Button is not pushed analogWrite(buttonLightPins[i], 0); // Turn off button light } } } } In this code, headlightPin represents the digital pin for controlling the headlights, buttonPins array contains the digital pins to which the buttons are connected, and buttonLightPins array contains the PWM pins used to control the intensity of the button lights. The code continuously checks the state of the headlights and each button. Depending on the conditions specified in your requirements, it adjusts the intensity of the button lights accordingly. I have no idea if the code is correct, but I was amazed that it gave me what it did from my description! Quote
Ian Kinder (Bagpuss) - Joint Peak District AO Posted November 10, 2023 Posted November 10, 2023 27 minutes ago, DanM said: I experimented with Chat GPT to create some Arduino code to control my button switch illumination level (Horn button, etc.). I have no idea if the code is correct, but I was amazed that it gave me what it did from my description! It's better at coding than simple thing such as 'how many times a day does the big hand overlap the little hand on a clock" 😉 The way to test the code it to put it in an Arduino and report back! I'm not convinced the way the delays have been done to debounce the inputs (definately needed), will work correctly as the whole program stops whilst this is being done. However it's impressive that it knew to add the debounce function. I've debounced mine by using counters external to the test condition and keep the code ticking round. Happy to share if you drop me your e-mail address via PM. Quote
Flying Carrot Steve Posted November 10, 2023 Posted November 10, 2023 4 hours ago, DanM said: I experimented with Chat GPT to create some Arduino code to control my button switch illumination level (Horn button, etc.). Here's what I asked it: "I want you to act as an arduino board. you are controlling the lights on 6 different buttons on the dashboard. When the head lights are on you turn on all 6 button lights 50%. when the head lights are on and a button is pushed you turn that button light 100% and leave the remaining 5 button lights 50%, when the head lights are off and a button is pushed you turn that button light 100% and leave the remaining 5 buttons off. What arduino code do I need?" Here's what it gave me back: const int headlightPin = 8; // Pin for controlling headlights (example pin number) const int buttonPins[] = {2, 3, 4, 5, 6, 7}; // Pins for buttons (example pin numbers) const int buttonLightPins[] = {9, 10, 11, 12, 13, 14}; // Pins for button lights (example PWM pin numbers) void setup() { pinMode(headlightPin, INPUT); for (int i = 0; i < 6; i++) { pinMode(buttonPins[i], INPUT); pinMode(buttonLightPins[i], OUTPUT); } } void loop() { int headlightState = digitalRead(headlightPin); for (int i = 0; i < 6; i++) { int buttonState = digitalRead(buttonPins[i]); if (headlightState == HIGH) { // Headlights are on if (buttonState == HIGH) { // Button is pushed analogWrite(buttonLightPins[i], 255); // Set button light intensity to 100% delay(100); // Debounce delay to prevent rapid toggling for (int j = 0; j < 6; j++) { if (j != i) { analogWrite(buttonLightPins[j], 128); // Set other button lights to 50% } } } else { // Button is not pushed analogWrite(buttonLightPins[i], 128); // Set button light intensity to 50% } } else { // Headlights are off if (buttonState == HIGH) { // Button is pushed analogWrite(buttonLightPins[i], 255); // Set button light intensity to 100% delay(100); // Debounce delay to prevent rapid toggling for (int j = 0; j < 6; j++) { if (j != i) { analogWrite(buttonLightPins[j], 0); // Turn off other button lights } } } else { // Button is not pushed analogWrite(buttonLightPins[i], 0); // Turn off button light } } } } In this code, headlightPin represents the digital pin for controlling the headlights, buttonPins array contains the digital pins to which the buttons are connected, and buttonLightPins array contains the PWM pins used to control the intensity of the button lights. The code continuously checks the state of the headlights and each button. Depending on the conditions specified in your requirements, it adjusts the intensity of the button lights accordingly. I have no idea if the code is correct, but I was amazed that it gave me what it did from my description! That's scary Quote
DanM Posted November 10, 2023 Posted November 10, 2023 58 minutes ago, Flying Carrot Steve said: That's scary Very powerful stuff indeed. 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.