Show Posts
|
|
Pages: [1] 2
|
|
2
|
Development / Other Software Development / Re: RTuinOS: A Real Time Operating System (RTOS) for Arduino 1.0.1
|
on: January 01, 2013, 06:53:38 pm
|
This project looks really impressive and is very cleanly written and documented. I have several questions: - Did you start from scratch or is this code based on an other RTOS implementation?
- How does RTuinOS compare to protothreads? (http://code.google.com/p/protothread/)
- How does RTuinOS compare to DuinOS? (http://code.google.com/p/duinos/)
- What was the main goal for developing this project? (since other similar implementations exist)
- Is/was this part of a university thesis or research project?
- You have 10 example applications in your library, have they been tested in real world applications or are they just a proof of concept at the moment?
I think that this project deserves more attention. Maybe you can move your project to a public Github repository? That would make it a lot easier for people to find.
|
|
|
|
|
3
|
Development / Other Software Development / Arduino TestSuite: Automated Arduino Unit Tests
|
on: December 31, 2012, 10:58:05 am
|
The last days, I have been working on my first Python program named: "arduino_testsuite" GitHub project page: http://jeroendoggen.github.com/Arduino-TestSuitePage in the Python Package Index: http://pypi.python.org/pypi/arduino_testsuiteThis program allows automated running of several Arduino unit tests. The testing process is started on the PC but the tests run on the actual Arduino hardware. One set of unit tests is typically used to test one Arduino library. Program flow:The following steps are performed for each set of unit tests: - Read the config file to find out which tests to run
- The script compiles and uploads an Arduino sketch that contains the unit testing code.
- The unit tests are run on the Arduino board.
- The results of the test are printed over the serial port and analyzed by the Python script.
- The script starts the next test, repeating the above steps for all test that are requested in the configuration file.
- The script prints a summary showing an overview of all the failed/passed tests in the complete testsuite.
Dependencies:Why is this useful: Typical test output:jeroen@computer:~/tests$ python -m arduino_testsuite ============================================================= Planned tests: 1. examples/floatingPin 2. examples/inInterval 3. examples/simpleTest 4. examples/buildErrorTest 5. examples/nonExistingFolder 6. examples/slowTest 7. examples/verySlowTest ============================== .... output normally continues for a while ... link to full log below.
Full log in: https://raw.github.com/jeroendoggen/Arduino-TestSuite/master/resources/example.log (number of characters per post is limited) Comments are more than welcome. (remember, this is my first Python program...)
|
|
|
|
|
6
|
Using Arduino / Sensors / Re: Library for the Sharp GP2Y0A21YK IR Distance Sensor
|
on: January 22, 2012, 04:05:41 pm
|
direct link to the spreadsheet: http://gp2y0a21yk-library.googlecode.com/hg/Calculations/CalculationsDistanceSensorTransferfunctionLUT.xls(works fine for me using LibreOffice) The option for runtime calibration is planned for "Version 0.6: Compare different sensors, calculate replacement LUT (at runtime) based on calibration points" (copy past from header file :-) ) I currently have 5 sensors that are tied together sitting on my desk. My plan is to do this runtime testing/calibration using 5 sensors to check for inter-sensor differences. I haven't done the experiment yet because I needed some extra wires + breadboard, to connect them all at the same time. It think the best approach would be conditional compilation with 3 options: - speed optimized: my current code
- code size optimed: the multimap version using your approach
- default: 4(?) bit LUT combined with multimap
A more (too?) complex solution might be: - a standard generic LUT: 8 bits
- + a 'differential' LUT for each individual sensor: using calibrated values: 4 bits
Lots of possibilities...
|
|
|
|
|