France
Offline
Sr. Member
Karma: 8
Posts: 451
|
 |
« Reply #30 on: October 05, 2011, 05:09:32 am » |
I think I figured out what may happen to matinzk. CAUTION The latest NewSoftSerial release 11 is required for the abstraction layer. Although the library is now named SoftwareSerial, rename it to NewSoftSerial. See http://arduiniana.org/2011/01/newsoftserial-11-beta/
|
|
|
|
|
Logged
|
avenue33
|
|
|
|
|
|
France
Offline
Sr. Member
Karma: 8
Posts: 451
|
 |
« Reply #32 on: October 11, 2011, 05:55:17 am » |
The Serial_LCD library release 9 can now address 3 serial port implementations: - hardware serial,
- software serial, with NewSoftSerial release 11
- I2C serial, through the SC16IS750
The three classes are derived from the Stream class with specific functions overwritten. Code and example are available on GitHub. But including all those classes on the proxySerial library —and on the main program— is rather inelegant and redundant. So the idea would be to declare the serial port on the main program only and pass the objet on to the proxySerial. What to use : Callback? Reference? Functor? Unfortunately, such advanced concepts are out of my reach. I greatly appreciate your help! Thank you  .
|
|
|
|
« Last Edit: October 11, 2011, 06:29:26 am by avenue33 »
|
Logged
|
avenue33
|
|
|
|
France
Offline
Sr. Member
Karma: 8
Posts: 451
|
 |
« Reply #33 on: October 24, 2011, 01:08:34 pm » |
The new release 11 simplifies the declaration of the serial port. Now, the serial port, either hardware, software or I2C, is declared only once on the main sketch. There's no need to dig into the libraries.  A new function allows higher speeds than the standard 9600. I tested successfully up to 38400 with the Arduino and up to 115200 with the chipKIT. Learn more about how graphics fly!
|
|
|
|
|
Logged
|
avenue33
|
|
|
|
nr Bundaberg, Australia
Offline
Tesla Member
Karma: 75
Posts: 6976
Scattered showers my arse -- Noah, 2348BC.
|
 |
« Reply #34 on: October 24, 2011, 06:40:41 pm » |
Nice work avenue, I'll get around to using my display one day I'm sure  ______ Rob
|
|
|
|
|
Logged
|
|
|
|
|
ca
Offline
Jr. Member
Karma: 0
Posts: 62
|
 |
« Reply #35 on: October 25, 2011, 12:55:54 am » |
Great job, well done, i can't wait for more features to come.
I'm also working on something pretty nice for the display, it is hardware related. A box that will have a space for an Arduino Mini Pro, gps sensor, rtc, lipo battery and more...
Here's a very ugly rendering, a simple teaser. It's all aluminum, anodised, CNC made, half inch overall thin only. Built-in Ports are also accessible from the back. SD card has an openning. No screw visible.
|
|
|
|
|
Logged
|
|
|
|
|
France
Offline
Sr. Member
Karma: 8
Posts: 451
|
 |
« Reply #36 on: October 25, 2011, 01:12:19 am » |
You're welcome!
The box is important to keep the LCD safe.
|
|
|
|
|
Logged
|
avenue33
|
|
|
|
nr Bundaberg, Australia
Offline
Tesla Member
Karma: 75
Posts: 6976
Scattered showers my arse -- Noah, 2348BC.
|
 |
« Reply #37 on: October 25, 2011, 04:09:49 am » |
@sync Can you make the enclosure symmetrical so the display can be used horizontal or vertical?
______ Rob
|
|
|
|
|
Logged
|
|
|
|
|
ca
Offline
Jr. Member
Karma: 0
Posts: 62
|
 |
« Reply #38 on: October 25, 2011, 02:16:42 pm » |
No i can't because the SD Card access. @sync Can you make the enclosure symmetrical so the display can be used horizontal or vertical?
______ Rob
|
|
|
|
|
Logged
|
|
|
|
|
nr Bundaberg, Australia
Offline
Tesla Member
Karma: 75
Posts: 6976
Scattered showers my arse -- Noah, 2348BC.
|
 |
« Reply #39 on: October 25, 2011, 07:11:54 pm » |
Yes I see, what about making it smaller on that axis so the two "sides" are the same width. Mini Pro, gps sensor, rtc, lipo battery and more Specific mounting holes for these items or generic? ______ Rob
|
|
|
|
|
Logged
|
|
|
|
|
ca
Offline
Jr. Member
Karma: 0
Posts: 62
|
 |
« Reply #40 on: October 25, 2011, 08:48:36 pm » |
The display viewing Area is not centered on that axis. Keep in mind that the overall size is 2.75 in (70mm) by 3.15 in (80mm) Space inside is very limited, i'm not sure yet about these mounting holes. Yes I see, what about making it smaller on that axis so the two "sides" are the same width. Mini Pro, gps sensor, rtc, lipo battery and more Specific mounting holes for these items or generic? ______ Rob
|
|
|
|
|
Logged
|
|
|
|
|
nr Bundaberg, Australia
Offline
Tesla Member
Karma: 75
Posts: 6976
Scattered showers my arse -- Noah, 2348BC.
|
 |
« Reply #41 on: October 25, 2011, 09:31:45 pm » |
The display viewing Area is not centered on that axis. Yep, I forgot about the icon strip down one side. i'm not sure yet about these mounting holes. Personally I'd make a custom board to fit if such a neat-looking enclosure was available, so just a few generic mounts would be OK for that. In fact unless you stipulate the exact model of GPS, RTC etc (which would be very limiting) I think generic is what you have to do. Have you approached 4DS about sponsoring this? I know they are inclined to get involved if they like a project. ______ Rob
|
|
|
|
|
Logged
|
|
|
|
|
France
Offline
Sr. Member
Karma: 8
Posts: 451
|
 |
« Reply #42 on: November 02, 2011, 05:17:07 am » |
Thanks to the work of the chipKIT / MPIDE team, the hardware serial class for the chipKIT platform is derived now from the Stream class as NewSoftSerial and i2cSerial are. More important for LCD_Serial, the new release 13 offers multiple options: hardware, software and I2C serial ports can be used to drive the screen. Learn more about the multiple serial options with examples!
|
|
|
|
|
Logged
|
avenue33
|
|
|
|
France
Offline
Sr. Member
Karma: 8
Posts: 451
|
 |
« Reply #43 on: November 09, 2011, 01:09:54 pm » |
This new release 14 brings some novelties: - proxySerial library is now a stand-alone library.
- It can now be used by other libraries, as Serial_GPS.
- It includes utilities like ftoa
Let's have some fun! I ported this game of life and it runs pretty fast on the chipKIT. Integers only, pixels updated if changed, fast serial at 115200.  More details on my website. Enjoy!
|
|
|
|
|
Logged
|
avenue33
|
|
|
|
France
Offline
Sr. Member
Karma: 8
Posts: 451
|
 |
« Reply #44 on: November 21, 2011, 12:46:34 pm » |
Please find a tutorial for the Serial_LCD library: • Tutorial part 1 — Back to Basics• Tutorial part 2 — Playing with Serial PortsEnjoy 
|
|
|
|
« Last Edit: November 24, 2011, 06:22:11 am by avenue33 »
|
Logged
|
avenue33
|
|
|
|
|