]> git.defcon.no Git - rctxduino/log
rctxduino
13 years agoThe code is now functional for the 4 first channels, also applied some simple pulldow...
Hans Åge Martinsen [Sat, 10 Sep 2011 13:56:38 +0000 (15:56 +0200)]
The code is now functional for the 4 first channels, also applied some simple pulldown menus for quit, about and help

13 years agoAdded some code for the controllers testing tool. The code is still not functional.
Hans Åge Martinsen [Sat, 10 Sep 2011 00:05:49 +0000 (02:05 +0200)]
Added some code for the controllers testing tool. The code is still not functional.

13 years agoMoved code to using the PCD8544 Arduino library from http://code.google.com/p/pcd8544/
Jon Langseth [Wed, 7 Sep 2011 22:47:45 +0000 (00:47 +0200)]
Moved code to using the PCD8544 Arduino library from http://code.google.com/p/pcd8544/
Download the latest and greatest version of the library, dump the PCD8544 directory to your Arduino libraries folder, restart the Arduino IDE. The display needs to be connected as follows: SCLK 8, SDIN 9, D/C 10, RST 11, SCE 12.

13 years agoRemoving graft-code to prepare for a realistic approach.
Jon Langseth [Wed, 7 Sep 2011 21:51:14 +0000 (23:51 +0200)]
Removing graft-code to prepare for a realistic approach.

13 years agoNeeded to use the code to get the binary code in the hex :P Optimization ftw :P
Jon Langseth [Wed, 7 Sep 2011 21:32:51 +0000 (23:32 +0200)]
Needed to use the code to get the binary code in the hex :P Optimization ftw :P

13 years agoLCD code, just for size-testing.
Jon Langseth [Wed, 7 Sep 2011 21:26:35 +0000 (23:26 +0200)]
LCD code, just for size-testing.

13 years agoAdded FreeRam function, borrowed from the FAT16lib.
Jon Langseth [Wed, 7 Sep 2011 20:43:47 +0000 (22:43 +0200)]
Added FreeRam function, borrowed from the FAT16lib.

13 years agoChanges to debugging, battery alarm, ppm timing:
Jon Langseth [Wed, 7 Sep 2011 19:49:13 +0000 (21:49 +0200)]
Changes to debugging, battery alarm, ppm timing:

* Added a #define DEBUG statement, and a bunch of #ifdef/#else/#endif that includes or excludes debugging code depending on this #define
* Added BATTERY_CRITICAL, and changed the way BATTERY_LOW was handled. We now have two states of "severity" on the battery
* Set the debugging-value of BATTERY_CRITICAL to 0, to be able to debug without a battery connected :P
* Changed PPM timings again, had problems with some RF recievers. Tested OK with: fmsusb2, Graupner RX700, Corona RS810II, Corona RP8D1.

13 years agoDeleted another file that was not suppose to be uploaded
Hans Åge Martinsen [Wed, 7 Sep 2011 18:36:01 +0000 (20:36 +0200)]
Deleted another file that was not suppose to be uploaded

13 years agoDeleted some files that were not meant to be uploaded.
Hans Åge Martinsen [Wed, 7 Sep 2011 18:00:40 +0000 (20:00 +0200)]
Deleted some files that were not meant to be uploaded.

13 years agoMerge branch 'jstt_2'
Hans Åge Martinsen [Wed, 7 Sep 2011 17:51:53 +0000 (19:51 +0200)]
Merge branch 'jstt_2'

13 years agoSimplified, removed an unnecessary boolean.
Jon Langseth [Tue, 6 Sep 2011 22:51:21 +0000 (00:51 +0200)]
Simplified, removed an unnecessary boolean.

13 years agoHow the f*** did I manage to do that? Fixed errors in the rf-power-adapter-thingamaji...
Jon Langseth [Tue, 6 Sep 2011 22:46:09 +0000 (00:46 +0200)]
How the f*** did I manage to do that? Fixed errors in the rf-power-adapter-thingamajig-circuit.

13 years agoGot the very basics working, no more segfaulting
Hans Åge Martinsen [Mon, 5 Sep 2011 21:06:59 +0000 (23:06 +0200)]
Got the very basics working, no more segfaulting

13 years agoCorrected a flaw in the rf-adapter-power-schematic, changed a device type (LM317...
Jon Langseth [Mon, 5 Sep 2011 16:46:11 +0000 (18:46 +0200)]
Corrected a flaw in the rf-adapter-power-schematic, changed a device type (LM317 from TO92 to TO220), designed  first-gen board.

13 years agoAdded schematic for RF-adapter and DC power regulator.
Jon Langseth [Mon, 5 Sep 2011 16:19:31 +0000 (18:19 +0200)]
Added schematic for RF-adapter and DC power regulator.

13 years agoAdding a pishur showing standard RC stick mode configurations. Mode 2 <3 ....
Jon Langseth [Sat, 3 Sep 2011 13:45:53 +0000 (15:45 +0200)]
Adding a pishur showing standard RC stick mode configurations. Mode 2 <3 ....

13 years agoNew tuning of PPM timer constants. These values are tuned to give max range, and...
Jon Langseth [Sat, 3 Sep 2011 11:08:38 +0000 (13:08 +0200)]
New tuning of PPM timer constants. These values are tuned to give max range, and precise center with fmsusb2 PPM-to-USB decoder. As a bonus, it seems the PPM timing is so clean, we can now feed all eight channels by default, and fmsusb2 will happily ignore the two upper channels :D

13 years agoMerging in code using the internal EEPROM to store settings!
Jon Langseth [Fri, 2 Sep 2011 18:18:01 +0000 (20:18 +0200)]
Merging in code using the internal EEPROM to store settings!

13 years agoRemoved a few uses of a number, replaced with (existing) define, removed unused varia...
Jon Langseth [Fri, 2 Sep 2011 18:15:29 +0000 (20:15 +0200)]
Removed a few uses of a number, replaced with (existing) define, removed unused variables, updated comments.

13 years agoRemoved a nasty bug caused my a misplaced ';'. Also: added a debug-dumper serial_dump...
Jon Langseth [Fri, 2 Sep 2011 17:54:11 +0000 (19:54 +0200)]
Removed a nasty bug caused my a misplaced ';'. Also: added a debug-dumper serial_dump_model().

13 years agoAdded saving to and reading from internal EEPROM. In this version, calibration data...
Jon Langseth [Fri, 2 Sep 2011 16:23:34 +0000 (18:23 +0200)]
Added saving to and reading from internal EEPROM. In this version, calibration data and "default model settings" are saved. Selection of models, and saving/loading of models from menu is not yet implemented.

13 years agoCreated a suggestion for two-sided shield-format PCB layout
Jon Langseth [Wed, 31 Aug 2011 16:55:44 +0000 (18:55 +0200)]
Created a suggestion for two-sided shield-format PCB layout

13 years agoMoved to new value format on model.stick. Used to be float 0..1, is not float -100...
Jon Langseth [Tue, 30 Aug 2011 16:15:28 +0000 (18:15 +0200)]
Moved to new value format on model.stick. Used to be float 0..1, is not float -100 to 100, plus a series of other fixes:

Updated process_inputs() to the new values
Added dual-rate math to process_inputs()
Updated the ISR_Timer to reflect the new value format, and added an extra sanity check
Added raw values to model datastruct for debugging
Added dumping of raw value to serial-dumping.
Tested tuning of PPM timing const's, may still be glitchy..
Moved the calibrate-trigger during startup, it did not get triggered after the change to active low logic
Removed a for-loop-limit-bug causing incorrect/invalid values for input_cal.max[0] and model.stick[0]
Changed the calibrate routine to use one int less, less code space and cycles.

13 years agoAdding some PDF Datasheets :)
Jon Langseth [Tue, 30 Aug 2011 14:58:36 +0000 (16:58 +0200)]
Adding some PDF Datasheets :)

13 years agoTrivial change: Comments preparing for value-change on model_t.stick[]
Jon Langseth [Mon, 29 Aug 2011 21:55:47 +0000 (23:55 +0200)]
Trivial change: Comments preparing for value-change on model_t.stick[]

13 years agoMerge branch 'master' of http://git.defcon.no/rctxduino
Jon Langseth [Mon, 29 Aug 2011 21:50:25 +0000 (23:50 +0200)]
Merge branch 'master' of http://git.defcon.no/rctxduino

13 years agoChanged UI buttons from Active High to Active low.
Jon Langseth [Mon, 29 Aug 2011 21:50:03 +0000 (23:50 +0200)]
Changed UI buttons from Active High to Active low.

13 years agoChanged for HIGH to LOW logic, and enabled internal pullups for the UI-buttons
Hans Åge Martinsen [Mon, 29 Aug 2011 20:16:18 +0000 (22:16 +0200)]
Changed for HIGH to LOW logic, and enabled internal pullups for the UI-buttons

13 years agoMainly data-structure changes:
Jon Langseth [Mon, 29 Aug 2011 16:38:35 +0000 (18:38 +0200)]
Mainly data-structure changes:
Restructured global variables, actively using structs
Changed a bunch of constants stored in variables to #defines
Added a bit of quasi-sane initialization of model settings
Saved about 800 bytes of memory use.

Signed-off-by: Jon Langseth <jon.langseth@lilug.no>
13 years agoInitial code import, contains "fairly runnable" RCTXDuino code.
jon.langseth@lilug.no [Mon, 29 Aug 2011 12:37:12 +0000 (14:37 +0200)]
Initial code import, contains "fairly runnable" RCTXDuino code.