Large Language Model Can Help You Develop For The Amiga

Developing for the Amiga used to involve reading dense programming manuals and trial and error. In contrast, developing these days can be as simple as barking orders at ChatGPT to spit you out some Python code. However, that technique doesn’t work so well for Amiga languages, as ChatGPT hasn’t read much about the now-ancient platform. However, as covered by AmigaNews, there is now a ChatGPT model trained specifically on Amiga development. Enter Amiga Guru.

The work of [Cameron Armstrong], Amiga Guru was built after his early experiments with ChatGPT spat out non-functional gibberish when Amiga-compatible code was requested. The model has been trained on a corpus of official Amiga programming manuals, third-party books, and even the documentation for AmigaOS 3.2 and 4.1.

Using the model yourself requires a subscription to ChatGPT Plus, which prevents this writer from testing it directly. However, it makes sense that having been directly trained on Amiga manuals, it would be more capable at answering Amiga programming queries than conventional ChatGPT 4.

It’s easy to see the value of such a system. Learning to program for older platforms can be hard, with less resources available for new learners. Having an AI to help could be useful for some eager to develop for the 68K-based machine.

If you’d like to try Amiga Guru, you can access it via this link. Be sure to let us know how you go, and whether you think it has any value for speeding up your own Amiga development. Otherwise, if you’ve been doing anything else nifty with the platform that Commodore bought and paid for, don’t hesitate to let us know!

[Thanks to Stephen Waters for the tip!]

Optical Guitar Pickup Works With Nylon Strings

Electric guitar pickups rely on steel strings interfering with a magnetic field, the changes in which are picked up with coils of wire. That doesn’t work with nylon strings, because they don’t tend to perturb magnetic fields nearly as much, beyond some infinitesimal level that some quantum physicist could explain. So what do you do? You follow [Simon]’s example, and build an optical pickup instead.

The concept is simple. You place an LED and a phototransistor in a U-shaped channel, and place it so that the string runs through it. You repeat this for each string. Thus, as a string vibrates, it interrupts the light travelling from the LED to the phototransistor. This generates a voltage that varies with the frequency of the string’s vibration. Funnily enough, this type of pickup will work just fine on both nylon and steel strings, if you were so inclined to try it.

[Simon] designed a nifty PCB with six LED-phototransistor pairs (using off-the-shelf interruptor sensors) for use with a nylon-stringed guitar. He reports that sound from the strings comes through clearly, but that there is some noise that is evident in the pickup’s output, too. Listening to the demo, it seems to capture the sound of the nylon strings well, it’s just a shame that the noise floor is so high.

If you prefer your guitar pickups to be the regular magnetic kind, you can always wind your own from scrap. Demo after the break.

Continue reading “Optical Guitar Pickup Works With Nylon Strings”

Making A Dye-Sensitized Solar Cell Is Almost DIY-able

We see plenty of solar projects here on Hackaday, but they primarily consist of projects that use an off-the-shelf solar panel to power something else. We see very few projects where people actually create their own solar panels. And yet, that’s precisely what [Shih Wei Chieh] has done!

The project consists of a large dye-sensitized solar panel. These are a type of solar panel that can easily be created by the DIY builder, though their efficiency leaves something to be desired versus the best commercial types available. However, you can build them in any way you like to suit your application, which can have some potential benefits.

It consists of two pieces of FTO glass that is etched and prepared to become the electrodes for a string of solar cells. The cells have to be treated with titanium dioxide and then laced with silver traces, before being assembled with liquid electrolyte squirted in between. It’s finicky stuff, but the video almost makes it look easy… if you’re familiar with working in a chemistry lab, that is.

While it’s DIY-able, it’s at the outer edge of what some of us would be comfortable with. It does involve some steps with semi-obscure chemicals and the use of a kiln to produce the cells. The design shown here outputs around 5.8 volts and 51 milliamps. It’s not heaps, but it’s enough to run a low-power project for some time in an area with decent sun.

We’ve seen some other great solar projects over the years, too! Video after the break.

Continue reading “Making A Dye-Sensitized Solar Cell Is Almost DIY-able”

Blast From The Past: Schematic Templates

If you want to draw schematics today, you probably sit down at your computer. Why not? There are a ton of programs made to do the work easily, and the results look great. Back in the day, you might sit at a drafting table with a full set of T-squares, triangles, and maybe a Leroy. But what about when inspiration struck at the coffee shop (no, not a Starbucks in those days)? Well, you probably had a schematic drawing template. We were surprised you can still buy these at high prices. Or you can 3D print your own, thanks to [Jan Stech].

Templates of all kinds used to be very common. There were several for schematics, logic symbols, furniture, and even geometric shapes and curves. They were almost always green and transparent. A quick search on Amazon for “drafting template” shows you can still get the generic templates, but schematic ones are still expensive.

Continue reading “Blast From The Past: Schematic Templates”

Wireless Telescope Guidance You Can Build On The Cheap

Telescopes are fun to point around the sky, but they’re even better when you have some idea of what you’re actually looking at. Experienced sky-gazers love nothing more than whipping out some quality glassware and pointing it to the heavens to try and view some photons from some fancy celestial point of interest. To aid your own endeavors in this realm, you might consider following [aeropic’s] example in building a capable wireless telescope DSC.

Yes, [aeropic] built a capable digital setting circle (DSC) which can be used to quickly point a telescope at objects in the sky, with the aid of the right astronomical software. An ESP32 board runs the show, using AS5600 positional encoders on each axis of the telescope to understand the device’s orientation. The encoders are attached via 3D-printed components to track the motion of the telescope accurately. It can then be paired over Bluetooth with a smartphone running an app like Skysafari. Once calibrated on some known stars, the app can then read the encoder outputs from the telescope, and help guide the user to point the device at other stars in the night sky.

The rig won’t actually move the telescope for you, it just guides you towards what you want to look at. Even still, it makes finding points of interest much faster and could help you get a lot more out of your next sky viewing party. Have fun out there! Video after the break.

Continue reading “Wireless Telescope Guidance You Can Build On The Cheap”

Integration Taught Correctly

[Math the World] claims that your calculus teacher taught you integration wrong. That’s assuming, of course, you learned integration at all, and if you haven’t forgotten it. The premise is that most people think of performing an integral as finding the area under a curve or as the “antiderivative.” However, fewer people think of integration as adding up many small parts. The video asserts that studies show that students who don’t understand the third definition have difficulty applying integration to real-world problems.

We aren’t sure that’s true. People who write software have probably looked at numerical integration like Simpson’s rule or the midpoint rule. That makes it pretty obvious that integration is summing up small bits of something. However, you usually learn that very early, so you’re forgiven if you didn’t get the significance of it at the time.

Continue reading “Integration Taught Correctly”

The DeDeterminator Uses Quantum Physics To Make Decisions So You Don’t Have To

Are you making your own decisions and mainlining causality like a sucker? Why go through the agony, when you could hand over the railway switch of determinism to a machine that can decide things for you! Enter the DeDeterminator, a decision machine from [Oliver Child].

The construction is simple enough, being built inside a small tin. One kind of wishes it had a secret third “PERHAPS” bulb that illuminates only when the universe’s continued existence has been called into question.

The idea is simple. At the press of a button, the DeDeterminator illuminates a bulb—indicating either yes or no. The decision for which bulb to illuminate is truly random, as it’s determined by the radioactive decay of a Americium-241 alpha particle source. A Geiger-Muller tube is used to detect alpha particles, with the timing between detections used to determine the yes-or-no output of the device.

It’s a neat concept, and it’s kind of fun knowing that your decision is both out of your hands and as random as it could possibly be. Would the universe guide you wrong? Who could possibly question the reasoning of the particles? The only rational move could be to comply with whatever directive the box hath given. Just don’t ask it to make any decisions with dangerous outcomes.

We’ve featured other projects using radioactive decay for random number generation before, though they weren’t quite as philosophically intriguing as the DeDeterminator. Mostly they’re just about cryptographic security and such, but some do deal with causality in imaginary spaces, which has its own magic about it.

Meanwhile, if you’ve untangled the quantum chains of cause and effect, or you’ve just found a way to break RSA encryption using a Pi Pico, do drop us a line, won’t you?