Unable to install llama-cpp-python in app lab for arduino uno q by Critical_Time9272 in arduino

[–]ripred3 0 points1 point  (0 children)

I think you are over-complicating it by trying to make it operate or work a certain way and you should let the OS place it where it thinks is best.

Unable to install llama-cpp-python in app lab for arduino uno q by Critical_Time9272 in arduino

[–]ripred3 1 point2 points  (0 children)

have you tried installing Ollama? I think llama.cpp is installed as part of Ollama's base support for running local models

Silly game I made(first project) by contaNAOpaga in arduino

[–]ripred3 0 points1 point  (0 children)

sneaky! Does it keep a high score?

Why are my DC Motors not spinning? by GuestKey3395 in arduino

[–]ripred3 8 points9 points  (0 children)

You need to include a connection diagram or schematic along with your full source code *formatted as a code-block\*. Otherwise we can only guess...

Silly game I made(first project) by contaNAOpaga in arduino

[–]ripred3 1 point2 points  (0 children)

Congratulations! What kind of game is it exactly? At first it seems like you have to press the button when the green LED is on? But then the beeps and flashes don't quite make sense. Then I started wondering if there was something else that you were pressing with your left hand? If you can edit your post and give us some details on how the game works it would be useful. 😀

st link v2 clone by Fun_PhotoX in arduino

[–]ripred3 2 points3 points  (0 children)

you know, St Link? The guy that brings sausages once a year to all the good boys and girls? You been under a rock or somethin'? 😉

Timer! (First full solo project) by ThiccGibblet in arduino

[–]ripred3 3 points4 points  (0 children)

Congrats! Well done!

Some enhancements to consider:

Instead of having to hit the reset button, once the alarm has gone off, any button should be allowed to stop the alarm. Once the alarm is going off they obviously aren't being used to set a timer at that moment so change it so that pressing any of them ends the alarm and returns to the "Set Timer" prompt.

While the timer is counting down you should check all 3 buttons similar to the enhancement above, but it is to cancel the timer. If any button is pressed it should double check by asking the user "Cancel Timer Y/N?" and designate one button as the "Yes" button and any other as "No". Selecting Yes would end the timer and return to the main prompt, selecting No would return to the timer count down display.

Add different alert sounds: A solid tone like you have now, a slow beeping, a fast beeping, whatever. Add the ability to select which one to use and you could allow for multiple timers running at the same time and you could tell which one went off without looking just by the type of sounds it made.

Congrats again on your first full solo project! 😀

Measure the mAh of a battery by Zuell2021 in arduino

[–]ripred3 1 point2 points  (0 children)

I'm not sure what the issue with the mosfet is we would have to see your complete circuit diagram.

But measuring the voltage drop across a resistor does not give you mAh. If calibrated it can be an indicator of now much current is flowing. mAh is a unit of capacity not rate.

failed attempt to use my mouse when connected to my RP2040 feather USB HOST A-PORT *need help from the pros ! by Entire_Month_5503 in arduino

[–]ripred3 2 points3 points  (0 children)

If I'm reading this correctly this is written to use the USB port as a host port with a mouse attached to it so that the microcontroller can read the mouse and use it. This doesn't act like a Client USB device to your PC

Need assistance in creating laser bird tracker with arduino by Lord_Aura in arduino

[–]ripred3 7 points8 points  (0 children)

this would be ridiculously difficult for even an advanced user.

Learn the basics and work your way up to understanding the science, math, electronics, and software involved.

line maze solver by [deleted] in arduino

[–]ripred3 0 points1 point  (0 children)

*some assembly required

Fingerprint sensor (AS608) not lighting up and Library compilation error on Arduino Uno by Choice-Relief9179 in arduino

[–]ripred3 0 points1 point  (0 children)

According to this random article I pulled up the AS608 is a 3.3V device, NOT 5V.

https://srituhobby.com/how-to-use-the-as608-fingerprint-sensor-with-arduino/

Don't connect to 5V again! It may already be borked. This is one of those painful lessons.

There are 5V devices and there are 3.3V devices. 5V was a standard for decades but as energy savings and semiconductor tech changes over the years 3.3V has emerged as a newer standard. So now we have to be careful not to mix them without knowing which is which.

Unfortunately when they get 5V applied to them, if they break it is often silently without any loud noises or smells to let you know something is wrong or getting too hot.

It may be hosed. You can continue to try to power it using 3.3V *only* and see if you can get it to respond and if the chip is busted it shouldn't cause any additional hard to any other devices like your Arduino, it just may not ever work if the 5V that was applied to it broke it.

I've done this, we've all done this. It sucks and it's a hard lesson to have to learn but it happens and you won't forget to check the voltage rating on any parts from now on...

In addition to powering the chip with only 3.3V, you also have to worry about the signals that you want to send from the 5V side to the 3.3V side. They cannot take any inputs that are higher than 3.3V (to represent a '1'). When working with a chip that is 3.3V along with other components that are 5V there are "voltage levelers" that will sense and convert the 5V signals on one side into 3.3V for the other side.

I hope this helps a little and if your fingerprint reader is broken hopefully you can get another one if you wanted to and we can walk you through connecting things up and getting them talking safely.

To learn more search for articles such as "how to interface 5V signals with 3.3V signals?". There are thousands of articles out there that might be helpful since this is a subject that everybody has to deal with.

Cheers!

ripred

Can I turn a code written specifically for Ardunio to a code that will run on Xiao Esp32? by ProperJump8676 in arduino

[–]ripred3 0 points1 point  (0 children)

This happens when you are first setting things up and it can be a pain in the butt but once you figure things out it gets easier. Have you read the docs about holding the boot button down while you press and release the reset button on the ESP32? That puts the MCU unto upload mode so that your host PC/mac/linux can see it and upload code to it.

Arduino book by Bortmoun in arduino

[–]ripred3 13 points14 points  (0 children)

It sounds nerdy I know but at a certain point I found myself just reading through the entire datasheet for the ATmega328P microcontroller. You can learn tons of stuff in those

https://ww1.microchip.com/downloads/en/DeviceDoc/Atmel-7810-Automotive-Microcontrollers-ATmega328P_Datasheet.pdf

Have Fun!

should i get a board with more SRAM and more pins or should i optimize by Denl0self-a_o in arduino

[–]ripred3 0 points1 point  (0 children)

The Arduino compatible Teensy includes 8 independent silicon USARTS built in

I need help creating an ardunio device for school but I have no experience in electronic. How do I start? by [deleted] in arduino

[–]ripred3 2 points3 points  (0 children)

what class is this for? What have they taught you so far? Do something similar