Show Posts
Pages: [1] 2 3 ... 37
1  Development / Other Hardware Development / Re: discussion on supporting the TI CC3000 WiFi module on: February 16, 2014, 09:32:13 pm
Sorry, I'm not following. What library are you using? Adafruit's? If so, do you mean getFirmwareVersion()? When you say "returned 10 in dec" do you mean decimal 10?

If you're saying you're using getFirmwareVersion() and you're getting back decimal 10 then something's wrong; that call returns two bytes (major and minor version). Maybe you're saying getFirmwareVersion() returns 1.10? If so then yes you'll definitely have to upgrade the firmware; 1.10 is really buggy.
2  Development / Other Hardware Development / Re: discussion on supporting the TI CC3000 WiFi module on: February 15, 2014, 01:13:32 pm
What version of firmware does the Murata report? If it's less than 1.24 then you probably need to upgrade it; older versions of the firmware can be pretty buggy.
3  Using Arduino / Networking, Protocols, and Devices / Re: trying to build the Adafruit cc3000 wifi module on: December 25, 2013, 10:31:56 am
No, Adafruit doesn't have any custom firmware for the CC3000. They do upgrade the modules from the firmware 1.10 as shipped from the factory to 1.24 (the latest), but it's the standard TI image.

Their board is based on the TI references; both the TI CC3000EM and CC3000BOOST documents have design guidelines that you may find useful.

Good luck!
4  Using Arduino / LEDs and Multiplexing / Re: How to make a 32*32 RGB LED matrix? on: December 20, 2013, 03:09:59 pm
Quote
A 32x32 RGB matrix will need 3K of RAM
I'd like to see the math behind that please, as I demonstarted that only 384 bytes are needed to hold the on/off state of 32x96 LEDs above.

You're correct you can do it with 384 bytes but as you say that only gives 1 bit per RGB LED element, which gives a gamut of 8 colors:

RGB
000 - black
001 - blue
010 - green
011 - cyan
100 - red
101 - purple
110 - yellow
111 - white

This may be acceptable for yansuck's project but in my experience most people want RGB matrixes for fancy color effects or shading etc., which requires more color depth, which requires more bits per pixel. The standard is 8 bits per element, which is how I came up with 3K needed (32 x 32 x 3). Sorry for the confusion.
5  Using Arduino / LEDs and Multiplexing / Re: How to make a 32*32 RGB LED matrix? on: December 20, 2013, 02:48:51 pm
I want to create a 32*32 RGB LED matrix with 5050 SMD LED. I have been doing research and it seems like the way to do it is to build the matrix and use multiplexing to power them. However, with multiplexing, it will require 32 out pins to power them. I am wondering if there's anyway to power such matrix with less pins?...

One option would be to use WS2812 / WS2812B LEDs, they're in the 5050 form factor but come with their own LED driver chip so they only need 1 Arduino pin. You can control them with Arduino libraries like FastSPI_LED2 or Adafruit's NeoPixel.

You will have trouble driving a matrix that size with a standard Arduino. A 32x32 RGB matrix will need 3K of RAM and the Uno, Leonardo, etc. only have 2K.

You may want to look at the Teensy 3.0 / 3.1; they have at least 16K of RAM and you can use the OctoWS2811 library to efficiently control thousands of LEDs.

Good luck!
6  Using Arduino / LEDs and Multiplexing / Re: Vector drawing in a led cube 9x9x9 on: November 29, 2013, 01:37:36 am
You want the Bresenham line algorithm for 3 dimensions:

Here's the 2D algorithm,

http://en.wikipedia.org/wiki/Bresenham's_line_algorithm#The_algorithm

But it's pretty straightforward to add the Z axis, here's an example:

http://www.ict.griffith.edu.au/anthony/info/graphics/bresenham.procs

Good luck!
7  Using Arduino / Networking, Protocols, and Devices / Re: CC3000 library Port on: October 27, 2013, 10:29:18 am
The CC3000 library from Adafruit is already ported from the original code published by Texas Instruments; my guess is you'd have an easier time porting the original code than Adafruit's because then you won't have to deal with any Arduino/ATMega specifics.

TI's Wiki is here: http://processors.wiki.ti.com/index.php/CC3000, you will probably be interested in the section "Host Driver Porting" which should be enough to get you started. They also have a forum where you'll find many threads on porting the CC3000 library to different MCUs.

Good luck!
8  Using Arduino / General Electronics / Re: Using Microchip MCP2200 instead of FTDI FT232 on: October 18, 2013, 12:24:49 am
The FT230X runs fine on both 5 and 3.3V, I've used it in circuits with both.

There's a pin change needed (3V3OUT connects to VCC for 3.3V circuits and to VCCIO for 5V) but otherwise no issues.

As macegr points out you connect RTS to the Arduino's reset since it doesn't have a DTR line, but avrdude pulses both so programming works as expected.
9  Using Arduino / LEDs and Multiplexing / Re: MPR121 touch sensor IC with matrix on: October 17, 2013, 12:13:24 pm
ok I understand, many thanks smiley
I believe this will only work using a double side pcb or something that let you place 2 sensors one on the top of the other but insulated from each other

100% correct. The traces have to be physically isolated from each other or the capacitance from one will bleed into the other.
10  Using Arduino / LEDs and Multiplexing / Re: MPR121 touch sensor IC with matrix on: October 16, 2013, 10:58:14 am
Check out this screenshot from Freescale application note AN4600, page 3.

You make a matrix of 7 tiles on one axis and 5 in the other then location is determined by which sensors are active, e.g. if 0 & 7 are active the user is pressing in the upper-left corner, if 3 & 9 are active it's a middle press, etc.

Good luck!
11  Using Arduino / Microcontrollers / Re: Teensy V3 ?? on: October 11, 2013, 02:28:38 am
I agree with everything pico says and second it.

I'll add that having 4x the Flash (128K) and 8x the RAM (16K) solves a lot of problems. Every pin supports interrupts, add a simple crystal and battery and get a real time clock, tons of GPIO pins, all in a form factor smaller than a Nano.

The only downsides I can think of are 1) It's 3.3V only and 2) the underlying MCU is ARM and not AVR, so any libraries that do weird low-level things (for example access the hardware registers to manipulate PWM timing) will have to be ported.
12  Using Arduino / LEDs and Multiplexing / Re: Breakout for the WS2812B RGB LED on: September 29, 2013, 11:05:19 pm
The data sheet problem is easy -- you don't need to read it if you don't want to. There's several good Arduino libraries to control the WS2812 and they all work with the new WS2812Bs (as you say they're pretty much just the WS2812s in a newer / more efficient form factor). The one I've worked with is the Adafruit Neopixel library (https://github.com/adafruit/Adafruit_NeoPixel) but there's also fastspi (http://code.google.com/p/fastspi/).

I found this Kickstarter project using the WS2812Bs: http://www.kickstarter.com/projects/311408456/rgb-123-led-matrices. The project is over but you could try emailing him to see if he has any of the 1x8 boards left -- you could cut them down for smaller ones.

Beyond that you'll probably have to learn how to make a PCB or pay someone to do it for you, but it sounds like you're just starting out with this project? If so you could get boards like https://www.sparkfun.com/products/11820 or http://www.adafruit.com/products/1426 for prototyping -- they use the WS2812 so the code, power requirements, etc. will be the same as with newer chips -- and by the time you're done prototyping maybe more options will be available. My guess is since the newer chips are cheaper and brigher everyone will start using them soon.

Good luck!
13  Using Arduino / LEDs and Multiplexing / Re: Breakout for the WS2812B RGB LED on: September 29, 2013, 08:27:09 pm
The WS2812Bs are pretty new, I don't know of any breakout boards for them yet.

How many LEDs are you going to use? If it's just a few, they're not too bad to hand solder onto a prototype board like one of these: http://www.futurlec.com/ProtoBoards.shtml.

If you're going to use a lot, it's pretty easy to design a board with them with Eagle etc., just tie all the +5Vs and GNDs together, give each one a decoupling capacitor, and daisy chain DOs to DIs.
14  Using Arduino / Microcontrollers / Re: Digispark - Is the internal pull up resistor good enough for a switch? on: September 22, 2013, 06:25:03 pm
You'll be fine using the internal pullup, unless it's in a very noisy environment and/or the physical switch is very far away from the microcontroller.

Good luck!
15  Development / Other Hardware Development / Re: discussion on supporting the TI CC3000 WiFi module on: September 19, 2013, 09:12:20 pm
Hello all,

I'm pleased to report I've finally got the firmware upgrade code working. This will upgrade a CC3000 to the very latest firmware (1.24).

Instructions in the readme, or feel free to hit me up here.

https://github.com/cmagagna/CC3000Patch

Good luck!
Pages: [1] 2 3 ... 37