tavis
  • Member for 3 years, 5 months
  • Last seen this week
What is the most efficient voltage divider for Arduino?
3 votes

Yes, you can use very high value resistors for your voltage divider. But the recommended maximum is 10 kohms for the ADC pins. So the combined resistance of your two resistors should be maximum 10 ...

View answer
How do I recreate the Pong game with two pots and the map function?
Accepted answer
2 votes

First figure out the min and max values that paddleX can have. I assume if the paddle is two dots wide then its min,max will be 0,6 Then figure out the min and max of your pot, typically 0,1023 for ...

View answer
Send button only works when pressed immediately after
2 votes

It looks like the line : while (digitalRead(but) == HIGH) {} will capture the processor in a loop until "but" is pressed. So if you press the send button immediately after using "but&...

View answer
Can I put a T-mobile sim card into the SIM800L Module?
Accepted answer
2 votes

It might work but you'd be better off getting a 2G dedicated card. Hologram.io has a developer card that is $5 and free 1MB / month or something.

View answer
Sim900a AT+HTTPREAD does not get fully answer
Accepted answer
2 votes

Apparently you were running software serial at too high of a baud rate (57600) and bringing it down to 9600 fixed the issue.

View answer
Arduino Nano 33 IOT - Bluetooth Classic (Serial)
Accepted answer
2 votes

This board has multiple processors on it. The main processor (SAMD) rus your arduino code. There is also an ESP32 based processor which runs the WIFI and the Bluetooth. There is a pretty featured ...

View answer
Are breadboads available in EasyEDA?
Accepted answer
1 votes

EasyEDA is not designed for diy prototypes like TinkerCAD is. EasyEDA's purpose is to simulate electronic circuits and design circuit boards for those circuit designs. Because of this they don't ...

View answer
the boxservo works contrary to the code
1 votes

You have probably installed the box servo backwards so that when it tries to open it actually closes and vice versa.

View answer
NodeMCU ESP8266 disconnected from WiFi after several hours running
Accepted answer
1 votes

What you need to do is leave the board connected to your computer and watch the serial monitor to capture the output during the crash. If the board has a true crash it will output a bunch of ...

View answer
Neopixel code not working on Adafruit Feather board
1 votes

Pin 15 is the serial RX pin which connects to the USB port so you should not use it. From the Feather pinouts page about pins 15,16 : "These are connected through to the CP2104 USB-to-Serial ...

View answer
TX pin sends wrong data in Arduino Uno
Accepted answer
1 votes

Since you have already tried SoftwareSerial, also try inverting the serial protocol via SoftwareSerial. Sometimes a device uses inverted serial protocol and you don't know it. So initialize inverted ...

View answer
GSM+GPS modules
1 votes

The GSM module can estimate it's location based on cell tower triangulation but if you want a more accurate location then you need to use a GPS.

View answer
Need my code to do multiple commands when inputs are pressed
1 votes

Your code will only do anything if a client has connected to it because of this line if (!client) { return; } Your physical button will never do anything on their own unless a client has ...

View answer
Ethernet shield connected to local network, not to internet
1 votes

Find a server that doesn't automatically switch modes to https as google does. If you put 64.233.187.99/search?q=arduino%20HTTP/1.0 in your browser you'll see that it switches to https. If make ...

View answer
Using Arduino Wifi Shield to Receive Signal
1 votes

Look for the Web Server example in the arduino IDE. That will give you a starting point to allow you to control the arduino via a web page. This tutorial is also very in depth : https://...

View answer
Get data from Bluetooth scale
1 votes

What you need to do is do some bluetooth sniffing to find out how the device is communicating with the phone. Here is a good article on doing that : http://nilhcem.com/iot/reverse-engineering-simple-...

View answer
millis() function works with inline code and gives output but when creating own library it doesn't works
1 votes

I think Gerben is on to something. If you re-initialize the gps at every loop and then never give it time to acquire the gps signal then your if (GPS.fix) condition is never true and you never print ...

View answer
Making a timer accurate to 1 millisecond possible? Using MAX7219 LED
1 votes

You generally cannot rely on a processor for correct time keeping without a real time clock somewhere in your circuit. However, the best way of doing things at certain times, is to call millis() ...

View answer
Library the pulls ID3v2 info from MP3s
0 votes

There is an SD library meant for use with the VS1053 which has some extra id3 tag support. Check it out here : https://github.com/mpflaga/Arduino_Library-vs1053_for_SdFat

View answer
Code for ESP32 without Development Board
0 votes

If you are new to microcontrollers then start with basic arduino code and components. Since the esp chips can be coded with the Arduino framework it will be an almost seemless transition from Arduino ...

View answer
(noob) 2 servos for robot (head & chest) movement at different speeds at once
0 votes

Heres a little sketch you can try. It uses timing to accomplish the different servo speeds. It won't give you the exact servo travel each loop but it sounds like you might not mind if it randomly is ...

View answer
Serial communication between nodemcu and Arduino Uno
0 votes

Arduino UNO is 5v logic and esp8266 is 3.3v logic. You need a level shifter for them to be able to have bidirectional serial link.

View answer
Esp32 not connect with WiFi
0 votes

Solution from the original poster : Hello everyone, I did a test in another laptop and it worked. I didn't know what happened with my laptop . Look this new image I needed to change the number Serial....

View answer
Can I use this camera switcher?
0 votes

The pwm output of an RC receiver is the same signal used to control a servo. So if you used the servo library with Arduino to control the pwm of this device it should work fine.

View answer
How to change wifi credentials of multiple ESP8266 together
0 votes

Have your devices always try to download a config file from a webserver you control. If the config file exists and has new wifi credentials then it can update itself and reset. When you actually ...

View answer
Nodemcu powering with 5.2v and 2A?
0 votes

It will not burn. The nodeMCU will only "pull" the amount of current (amps) it needs.

View answer
Piezo buzzer not sounding well with ATmega328
0 votes

Some buzzers are active buzzers and will self oscillate when powered. Other buzzers requires an oscillating signal on their pins in order to make a sound. If the buzzer works on 5v then its an active ...

View answer
16*2 LCD on nodeMCU
0 votes

I have seen this behavior on esp chips as well. This happens when you've uploaded a program that utilizes the processor very heavily or a blank program. I've gotten it to upload by unplugging and re-...

View answer
Daisy chaining of multiple blocs of 4x(8x8) MAX7219 matrix
Accepted answer
0 votes

Try using @Majenko 's MAX libary https://github.com/MajicDesigns/MD_MAX72XX . It allows you to specify how many modules are to be addressed.

View answer
need at least 5 volts but 3.7 lithium polymer battery does not supply enough Voltage
0 votes

I would recommend using a display that does not require 5v to run. Using a lower voltage display like an led based one will simplify the system. My favorite thing to use is the adafruit feather ...

View answer