Categories
Arduino Ask Engineering

How can I get an integer from an RFID tag into a URL over serial communication?

I want to scan an RFID tage on an MFRC522 connected to an Arduino Mega, take that integer (of differing lengths for different tags) and pass it to an ESP8266 NodeMCU 12-E using serial communication, and have the ESP8266 create a URL (e.g., ‘http://socialtickr.com/kidskillz/sendstringtoESPa.php?tag=24498’) sent over wifi. The server should respond by creating and sending […]

Categories
Arduino Ask Engineering

Are there any Ardunio compatible Microcontrolers with integrated OP-AMPS?

Are there any Ardunio compatible Microcontrolers with integrated OP-AMPS? For example, PICĀ® microcontrollers has the PIC16F527 and PIC16F570, an 8 bit MCU with integrated op-amps. Im wondering if there is anything like that for MCU supported by the arduino family of microcontrolers.

Categories
Arduino Ask Engineering

Controlling op amps amplification ratio by arduino

Is there any option how to control amplification ratio of operational amplifier by some logic signal which can be produced by arduino? I am talking about some clasic op amp like lm356 or ui741 in basic inverting or non-inverting circuit (i would like to use non-inverting circuit in my application). I know only about digital […]

Categories
Arduino Ask Engineering

using a variable to index an array

I’m using the keypad library to return a number 1-9. (im fairly sure this returns an int) I have an array (data) showing the state of each button press. so i would like the number returned by the keypad (key) to be the index number that gets edited from 0 to 1 and from 1 […]

Categories
Arduino Ask Engineering

Remove unwanted characters from char type

I’m working on an ESP8266 module that needs to fetch date data from worldtimeapi, everything works fine but the problem is How do I strip of the time field off the datetime JSON response without loop. Note: Arduino JSON library was used in deserializing the response data and it seems the library only supports char […]

Categories
Arduino Ask Engineering

Trying to interface E18-D80NK sensor but the output is always one – what to do?

I'm trying to use a E18-D80NK but the output is always 1 Referring to the above link. I am facing the same problem. But unfortunately there is no solution in the given link. My code goes as follows: #define SENSOR 2 // define pint 2 for sensor void setup() { Serial.begin(9600);// setup Serial Monitor to […]

Categories
Arduino Ask Engineering

Why is my button not working?

I’m trying to making a traffic light for my school project but my button for the traffic light doesn’t work. The traffic lights should light up normally but when the button is pressed all LEDs should go to LOW but that does not happen. Did I connect my buttons incorrectly? Code: int Pins[] {2,3,4,5,6}; int […]

Categories
Arduino Ask Engineering

Why is my button not working?

I’m trying to making a traffic light for my school project but my button for the traffic light doesn’t work. The traffic lights should light up normally but when the button is pressed all LEDs should go to LOW but that does not happen. Did I connect my buttons incorrectly? Code: int Pins[] {2,3,4,5,6}; int […]

Categories
Arduino Ask Engineering

Why is my button not working?

I’m trying to making a traffic light for my school project but my button for the traffic light doesn’t work. The traffic lights should light up normally but when the button is pressed all LEDs should go to LOW but that does not happen. Did I connect my buttons incorrectly? Code: int Pins[] {2,3,4,5,6}; int […]

Categories
Arduino Ask Engineering

18b20 dallastemperature

I can’t compare for the condition Error "sensors not int type" translate to int type does not work. Please tell me the solution to this problem #include <OneWire.h> #include <DallasTemperature.h> #include <Wire.h> #include <LiquidCrystal_I2C.h> #define ONE_WIRE_BUS 2 #define Rele 5 OneWire oneWire(ONE_WIRE_BUS); LiquidCrystal_I2C lcd(0x27,16,2); DallasTemperature sensors(&oneWire); int tmp; int PotenciometrPin = A0; int val; void […]