Arduino is an open-source electronics prototyping platform.

learn more… | top users | synonyms

6
votes
2answers
79 views

Gyrometer/accelerometer sensor fusion with sigmoid transfer function

I noticed, that accelerometer and gyrometer sensor data tend to have problems. The gyrometer is not very precise and the accelerometer is getting problems with vibrations. I built a quadrocopter (to ...
1
vote
1answer
45 views

Enhancing parser for 8 byte command string (expect problems with type conversions) for Arduino/Radio communication

Because the throughput of my radio and device is limited, I wanted to compress my control string. I decided to compress the command into an 8 bytes (quasi) string (throttle high, throttle low, pitch, ...
4
votes
2answers
117 views

Simple and fair scheduler for function calls on Arduino

because Arduino platforms are fairly limited in its capacities, I wrote a small process scheduler. I append a function to an array and define a tickrate. After this tickrate elapses, the function ...
4
votes
2answers
242 views

Arduino based ultrasonic sensor program, output HIGH to control electric motor

I am brand new to C++ and am working with the Arduino micro controller. The project I've been working on for my university requires me to write code to do the following: If the ultrasonic ...
3
votes
0answers
83 views

Correct implementation of a one-wire temperature probe on a 328p arduino? [closed]

I'm not sure if I've got the correct implementation of pointers here, or if they're really even necessary. This is a condensed version of my code for a one-wire temperature probe on a 328p arduino ...
0
votes
0answers
32 views

Could this ROM reader be faster and/or smaller?

I've been practicing arduino programming for a few weeks now having become confident in reading and writing to pins so I decided to take it a step further and do a serious project that does both, so ...
0
votes
1answer
69 views

Arduino More maintainable code

Straight to the point: Can you give me pointers on how to make this code more maintainable? In the future, I want to add more more things to this, but first it should be easy to maintain/read. Should ...
1
vote
2answers
154 views
6
votes
1answer
335 views

Domotics control system

This is a project about a domotics control system based on arduino. Nothing great; it's only for testing myself and making stuff. Before I started coding this, I searched on the net for some useful ...
3
votes
1answer
947 views

PID Controller library

I'm trying to implement a PID without floating point operations on a micro controller. I appreciate all feedback I can get. Header file: ...
-1
votes
1answer
524 views

arduino timer to print array of serial data at specific intervals, syntax problem [closed]

I was wondering if you guys could help me solve an arduino Coding problem. I've simplified the code to highlight the issue that I'm having. I've created a program to read streaming serial data to an ...
3
votes
1answer
181 views

Feedback on Arduino class for LED circle animations

I'm fairly new to Arduino and C++ in general, coming from a heavy Python background. The code below is functional, but my lack of C++ knowledge is keeping me from spotting any errors in style, idioms ...
-1
votes
1answer
143 views

Can you guys help me to improve this Arduino code for animatronic hand? [closed]

I am making a animatronic hand that is powered by two Arduinos connected via XBee radio's. I am very new to coding and this is my first attempt. I was wondering if you guys could help me a little as ...