Chips with everything
Chips with everything
By request - geek corner.
I hope I have sorted out the circuitry here correctly, but wish I had not had that extra glass of wine.............
I hope I have sorted out the circuitry here correctly, but wish I had not had that extra glass of wine.............
Re: The really boring and totally pointless snippets thread V
Evening all, the rain departed early, so it was relatively warm and sunny for most of today. I took the opportunity to put up the external lights. I use the waterproof LED strips, 5m long, and this year bought a complete new set, which is just as well because the previous set took some damage this year. Previously I'd had two of them driven from an Arduino, but this year I installed five strips across the whole width of the house and tweaked the Arduino code slightly to cope with the extras. Looks fairly good.
I also figured out how the code works, so in theory I could put up Halloween colours for next year too.
I also figured out how the code works, so in theory I could put up Halloween colours for next year too.
- Fox3WheresMyBanana
- Chief Pilot
- Posts: 13669
- Joined: Thu Sep 03, 2015 9:51 pm
- Location: Great White North
- Gender:
- Age: 61
Re: The really boring and totally pointless snippets thread V
I would be interested in the code, if you could. Is it on Github?
-
- Chief Pilot
- Posts: 3286
- Joined: Fri Jul 15, 2022 11:40 pm
- Location: Unfashionable end of the Western Spiral
Re: The really boring and totally pointless snippets thread V
#define LED_PIN 13Fox3WheresMyBanana wrote: ↑Mon Dec 05, 2022 2:01 amI would be interested in the code, if you could. Is it on Github?
void setup() {
// Configure pin 13 to be a digital output
pinMode(LED_PIN, OUTPUT);
}
void loop() {
// Turn on the LED
digitalWrite(LED_PIN, HIGH);
// Wait 1 second (1000 milliseconds)
delay(1000);
// Turn off the LED
digitalWrite(LED_PIN, LOW);
// Wait 1 second
delay(1000);
}
namespace GoodbyeWorld'Comment - ACHTUNG! ALLES LOOKENSPEEPERS!
Das computermachine ist nicht fuer gefingerpoken und mitten grabben.
Ist easy schnappen der springen werk, blowenfusen und poppencorken mit spitzensparken.
Ist nicht fuer gewerken bei das dumpkopfen.
Das rubbernecken sichtseeren keepen das cotten-pickenen hans in das pockets muss; relaxen und watchen das blinkenlichten.
{
class Hello {
static void Main(string[] args)
{
System.Console.WriteLine("Goodby Cruel World!");
}
}
}
My necessaries are embark'd: farewell. Adieu! I have too grieved a heart to take a tedious leave.
-
- Chief Pilot
- Posts: 3286
- Joined: Fri Jul 15, 2022 11:40 pm
- Location: Unfashionable end of the Western Spiral
Re: The really boring and totally pointless snippets thread V
As there is a slightly technological trend here this morning. I recommend this very interesting site and application to the house. This application definitely passes the Turing test.
https://openai.com/blog/chatgpt/
It failed in this though! Clearly it understands irony!
We’ve trained a model called ChatGPT which interacts in a conversational way. The dialogue format makes it possible for ChatGPT to answer followup questions, admit its mistakes, challenge incorrect premises, and reject inappropriate requests. ChatGPT is a sibling model to InstructGPT, which is trained to follow an instruction in a prompt and provide a detailed response.
https://openai.com/blog/chatgpt/
It failed in this though! Clearly it understands irony!
My necessaries are embark'd: farewell. Adieu! I have too grieved a heart to take a tedious leave.
Re: The really boring and totally pointless snippets thread V
I think it's this one. https://github.com/FastLED/FastLED/blob ... alette.inoFox3WheresMyBanana wrote: ↑Mon Dec 05, 2022 2:01 amI would be interested in the code, if you could. Is it on Github?
I use it to drive Neopixel LEDs, I buy the waterproof strings on Ebay.
-
- Chief Pilot
- Posts: 3286
- Joined: Fri Jul 15, 2022 11:40 pm
- Location: Unfashionable end of the Western Spiral
Re: The really boring and totally pointless snippets thread V
Has anybody here serially linked the Raspberry Pi using the Thonny Python IDE and the Arduino IDE (C++ code framework)?llondel wrote: ↑Mon Dec 05, 2022 1:47 amEvening all, the rain departed early, so it was relatively warm and sunny for most of today. I took the opportunity to put up the external lights. I use the waterproof LED strips, 5m long, and this year bought a complete new set, which is just as well because the previous set took some damage this year. Previously I'd had two of them driven from an Arduino, but this year I installed five strips across the whole width of the house and tweaked the Arduino code slightly to cope with the extras. Looks fairly good.
I also figured out how the code works, so in theory I could put up Halloween colours for next year too.
It would be an interesting combination given the Pi's internet link capability.
Before this question is shunted off to some forgotten technical page here let me also say that it is 0 degrees Celsius here and that I had a delicious 3 bean salad for breakfast.
EGSS 060616Z 0606/0712 35006KT 9999 FEW045 PROB30 TEMPO 0606/0608 0800 FG BKN001 TEMPO 0612/0619 BKN008 BECMG 0619/0622 BKN007 PROB30 TEMPO 0619/0712 8000 BKN004
My necessaries are embark'd: farewell. Adieu! I have too grieved a heart to take a tedious leave.
Re: The really boring and totally pointless snippets thread V
TGA
Perhaps you should try the raspberrypi forums.
There are plenty of people there who will certainly give you suggestions and maybe someone has done something similar before.
Separately, it is Independence Day here in Finland, a public holiday but the only excitement will, if you are so inclined, be watching the party at the Presidential "Castle" on the tv.
The usual list of runners and riders enjoying the taxpayers' largesse.
I have put the flag up and will tidy up the, surprisingly small (meteorology is not an exact science, aka the forecasters got it wrong), snow deposits.
A warm -1c this morning.
Perhaps you should try the raspberrypi forums.
There are plenty of people there who will certainly give you suggestions and maybe someone has done something similar before.
Separately, it is Independence Day here in Finland, a public holiday but the only excitement will, if you are so inclined, be watching the party at the Presidential "Castle" on the tv.
The usual list of runners and riders enjoying the taxpayers' largesse.
I have put the flag up and will tidy up the, surprisingly small (meteorology is not an exact science, aka the forecasters got it wrong), snow deposits.
A warm -1c this morning.
-
- Chief Pilot
- Posts: 3286
- Joined: Fri Jul 15, 2022 11:40 pm
- Location: Unfashionable end of the Western Spiral
Re: The really boring and totally pointless snippets thread V
Cheers talmacapt, I eventually found a very good site that clearly sets out how to link the two cards serially. Precisely what I was looking for.
https://www.arrow.com/en/research-and-e ... on-via-usb
My necessaries are embark'd: farewell. Adieu! I have too grieved a heart to take a tedious leave.
Re: The really boring and totally pointless snippets thread V
That is interesting TGA, I have bookmarked it to read later.
I tinker, from time to time, with rpis and arduinos various.
Not today, it has started snowing and I may have a busy afternoon/evening.
We shall see!!
I tinker, from time to time, with rpis and arduinos various.
Not today, it has started snowing and I may have a busy afternoon/evening.
We shall see!!
Re: The really boring and totally pointless snippets thread V
TGA
I have read your link and it got me thinking that what may, possibly, be simpler is to use a raspberrypi pico board and, perhaps, do away with the arduino.
I had not appreciated what the pico does but my interest is now piqued.
Something to keep me occupied when it is cold outside.
I have read your link and it got me thinking that what may, possibly, be simpler is to use a raspberrypi pico board and, perhaps, do away with the arduino.
I had not appreciated what the pico does but my interest is now piqued.
Something to keep me occupied when it is cold outside.
-
- Chief Pilot
- Posts: 3286
- Joined: Fri Jul 15, 2022 11:40 pm
- Location: Unfashionable end of the Western Spiral
Re: The really boring and totally pointless snippets thread V
You are onto something there as it seems brings all the flexibility of the microcontroller and the ARM processor onto one board with all of the following without the need to serially connect two devices/boards.talmacapt wrote: ↑Tue Dec 06, 2022 12:05 pmTGA
I have read your link and it got me thinking that what may, possibly, be simpler is to use a raspberrypi pico board and, perhaps, do away with the arduino.
I had not appreciated what the pico does but my interest is now piqued.
Something to keep me occupied when it is cold outside.
https://www.raspberrypi.com/products/raspberry-pi-pico/
1 mm × 51 mm form factor
RP2040 microcontroller chip designed by Raspberry Pi in the UK
Dual-core Arm Cortex-M0+ processor, flexible clock running up to 133 MHz
264kB on-chip SRAM
2MB on-board QSPI flash
2.4GHz 802.11n wireless LAN (Raspberry Pi Pico W and WH only)
26 multifunction GPIO pins, including 3 analogue inputs
2 × UART, 2 × SPI controllers, 2 × I2C controllers, 16 × PWM channels
1 × USB 1.1 controller and PHY, with host and device support
8 × Programmable I/O (PIO) state machines for custom peripheral support
Supported input power 1.8–5.5V DC
Operating temperature -20°C to +85°C (Raspberry Pi Pico and Pico H); -20°C to +70°C (Raspberry Pi Pico W and Pico WH)
Castellated module allows soldering direct to carrier boards (Raspberry Pi Pico and Pico W only)
Drag-and-drop programming using mass storage over USB
Low-power sleep and dormant modes
Accurate on-chip clock
Temperature sensor
Accelerated integer and floating-point libraries on-chip
My necessaries are embark'd: farewell. Adieu! I have too grieved a heart to take a tedious leave.
Re: The really boring and totally pointless snippets thread V
If the ensemble would like the micro-chippers to have a thread of their own, please advise. I have spare time.
-
- Chief Pilot
- Posts: 3286
- Joined: Fri Jul 15, 2022 11:40 pm
- Location: Unfashionable end of the Western Spiral
Re: The really boring and totally pointless snippets thread V
That's very kind of you Admin2, given that there are other kindred spirits here I feel a potential zener breakdown diode moment coming on which will allow the current of our thoughts to flow (backwards if necessary), if we have a separate thread.
My necessaries are embark'd: farewell. Adieu! I have too grieved a heart to take a tedious leave.
- Woody
- Chief Pilot
- Posts: 10380
- Joined: Tue Aug 25, 2015 6:33 pm
- Location: Sir Kenny Dalglish Stand
- Age: 60
Re: The really boring and totally pointless snippets thread V
And then of course I’ve got this terrible pain in all the diodes down my left side.”
When all else fails, read the instructions.
-
- Chief Pilot
- Posts: 3286
- Joined: Fri Jul 15, 2022 11:40 pm
- Location: Unfashionable end of the Western Spiral
Re: The really boring and totally pointless snippets thread V
We shall have to rectify that which ails you Woody!
My necessaries are embark'd: farewell. Adieu! I have too grieved a heart to take a tedious leave.
Re: The really boring and totally pointless snippets thread V
Does that translate?That's very kind of you Admin2, given that there are other kindred spirits here I feel a potential zener breakdown diode moment coming on which will allow the current of our thoughts to flow (backwards if necessary), if we have a separate thread.
- Fox3WheresMyBanana
- Chief Pilot
- Posts: 13669
- Joined: Thu Sep 03, 2015 9:51 pm
- Location: Great White North
- Gender:
- Age: 61
Re: The really boring and totally pointless snippets thread V
It'll be popular if you start it.
Re: The really boring and totally pointless snippets thread V
Ta - I don't speak TGAese