Awesome, thank you.
Awesome, thank you.
interesting site, seems like you have a good coverage of engineering 101 topics. I would encourage the members who do not have an engineering background/education to check the site out; perhaps provide some feedback if you think it is easy to understand/learn the topics presented. It is always good to have a place to direct people when they need some understanding of the fundamentals.
Keep up the good work.
I would filter the data (unless you can find the source of the error ... in which case i recommend you eliminate it at the source). PID will not ignore the false data but you may not see the effect depending on how you have it tuned. After eliminating the false data you may be able to tune the PID for a better response time than you were previously able to. i.e. you may have tuned the PID constants lower than would be necessary to smoothe out the glitches that this false data would cause.
I'm playing around with a line-follower and writing code for an Arduino using a PID and a pololu IR sensor array.
The sensor array gives figures of 0-5000 where 2,500 is dead centre. The readings come thick and fast and are good, however, maybe 1 in 20 are spurious, eg 2000,2012,2002,19,2058
The spurious 19 reading is wildly out but just one reading every 20 or so. Does the PID just ignore this as it's so rare so won't impact? Or should I code something to ignore readings that will be outside an expected range, ie within 500 of the last reading else ignore as it can't go that far out that quickly?
Thanks in advance.
Hi, I do not know English, so I use Google translator.
I decided that I wanted to explore the FreeRTOS, but it could not even compile.
I ask your help, I have quite a long time I can not cope with this problem.
Please throw off empty project as an example that is compiled for the ATMega128.
Another problem I'll take by my self
Hello. I've already figured out the problem. Perhaps I can help someone with the same problem You just need to specify the type of a variable as "volatile"
Solved project with designation of robot's dynamics for specific robot's construction. Robot has two drives, the first drive is rotational and the second drive is linear. Robot is built with two masses. Dynamics forces and torques are calculated for considered robot during its motion.
« Last post by Ibaeni on February 20, 2015, 06:30:12 PM »
An Arduino kit would be a great resource. They generally come with a variety of basic electronic components and a book of arduino projects. It will help you learn the basic circuitry and programming required to work with Arduino. Also, it will give you a base of parts to continue making other projects. Some kits can be found in the links below:
You can see what basic parts are required for most projects from these kits. If you continue to work with robots, you'll definitely need nearly all of the parts included in these various kits. Whether or not you buy a kit, I would highly suggest invest in some of the parts included in them like resistors, capacitors, transistors, a breadboard, wiring, servos or motors, etc.
« Last post by MBJ on February 20, 2015, 02:58:03 PM »
Thank alot Mr. mklrobo
« Last post by mklrobo on February 20, 2015, 01:04:12 PM »
A breadboard definitely helps, because you can innovate
on-the-fly, just in case. Breadboards provide you room to
add regulators, and connect items, immediately. I would
acquire a breadboard anyway, to provide room for
expansion and testing purposes, later on. You may want to
test your programming on sensors, servos, etc, which
allows reconfiguration without the messy soldering.
(too much heat destroys components).
If you have a kit, and the instructions indicate that the MCU
can drive the included servos, you should be ok.