All Questions

3
votes
2answers
7442 views

GSM SM5100B C M E E R R O R : 4 error

I am using Arduino to control an SM5100B GSM device, everything works except when I want to send an SMS after receiving another. I get this, Error code: O K > + C M G S : 2 5 ...
20
votes
7answers
6341 views

Reversible pseudo-random sequence generator

I would like some sort of method to create a fairly long sequence of random numbers that I can flip through backwards and forwards. Like a machine with "next" and "previous" buttons, that will give yo...
8
votes
3answers
7910 views

Serial port not working?

I made a program that sends out data to my arduino which detects what was sent and then turns on the correct pin according to what key is pressed. When using the arduino software from my windows comp...
66
votes
15answers
286703 views

Convert serial.read() into a useable string using Arduino?

I'm using two Arduinos to sent plain text strings to each other using newsoftserial and an RF transceiver. Each string is perhaps 20-30 characters in length. How do I convert Serial.read() into a str...
40
votes
4answers
41409 views

Vectors in Arduino

I am making a vector of "waypoints" on the Arduino. Each waypoint is an object. The Arduino will obviously need to store multiple waypoints for waypoint navigation. But instead of storing these waypoi...
4
votes
1answers
4737 views

SWIFT - BLE communications

I've got a SWIFT application that have to send a value to my Arduino with Bluetooth LowEnergy module! I've done correctly the search and connection parts but I'm not able to send and receive any data...
12
votes
3answers
12053 views

Python to automatically select serial ports (for Arduino)

Currently the python program must know which port a device (Arduino) is on before Python can communicate the device. Problem: Whenever the device is plugged out and back in, its COM port changes, so ...
15
votes
9answers
82275 views

pyserial - How to read the last line sent from a serial device

I have an Arduino connected to my computer running a loop, sending a value over the serial port back to the computer every 100 ms. I want to make a Python script that will read from the serial...
27
votes
5answers
30740 views

Mapping a numeric range onto another

Math was never my strong suit in school :( int input_start = 0; // The lowest number of the range input. int input_end = 254; // The lowest number of the range input. int output_start = 500; // The l...
24
votes
2answers
28136 views

Arduino sprintf float not formatting

I have this arduino sketch, char temperature[10]; float temp = 10.55; sprintf(temperature,"%f F", temp); Serial.println(temperature); temperature prints out as ? F Any thoughts on how to format ...

Previous Next