Show Posts
Pages: [1] 2 3 ... 8
1  Using Arduino / Programming Questions / Re: OBD2->megalogger sketch->2.8" TFT error on: February 08, 2014, 09:57:10 pm
Seems you didn't import MultiLCD library. The library can be obtained here:
https://github.com/stanleyhuangyc/MultiLCD
2  Development / Other Hardware Development / Project Freematics on Kickstarter right now on: January 20, 2014, 07:29:48 pm
As my first Kickstarter campaign, Freematics aims at making it possible, accessible, and affordable to carry out vehicle telematics projects with open-source hardware especially Arduino.

Everything started from a hobby Arduino project which was about accessing vehicle's OBD-II data with Arduino.

The core of the project is the Freematics OBD-II Adapter which is actully an Arduino-compatible device with integrated peripherals including 6-axis motion sensor, microSD, Bluetooth Low Energy module and 10Hz GPS.



If you like this project or want to know more about it, please head for Kickstarter to give us a boost!
3  Products / Arduino Due / Re: Problem connecting DUE and MEGA 2560 with I2C on: January 07, 2014, 02:37:42 am
This sounds a good explanation. Luckily my DUE is not damaged.
4  Products / Arduino Due / Problem connecting DUE and MEGA 2560 with I2C on: January 06, 2014, 08:06:22 am
I was trying to connect a DUE and a MPEG 2560 with I2C. I connected pin 20, pin 21 and GND of the two boards together. I used Wire library. The problem is that MEGA 2560 is able to receive data from DUE, but when MEGA was sending data back to DUE, it always fails. Any one got any idea about this?
5  Development / Other Software Development / Re: CodeBlocks Arduino IDE - real C++ IDE for Arduino development (rev.20130428) on: November 22, 2013, 05:25:35 am
I remember I have fixed a similar issue in the latest version. Which version are you using?
6  Products / Arduino Due / DUE compatible library for SPI TFT LCD module on: November 16, 2013, 08:57:00 pm
I have been working on MultiLCD, an Arduino library that supports easy text displaying and bitmap drawing on several display modules (LCD/OLED/TFT). Recently I've made it working on Arduino DUE and added support for ILI9341, controller for some SPI TFT LCD modules.

The library code is hosted on github.

The demo sketch is like this:
Code:
#include <Wire.h>
#include <SPI.h>
#include <MultiLCD.h>

LCD_ILI9341 lcd; /* for 2.2" SPI TFT module */

static const PROGMEM uint8_t smile[48 * 48 / 8] = {
0x00,0x00,0x00,0x00,0x00,0x00,0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,0xE1,0xF0,0xF8,0xFC,0xFF,0xFF,0xFF,0x7F,0x3F,0x0F,0x03,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x03,0x07,0x0F,0x1F,0x1F,0x3F,0x3F,0x7F,0x7F,0x7E,0xFE,0xFE,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFE,0xFE,0x7E,0x7F,0x7F,0x3F,0x3F,0x1F,0x1F,0x0F,0x07,0x03,0x01,0x00,0x00,0x00,0x00,0x00,0x00,
};

void setup()
{
lcd.begin();
}

void loop()
{
lcd.backlight(false);

lcd.clear();
lcd.setTextColor(255, 255, 0);
lcd.draw(smile, 0, 0, 48, 48);

lcd.setTextColor(255, 255, 255);
lcd.setCursor(0, 10);
lcd.setFont(FONT_SIZE_SMALL);
lcd.print("Hello, world!");

lcd.setTextColor(255, 0, 255);
lcd.setCursor(0, 11);
lcd.setFont(FONT_SIZE_MEDIUM);
lcd.print("Hello, world!");

lcd.setTextColor(255, 0, 0);
lcd.setCursor(0, 13);
lcd.setFont(FONT_SIZE_SMALL);
lcd.printLong(1234567890);

lcd.setTextColor(0, 255, 0);
lcd.setCursor(0, 14);
lcd.setFont(FONT_SIZE_MEDIUM);
lcd.printLong(1234567890);

lcd.setTextColor(0, 0, 255);
lcd.setCursor(0, 16);
lcd.setFont(FONT_SIZE_LARGE);
lcd.printLong(12345678);

lcd.setTextColor(0, 255, 255);
lcd.setCursor(0, 18);
lcd.setFont(FONT_SIZE_XLARGE);
lcd.printLong(12345678);

lcd.backlight(true);

delay(10000);
}
7  Using Arduino / Interfacing w/ Software on the Computer / Re: Open-source command line Arduino sketch compiler & uploader on: September 05, 2013, 11:52:12 pm
As it is open source, you can grab the source and compile yourself.
https://github.com/stanleyhuangyc/ArduinoUploader
8  Using Arduino / Interfacing w/ Software on the Computer / Re: Open-source command line Arduino sketch compiler & uploader on: September 05, 2013, 11:51:13 pm
Are you downloading from the official source? I guess not. Because it release a zip file, so it won't add anything to your system.
9  Development / Other Software Development / Re: CodeBlocks Arduino IDE - real C++ IDE for Arduino development (rev.20130428) on: August 16, 2013, 09:49:49 pm
The simulation code is in the core files (a different version). There is no need to rebuild. It is built and linked with sketch.
10  Community / Products and Services / Re: Data logger shield for Arduino (with BLE/BT) on: August 09, 2013, 12:33:08 am
There is sample source code for iOS on my website.

Phones support BLE.
Is there any documentation available showing how to define/access characteristics using this shield?
11  Community / Products and Services / Re: Data logger shield for Arduino (with BLE/BT) on: August 08, 2013, 11:28:27 pm
Thanks. I suggest you making sure whether your phone supports BT 2.1 or BT 4.0 (BLE). Most android phones do not support BLE.
12  Community / Products and Services / Data logger shield for Arduino (with BLE/BT) on: August 08, 2013, 06:24:46 pm
Hi guys, I have just designed and made a data logger shield for Arduino. It can be useful for putting up a full-featured data logger device based on Arduino, with convenient I/O extension, with massive storage and Bluetooth connectivity. The shield works with Arduino UNO/Duemilanove/Leonardo and more dedicatedly Compact MEGA 2560.


The shield features:

  • MicroSD/TF card socket
  • Serial UART socket (GND,VCC,Tx,Rx) x 2
  • I2C socket (GND,VCC,SDA,SCL) x 2
  • Digital I/O breakout pins x 2
  • Analog I/O breakout pins x 4
  • Onboard BLE (Bluetooth Low Energy) or Bluetooth 2.1 (optional)
  • 5v/3.3v VCC switchable for I2C (via jumpers)
  • Additional shield stackable

Onboard BLE (Bluetooth Low Energy)

The onboard BLE module provides Arduino with transparent serial communication with BLE-enabled device (iPhone 4S/5, iPad 4, iPad Mini etc.). The BLE module is based on TI CC2540. The Tx & Rx of the BLE module are wired to A2 & A3 of Arduino UNO/Duemilanove/Leonardo or A8 & A9 of Compact MEGA 2560.

To perform wireless communication with mobile devices, all needed to do on Arduino side is serial communcation with SoftwareSerial. Please note that the maximum length of data sent at one time is up to 20 bytes.

Code:
SoftwareSerial mySerial(A8, A9); /* for BLE Shield on MEGA*/
...
mySerial.begin(9600);
mySerial.print("Hello BLE device!");

For more information, please refer to this page.
13  Development / Other Software Development / Re: CodeBlocks Arduino IDE - real C++ IDE for Arduino development (rev.20130428) on: July 20, 2013, 12:24:50 am
So error only occurs when you use Arduino Builder manually?
I recommend downloading a complete Arduino Builder if you want to use it manually.
http://www.downloadbestsoft.com/Arduino-Builder.html
14  Development / Other Software Development / Re: CodeBlocks Arduino IDE - real C++ IDE for Arduino development (rev.20130428) on: July 19, 2013, 11:24:59 pm
Did you choose the board type?
15  Development / Other Hardware Development / Re: Introducing the OBD-II UART Adapter for Arduino (with built-in MPU-6050) on: June 24, 2013, 10:16:10 pm
I think other handheld products may suit your needs better.
Pages: [1] 2 3 ... 8