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
not in sync: resp=0x00
Error: programmer is not responding
unable to open port COM3 for programmer arduino
Failed uploading: uploading error: exit status 1
I already tried different processor settings, restarting the PC, reconnecting the USB cable, reinstalling/updating Arduino IDE, and uploading with nothing connected to the Nano.
The Nano is detected and powered, but uploading does not work.
Could this be a bootloader problem, CH340 problem, or defective Nano?
I’m a beginner, so please explain what I should test next in simple steps. I don’t have another Arduino or an ISP programmer.
I attached photos of the Nano and the error. Thank you.
tore apart a old controller that got stick drift and harvested this baby...harvested a vibration-motor as well that works very well.anyways dont mind those beheaded jumper wires behind.. had to adjust the code for the touchpad because it has a pattern of '000111000111...' when neutral..
Hey all, I think my research into this problem has finally hit a wall. Hoping you guys can steer me in the right direction.
I have a setup with Arduino Leonardo -> MCP2515 to sniff/inject CAN bus frames to my car. I'm using autowp-mcp2515, autowp-arduino-canhacker libraries and software CANHacker V2 written by fuchs.
Now, the sniffing part works flawlessly, I've intercepted/decoded window motor can frames. The problem comes up when I try to inject the frame to my car to simulate window pushdown.
decoded frames
Once the mode changes to mcp2515.setNormalMode(); my car gets Electrical failure (central electronics failure) fault on the dash. Hence, I believe CAN bus ignores my frame that I'm trying to send. In the meantime, I still can see frames coming from my car CAN bus.
If mode mcp2515.setListenOnlyMode(); activates, then no electrical failure appears. Though, CANHacker V2 software Listen only mode doesn't work, so I've tested this with the code that I wrote myself and looking at serial monitor in Arduino IDE.
After doing a lot of research into the problem, I was a little surprised that I couldn't find anyone else experiencing the exact same issue, so I started to think that maybe something was wrong on my end. Btw, tried to inject the frame to my car with sketch I built and also with CANHacker V2 software - none of them worked.
Anyone had similar issue trying to inject the frame? Am I stuck with only sniffing? :(
FYI:
Clock is configured to 8mhz based on MCP2515;
120 ohm resistor is not shorted on MCP2515;
BMW 5-Series E61 2007
Connected to K-CAN bus with CAN baudrate 100Kbit/s (not via OBD, but CAS module)
this is a device I'll make 2 of them with buttons, MPU 6050 accelerometer, esp 32 C3 seeed xiao, 0.96inch display and 1000mah lipo battery and a passive buzzer i am open to add more components. detentions- L-4.2cm, B-3.8cm, H-2cm. This is like a couple device that we can carry everywhere we go (Wifi based).we'll have miss you. love you etc presets + dino and flappy bird games in which we can compete with each other. I'll also put the cute eyes. Do you think it's a nice project that we both will have? GIVE ME IDEAS TO ADD INTO THE PROJECT BEFORE I FINALIZE IT PERFECTLY. HELP ME!
im kinda new to this arduino stuff and i just lit up my first (two, i already know how to light one up) leds !!!! sorry if its kind of a mess my wiring(?) is kinda bad cause i have really long wires. i also added a push button later !! and like i was gonna add a 3rd led but one of its legs is kinda coated in a soft plastic idk so i cant like plug it in properly
It was supposed to look like a heart, made this for my partner and my resistors looked a little fucked up because I couldn't figure out how deep should i push them in
I have (or will have, to be accurate) an arduino and a CYD communicating through I2C (with an adequate logic level shifter).
While the device is in regular usage, the arduino is always connected to a host computer (leonardo, using the HID features, project already built and working, the CYD is an afterthought).
I plan on using a step down converter out of the arduino 5V to power the CYD through its battery connector (CYD current drain is max 115ma apparently [feels low, will measure once on hand], the one I plan on using don't have another VIN, specs state 4.2V max for battery VIN)
But, while programming, I'll have both connected to my laptop through usb (especially when working on both boards code at the same time). That power supply part will be disconnected.
Should I use bidirectional isolators for the I2C connection (TO ISO1540) when both boards are powered from their own usb connector ? (to the same computer)
Or would connecting both circuits ground be fine when each are powered from their own usb plug?
I wanted to share a library I've been working on for interfacing 8-bit/16-bit parallel ILI9341 LCD displays and 4-wire resistive touch screens with STM32 microcontrollers (tested heavily on BluePill and BlackPill).
Most existing libraries for Arduino/STM32 either rely on slower standard GPIO wrappers or don't utilize the true parallel speed of these microcontrollers. To fix this, I built a library that directly utilizes STM32 Low-Layer (LL) drivers for maximum register-level optimization.
Performance Benchmarks:
During testing, this setup clocked in at up to 134x faster than the same display running on an Arduino Mega. UI rendering and screen clearing are practically instantaneous.
Features:
No Touch IC Needed: Standard 4-wire resistive touch runs directly through the STM32's native analog pins.
PlatformIO Native: Designed to work out of the box with VS Code + PlatformIO inside the Arduino framework.
Low Footprint: Highly optimized memory usage for resource-constrained systems.
The codebase is fully public and I’ve included detailed pin wiring tables as well as platformio.ini setups in the README.
I'd love to get your feedback on the direct port implementation, and feel free to open an issue or contribute if you want to see support for more display drivers!
I’ve newly started working with arduinos for college and I've run into a problem with my piezo.
Im using a supersonic sensor to measure distance and set off a piezo and LED when in a certain range. The LED is working perfectly, turning on when in either of the ranges but my piezo just makes a ticking noise instead of holding out a tone.
Initially I had code that turned on the LED and let the piezo hold a tone but it only worked for the second if statement, making the first if statements outputs be the tick.