x0x#327 lives ! but sequencer problems

Discuss x0x construction and related issues

Moderators: Altitude, adafruit_support_bill, adafruit, phono, mome rath

x0x#327 lives ! but sequencer problems

Postby sash » Sat Aug 05, 2006 6:46 pm

yeah x0x#327 is born and makes beautiful acid loops ! :D
But some major problems though :cry:

1. It seems the "down" button creates bugs... When (in keyboard or pattern mode) I press the note buttons on "up" there's no problem, every key works. But in the middle octave ( neither up nor down) only A to C(up) do respond. When I go lower there's nothing but a little bug-fart.. In the "down" octave no key works.
And even worse !!! when, in pattern mode, if I want to put a "down"octave note, it bugs and erase all the present pattern ! :evil:
So i cannot program notes under A in the middle octave...is it an IC problem (they're all soldered correctly, no bridges) ? I noticed LED 9 never lights up

2. Midi in and out don't work (midi play mode or user A) :(

Please help if somebody's got an idea of what to check !
sash
 
Posts: 61
Joined: Fri Mar 10, 2006 7:25 pm
Location: Switzerland

Postby sash » Mon Aug 07, 2006 4:58 am

If anyone knows what voltages sould i measure at :

some pins of ATMega162 ( for low-bass notes and "down" switch button)
the 12 jumper wires at j12
ic 16, ic 17 or ic 18 (i don't know which one for low notes and "down")

it would be fine. HELP PLEASE !
sash
 
Posts: 61
Joined: Fri Mar 10, 2006 7:25 pm
Location: Switzerland

Postby guest » Fri Aug 11, 2006 6:15 pm

try reprogramming the microcontroller
also check that the 5v supply is good

can you connect to the x0x via usb
there is probably something wrong
with the microcontroller
if midi doesnt work
guest
 
Posts: 3119
Joined: Fri Feb 17, 2006 4:35 am

Postby sash » Sat Aug 12, 2006 11:51 am

Midi in out & thru, USB (pre-built) still don't work
but there's no more bug concerning the "down" button
and now C0, D0 and E0 are sounding,
but notes between F0 and G1 still don't sound...

I have the 5v supply in the jumper wire for midi in (5.11v)
C6 on I/O board has the 5.11v
pin 3 of ic20 (I/O board) is also 5.11v (should it be 5.333v ?)
pin 1 of ic20 is 11.2v (not 12v)
pin 10 of microcontroller is 5.11v
c102+ is 5.11v

i noticed the 5.11v (not 5.0v) is constant in the jumper wire n°5 and at midi in of microcontroller when midi notes are sent.

is it ok to measure 5.11v at every pin1 and pin 7 of ic16, ic17 and ic18 ?
pin3 of these ic's is 0.0v
normally it should be 5.333v at pin 3 and 7 of these ic's (?)
i have no place with 5.333v in the sequencer section, it's always 5.11v (but the 5.333 is ok in analog section)

---> could ic20 on I/O board be faulty or ist it rather the microcontroller ?
sash
 
Posts: 61
Joined: Fri Mar 10, 2006 7:25 pm
Location: Switzerland

Postby guest » Sun Aug 13, 2006 11:46 am

the 5.11v is fine
those voltage regulators dont have
a great tolerance

you should be able to adjust the 5.333v
with the trimpot to make it right

does your computer recognize
that a usb device has been plugged in
or does it not work at all
how about when it is in bootloader mode

it sounds like there is a problem
with the microcontroller
if you can get the bootloader to work
try reloading the firmware
guest
 
Posts: 3119
Joined: Fri Feb 17, 2006 4:35 am

Postby sash » Sun Aug 13, 2006 4:24 pm

USB doesn't work if i start the x0x in bootload mode, same thing in "computer control" mode. some leds are litten when i start in boatload mode ( Leds 10, 14, 20-25, 29), but that's all, my computer doesn't recognize any peripheric device...

Are there some components to check in usb section on I/O board (i have maybe a bad XTL 2)?
So how can I reload the firmware if USB doesn't work ?
i'm afraid I must order another microcontroller.
sash
 
Posts: 61
Joined: Fri Mar 10, 2006 7:25 pm
Location: Switzerland

Postby sash » Sun Aug 13, 2006 5:39 pm

the 5,333v is ok on j4 for analog section, no problem.
but if i adjust TM6 for ic20, it will unfortunately also change the voltage of j4 and be inappropriate for analog section... ? :?
should it be 5,0v or 5,333v at ic20 ?
where am I supposed to measure 5,333v for digital section on I/O board ?
sash
 
Posts: 61
Joined: Fri Mar 10, 2006 7:25 pm
Location: Switzerland

Postby guest » Sun Aug 13, 2006 6:28 pm

ic20 should be 5v
tm6 shouldnt have an effect on ic20
there is only the 5v to the digital section

if the x0x can play notes in keyboard mode
then the crystal is probably fine
even if all notes do not play
although it could be oscillating
but at the wrong frequency
guest
 
Posts: 3119
Joined: Fri Feb 17, 2006 4:35 am

Postby sash » Mon Aug 14, 2006 3:42 am

ok
I was thinking of checking the USB crystal, not the microcontroller one.
Or maybe the voltage of some components of USB section on I/O board.

so I cannot reload the firmware at this stage
Do I need a new microcontroller ?
sash
 
Posts: 61
Joined: Fri Mar 10, 2006 7:25 pm
Location: Switzerland

Postby guest » Tue Aug 15, 2006 11:44 am

try to get the usb working first
that way the new firmware can get loaded

the usb chip should work without the microcontroller
so remove the microcontroller
and see if the computer recognizes that its plugged in
you may have to intialize a comm port or something
i dont know too much about computers
but there are some other posts here
where people discuss these issues

check that 5v is getting to all the right pins
of the usb chip
pins 3 26 13 14 and 2
also check that there is 3.3v on pin4
when the usb is plugged in
guest
 
Posts: 3119
Joined: Fri Feb 17, 2006 4:35 am

Postby sash » Tue Aug 15, 2006 2:29 pm

I mesured the voltage of the USB chip (microcontroller removed) :

pin2 : 0.0v (no 5v )
pin4 : 0.0v (no 3.3v)
pins 3, 13, 14, 26 were effectively 5v
I tried several times for pins 2 & 4, but no voltage...

In my previous posts i didn't mentioned that USB TX was 5v at j3 and microcontroller and USBRX was 0v (maybe i inverse)

still no USB detected by my mac (permanent auto-detection of anything plugged in, no need to initialize ports) :cry:

If the usb chip is not well soldered, I don't know if I'll be able to do something. Have I to re-heat these pins ?
sash
 
Posts: 61
Joined: Fri Mar 10, 2006 7:25 pm
Location: Switzerland

Postby guest » Tue Aug 15, 2006 3:03 pm

here is a more detailed list
of the usb voltages
this is what i measured on mine
with the micro out and usb connected

pin / voltage
1 / 0
2 / 5
3 / 5
4 / 3.3
5 / 3.3 with data
6 / 3.3
7 / 3.3 with data
8 / 0 with data
9 / 0
10 / 5
11 / 0
12 / 0
13 / 5
14 / 5
15 / 5
16 / 0
17 / 0
18 / 5
19 / 5
20 / 5
21 / 5
22 / 5
23 / 5
24 / 5
25 / 5
26 / 5
27 / clock
28 / clock
29 / 0
30 / 5
31 / 0
32 / 0


check to see if your usb is supplying 5v
on pin1 of the usb connector

you can also try pressing down lightly
on the chip while trying to connect
guest
 
Posts: 3119
Joined: Fri Feb 17, 2006 4:35 am

Postby guest » Tue Aug 15, 2006 3:05 pm

look around for solder bridges
and for poorly etched traces
that might be shorting
guest
 
Posts: 3119
Joined: Fri Feb 17, 2006 4:35 am

Postby sash » Tue Aug 15, 2006 5:38 pm

sorry i was reading the pins the wrong way ! :oops:

all the voltages are correct apart from pin 9 to 16

9: 0v
10: 0v
11: 0V
12 : 0v
13: 5v
14: 5v
15: 0v
16: 0v

i have the 5v supply in the usb connector

One strange thing is that pins 1 and 32 are sometimes 0v sometimes 5v. Now it seems stuck to 5v, even after switching on/off the x0x. So this can be maybe indicate a wrong behaviour.
The other thing is that pin7 is 0v when pin 1 & 32 are 5v. When they are 0v, pin 7 is correctly 3.3v. strange too....
sash
 
Posts: 61
Joined: Fri Mar 10, 2006 7:25 pm
Location: Switzerland

Postby sash » Tue Aug 15, 2006 5:58 pm

are USB TX and USBRX pins both supposed to be 5v (at j3 and microcontroller) ? I have one 5v and the other 0v.
sash
 
Posts: 61
Joined: Fri Mar 10, 2006 7:25 pm
Location: Switzerland

Next

Return to Making x0x

Who is online

Users browsing this forum: No registered users and 0 guests

Stuff to buy from the Adafruit store and links to product documentation!


New Products [105]

Raspberry Pi[80]
 
FLORA[23]
 
Bunnie Studios[9]
 
FPGA[1]
 
mbed[11]
Arduino[60]
 
NETduino[14]
 
BeagleBone[24]
 
Android[6]
 
XBee[10]
More Dev Boards[30]


 
BoArduino[8]
 
SpokePOV[4]
 
TV-B-Gone[4]
 
MiniPOV[3]
 
SIM reader[3]
 
Microtouch[5]
 
Clocks & Watches[18]
 
Drawdio[4]
 
Brain Machine[1]
 
Game of Life[2]
 
MintyBoost[2]
More DIY Kits[16]


 
MaKey MaKey[3]
 
Tweet-a-Watt[5]
 
Young Engineers[33]
 
Discover Electronics[2]
 
Snap Circuits[4]
 
littleBits[3]
 
Project packs[8]


 
Breakout Boards[33]
LCDs & Displays[48]
Components & Parts[69]
Batteries & Power[49]
EL Wire/Tape/Panel[52]
LEDs[108]
 
Wireless[14]
Cables[60]
 
Lasers[6]
Sensors/Parts[145]
 
Enclosures/Cases[11]
 
Solar[11]
 
RFID / NFC[13]
Prototyping[69]
 
iDevices[13]
Tools[71]
 
Wearables[39]
 
CNC[37]
 
Robotics[29]
 
3D printing[1]
 
Materials[24]


 
Stickers[41]
 
Skill badges[55]
 
Books[25]
 
Circuit Playground[7]
 
Gift Certificates[4]