Show Posts
Pages: [1]
1  Using Arduino / Displays / Re: U8glib, ST7920 (Vitek VG128647) and DUE - slow loop, unable to use hardware SPI on: May 23, 2014, 02:24:11 am
Hey there Oliver,

Thanks for your reply (and again for the library).

Oops, hadn't notice the n.a in hardware SPI box - guess, that's that.

No, I didn't have anything else in the picture loop - it was slow even with the Hello World sketch. My problem is that doing analog readings and the like in the loop (not in the picture loop, in the main loop) is held back by the picture loop. If the refresh rate is 4fps, analog readings also only happen 4 times a second. Something is taking quite long to complete in the picture loop.
 
By the way, is it normal to get the following warnings on compile with the Due:
U8glib\utility\u8g_com_arduino_st7920_spi.c.o: warning: multiple common of `u8g_data_pin'
U8glib\utility\u8g_com_arduino_st7920_custom.c.o: warning: previous common is here
U8glib\utility\u8g_com_arduino_st7920_spi.c.o: warning: multiple common of `u8g_clock_pin'
U8glib\utility\u8g_com_arduino_st7920_custom.c.o: warning: previous common is here


I've ordered one of these for testing: http://www.vitek.com.tw/graphic-module/128x64.html
 
It seems the library is quite a bit faster with the KS0108 controller.

Let's see how it goes.
2  Using Arduino / Displays / U8glib, ST7920 (Vitek VG128647) and DUE - slow loop, unable to use hardware SPI on: May 20, 2014, 01:37:38 am
First off, thanks for a great library!

I had some trouble getting my Vitek VG128647 display to work glitch free with an Arduino DUE in parallel mode. It took quite a while to figure out that on this display the PSB pin is not broken out, but is on an unmarked jumper. But after changing the jumper I finally have the display working well in software SPI mode using the following constructor:
Code:
U8GLIB_ST7920_128X64_1X u8g(18, 16, 17); // SPI Com: SCK = en = 18, MOSI = rw = 16, CS = di = 17

In soft-serial mode, the display's refresh rate is quite slow (around 4FPS). While I can work with that, the problem is that with the picture loop in the main loop, it slows the main loop down to about the same +- 4 loops a second, since the picture loop has to execute first before the loop continues. (Using 4X mode makes very little difference).

My question: is there any way to prevent the U8glib code from blocking the execution of other code in this way? I'm building audio applications, and I've had some success by making use of the DUEs numerous timers and placing my other code (button checks, analog readings, updating of LEDs) in interrupt routines. But I seem to only get away with adding two more interrupt routines in addition to the main audio one, before the audio starts to degrade.

I understand that using hardware SPI will speed up the refresh rate, but my second problem is that I can't seem to get hardware SPI to work. I used the following  constructor:
Code:
U8GLIB_ST7920_128X64_1X u8g(10); // chip select

I used the SCK an MOSI pins on the DUE's SPI header, and also tried with a number of different chip select pins, but no luck so far. Am I forgetting something?

Regards,
MS 
3  Using Arduino / Audio / Re: Groovesizer: auduino with 16-step sequencer on: March 11, 2014, 02:07:05 am
Hey Duane,

Sorry, missed your reply before. That's right - it's the Auduino's grain decay. It sounds a lot like filter cutoff to me.
4  Using Arduino / Audio / Re: Groovesizer: auduino with 16-step sequencer on: February 27, 2014, 02:21:49 am
I've just released a new kit called Groovesizer RED (http://groovesizer.com/red/) which is a lot closer to the original instrument described in this thread. The most notable differences are  that the RED also has a MIDI input port in addition to the output so it can send and receive MIDI sync, and that there are now 16 LEDs, one for each step, as opposed to the original's 8. I've also implemented a host of new features, including a Live Mode, and note entry quantized to one of 12 preset or 4 user defined scales.
5  Using Arduino / Audio / Re: Groovesizer: auduino with 16-step sequencer on: November 25, 2013, 01:02:54 am
Kits and enclosures are once again available at http://groovesizer.com/store/
6  Community / Products and Services / Groovesizer (8-bit audio platform) - kits now available. on: September 30, 2013, 10:18:55 pm
I’ve just released a DIY kit called the Groovesizer. When I wanted to start learning about DIY music electronics I got myself an Arduino Uno board and started to experiment with all of the cool audio projects that have been created for the arduino.  I thought it would be useful to make a PCB that collected all the hardware for the different projects on one board, and that one could switch between with jumpers.



Long story short, the fruit of these labors is now up for sale at http://groovesizer.com. I’m in the process of making all the design files and code available, too.

The Alpha firmware features a 32-step sequencer and (basic) 3 voice synth. More will follow soon.
7  Using Arduino / Audio / Re: Groovesizer: auduino with 16-step sequencer on: June 27, 2013, 11:34:59 pm
I've posted some videos of the evolution of this project to http://groovesizer.com.

I hope to offer kits for sale in September.
8  Using Arduino / Audio / Re: a comupter musician's lovely tune. on: April 15, 2013, 11:08:53 am
Lovely indeed! Yes, it's Bonobo - the track is "Recurring" and it's off the album "Days To Come".
https://itunes.apple.com/us/album/days-to-come/id416319613
9  Using Arduino / Audio / Re: Groovesizer: auduino with 16-step sequencer on: January 27, 2013, 11:30:47 am
@DuaneB Thanks so much! Please do, I'd be honored to have this project added to the list. I'll definitely update the code with the volatile fix, thanks for the heads-up. Actually I must thank you for the output circuit - I played with your Illutron B project just before I started this one, so I still had your output circuit on the breadboard when I started this one. I've kept it for the final design.

@Giò LFZ I'm only sending note values (fixed velocity) and duration via MIDI - no cc's, though that's a good idea for Groovesizer V2 ;^)

   
10  Using Arduino / Audio / Groovesizer: auduino with 16-step sequencer on: January 26, 2013, 11:32:11 pm
I've attached a 16-step sequencer to the original auduino.

There's a video, Fritzing breadboard schematic and download link to the arduino sketch at the link:
http://tinyurl.com/groovesizer

I hope you find it useful   smiley
11  Using Arduino / Audio / Re: WavePro Shield - Beta Testers wanted on: October 11, 2012, 10:33:51 am
This sounds right up my alley - I've sent a PM (or two?)
12  Using Arduino / Audio / Re: Arduino library for WTV020-SD-16P audio module on: September 11, 2012, 12:18:02 pm
Hey guys,

Just a big thank you to the-rebel-agent for the library. I'm totally new to the arduino and electronics, but managed to get my module up and running with very little problems. I sourced my module from the e-bay link provided earlier in this thread and changed the solder-jumper to  5v. Everything seems to be working as it should.  smiley-grin 
Pages: [1]