Skip to main content

Messages

This section allows you to view all Messages made by this member. Note that you can only see Messages made in areas you currently have access to.

Messages - michu

31
General discussion / SPI Signal, long cable and some questions
Hey guys

I work on a led project and i'm really stuck! The main issue is, that i use a spi signal over a long distance. I'm not a electrical engineer an that's why I'm asking the community for some hints. To get help, I wrote my problem down as detailed as possible:

http://neophob.com/2012/03/lpd6803-spi- ... -distance/

It would be great if someone could take a look at this topic and give me some feedback, concreate to those questions:

-what kind of Imped­ance resistor (between gnd and clk) would you use?
-what kind of capacitor the clean out DC would you use?
-did I forget something important?
-other hints....


cheers
michu
34
Project logs / Re: Arduino Led Strip and more
Hmm the movie and images working fine for me.

the pictures with the fisheye were taken by using a gopro camera. while it was ok to take pictures, the video was unusable.

oh, and dhcp AND mdns/bonjour is the fancy stuff here, as the osc client software will "discover" your arduino without troubles! and some more pictures are available on my flickerpage at http://www.flickr.com/photos/pixelinvaders/.

cheers
35
Project logs / Arduino Led Strip and more
Hey all

I just released StripInvaders, my Arduino (Ethernet) based LED Strip (ws2801) driver. Some features:
-Bon­jour and mDNS support
-DHCP sup­port
-15 dif­fer­ent color modes
-Con­trol Strip­In­vaders with a Smart­phone or Tablet
-Step­less adjust the RGB value and the ani­ma­tion delay
-All fits into the 30kb firmware

I published the sources on https://github.com/neophob/StripInvaders. Images and a video can be found on my blog: http://neophob.com/2011/12/stripinvaders-light-system/.

cheers
38
Bus Pirate Support / Use BusPirate to upload sketches to an Arduino Ethernet
Hey guys

My Arduino Ethernet just arrived yesterday and my idea was to use my Buspirate to upload my sketches to it.

So I connected both boards together:
MISO  ->  RX
MOSI  ->  TX
CS  ->  Reset
GND  -> GND
+5V  ->  5V

and started my terminal:


Code: [Select]
HiZ>I
Bus Pirate v3
Firmware v4.2 Bootloader v4.1
DEVID:0x0447 REVID:0x3043 (B5)
http://dangerousprototypes.com
HiZ>W
No mode set, M for mode
HiZ>m
1. HiZ
2. 1-WIRE
3. UART
4. I2C
5. SPI
6. JTAG
7. RAW2WIRE
8. RAW3WIRE
9. PC KEYBOARD
10. LCD
(1) >3
Mode selected
Set serial port speed: (bps)
 1. 300
 2. 1200
 3. 2400
 4. 4800
 5. 9600
 6. 19200
 7. 38400
 8. 57600
 9. 115200
 10. 31250 (MIDI)
(1) >9
Data bits and parity:
 1. 8, NONE *default
 2. 8, EVEN
 3. 8, ODD
 4. 9, NONE
(1) >
Stop bits:
 1. 1 *default
 2. 2
(1) >
Receive polarity:
 1. Idle 1 *default
 2. Idle 0
(1) >
Select output type:
 1. Open drain (H=Hi-Z, L=GND)
 2. Normal (H=3.3V, L=GND)
(1) >
READY
UART>w
POWER SUPPLIES OFF
UART>W
POWER SUPPLIES ON
UART>(3)
UART bridge. Space continues, anything else exits.
Reset to exit.

Now I exit the terminal and switch to the Arduino 1.0 IDE, try to upload the simplest sketch possible:

Code: [Select]
void setup() {
  // put your setup code here, to run once:
}

void loop() {
  // put your main code here, to run repeatedly: 
}

well the upload process fail:


Code: [Select]
"C:_toolsarduino-1.0hardware/tools/avr/etc/avrdude.conf"

        Using Port                    : \.COM8
        Using Programmer              : arduino
        Overriding Baud Rate          : 115200
avrdude: Send: 0 [30]  [20]
avrdude: Send: 0 [30]  [20]
avrdude: Send: 0 [30]  [20]
avrdude: Recv:
avrdude: stk500_getsync(): not in sync: resp=0x00

avrdude done.  Thank you.

any hints, what I'm doing wrong?
41
Project logs / Huge Led Pixel Matrix
Hey Guys

I'm working quite some time on my Huge Pixel Matrix Project called PixelInvaders (http://http://Pixelinvaders.ch). The Software PixelController is available on Github (http://https://github.com/neophob/PixelController).

The core of the Software is written in Java (and Processing), the frontend is written in Pure Data, thus I can use the OSC protocol. I just uploaded a new Video which shows my Android Tabled and the PixelInvaders Matrix in Action:

http://http://vimeo.com/32580251.

Cheers
michu
42
General discussion / Re: usb to spi - which hardware to use
wow, thanks guys for the detailed feedback. I guess I will use an Arduino as proof of concept device - then I'll see if the SPI bus if fast enough to drive 64/256/512 leds. If thats not the case, I'll check if I find a nice PIC board.
43
General discussion / Re: usb to spi - which hardware to use
Thanks for your reply

As I switch from the rainbowduinos to the lpd6803 leds - there is no need for pwm - only spi is needed. the "new" led's (called intelligent pixels) handle all this stuff - they just need to feeded by an spi signal.
44
General discussion / Re: usb to spi - which hardware to use
the current version use the rainbowduino from seeedstudio. I uses i2c to communicate between the boards (you can chain them together). however you need one foard for 64 (rgb) pixels and the pwm (4bit) is done in software - which is not optimal, for example if I receieve data from the i2c bus (which also uses interrupts and may distort the software pwm). I wrote my own firmware (called neorainbowduino) which is basically a triple pack :
- arduino firmware (act as serial to i2c convertor plus some tools like i2c scanner)
- rainbowduino formware: display the data on the led matrix using a software pwm, 12bit per pixel
- processing library, which handle the resizing of the frame, apply a gamma tab and sends out via serial port.

i put together a small collection of "neorainbowduinos in action" at http://www.neophob.com/2011/02/neorainb ... -the-wild/.

I entered the seeedstudio contest with two entries, one was a blinkenlights movie player (using my blinkenlights processing lib) and a space invaders generator using my own 80x80cm rgb led matrix.
cheers

( ! ) Fatal error: Uncaught exception 'Elk_Exception' with message 'Please try again. If you come back to this error screen, report the error to an administrator.' in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
( ! ) Elk_Exception: Please try again. If you come back to this error screen, report the error to an administrator. in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
Call Stack
#TimeMemoryFunctionLocation
10.01572447560session_write_close ( )...(null):0
20.01602579176ElkArte\sources\subs\SessionHandler\DatabaseHandler->write( )...(null):0
30.01602579952Database_MySQL->query( ).../DatabaseHandler.php:119
40.06012718712Database_MySQL->error( ).../Db-mysql.class.php:273