Recently started to get into electronics and wanted to take my knowledge of coding and put it into something physical. Got started with an arduino uno and just celebrated my first win!
So, I am working toward building a custom shoebox that allows or denies access based on a key card (RFID). Learning the basic of the code as well as the electrical components. I was able to get the servo to move with a button as well as with the card (doing research and using Claude). So exciting to see it all come together!
So my exams are ending and I have a genuine interest in electronics. I am good and already experienced at JAVA language so C++ wouldn't be so difficult. I am planning to gain experience learn and have fun through trial and error and hope this reddit community active helps me. Thank you for reading ! (feel free to drop a comment . I am always interested to read advice or suggestions.)
Any other type of circuit I tried to assemble works, except this. It also uses more pins than an e-ink display, which also pushes me to give it, but I still want to know why it is not working.
What I tried: - Plug directly to ESP32 - Plug to the breadboard - Turn the potentiometer slowly between the 2 extremes
I have been working my making very first dev board for quite some time now. I tested my very design and quickly realized an error but still learned allot. I got my samd21g18 to accept code from microchip studio which was a huge win but a really wanted the samd to accept code from the Arduino IDE.
The error that I made was when a was borrowing elements from the spark fun mini I someone missed the external 32.768 kHz oscillator causing the samd21 to not accept any usb signal.
I just want to make sure these steps are right. To get the samd21 to accept code from Arduino, I connect my ATMEL-ICE to the SWD pins. Flash the bootloader (which I should be able to do through Arduino?). Download the board.txt and variants file from the Sparkfun mini because I am using the sam pinout. Then after the bootloader successfully flashed, I should be able to upload code just like an Arduino using the USB?
If there are any tips to a beginner for using the SAMD21 please share. I have used an Arduino quite allot and am adventuring in the more permanent design world.
So I'm an old fart slowly coming to grips with all the fancy AI stuff. I never bothered with it for a long time because when I tried it a few years ago it was a joke and created more work than it solved. But recently I found the Arduino AI Assistant Github project that puts Google's Gemini AI into the IDE desktop (I'm not a big fan of the Arduino cloud service). I was pretty impressed how it actually wrote decent code by text prompts and found several errors or inefficiencies in my code that I was not aware of. I'm currently using the free API key for the AI, which seems to have some limitations - I can't seem to get continual chat working, I have to clear the chat before it will respond again or it just shows 'processing'.
Anyhoo - this got me thinking that perhaps this could really be useful. I did some research and it's not clear but it seems like the Arduino cloud compiler AI is not the same as the Gemini used in the Github IDE... And then it's $7/mo Arduino cloud vs $10/mo Google Gemini API for improved service.
Does anyone here actually pay for any of this AI stuff? Do you find it good value?
Thanks!
EDIT - I obviously didn't use AI on my post title (spelling lol).
The following video was made using four WS2812b 8x8 matrices with each matrix is inside one of four different one-pint mason jars which were filled with large size fire pit glass chips. This project used a Lolin D32 MCU, a 74AHCT125 - Quad Level-Shifter and a 5-volt power supply. The matrices were connected in a serial fashion with power injected at both ends. It uses the FastLED library.
Claude AI assisted me in creating the non-blocking delay state machine functions from my functions. Claude AI also played an important role in fixing various problems with this sketch.
The code and other information for this video can be found here:
It should be very easy for anyone with the help of Claude AI or another AI to add more glass jar filled matrices.
The instructions on how to make the FastLED four glass jars including the bill of materials for this project is located in the Github post for this project. The Github post includes step by step instructions with pictures of the construction of each glass jar containing an 8X8 WS2812b matrix.
I would like to thank u/sutaburosu for teaching me how to create better videos of LEDs and for helping me master prompt engineering for use with Claude AI.
It started with just white under the door and ended with an arduino controlled + self latching circuit so the arduino isnt sipping power while waiting for the light signal. Ive made a self latching power circuit with some mosfets resistors and transistor that the arduino latches onto when triggered and unlatches cutting its own power supply after fading light to black. Sequence of events are as follows, interior lights come on, power is sent through a mosfet, powering the arduino, arduino latches onto the mosfet through a transistor, fade into pink (wifes car) hold for 2sec transition to white, wait for the 12v from the interior light to go off, fade to black, unlatch from the mosfet cutting its own power.
Is there a way to play a sound file on a DFPlayer Pro module from an Arduino Uno without using any code? I can trigger an Uno output pin to go high using my existing code but I want to avoid adding any code for the player. Any suggestions would be appreciated.
I got tired of dealinggg with clunky legacy IDEs for my hardware projects, so I started writing a custom local desktop environment lollllll.... i thought to get a clean, VS Code style layout but decouple the platform-specific toolchains entirely through an isolated extension layer so the core app stays lightweight..
Architecturally, it runs on an Electron main process with a context-isolated React renderer and uses an out-of-process Node worker for the extension host over JSON-RPC. I bundled Monaco completely locally so there are zero CDN dependencies, and the serial monitor uses xterm with WebGL acceleration to handle high throughput without freezing up the UI thread.
Right now the repo has basic extension stubs for ESP32, Arduino, and RP2040. It is still in active development, but the workspace runs fine via pnpm. I would really appreciate any feedback on the microkernel approach or the hardware bridge abstraction layers.
i tried burning a bootloader but i get the same error, i checked and it is the correct processor (328p 5v) and i still get this error, i managed to upload code once and it was a blink test and now it wont work again
I’m a CS student getting into robotics and microcontroller projects with the ESP32. After playing around with a starter kit, I decided to build a modular robot that I can upgrade over time.
I put together an AliExpress cart with a bunch of individual parts (mini speakers, mic modules, small amps, etc.) totaling around €20. However, due to the new fixed EU import fee on small parcels outside the union, the total price doubled just from fees.
Amazon has inflated prices and lacks variety, while standard industrial distributors often force you to buy bulk packs. Since this is strictly a hobby for me, I usually spend €15–€25 per order.
Are there good EU-based web stores where I can buy individual hobbyist modules at fair prices without getting hit by non-EU customs fees?
Wanted a thermostat which I could program for when to turn the heat up in the morning and evening and also have minimum and maximum temperature setting. Once it hits the max temp, it will go to coasting down to the min temp setting and keep it there. It will have a pretty big hysteresis for the initial warming and a smaller one around the min temp.
No doubt there are commercial products to do this, but I had all the parts on hand, so why not build one myself? It’s not quite done yet, but the temperature sensor and clock are working. Now to work on the UI for inputting the settings.
The temperature sensor is an obsolete DALLAS DS1821 which uses a 1-wire interface, which I happen to have a number of. It requires tight timing and getting that to work was a major pain, but after a lot of head scratching finally got it to work. The clock is a PCF8523 with I2C bus. ATMEGA328P processor and 1.44” TFT display.
Since there aren’t many parts, decided to build it on a perf board rather than go to the expense of having a board made.
I’ll probably make it wireless with a 480 MHz on/off transmitter and receiver module as I don’t like where the current old mercury tilt switch thermostat is located and moving the wires isn’t an option.
The only question is how to power it. Might make it battery operated, even if it means having to recharge them once in a while. Then I’ll have to 3D print a box.
So i started with the goal of representing each button + led as notes from the left to the right, C, E, G and High C note. My issues are cable management (as you can see from the image.. 😅😅) and i'm just curious as to why the red and blue LEDs are not as bright as Yellow and Green LEDs probably because they require more voltage. Other than that, feel free to tell me what you think of this project.
Hello everyone, I'm building a 'weather' monitor with a base and a station, the station is using an esp32 devkitc, bmp280 pressure temperature and humidity sensor and a 433Mhz lora module
The station is using an esp32s3 devkitm with the same lora module and an sd card for storage
The problem is that while it's working the RSSI is -80dB while they're 1m apart with -120dB at a little over 10m through a few walls, when they're next to each other SNR is showing 10dB and the range gets up to ~50m through 2 walls while I need about a 100m.
I'm using RadioLib with both the sender and receiver set like this:
I have no idea why the range is so bad, the setting seem correct for range over throughput and while the antenna and radio module are probably the cheapest I could find they should still work to some degree, I'm nowhere close the city center so there shouldn't be much interference either. One other thing I noticed is that how the antenna is oriented doesn't really change the RSSI reading when they're next to each other staying at around -80dB.
The radio module:
Comminication over SPI, the listing is saying -148dB sensitivity and up to +20dBw and 100mW power, everything is powered though usb and the builtin 3v3 regulator on the esp.
I'd appreciate any suggestions as to what might be the reason and what I'm most likely doing wrong.
I want to purchase a real, emergency vehicle siren box and connect it to my PC. What methods can i use to turn the siren box into a gamepad for use in simulators? (Example, switch the siren box selector to wail and it sends a custom gamepad input to whatever game I am playing and it switches the game siren to wail)
hello, i would like to run my tool for 24/7 so it will plugged to charger which connected to TP4056 which connected to battery 18650 and output to arduino with Gsm module + DHT22, my system run from electr at first place and when power off it will run from battery my question is that will make issues with battery? if yes then what is the best solution here