FAQ Database Discussion Community
android,arduino,bluetooth-lowenergy,gatt
this is my first post on SO. I have some problems subscribing to GATT notifications on android 5.0.2 . What I aim to do is to connect an Arduino with a BLE Shield to my Android phone. I have a sensor connected to the Arduino and want to send the...
c++,node.js,serial-port,arduino,intel-edison
Background: I am using the "base block" to power and access the UART2 console on the edison. I have an arduino block with a sketch to print data to serial. https://www.sparkfun.com/products/13036 The serial data is transmitted from the arduino and I intend to use a node script to read that...
arduino,sequential,led
i'm still learning arduino. I'm trying to initialize a sequence of 3 leds lighting sequentially on button click. What I want is that the button acts as a switch switching on and off the sequence. So far I've done it but you have to keep the button pressed to keep...
c++,compiler-errors,arduino
Not too sure why I am getting an error here. Working with an Arduino, and it's compiler. If anyone can help clear this up for me that would be greatly appreciated. unsigned char topState, leftState, rightState, fwdState, bwdState; topState = leftState = rightState = fwdState = bwdState = 1; Error:...
c,arduino,pwm
my project is almost working but i get 1 Warning: "implicit declaration of function 'init_phase_correct' [-Wimplicit-function-declaration]" have have the function called in my main int main(void) { volatile char start_flag=0; uart0_Init ( MYUBRRF ); DDRB |=(1<<PB7); sei(); //enable global interrupt initAdc(); data = 'a'; ADCSRA |=(1<<ADIE); init_phase_correct(); and init_phase_correct is...
arduino,arduino-uno
My just creating a simple basic program can't figure out whats going wrong. I have set 3 pins as output and 3 pins as input When those three pins digitalRead == HIGH they will set led to HIGH but instead my led is always staying high. Here is my arduino...
eclipse,arduino,make,avr,avr-gcc
I'm trying to compile arduino code in Eclipse. Below is build log. make all Building file: ../test.cpp Starting C++ compile "/bin/avr-g++" -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=163 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -I"/opt/arduino-1.6.3/hardware/arduino/avr/cores/arduino" -I"/opt/arduino-1.6.3/hardware/arduino/avr/variants/standard" -I/usr/lib/avr/include -MMD -MP -MF"test.cpp.d" -MT"test.cpp.d" -D__IN_ECLIPSE__=1 -x c++ "../test.cpp" -o...
c,arduino,header-files
I have a simple C library that looks like this: //mycLib.h #ifndef _MY_C_LIB_h #define _MY_C_LIB_h typedef struct {char data1; int data2; } sampleStruct; extern void mycLibInit(int importantParam); extern void mycLibDoStuff(char anotherParam); extern void sampleStruct mycLibGetStuff(); #endif //mycLib.c sampleStruct _sample; void mycLibInit(int importantParam) { //init stuff! //lets say _sample.data2 = importantParam...
c,coding-style,arduino,embedded
As I understand it, one of the best ways to include different options for different hardware in an embedded systems program is #ifdef statements. Stylistically, how far should this go? I guess specifically, would you shake your head if someone uses an #ifdef on a function deceleration? It feels quite...
linux,arduino,intel-galileo
I am working on Intel Galileo board(Linux running on board) and using arduino as development environment. Now on getting a particular gpio pin(say digital pin 6) logic 1, I want to reset my code automatically. I want reset done by running sketch on its own(i.e. I don't have press RESET...
arduino,embedded,upgrade
I am currently working on a system (home projects - finally got the time yay!) and i am wondering whether it would be possible to program an arduino from a pic32? the system currently has both and given the pic32 proc has an SD card attached, i figured i could...
arduino,arduino-due
I'm interested as to what command/s are exactly run behind the scenes when I run arduino -verify /path/to/file.ino I'm asking this because I'm working with an Arduino Due board and although I can make the command above work and successfully verify my code, it opens the Arduino GUI briefly, and...
arduino,arduino-uno
I´m facing a problem with an application in Arduino Uno. The board has a sensor that its counting products every second, after some time it sends the number of products to the server however this process takes more than a second, so the code that it is registering the products...
c,arduino,data-type-conversion
I'm working with an UNO and I'm using maniacbug's RF24 library with soft spi, and his rf24network library. https://github.com/maniacbug/RF24Network All I'm trying to do is send data but I'm stuck with the wrong data type. { last_sent = now; printf("Sending...\r\n"); const char* hello = "Hello, world!"; RF24NetworkHeader header(/*to node*/ other_node);...
c,arduino
When calling a function in c (programming an arduino), will that function finish before executing the next line of code in the original function? See comments in example below: void loop() { duration = random(750, 1500); advertise("111", duration); // <-- will this function fully complete int delayDuration = random (300,500);...
arduino,arduino-uno,arduino-ide
Is it possible if my arduino uno remains constantly connected to a computer through the usb port, for me to send data from its sensors to a server without some other piece of equipment? If yes, are there any security concerns? Because the server won't know that the data is...
c,arduino
K_count = (K_count < (byte)(CharacterMask[0][(customKey - '0') - 1][0]) ? ++K_count : 1); It is a part of this simple code, and i cant understand how precisely does it work?...
c,arduino
In an Arduino script how do I compare a date pointer with a string that is a date. Currently I am trying: while(year(t)=="1970") { getTime(); } but I am getting a can't compare a pointer with a string compiler error which I understand but I would like to compare the...
c++,arrays,dynamic,struct,arduino
I'm trying to understand the memory issues associated with dynamic struct arrays inside of dynamic struct arrays. I am dynamically creating an array of structs and attaching it to the variable 'persons' and then dynamically creating an array of structs and attaching it to the variable 'pets' inside of each...
c,arduino,arduino-ide
I'm having a really hard time trying to convert an INT to an 8 bit Binary number. There's plenty of code on how to do this online however most of them need libraries in order to work, and Arduino doesn't support libraries from C as it has its own. If...
c++,json,arduino,arduino-yun
How to parse URL outputs (JSON packets) which is as below: {"result":"ok","db":[{"id":"2","createdate":"0000-00-00 00:00:00","modifydate":"0000-00-00 00:00:00","module":null,"serial":null,"company":"1","firstname":"An ","lastname":"","email1":"","email2":"","email3":"","phone":null,"mobile":null,"pincode":null,"username":null,"email4":""},{"id":"3","createdate":"0000-00-00 00:00:00","modifydate":"0000-00-00 00:00:00","module":"red","serial":null,"company":"2","firstname":"An...
gps,arduino,microcontroller,spi,pic32
I'm working with a GPS module, ublox-6 neo6 and trying to pull data off of it from a pic32 microcontroller using SPI. I'm using GPIO pins to do this so the SPI library is off the table. Apparently, all I need to do is send it 0xFF and read what...
c++,c,eclipse,include,arduino
how do I add Arduino libraries to Eclipse Project? I just started playing with Intel Edison and have a Grove developer kit with an LCD that I can't use, because the library is missing. ...
c,linux,arduino,raspberry-pi
I'm working on a personal home automation project. On the server side, I have an Arduino Pro Mini with: a 433 MHz TX module on pin 2 a 433 MHz RX module on pin 3 a DHT22 probe on pin 4 (with 10k pull-up) a DHT22 probe on pin 5...
pointers,arduino
Not sure what I'm doing wrong because aValue and bValue aren't being updated. int aValue; int bValue; void setup() { aValue = 0; bValue = 0; } void loop() { someFunc(&aValue, &bValue); // code for printing aValue and bValue } void someFunc(int *a, int *b) { *a++; *b++; } ...
arduino
Is there in Arduino any page with all the functions availables as there is in Java, for instance ? https://docs.oracle.com/javase/7/docs/api/java/util/StringTokenizer.html I am checking the library Adafruit_NeoMatrix but I can't find all the functions available.
arduino
I've written a simple program - it generates signals over Port D at 4 MHz: #include <Arduino.h> int main(void) { DDRD = B11111111; PORTD = B00000000; while (true) { PORTD = 0; PORTD = 5; PORTD = 10; PORTD = 15; PORTD = 20; PORTD = 25; PORTD = 30;...
visual-c++,serial-port,arduino
I've been working on the school project with Gird-Eye. I use the Arduino Uno to access the data form Grid-Eye. And now I want to implement a serial communication test program with c++. I use the library form here: http://playground.arduino.cc/Interfacing/CPPWindows Here is Arduino Code: int data[64]; void setup() { //...
arduino
First time poster here so please go easy on me? :) I'm currently playing around with a Teensy 3.1 Arduino compatible board, just to see what I can do with the thing. So I currently have some code that I found that basically just emulates a keyboard and types in...
arduino,sensor,i2c,pic32
I'm trying to do something really simple and I'm having a bit of trouble getting it to work. I'm working with the MPL3115A2 Altitude/Pressure Sensor and a pic32 uC32 board, and I'm trying to communicate between the two using I2C. (uC32 board is similar enough to arduino that it's practically...
c,string,arduino
im writing a sketch for my arduino and i would like to check the last character of my string. For example: If the input is cats- i want to see if the last char (in my case is "-") is actualy - The code im using: The serial event function...
c,arduino,wifi
I have arduino wifi shield.I want to read text file from web page that has some commands.I will parse the commands from html file and going to control arduino from the web page like that.. Problem is i don't understand how should i read the data so arduino will remotely...
arduino
If somebody solved this issue, please send me link. My issue: I bought 2 arduino nanos (http://www.ebay.com/itm/311064700128?_trksid=p2060353.m2749.l2649&ssPageName=STRK%3AMEBIDX%3AIT) When I plugged them into PC, Led started blinking. I decided to try and test it so I wrote a program blink led with a bigger delays etc. I changed things as I...
c,matrix,arduino,calculator,linear-algebra
Please help me any help will be appreciated. I wrote a code in C to solve equations, but I don't know why some equations that I input into this calculator, give me wrong values, the algorithm is correct because I execute it in C and give me the correct answers...
c,arrays,random,struct,arduino
Im trying to output a random element from an array of structs on my Arduino. The struct looks like this struct questionStructure { char question[7]; int answer; }; I call a method in my loop that holds a bunch of questions with answers and a random question is then supposed...
arduino,arduino-ide
This is an arduino code which needs help. I am new to the code and there is an bug with my code that I couldn't figure out. The arduino forum was no help to me, thus I am turning to the experts of programming on stack overflow to help me....
c++,c,pointers,arduino
I'm new to arduino and it's programing language. I learnt that we can't have methods returning arrays, but we can use pointers as an alternative. So I have this method: byte SUM(byte A, byte B, bool Cyi, byte *sum, bool *Cyo) { bool d0; bool d1; for(int i = 0;...
c++,arduino
I'm trying to implement driver for servo without using Arduino Libraries. But what I'm achieving is oddly behaving servo, it goes to right but does not want return to 0 degrees. This is my code (it's quick and dirty): void setup() { // put your setup code here, to run...
c++,arrays,arduino,progmem
I'm trying to make an LCD project (16x2) that cycles through groups of messages. The idea being that it will cycle through all the messages in the currently selected group and won't leave the group until manually changed. Originally I had a 3D array: Level 1 was the group of...
c,arduino,game-physics,pong
Over the last couple of days I've been working on a Pong game for Arduino Esplora with Arduino's TFT display. Everything in the game works except that, when the player scores the ball gets deleted from it's last location and reappears in the center (as it should), while when the...
c,string,arduino,processing
I've collected some string information in processing and I am trying to send it to Arduino. I am getting processing to send the information, however, my output in arduino is weird. I get numbers like "77789...". I am not sure What I am doing wrong. All I need to do...
arrays,arduino,rfduino
I am trying to do some R&D and need to see how the temperature on the RFduino changes in a 5 minute time interval in a location not connected to a serial console, measured every second. I would like to use the built in flash for this. (I am storing...
c++,arduino
In Arduino IDE I can create variables with custom types, but cannot return custom type from function: This compiles struct Timer { Timer() { } }; Timer t; void setup() { // put your setup code here, to run once: } void loop() { // put your main code here,...
c++,arduino
I'm writing my first code for an Uno and have run into a problem using libraries. I create two instances of my GPSLocation class (loc1 and loc2) to store lat and lon for two locations. When I assign values to them, then recall them immediately, both instances hold the same...
arduino,avr,atmega,avrdude,atmelstudio
I would think this question has been asked thousands of times, I simply cannot find many resources on the subject. I would like to program my Arduino Uno (ATmega328P) using Atmel Studio and the C language, minus the Arduino Libraries. What I mean by this is that I would like...
arduino,rgb,led
I'm getting wrong output on the pins 9, 10 and 11. They are meant to be inputs for my RGB strip driver circuit. Which is basically an array of NPN transistors pulling current from the strip. The basic idea is to get only 2 controls to set R, G, B...
string,serial-port,arduino,hex,rfid
I've an RDM880 HW to read some 13.56MHz cards. I've read the protocol of comunication and writed a sketch following some guides i found on the net. I'm able print on serial the response from the reciver correctly, but when i try to store it to use it, i encountering...
arduino,xbee
I had a miscommunication and thought I could connect S1 and S2 via radio. I now have like 6 XBee S1 and 4 XBee S2. I was trying to figure out what I could do to try to make them share the same data. So I found out that Arduino...
c++,serial-port,arduino,usb,raspberry-pi
I have a Raspberry Pi connected to Arduino Mega with USB and trying to send a 8-byte package from RPI to Arduino. I'm using WiringPi serial library to accomplish this. RPI part scans serial buffer for data available. If not, it writes data to serial. for(;;) { if (int i...
c++,string,arduino,int
I have this code: String c = String(BTLEserial.read()); char relevant = c.charAt(0); Serial.println(relevant); where BTLEserial.read() returns type Int. I'm converting that to a String, in the first line so that I can use the charAt function on it in the next. When I send my Bluetooth "0000", my println(relevant) prints...
c++,arduino
Currently i'm making a class for printing custom text to a LCD. I pass the lcd object as paramter in the constructor to the class. Display.h #ifndef Display_h #define Display_h #include <Wire.h> #include <LiquidCrystal_I2C.h> #include "Arduino.h" class Display { public: Display(LiquidCrystal_I2C *outsideLcd); private: LiquidCrystal_I2C *lcd; }; #endif Display.cpp #include "Arduino.h"...
c,arduino,uploading
Uploading sketches to my arduino uno worked fine. Now uploading won't work. I get the following error. Is there a way to reset my board? Using the built-in reset button does not help. Error: Arduino: 1.0.6 (Mac OS X), Board: "Arduino Uno" Binary sketch size: 7,878 bytes (of a 32,256...
serial-port,arduino,elixir
I'm using knewter/erlang-serial with Elixir and try to read a JSON-String (e.g. {"temperature":20.40,"humidity":30.10} coming in from an Arduino via serial input after it receives a control-signal: defmodule MyApp.SerialInput do require Logger def start_link do serial_pid = :serial.start [{:open, "/dev/cu.usbmodem1431"}, {:speed, 115200}] control_signal = "1" :timer.send_interval 5000, serial_pid, {:send, control_signal} wait_for_new_values...
c++,timer,arduino
I'm totally new to C/C++. I've done some higher languages like Java and C# but that's something else I must say. I'm trying to build a timer module for the Arduino so that I can easily queue work that has to be executed after a certain amount of time without...
arduino
We have an arduino pro mini, we are trying to trying to upload sketch the controller but we are prohibited, as the arduino attempt to upload the sketch, it display an error of: not in sync. We are pretty new in this are, so any help would be much appreciated....
java,serial-port,arduino,gnu,rxtx
I have following Java code: import java.io.*; import java.util.ArrayList; import gnu.io.CommPortIdentifier; import gnu.io.SerialPort; import gnu.io.SerialPortEvent; import gnu.io.SerialPortEventListener; public class SerialCommDataReading implements SerialPortEventListener { private static SerialPort serialPort; private static final String PORT_NAME = "COM5"; private BufferedReader input; private static final int TIME_OUT = 2000; private static final int DATA_RATE =...
data,arduino,radio,packet,eeprom
I am trying to create a code and loop that can read a character and integer from radio. This character is a command that will represent a packet recover command. This code is being performed in arduino. The purpose of this code is to read a character command and an...
c++,arduino
I can't figure out the benefit to initializing a class instance with this syntax Adafruit_8x8matrix matrix = Adafruit_8x8matrix();, when Adafruit_8x8matrix matrix; will do. Is there any kind of benefit to the former syntax vs my simplified syntax? I tested both and it makes no difference to the compiler, and I...
c++,arduino,uno
So I was building this: http://www.instructables.com/id/Automatically-water-your-small-indoor-plant-using-/?ALLSTEPS Problem: I set the water time to 5 min and the wait time to 1 hour, the water still kept running and hasn't stop after 5 min. Is there another way to write this program? The program he provide was int motorPin = A0;...
testing,arduino,software-design,fingerprint,biometrics
I am developing a software which needs a fingerprint ID to get access or login. Meanwhile, I can't work with Arduino and fingerprint sensors, because There is no mushc time ahead. I am thinking about using the integrated-Fingerfrint of my laptop to get Finger's ID. Is it possible to do...
post,networking,get,arduino,nfc
By means of being thorough i was wondering if someone could tell me if I need an ethernet/wifi shield to be able to use POSTGET requests using my arduino. I've got an NFC shield and I need to send the data stored on the tag to my web server....
arduino,led,xbee
i have a strange problem :o i make a connection between two xbee when i click on a button a led connected to the pin 13 light on and then the xbee coordinator send an information to switch on a led connected to the pin D3 of the xbee router....
java,serial-port,arduino,jssc
I have been trying to use serial communication with my Arduino Uno and have used the library jSSC-2.6.0. I am using a SeriaPortEvent listener to receive bytes from the Serial Port (Arduino) and store them in a linked list. public synchronized void serialEvent(SerialPortEvent serialPortEvent) { if (serialPortEvent.isRXCHAR()) { // if...
arduino
I am trying to make an arduino weather alert, from this website and I need to find the contents of the quotation marks in "weather" after "main". I have looked for a text finder, but the one on the arduino website but it's so undescriptive that it might as well...
c++,arduino
This question already has an answer here: Can a local variable's memory be accessed outside its scope? 16 answers I'm working on an Arduino project and I need to use HMC5883L sensor's libraries. The problem is that the libraries are kind old and my compiler is complaining about the...
c++,qt,arduino
I'm trying to do a program in QT Creator, which I want to update an .hex file to arduino. I alread did this program in C#, but i'm having some issues to call the avrdude in QT. I've tried two options: My first try: process = new QProcess(this); process->start("avrdude -Cavrdude.conf.txt...
arduino,arduino-uno
I have 6 different led connected to pin 2 to 7 and a push button connected to pin 8. I got two functions one turning led on and off with interval of one second and other one turning on and off led in color patterns. I am trying to switch...
arduino,led
I am trying to work with this chip: https://www.adafruit.com/products/1655? ... fgodFpsAow + a Attiny85 The code I am using is below, it works fine with an Arduino but not with the Attiny85 (just turns on and stays between 2 colors green and yellow). Any ideas? Thanks! My ATtiny is set...
arduino
I am testing Adafruit_NeoMatrix library, the example attached: https://github.com/adafruit/Adafruit_NeoMatrix/blob/master/examples/tiletest/tiletest.pde and I can't figure out the relation of the text length and the if sentence: if(--x < -36) { more text length imply increase the numer "36", but I don't really see the relation...
javascript,node.js,arduino
Can anyone please help me how to do this? I would like to pass the message from the websocket to the serial port every time I receive a message var firmata = require('firmata'); var board = new firmata.Board('COM4'); var WebSocketServer = require('ws').Server; var wss = new WebSocketServer({ port: 8081 });...
c,arduino,microcontroller,ftdi,intel-edison
I have an Arduino clone Edison board with an FT801 graphics chip on it. While attempting to run the example sketches with the chip I encounter a chip id error. It's reporting the chip id as 3C074D54 which doesn't match the expected FT801 constant of 10108. From what I can...
c++,upload,arduino,sublimetext2
I have seen several questions answered about similar problems, but none that completely solved my problem. I'm trying to upload a sketch in Arduino using Sublime Text 2. Initially had trouble compiling the file, which could resolve adding the ways: C:\WinAVR-20100110\avr\bin, C:\WinAVR-20100110\bin and C:\ WinAVR-20100110\utils\bin to the path. My problem...
c++,serialization,serial-port,arduino,openframeworks
I'm trying to read serial data from an Arduino UNO using an ofSerialobject and assign it as an int. I am able to read in individual bytes, however, the values I'm receiving in the openframeworks console are not the same as the values I'm reading in the Arduino serial monitor....
c#,unity3d,arduino
I am trying to use both Unity and an Arduino. For this I need to have my C# script call a .ino file type. Does anybody know how this is done? Thanks!...
arduino,embedded-linux,arduino-ide,arduino-yun
I wonder how the arduino IDE recognizes the ip address of the arduinoYun board over wifi/ethernet. So that I can implement it myself over mobile application. Thanks...
c,arduino
I'm trying to create a simple application that stores a struct in the EEPROM memory and on startup it reads the stored struct from the EEPROM and then executes the rest based on the stored data. This is my main ino file: extern "C" { #include "Structs.h" } Settings settings;...
arduino,control,motordriver
The code does not seem to be working but I have also just started learning how to code arduino. I'm trying to run two dc motors and one servo as steering for a robot car. How should I wright it so it works. All I'm trying to do is use...
arduino,i2c,attiny
Hi I want to connect the arduino pro mini to my AtTiny85 over I2C. The arduino should tell the attiny to switch a LED on or off. The arduino manages to switch the led on my attiny on but it never goes off. I don't have any clue why? Here...
android,networking,arduino
I am trying to connect to a wifi network programatically. Android connects to it, but after few seconds it drops the connection and automatically connects to the previous one. If i try to connect through the settings, android connects to my desire network and stay connected. Am I missing something?...
loops,arduino,interrupt,isr
For the last two days i wrote a program that in basic terms generates a fairly accurate user adjustable pulse signal (both frequency and duty cycle adjustable). It basically uses the micros() function to keep track of time in order to pull low or high the 4 digital output channels....
arduino,microcontroller,arduino-uno,atmega
Some time ago i tried doing this with my original arduino uno r3. I guess i had to plug the power cables in wrong order(i think it's called reversing polarity) because my arduino stoped working. It turns on (the power diode is on) but i cannot upload any sketch on...
c,arduino
EDIT: IGNORE question about ', t' bit... Please answer Q about SREG before cli() I was just flicking through source and came across this in wiring.c: unsigned long micros() { unsigned long m; uint8_t oldSREG = SREG, t; <<<<<<< What is the ', t' bit here?! cli(); m = timer0_overflow_count;...
arduino,connection
I have borrowed an Arduino BT-V06 (analogue) from my college IT storage department. At home I am trying to do some research on this for subsequent work I am going to perform with this Arduino later on. As this model is a 2006 version; my question is, how do I...
arrays,arduino
I have data packet coming in like this in Arduino. Data: 12345678901234 I can access the 5th value using the code below. id = sx1272.packet_received.data[4]; My question is how do I access a rang of values? I tried this, but the colon throws an error. char[2] id; if( sx1272.packet_received.length >...
c++,osx,arduino,serial-port
I have been scouring the internet for some time now trying to figure out how to send data from C++ (which will read an input .txt file) to an Arduino. Because there does not seem to be a native way in Arduino to read files directly, I chose to use...
c,arduino,embedded,processing,atmega
Im wondering the print statements in my code are taking up processing cycles when the robot isn't connected to the com port. I am running a time sensitive process and have reason to believe the execution of these lines could be slowing my bot down.
controller,arduino,hardware,sensor,temperature
I just connected DS18B20 temperature sensor to ADC of a device. But that device only shows voltage reading from ADC likve 1033 mV. But I want to get an actual temperature value from the voltage value. Is there any way to calculate or get the temperature value from voltage reading?...
arduino
#include <PS2Keyboard.h> const int buttonPin = 4; int buttonState = 0; void setup() { pinMode (buttonPin, OUTPUT); Serial.begin(9600); } void loop() { buttonState = digitalRead(buttonPin); if (buttonState == HIGH) { Serial.print("\t"); Serial.println("In"); } } I simply want it to print In, but it keeps repeating In many times. Maybe I...
c++,c,string,arduino,sensor
There's already a question about adressing variables with strings in Arduino, but the answers given didn't apply to my problem. I have multiple sensors (around 14 and the number might increase) connected to my Arduino, I also have relays, engines and RFIDs. I'm creating a function that checks if all...
python,arduino,pyserial,serial-communication
I am attempting to start a motor from the computer by code in Python 3.4, using pySerial to communicate to an Arduino Uno. I have packed the value I am sending to hexidecimal, so I only have one byte at a time, but am having a problem getting the correct...
arduino
When I want to code about lets say zigbee library so how I will come to know that which functions are supported by zigbee object?Please help.
binary,arduino,arduino-uno,eeprom
I have been struggling to write a very simple Arduino program that increments address pins to an EPROM and then reads in the data through other pins. When I was unable to do something as simple as increment an array of boolean values (the MSB on both values is almost...
python,indexing,arduino
So I am trying to get from my arduino some resource values and some id's , and I can't figure out how to solve this. I haven't played with python, this is my first time, so it is have to be something easy ... this is my python program import...
binary,arduino,led
I´m trying to insert a binary raw sequence (01010100, 01101000, 01100001) into Arduino. I would like to make 8-led group blink in a loop, showing with light each 8-group binary sequence when: 0=light off and 1=light on. It´s possible to do this operation with Arduino-Uno?...
c++,arduino,can
I have tried to make an ecuRequest which sends a PID to a can network and then receives a message. I got this idea from the demo sketch in this article http://skpang.co.uk/blog/archives/55. I've tried to mimic the ecu_req using the seeedstudio library found here https://github.com/Seeed-Studio/CAN_BUS_Shield. Below is what I have...
arduino,fft,ifft
I am trying to filter some data based on the the following code using Arduino FFT library for FFT (fast Fourier transform) /* fft_adc_serial.pde guest openmusiclabs.com 7.7.14 example sketch for testing the fft library. it takes in data on ADC0 (Analog0) and processes them with the fft. the data is...
arduino,arduino-uno
Sorry to use such great minds for such a small and probably easy question, but I am having trouble with programming a line tracking robot (with motors and using the Arduino Uno) and using a switch statement to declare the different movements for the motors. So far, I have: void...
arduino,xbee
I'm using XCTU to test sending packets. My xbee radio is configured as a Coordinator API-2 (product family XB24-ZB, firmware version 21A7, MAC address 0013A20040BCE8CB). I'm send the following transmit request frame bytes: 7E 00 12 10 01 00 00 00 00 00 00 00 00 FF FE 00 00...
html,http,lua,arduino,wifi
I have been having trouble connecting to my ESP-01 Wifi module running NodeMCU. I have set up a simple server, but whenever I try to connect to the IP Address via my browser, my browser times out. I know I am making connection to the device because I can see...
arduino,accelerometer
X:471 Y:486 Z:476 X:468 Y:478 Z:467 X:454 Y:460 Z:450 X:436 Y:435 Z:422 X:392 Y:379 Z:364 X:327 Y:305 Z:296 X:270 Y:248 Z:250 X:248 Y:236 Z:246 X:260 Y:258 Z:269 X:292 Y:297 Z:307 X:321 Y:331 Z:341 X:375 Y:398 Z:406 X:439 Y:465 Z:465 X:478 Y:502 Z:494 X:489 Y:503 Z:491 X:478 Y:487 Z:475 X:462 Y:465...