Click here to Skip to main content
15,893,487 members
Everything / Internet of Things / Arduino

Arduino

Arduino

Great Reads

by honey the codewitch
GFX is a fast and full featured replacement for standard IoT drawing libraries that is optimized to reduce bus I/O
by Miguel Diaz Kusztrich
Be notified in your mobile phone of intruders in your home, and take photos of them
by DaveAuld
Building for and consuming the Blitzortung Lightning Detection Network
by raddevus
Chapter 4 - Resistors and Resistance

Latest Articles

by honey the codewitch
Do you need to be able to perform a firmware update without using WiFi? This project is for you.
by honey the codewitch
Just a clock with snazzy digits that syncs using NTP and gets your timezone from your IP.
by deangi
A Bluetooth LE scanner gathers data on a schedule from one or more BLE servers and forwards it to WiFi.
by honey the codewitch
Display automated (optionally controllable) Tetris on an LCD or Neopixel panel

All Articles

Sort by Updated

Arduino 

25 Sep 2014 by 2irfanshaikh
Raspberry Pihttp://www.raspberrypi.org/documentation/remote-access/web-server/apache.md[^]http://www.instructables.com/id/Raspberry-Pi-Web-Server/[^]
25 Feb 2023 by 751-Atharva Vanjole
Compilation error: missing terminating" character? Whats wrong in this What I have tried: Remove " this added " this but doesn't happen anything
15 Mar 2014 by Abhinav S
You can register client side scripts and run server side scripts on the page.For e.g. How to: Add Client Script Dynamically to ASP.NET Web Pages[^].
19 Aug 2023 by adriancs
I have just published an article exactly answered this question. I know my post it's a little late to the party, but anyway, here's my article. cheers AES Encrypted Data Transmission between Arduino (ESP32) and C# (ASP.NET)[^]
19 Aug 2023 by adriancs
Communication between Arduino and C# (ASP.NET) by using AES encrypted HTTP GET request
20 Nov 2018 by Afzaal Ahmad Zeeshan
You need to attach the async callback1, that receives the data for your socket, on its behalf and then alerts you that data has been received. You cannot attach a receive function, as it might be blocking. You can argue, that, // Your receive call is useless as well, and so would be this, ...
18 Dec 2015 by Ahmed Alnesser
How to implement MySQL DB functions with Arduino like insert update delete select
15 Aug 2015 by ahmetkocadogan
Hello. This is my scenario, i have an arduino uno and a hc-05 bluetooth module. i use software serial for hc-05, this is my arduino code:(from this link : http://stackoverflow.com/questions/18376468/arduino-using-serial-and-software-serial-with-bluetooth-module[^])#include...
9 May 2017 by AkhileshKamate
Refer below link Controlling Arduino With Windows Form Application[^]
22 Nov 2021 by AL HANA T
I want to turn on my LED connected to arduino board once it satisfies any condition provded in my python program. These are the conditions: Temperature 179: Observation= 'Temperature & Humidity is less.' ...
31 Jul 2020 by Alisher Abdisattar
Hello everone! I need to communicate an arduino and windows through bluetooth by application in C#. I do not know how to do C# programm. I can make GUI in WinForm. Can you suggest me some tutorials, books, guides to learn C# serial port...
10 Dec 2018 by alisolution
Greeting, I want to codes which create Encryption in Arduino-C and can be Decrypted into c#. is it possible ? Using algorithm AES or any other an algorthim anyone help me, can provide codes AJ What I have tried: #include "AES.h" #include "base64.h" AES aes; void setup() { ...
5 Jun 2019 by altomaltes
This code calculates square root of an integer on a few assembler code lines.
17 Oct 2014 by Amal anjula
Hey guy. i need drive 64*32 led panel board using arduino. im used arduino for make some different message into display board. that message coming via Bluetooth module(hs05) from the mobile phone. how do this. please help me. i only need drive led panel using arduino. sorry for bad english ...
15 Jul 2015 by Amal anjula
i have sim 900 mini module with arduino uno. now i want send gmail using arduino only using at commands? how i do this. pls hep methis is my code#include SoftwareSerial mySerial(10, 11); // RX, TXbool ack=0;void setup(){ // Open serial communications and...
12 Nov 2015 by Amal anjula
i made some code for esp8266 wifi module using AT command. this is working normally. but i cant put some varible in to this code. how i do it. i had 6 integer type varibles.this is the code#include #include #include SoftwareSerial...
19 Feb 2016 by Amal anjula
i had below Hex value from serial Rx...
18 Feb 2018 by Amanuel Negash
I am trying to connect my arduino ethernet shield and a java application to communicate. I could not achieve that any one can help. this is my java code /* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates *...
19 Feb 2018 by Amanuel Negash
nothing really happens the java client ends saying the Error:java.net.SocketTimeoutException: Receive timed out
28 Jul 2023 by Andre Oosthuizen
Concentrating on your 1st block of code, you can create a function that takes the 'prog' string, the index 'i', and the 'onOff' values as parameters - #include #include //Function based on your input parameters... void...
28 Dec 2016 by Andrew Lai
Power on, safe shutdown and power cut-off for Raspberry Pi
12 Mar 2014 by andry fajar
Please help me,I've been approached frustrated how to serial communication arduino uno with unity web player? can i see an example of the source code?
15 Mar 2014 by andry fajar
Please help me,how to call a public void (BlueOn) in c # to javasript (StartBlink) in asp.net?C#namespace ArduinoTest{ public partial class LEDTest : System.Web.UI.Page { SerialPort ardo; protected void Page_Load(object sender, EventArgs e) {...
21 Mar 2014 by andry fajar
Please help me ,I have a problem regarding valiable calling from c # to javascript in asp.net .how to perform real-time retrieval of Arduino uno without wifi shileld through C # then passed to the javascript that will be displayed on the web . where the transmitted data is worth " 0 " and "...
25 Mar 2014 by andry fajar
I want to asked, how to automatically create a serial port in unity? there any sample source code.Thanks
9 Dec 2020 by André Marcos (Advisor), Gabriel Trepak, Vinícius Barauna Santana
Automating the Residential Lighting Activation Process Using Arduino
25 Jul 2021 by André Marcos (Advisor), Luciano Santos de Jesus
Automation with Arduino Prototype for an Alarm Device based on Audiometric Sounds Pattern Control
4 Oct 2017 by Anilkumarkomalla
i need to transmit the height of the copter for that i have used ultrasonic setup and measured the height displayed in lcd so i want transmit it wireless to the laptop at a range of 10 meters away from the my arduino set up What I have tried: so i used esp8266 transceivers for transmitting and...
22 Oct 2013 by Anoop Pillai
CakeRobot is a gesture driven robot that moves around based on your hand movement.
4 Sep 2016 by aolin.wang
Excuse me,all my friends.I want to do a small project as my graduation project.It is controlling a robot car with camera by my phone.Like this, i can see my home in everywhere, only having mobile network.My idea:phone←→mobile signal base station←→internet←→home network service...
16 Apr 2017 by Arnold bin Boon Hoo
hello, I am doing a project of arduino to control the relay switch by using the CapacitiveSensor i found that there is some error on my array. not sure is there any problem in my setup for array please advice thank you, I am still new in c++ programming What I have tried: #include...
18 Jun 2013 by arnoldxx
hello guys.. i wondering is there any wrong with my code since i try to run it just now and noting happencode of arduinoconst int threhold = 100;int sensorReading;int irs=0;void setup(){ pinMode(irs, INPUT);Serial.begin(9600);}void loop(){ sensorReading =...
20 Sep 2013 by arnoldxx
hello matesim now making a source code of visual basic and also arduino..and communicate with each other by serial porti have successfully make 2 arduino code.. one is for sending data to vb.. and one is for retrieve data from vbbut the problem is when i try to combine itand run the...
5 May 2017 by Arvind Zamakia
i think you can used SignalR [^]
6 Aug 2018 by askis
Manage the rotation degrees of your 4WD chassis
19 Mar 2013 by ayush44
hi, i want to communicate between gsm300 and arduino so i wand the receiving code for arduino for msg and call both.thanks
6 Jan 2022 by Bernhard Nebel
Link-time optimization and debugging OO programs do not work very well together, at least on AVR MCUs.
12 Jan 2022 by Bernhard Nebel
New Arduino library: SingleWireSerial which supports single-wire, half-duplex serial communication
12 Mar 2022 by Bernhard Nebel
A tutorial for people who finally want to debug their Arduino projects that run on AVR MCUs using the GNU project debugger GDB
19 Oct 2020 by BillWoodruff
first do some research on CodeProject: [^], and Google: [^] And, of course, look for documentation on the "boom" hardware from the manufacturer.
21 Jul 2014 by bling
If you want text to appear inside the Visual Studio Output window, Diagnostics::Debug::WriteLine does the trick. Otherwise, use Console:WriteLine (which you seem to be using).Looking at your code, you've got two problems.1. You aren't reading anything from the serial port.2. You're...
30 Jul 2014 by bling
Two ideas ...1. create a serial mouse. Most micro-controllers can be made to use RS232. If Windows will accept a serial mouse connected to a USB/serial adapter, then an Arduino should also work.http://arduino.cc/en/Reference/MouseKeyboard[^]2. Use the same Atmel processor as the...
6 Aug 2014 by bling
> Netduino communicates with the Arduino DueTwo solutions:1. Communicate through host PC ... Netduino Ethernet Host PC Arduino Due.2. Direct serial ... Netduino three wires (RxD, TxD, Gnd) Arduino Due. Connect RxD on Netduino to TxD of Due; connect Txd of Netduino...
24 Mar 2015 by bling
Yes.In windows, the serial port is buffered so there will be a delay before the data is passed to your application. It is also possible to designate an event character on the port. When the serial port receives a byte matching the event character - it stops waiting and returns any...
13 Jul 2022 by bonezegei
#include int PulseSensorPurplePin = A0; //not =0 since you are reading Analog Value the value 0 for input pin is at Digital pin 0 "A0" is used instead int Signal; int Threshold = 550; //variable should be initialize this way i...
13 Jul 2022 by bonezegei
This was an old question but this might be the solution to that Maybe ...... int DataTime[7]; DS1307 rtc; //this should be declare like here char times[32]; //the array containing the string of time should also be...
11 Jan 2019 by Boris Kudryavtsev
Hello,I need help on writing a Windows Form Application in C++, which does the following:1. Use Google Maps (satellite view) to find 2 Latitude Longitude coordinates entered by the user and zoom in on the section of the map located between them. 2. Click in a series of consecutive...
30 Jun 2018 by Brad1141
How to send data from a TMP36 to a Bluetooth terminal using the HC-05 module
18 Feb 2015 by Brisingr Aerowing
A list of electronics-related links.
28 Aug 2015 by Carey Payette
This article will cover the development of a simple device that will text message the owner when the dryer cycle has ended.
19 Apr 2016 by Carey Payette
LinkIt Smart 7688 Duo - a good board for anyone needing to develop quick IoT prototypes that also wish to continue into the manufacturing and delivery phases of their new product.
9 Nov 2014 by charankumar516
Absolute Beginner's Guide to Arduino
23 Mar 2013 by CHill60
Honestly - do some research firstTry looking here[^]
4 May 2016 by CHill60
You need to do some research. Start here - Google[^]
2 Apr 2015 by ChRi$m0rG@N
An article about an omni directional Arduino Yun robot, and an alternative .Net implementation of CmdMessenger
11 Feb 2020 by Chris Gannon
An Azure-driven service for Arduino based PID controllers designed for control and monitoring of grills and other cooking devices
19 Aug 2020 by Christ Kennedy
Here's how I made a game of Falling Blocks with my Arduino Nano, a clothes hanger and some duct tape
25 Sep 2020 by Christ Kennedy
An Arduino project that keeps track of your best Workout times and rep-counts
4 Dec 2020 by Christ Kennedy
Interactive interface helps generate resistance ratios for button matrices of various sizes
11 Mar 2021 by Christ Kennedy
The classic electronic game brought to you by Arduino Micro Pro
18 Dec 2021 by Christ Kennedy
Distil hand-sanitizer and other social lubricants using an Arduino
22 Aug 2021 by Christ Kennedy
How to keep your KD from burning in the pot
5 Feb 2022 by Christ Kennedy
Build a remote control for a cumbersome wire tangled KVM that fits better hidden under your desk
8 Feb 2023 by Corey 5
I have repo code that I am working on as part of an internship that they have me trying to get to work with a sensor. When I load the code and upload it it doesn't seem to want to update the shadow onto AWS. The timestamp appears but the sensor...
27 Nov 2012 by CPallini
Why don't you use Visual C++ (you may even use C#) Express Edition?You may use the following code sample for configuring correctly the COM device:"Configuring a Communications Resource (Windows)"[^] and the simply issue CHAR c='1'; // change to CHAR c=1; if appropriateDWORD...
18 Jun 2013 by CPallini
You are sending (Arduino side) string values and checking (on VB side) for integer values. Instead you should either:send integer values (e.g. Serial.Write(1)) and check for integer values.orsend string values and check for string values (e.g. if str = "0" ).
5 Sep 2014 by CPallini
Have a look at this Code Project article: "Arduino, C#, and Serial Interface"[^].[update]If you really need to reach the Arduino boar d via network then let's start from this page: Networking Options for Arduino-Based Systems[^].[/update]
15 Sep 2014 by CPallini
From File class documentation[^]:read()Read a byte from the file.Hence, in order to read line by line you have to detect the end-of-line character (could be, for instance '\n'). Note you can do that either on Arduino side or on the PC one.
20 Sep 2014 by CPallini
Check out the documentation: "Communications Resources" at MSDN[^]. "Using Communications Resources"[^] provides code samples.
17 Oct 2014 by CPallini
(Assuming you are able to handle the bluetooth mobile-Arduino communication). You must check out the LED panel documentation, because you need to:Properly wire the led panel to your Arduino boardDevelop the Arduino communication routine according to the protocol required by the LED panel
11 Jun 2015 by CPallini
It all depends on your 'real time' requirements, that is on the speed analog data is collected by the arduino device (an transmitted to your PC, data transmission could be the actual bottleneck). I would use the the language offering the more high level features (and richer library) the...
15 Jul 2015 by CPallini
You'd probably have to post your question on arduino or, better, SIM900 specific forums in order to get help. The SIM900 is really a strange beast.
23 Jul 2015 by CPallini
Then make HTTP custom request. See "SIM900 GPRS/GSM Shield"[^].
30 Jul 2015 by CPallini
Yes, I guess.Moreover I guess Google could help: "arduino tutorials"[^].
31 Jul 2015 by CPallini
As far as I know you have to use a specific library in order to obtain meaningful data from such devices. Have a llok at this page "nRF24L01"[^].
23 Nov 2015 by CPallini
It hangs because receive is a blocking call: if there is no data to receive then it waits. This is the reason why it is usually invoked in a separate thread.[update]Have a look at "Asynchronous Client Socket Example" at MSDN[^].[/update]
20 Jan 2016 by CPallini
Your Arduino code sends a byte at time (see Arduino - Write[^]), so your PC code should read a single byte and output it (it could optionally read multiple bytes, buffer and then output all of them), so the proper call to ReadFile (I hardly believe you need the OVERLAPPED struct in such a simple...
19 Feb 2016 by CPallini
Your arduino board is receiveing somthing like:"is message was sent to you by 10-Strike Network Monitor for the "probably encode as UTF-16. Since it is just a piece of the message it is difficult to understand the byte order (big or little endian).Empirically, you may build your string...
27 Jul 2016 by CPallini
The SIM900 is the just modem chip, you usually find it on modules (e.g. the Arduino SIM900 shield). Your firmware will send AT commands to the modem. You may find the documentation as well tutorials available online.
2 Dec 2016 by CPallini
See here: serial - How do I split an incoming string? - Arduino Stack Exchange[^].
1 Mar 2017 by CPallini
It is not clear what are you trying to do. Why do you list all the serial ports available, claiming they are open, without actually checking their state?Then you open last one, read existing characters and discarding them.Finally you try to read 3 lines from a rich text box, and get the...
8 Mar 2017 by CPallini
It is not clear what do you really want to do. Anyway, please note: In your C# code, if you enter, for instance, "1" in your TextBox then four bytes are sent to the serial line: three 0s and a single 1 (the 0s won't be handled by your Arduino code).In your Arduino code you didn't check if...
20 Mar 2017 by CPallini
You may find many examples on the web, see, for instance: DIY Arduino Pulse Sensor[^].
22 Jun 2017 by CPallini
Quote: How can i control two motors through arduino ?? By reading and understanding the controllers' documentation.
5 Jul 2017 by CPallini
Why possible it is not recommendable, in my opinion, to make a XML parser for Arduino. I suppose you should go the way opposite: that is find (or invent) a protocol which the Arduino side could easily understand and rewrite your C# program in order to send commands using such a protocol.