<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Arduino</title><link>https://sourceforge.net/p/opentrv/wiki/Arduino/</link><description>Recent changes to Arduino</description><atom:link href="https://sourceforge.net/p/opentrv/wiki/Arduino/feed" rel="self"/><language>en</language><lastBuildDate>Sat, 14 Feb 2015 13:34:21 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/opentrv/wiki/Arduino/feed" rel="self" type="application/rss+xml"/><item><title>Arduino modified by Damon Hart-Davis</title><link>https://sourceforge.net/p/opentrv/wiki/Arduino/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v63
+++ v64
@@ -159,11 +159,13 @@

 7 Start the Arduino serial monitor (Tools ---&amp;gt; Serial Monitor) or shift-ctrl-M

-8 Run this terminal command to configure the USB serial port
+8 (For command-line access run this terminal command to configure the USB serial port

     stty -F /dev/ttyUSB0 cs8 4800 ignbrk -brkint -icrnl -imaxbel -opost -onlcr -isig -icanon -iexten -echo -echoe -echok -echoctl -echoke noflsh -ixon -crtscts

-9 Select 4800 baud in the bottom right hand corner menu of the Serial Monitor
+  but not needed just for IDE use.)
+
+9 Select 4800 baud in the bottom right hand corner menu of the Serial Monitor and newline only for line endings.

 10 You should see a screen similar to this:

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Damon Hart-Davis</dc:creator><pubDate>Sat, 14 Feb 2015 13:34:21 -0000</pubDate><guid>https://sourceforge.net85de877dab56cccef0f949911c67fc876a8acfbc</guid></item><item><title>Arduino modified by Damon Hart-Davis</title><link>https://sourceforge.net/p/opentrv/wiki/Arduino/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v62
+++ v63
@@ -203,9 +203,13 @@

     screen /dev/tty.usbserial-FTGACM4G 4800

-(your exact ID/path will differ).
+(your exact ID/path will differ)
+
+to set 4800 baud, 8 bits, no parity, one stop bit.

 Though if you want to send multi-character commands interactively you may be better preparing them elsewhere and cut-n-pasting them in, including trailing line-end, in one go.
+
+You should also set line endings (eg in the IDE serial monitor) to newline (NL or \n) only.

 Updates
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Damon Hart-Davis</dc:creator><pubDate>Sat, 14 Feb 2015 13:31:44 -0000</pubDate><guid>https://sourceforge.net14f07e87edc6522deea32947c57bd0c6d4e9295b</guid></item><item><title>Arduino modified by Damon Hart-Davis</title><link>https://sourceforge.net/p/opentrv/wiki/Arduino/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v61
+++ v62
@@ -108,6 +108,43 @@

 3 Download this bootloader [atmega328_1b.hex](http://www.earth.org.uk/OpenTRV/Arduino/bootloader/ATmega328P-1MHz/atmega328_1b.hex)

+Here is its content:
+
+    :107E0000112484B714BE81FFE6D085E08093810001
+    :107E100082E08093C00088E18093C10086E0809377
+    :107E2000C20089E18093C4008EE0BFD0259A86E02D
+    :107E300023EC3FEF91E0309385002093840096BBC4
+    :107E4000B09BFECF1D9AA8958150A9F7EE24FF2480
+    :107E5000AA24A394B5E0CB2EA1E1BA2EF3E0DF2E45
+    :107E600098D0813461F495D0082FA5D0023829F13B
+    :107E7000013811F485E001C083E083D07FC08234F3
+    :107E800011F484E103C0853419F485E09CD076C0F8
+    :107E9000853579F47ED0E82EFF247BD0082F10E0C2
+    :107EA000102F00270E291F29000F111F84D07801E1
+    :107EB00065C0863521F484E086D080E0DECF84364C
+    :107EC00009F040C066D065D0082F63D080E0E81686
+    :107ED00080E7F80618F4F701D7BEE895C0E0D1E0D6
+    :107EE00058D089930C17E1F7F0E0EF16F0E7FF06A2
+    :107EF00018F0F701D7BEE8955ED007B600FCFDCFBD
+    :107F0000A701A0E0B1E02C9130E011968C9111977F
+    :107F100090E0982F8827822B932B1296FA010C0160
+    :107F2000A7BEE89511244E5F5F4FF1E0A038BF0770
+    :107F300051F7F701C7BEE89507B600FCFDCFB7BE05
+    :107F4000E8951CC0843761F424D023D0082F21D0B9
+    :107F500032D0F70185917F0114D00150D1F70EC0C6
+    :107F6000853739F428D08EE10CD085E90AD08FE02E
+    :107F700084CF813511F488E018D01DD080E101D084
+    :107F80006FCF982F8091C00085FFFCCF9093C600E3
+    :107F900008958091C00087FFFCCF8091C00084FDD0
+    :107FA00001C0A8958091C6000895E0E6F0E098E150
+    :107FB000908380830895EDDF803219F088E0F5DF4B
+    :107FC000FFCF84E1DECF1F93182FE3DF1150E9F7D5
+    :107FD000F2DF1F910895282E80E0E7DFEE27FF27CC
+    :027FE000099402
+    :027FFE0000057C
+    :0400000300007E007B
+    :00000001FF
+
 Copy the file to /usr/share/arduino/hardware/arduino/bootloaders/atmega/

     sudo cp atmega328_1b.hex /usr/share/arduino/hardware/arduino/bootloaders/atmega/atmega328_1b.hex
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Damon Hart-Davis</dc:creator><pubDate>Sat, 14 Feb 2015 13:25:20 -0000</pubDate><guid>https://sourceforge.net509afc425cd9f7dcd71d0738238f33f1ba91d3e8</guid></item><item><title>Arduino modified by Damon Hart-Davis</title><link>https://sourceforge.net/p/opentrv/wiki/Arduino/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v60
+++ v61
@@ -155,14 +155,18 @@
 15 It will take a few minutes and then you are good to go. Unplug the FTDI cable, power it up in place and control your TRVs. On! Off! On! Off!

-Linux Command-line Connection to OpenTRV
-----------------------------------------
+Linux/OSX/*nix Command-line Connection to OpenTRV
+--------------------------------------------------

 You may be able to just plug in an FTDI cable and do something as simple as:

     screen /dev/serial/by-id/usb-FTDI_TTL232R-3V3_FTGW5R3C-if00-port0 4800

-(your exact ID/name will differ).
+or:
+
+    screen /dev/tty.usbserial-FTGACM4G 4800
+
+(your exact ID/path will differ).

 Though if you want to send multi-character commands interactively you may be better preparing them elsewhere and cut-n-pasting them in, including trailing line-end, in one go.

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Damon Hart-Davis</dc:creator><pubDate>Sun, 13 Apr 2014 17:14:47 -0000</pubDate><guid>https://sourceforge.netab375ab0c142c60de1540a1660b19dbdaca8e7bd</guid></item><item><title>Arduino modified by Damon Hart-Davis</title><link>https://sourceforge.net/p/opentrv/wiki/Arduino/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v59
+++ v60
@@ -160,8 +160,11 @@

 You may be able to just plug in an FTDI cable and do something as simple as:

-  screen /dev/serial/by-id/usb-FTDI_TTL232R-3V3_FTGW5R3C-if00-port0 4800
-
+    screen /dev/serial/by-id/usb-FTDI_TTL232R-3V3_FTGW5R3C-if00-port0 4800
+
+(your exact ID/name will differ).
+
+Though if you want to send multi-character commands interactively you may be better preparing them elsewhere and cut-n-pasting them in, including trailing line-end, in one go.

 Updates
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Damon Hart-Davis</dc:creator><pubDate>Sun, 13 Apr 2014 17:07:05 -0000</pubDate><guid>https://sourceforge.net43d7b9bab77f523cc50513eaebc724578f82eaa1</guid></item><item><title>Arduino modified by Damon Hart-Davis</title><link>https://sourceforge.net/p/opentrv/wiki/Arduino/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v58
+++ v59
@@ -155,6 +155,14 @@
 15 It will take a few minutes and then you are good to go. Unplug the FTDI cable, power it up in place and control your TRVs. On! Off! On! Off!

+Linux Command-line Connection to OpenTRV
+----------------------------------------
+
+You may be able to just plug in an FTDI cable and do something as simple as:
+
+  screen /dev/serial/by-id/usb-FTDI_TTL232R-3V3_FTGW5R3C-if00-port0 4800
+
+

 Updates
 -------
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Damon Hart-Davis</dc:creator><pubDate>Sun, 13 Apr 2014 17:05:16 -0000</pubDate><guid>https://sourceforge.netb40dfa36fca2d3b3602733fc4117f9ca47cd7955</guid></item><item><title>Arduino modified by mark hill</title><link>https://sourceforge.net/p/opentrv/wiki/Arduino/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v57
+++ v58
@@ -132,7 +132,7 @@

 &lt;&lt; TODO: paste screenshot here &gt;&gt;

-Any time you plug in the FTDI cable, the board will reset and display the POST sequence again
+Any time you plug in the FTDI cable or close and reopen the Arduino IDE serial monitor window, the board will reset and display the POST sequence again

 11 Congratulations! You can now talk to your OpenTRV controller. Here's a useful page on the [[TODO: debugging interface | &lt;/pre&gt;&lt;pre&gt;]]

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">mark hill</dc:creator><pubDate>Thu, 02 Jan 2014 14:50:15 -0000</pubDate><guid>https://sourceforge.net48dff8a34bea3f05315641c1cf0459ac0bfd49aa</guid></item><item><title>Arduino modified by mark hill</title><link>https://sourceforge.net/p/opentrv/wiki/Arduino/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v56
+++ v57
@@ -116,7 +116,7 @@

 Tools ---&gt; Board ---&gt; Optiboot 5 for bare 328P, 1MHz internal clock, fast start, 1.8V BOD, 4800baud upload, c/o tim7 20130416

-5 Plug in the FTDI cable to your OpenTRV controller. Note which pin is 5V (pin 1) and which is GND (pin 6)
+5 Plug in the FTDI cable to your OpenTRV controller. Note which pin is 5V and which is GND

 6 Select Tools ---&gt; Serial Port ---&gt; /dev/ttyUSB0

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">mark hill</dc:creator><pubDate>Thu, 02 Jan 2014 14:48:28 -0000</pubDate><guid>https://sourceforge.net4cca995e05725a7adbc8a66943fe096495dc4fb3</guid></item><item><title>Arduino modified by mark hill</title><link>https://sourceforge.net/p/opentrv/wiki/Arduino/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v55
+++ v56
@@ -110,7 +110,6 @@

 Copy the file to /usr/share/arduino/hardware/arduino/bootloaders/atmega/

-    cd ~/Downloads
     sudo cp atmega328_1b.hex /usr/share/arduino/hardware/arduino/bootloaders/atmega/atmega328_1b.hex

 4 Fire up the Arduino IDE and plug in your board. Select
@@ -147,9 +146,9 @@

 13 Open the project in the Arduino IDE

- File ---&gt; Open ---&gt; &lt;/pre&gt;&lt;pre&gt;/V0p2_Main.ino
+ File ---&gt; Open ---&gt; whereever you placed the subversion export/V0p2_Main.ino

-14 Upload the code onto your attached OpenTRV controller
+14 From the V0p2_Main.ino window, upload the code onto your attached OpenTRV controller

  File --&gt; Upload (or ctrl+U) 

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">mark hill</dc:creator><pubDate>Thu, 02 Jan 2014 14:36:58 -0000</pubDate><guid>https://sourceforge.net0169541ed04697db32f009cc188c4ba11822c47b</guid></item><item><title>Arduino modified by mark hill</title><link>https://sourceforge.net/p/opentrv/wiki/Arduino/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">mark hill</dc:creator><pubDate>Thu, 02 Jan 2014 14:33:51 -0000</pubDate><guid>https://sourceforge.net38b7f47eba432d43bc59b6c25546e5a7df30a117</guid></item></channel></rss>