New Posts  All Forums:Forum Nav:

OCN Arduino Club

post #1 of 13
Thread Starter 
Any interest? biggrin.gif I recently got into the world of microprocessors through the Arduino.. will probably start playing with the TI Launchpad soon thumb.gif
Needs More Red
(22 items)
 
  
CPUMotherboardGraphicsRAM
i7 3770k Asrock Z77 Extreme4 EVGA GTX 570 4GB G.Skill Ripjaw DDR3-1600 
RAMRAMRAMHard Drive
4GB G.Skill Ripjaw DDR3-1600 4GB Samsung DDR3-1600 Low Voltage 4GB Samsung DDR3-1600 Low Voltage 1TB Samsung F3 
Hard DriveHard DriveOptical DriveOptical Drive
2TB Samsung F4 OCZ Agility 3 256GB Samsung 24x DVD+-RW Lite-On 12x Bluray Burner 
CoolingOSMonitorPower
Coolermaster Hyper 212 EVO Windows 7 Pro x64 Yamakasi Catleap Q270 Antec TruePower 650W 
CaseMouseMouse PadAudio
Thermaltake V4 Black Razer Imperator 4G Steelseries QCK Ultrasone Pro 900 
Audio
Fiio E17 
  hide details  
Reply
Needs More Red
(22 items)
 
  
CPUMotherboardGraphicsRAM
i7 3770k Asrock Z77 Extreme4 EVGA GTX 570 4GB G.Skill Ripjaw DDR3-1600 
RAMRAMRAMHard Drive
4GB G.Skill Ripjaw DDR3-1600 4GB Samsung DDR3-1600 Low Voltage 4GB Samsung DDR3-1600 Low Voltage 1TB Samsung F3 
Hard DriveHard DriveOptical DriveOptical Drive
2TB Samsung F4 OCZ Agility 3 256GB Samsung 24x DVD+-RW Lite-On 12x Bluray Burner 
CoolingOSMonitorPower
Coolermaster Hyper 212 EVO Windows 7 Pro x64 Yamakasi Catleap Q270 Antec TruePower 650W 
CaseMouseMouse PadAudio
Thermaltake V4 Black Razer Imperator 4G Steelseries QCK Ultrasone Pro 900 
Audio
Fiio E17 
  hide details  
Reply
post #2 of 13
Ive got one! Havent had a ton of time to play around with it, but the programming is pretty easy for beginners. Im currently playing with turning it into a networked remote control. Then I will turn my android into a controller thumb.gif
My System
(13 items)
 
  
CPUMotherboardGraphicsRAM
i7 2600k ASRock P67 Extreme 4 MSI Cyclone GTX 460 SLI Corsair Vengeance 16GB 
Hard DriveOSMonitorKeyboard
OCZ Solid 3 SSD Windows 7 Professional (x64) Three Dell U2312HM Microsoft Sidewinder x4 
PowerCaseMouse
Corsair TX850 Lian-Li PC-K57 Razor Deathadder Black Edition 
  hide details  
Reply
My System
(13 items)
 
  
CPUMotherboardGraphicsRAM
i7 2600k ASRock P67 Extreme 4 MSI Cyclone GTX 460 SLI Corsair Vengeance 16GB 
Hard DriveOSMonitorKeyboard
OCZ Solid 3 SSD Windows 7 Professional (x64) Three Dell U2312HM Microsoft Sidewinder x4 
PowerCaseMouse
Corsair TX850 Lian-Li PC-K57 Razor Deathadder Black Edition 
  hide details  
Reply
post #3 of 13
Got one, started for a project in school (robot that balances itself on a ball), but some of the team-members didn't pull through with their part frown.gif

Still, pretty awesome board, not sure if its enough for a club though.
Back in Black
(13 items)
 
  
CPUMotherboardGraphicsRAM
AMD Phenom II X4 965 BE (C3) Biostar TA790GX A3+ Sapphire HD 5770 (v2) CORSAIR XMS3 4GB DDR3 
Hard DriveOptical DriveOSMonitor
WD Caviar Black 640GB Sony Optiarc CD/DVD RW Windows 7 Ultimate x64 NEC MultiSync LCD 1960NXi 
KeyboardPowerCaseMouse
Microsoft Comfort Curve Keyboard 2000 Corsair 650TX Cooler Master Storm Scout Logitech MX 400 Laser 
  hide details  
Reply
Back in Black
(13 items)
 
  
CPUMotherboardGraphicsRAM
AMD Phenom II X4 965 BE (C3) Biostar TA790GX A3+ Sapphire HD 5770 (v2) CORSAIR XMS3 4GB DDR3 
Hard DriveOptical DriveOSMonitor
WD Caviar Black 640GB Sony Optiarc CD/DVD RW Windows 7 Ultimate x64 NEC MultiSync LCD 1960NXi 
KeyboardPowerCaseMouse
Microsoft Comfort Curve Keyboard 2000 Corsair 650TX Cooler Master Storm Scout Logitech MX 400 Laser 
  hide details  
Reply
post #4 of 13
My tech club has an Uno that our circuitry division shares.
post #5 of 13
I'm planning to get one at some point. It's pretty cool from what I've seen. Gonna keep checking this thread. Would be good to get some links and stuff in the OP.
buka
(17 items)
 
  
Reply
buka
(17 items)
 
  
Reply
post #6 of 13
I would be in. Had to program for brother who picked one up for a project of his. Programming them was a nice change, from what I have worked with.
    
CPUMotherboardGraphicsRAM
Athlon(tm) II X4 640 Msi 880GM-E41 EVGA 9800 GT G.SKILL Ripjaws 4GB 
Hard DriveOptical DriveOSOS
Seagate Unknown Windows 7 Professional (64-Bit) Ubuntu 11.10 x86 (Debian Linux) 
MonitorKeyboardPowerCase
Dell Logitech G15 Kingwin 730-Watt Rosewell 
Mouse
Trust Predator 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
Athlon(tm) II X4 640 Msi 880GM-E41 EVGA 9800 GT G.SKILL Ripjaws 4GB 
Hard DriveOptical DriveOSOS
Seagate Unknown Windows 7 Professional (64-Bit) Ubuntu 11.10 x86 (Debian Linux) 
MonitorKeyboardPowerCase
Dell Logitech G15 Kingwin 730-Watt Rosewell 
Mouse
Trust Predator 
  hide details  
Reply
post #7 of 13
I want to be in.
I've built an ROV with an Arduino Mega as the CPU.
There was however lots of problems with serial connection though
BlackDog
(13 items)
 
  
CPUMotherboardGraphicsRAM
Core 2 Quad Q9300 MSI P7N-SLI EVGA GTS250 512mb 4GB OCZ SLI 1066mhz 
Hard DriveOSPowerCase
1 TB WD SATA Windows 7 Corsair 750HX Thermaltake M9 
  hide details  
Reply
BlackDog
(13 items)
 
  
CPUMotherboardGraphicsRAM
Core 2 Quad Q9300 MSI P7N-SLI EVGA GTS250 512mb 4GB OCZ SLI 1066mhz 
Hard DriveOSPowerCase
1 TB WD SATA Windows 7 Corsair 750HX Thermaltake M9 
  hide details  
Reply
post #8 of 13
I'm in. thumb.gif I just got myself an UNO and I am building a MIDI controller that is basically going to be an array of knobs (potentiometers) that I can use to control virtual synth parameters.

I've got it working with one knob - so the next step will be multiplexing the analog inputs and finally figuring out how to change the firmware of the USB controller so I can send MIDI over USB and not have to use a midi cable. Anyone done this or know of any guides for doing this? Info on the net seems to be pretty sparse.
sleeper cell
(10 items)
 
  
CPUMotherboardGraphicsRAM
Phenom II X4 840 ASUS M4A89GTD-PRO/USB3 890GX (integrated) G.Skill ECO DDR3 1600 CL8 1.35V 
Hard DriveHard DriveHard DriveOS
Samsung 830 SSD OCZ Onyx solid state WD Caviar Black Win7 64bit 
CaseAudio
Define R4 M-Audio Pro USB 
  hide details  
Reply
sleeper cell
(10 items)
 
  
CPUMotherboardGraphicsRAM
Phenom II X4 840 ASUS M4A89GTD-PRO/USB3 890GX (integrated) G.Skill ECO DDR3 1600 CL8 1.35V 
Hard DriveHard DriveHard DriveOS
Samsung 830 SSD OCZ Onyx solid state WD Caviar Black Win7 64bit 
CaseAudio
Define R4 M-Audio Pro USB 
  hide details  
Reply
post #9 of 13
--48 pot MIDI controller--

Forgive my extreme programming ignorance -- I am just starting to learn. I did take a intro to PHP class a couple semester ago... Anyway my project uses the Arduino UNO and 3 16-channel multiplexers (Texas Instruments CD74HC4067). I am also using the MocoLUFA firmware to send MIDI over USB. The code I have written works, but the output is kinda slow - I'm guessing because it's doing 48 loops for each of the 48 loops. Here's the code, hopefully you understand what I'm getting at -- I know there are probably much better ways to do this - so help me out please:
Code:
int input[] = {
B00000000,
B00000001,
B00000010,
B00000011,
B00000100,
B00000101,
B00000110,
B00000111,
B00001000,
B00001001,
B00001010,
B00001011,
B00001100,
B00001101,
B00001110,
B00001111,
B00000000,
B00010000,
B00100000,
B00110000,
B01000000,
B01010000,
B01100000,
B01110000,
B10000000,
B10010000,
B10100000,
B10110000,
B11000000,
B11010000,
B11100000,
B11110000,
B00000000,
B00000001,
B00000010,
B00000011,
B00000100,
B00000101,
B00000110,
B00000111,
B00001000,
B00001001,
B00001010,
B00001011,
B00001100,
B00001101,
B00001110,
B00001111,};  //set array of port values, 0-15 are PORTB pins 8-11, 16-31 are PORTD pins 4-7, 32-47 are PORTC pins 0-1 and PORTD pins 2-3

int val0;
int val1;
int val2;  //initialize analogRead value variables
int chanVal[48]; //initialize array to hold all 48 values to compare with old values
int oldChanVal[48];  //initialize array to hold all 48 old values to compare with new values

void setup(){

DDRB = B00001111;  // set PORTB (digital pins 8-11) to output
PORTB = B00000000;  // set PORTB to LOW
DDRD = DDRD | B11111100;  // set PORTD (digital pins 2-7) to output while making sure not to change pins 0 and 1 (TX and RX)
PORTD = B00000000;  // set PORTD to LOW
DDRC = DDRC | B000011;  // set PORTC (analog pins 0-1) to output 
PORTC = B000000;  // set PORTC to LOW
Serial.begin(38400);  //set this to 31250 for MIDI
}

void loop(){

for(int a=0; a < 48; a++){  //loop through all 48 channels
  
  for(int i=0; i < 16; i++){  //loop through first 16 channels to change PORTB value and assign val0 to chanVal array
    val0 = map(analogRead(A2), 0, 1023, 0, 127);  
    PORTB = input[i];
    chanVal[i] = val0;
  }
  
  for(int j=16; j < 32; j++){  //loop through 2nd 16 channels to change PORTD value and assign val1 to chanVal array
    val1 = map(analogRead(A3), 0, 1023, 0, 127);  
    PORTD = input[j];
    chanVal[j] = val1;
  }
  
  for(int k=32; k < 48; k++){  //loop through 3rd 16 channels to change PORTC and PORTD value and assign val2 to chanVal array
    val2 = map(analogRead(A4), 0, 1023, 0, 127);  
    PORTC = input[k];
    PORTD = input[k];
    chanVal[k] = val2;
  }
  
  if(abs(chanVal[a] - oldChanVal[a]) > 1){  //test to see if any of the values in the chanVal array have changed by more than one -- if so, print
    Serial.print(0xB0);
    Serial.print("::");
    Serial.print(a);
    Serial.print("::");
    Serial.println(chanVal[a]);
  }
  
  oldChanVal[a] = chanVal[a]; //assign chanVal values to oldChanVal before starting over
}

delay(4);
}
  







Edited by monoLab - 10/26/12 at 9:27pm
sleeper cell
(10 items)
 
  
CPUMotherboardGraphicsRAM
Phenom II X4 840 ASUS M4A89GTD-PRO/USB3 890GX (integrated) G.Skill ECO DDR3 1600 CL8 1.35V 
Hard DriveHard DriveHard DriveOS
Samsung 830 SSD OCZ Onyx solid state WD Caviar Black Win7 64bit 
CaseAudio
Define R4 M-Audio Pro USB 
  hide details  
Reply
sleeper cell
(10 items)
 
  
CPUMotherboardGraphicsRAM
Phenom II X4 840 ASUS M4A89GTD-PRO/USB3 890GX (integrated) G.Skill ECO DDR3 1600 CL8 1.35V 
Hard DriveHard DriveHard DriveOS
Samsung 830 SSD OCZ Onyx solid state WD Caviar Black Win7 64bit 
CaseAudio
Define R4 M-Audio Pro USB 
  hide details  
Reply
post #10 of 13
IIRC analogRead is not something you want to be doing a lot if you're wanting fast code.
Here's a picture of my array of Arduino related devices (excuse really crummy phone picture, was the front facing camera because I've managed to break the back one redface.gif):
Arduinos.jpg
    
CPUMotherboardGraphicsGraphics
AMD Athlon II X4 630 Asus Crosshair V MSI GTX460 Hawk 1gb MSI GTX460 Hawk 1gb 
GraphicsRAMHard DriveHard Drive
Gigabyte 9600 GSO 384mb Kingston HyperX 8gb (2x4gb) Crucial M4 64GB Samsung F3 1TB 
Hard DriveHard DriveCoolingOS
Western Digital 320GB Seagate 80gb Custom WC Windows 7 Ultimate X64 
MonitorMonitorMonitorPower
Dell E2311H Dell E2311H Samsung SyncMaster 2243 SilverStone Strider 1000W-P 
CaseAudio
Corsair 800D Onboard 
  hide details  
Reply
    
CPUMotherboardGraphicsGraphics
AMD Athlon II X4 630 Asus Crosshair V MSI GTX460 Hawk 1gb MSI GTX460 Hawk 1gb 
GraphicsRAMHard DriveHard Drive
Gigabyte 9600 GSO 384mb Kingston HyperX 8gb (2x4gb) Crucial M4 64GB Samsung F3 1TB 
Hard DriveHard DriveCoolingOS
Western Digital 320GB Seagate 80gb Custom WC Windows 7 Ultimate X64 
MonitorMonitorMonitorPower
Dell E2311H Dell E2311H Samsung SyncMaster 2243 SilverStone Strider 1000W-P 
CaseAudio
Corsair 800D Onboard 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Coding and Programming