If you can share the matrix, I can guide you on using EasyAVR, if you are up fr that. It's fairly simple.
You need to scroll down in his guide, matt3o wrote some extra lines for compiling. The folder you provided did'nt compile for me, however your GH60 (I figure you used this one, as matt30 suggests in his tutorial) folder pasted into my TMK blank folder compiled.
The theory is to navigate to the GH60 folder and run some piece of software to compile.Show Image(http://abload.de/img/untitledstr3u.png)
Yes, that's what I get too, when compiling out of your folder. I'm pretty sure your folder is missing some files. Did you try redownloading?
Yes, that's what I get too, when compiling out of your folder. I'm pretty sure your folder is missing some files. Did you try redownloading?
I haven't had a chance to re-download it, but I could do that.
I can just paste in the files that I changed I guess, but that is assuming I did it right in the first place.
Don't I need to run WinAVR and use the command prompt within that program so it can have the ability to compile it?
If thats the case, I cant figure out how to do that.
When I get home, I will try out the EasyAVR and see if I can make that work.
If you can share the matrix, I can guide you on using EasyAVR, if you are up fr that. It's fairly simple.
The matrix should be in the dropbox file I linked, will that suffice? I would love the help. just let me know what to give you
If you can provide an excel file with your pin matrix and layout, that would help.
Tried my hand at using easyAVR by myself with no luck.
When done, run the teensy loader, activate the "Auto" button, load the firmware (the hex file) and press the reset button on the teensy. The firmware will be uploaded and the keyboard will start working right away!
Tried my hand at using easyAVR by myself with no luck.
What exactly is not working? Also did you try winavr as matt3o suggested?QuoteWhen done, run the teensy loader, activate the "Auto" button, load the firmware (the hex file) and press the reset button on the teensy. The firmware will be uploaded and the keyboard will start working right away!
Place this file in C:\users\<username>\.EasyAVR folder (Or something along those lines).
https://www.dropbox.com/s/by4z2tza46rmhwg/moistgun60.py?dl=0
You will need to edit the file according to how your LEDs are wired.
Sorry. Didn't know my Dropbox was this popular :/
https://drive.google.com/file/d/0B5XIrLtiUwFVYkxjRUV6UkRuMDA/view?usp=sharing
Shouldn't. I assigned unused pins.
Was finally able to compile the hex file, but Idk I'f that's corrupt or my hardware is jacked, but this thing is ****ed.
If I press a number key I get the correct output, k cool, but if I press a key in the qwerty row, it inputs all keys in that column, so the s key outputs 2wsx and so on. Then it gets worse as I tinker with it making me shut down my computer,
because once the tmk teensy has been plugged in, my soarers model m and my tmk gh60 stop working all together until I restart windows.
That sounds more like a hardware issue than an issue with the firmware.
That sounds more like a hardware issue than an issue with the firmware.
Thats where my guess was leaning towards. Maybe the resistor direction?
Shouldn't. I assigned unused pins.
Im home.
I dont know what im supposed to do with that .py file you gave me.
Shouldn't. I assigned unused pins.
Im home.
Download the latest release from here: https://deskthority.net/wiki/Easy_AVR_USB_Keyboard_Firmware
1. Run Easy AVR once.
2. Exit.
3. Copy the file I uploaded to C:\users\<username>\.EasyAVR folder (Or something along those lines).
4. Run Easy AVR again, Go to File -> New Default layout and choose "Moistgun's 60"
5. Configure
6. Build Firmware
7. Load onto Teensy.
If I have a .py file from MOZ for EasyAVR,
does anyone know what im supposed to do with it to make it show up in the default layers when starting up the program?
I have the file, but putting it in different folders isn't making it show up in the program.
If I have a .py file from MOZ for EasyAVR,
does anyone know what im supposed to do with it to make it show up in the default layers when starting up the program?
I have the file, but putting it in different folders isn't making it show up in the program.
1. Download latest version from here: https://deskthority.net/wiki/Easy_AVR_USB_Keyboard_Firmware
2. Extract anywhere.
3. Run Easy AVR once.
4. Exit.
5. Copy the file I uploaded to C:\users\<username>\.EasyAVR folder (Or something along those lines).
6. Run Easy AVR again, Go to File -> New Default layout and choose "Moistgun's 60"
7. Configure
8. Build Firmware
9. Load onto Teensy.
That sounds like you have one diode the wrong way round, you can guess which one :))
Can you post some pics of the matrix wiring?
Do you get solid continuity for every row and column testing with a multimeter?
http://www.homedepot.com/p/Commercial-Electric-Analogue-Multimeter-M1015B/202353292
just do one switch at a time by touching both pins
or do I need to test the rows and columns some way
What user 18 said. Put the meter on the highest ohm setting and confirm continuity end to end for row and column. I would then confirm continuity from each row / column to the teensy (using the solder point for each of your row / column wires). Lastly I would confirm no continuity from every column to every row (provided none of the switches are depressed).
Do all of these steps without the teensy powered. Hopefully you will find an unexpected shorted or open circuit, which after correcting will lead to a working matrix.
strobe_cols = False
A switch is a switch - when you press it the pins connect, current flows through them and the controller notices :)
As the diode for e is the right way round it could be defective - you should only see continuity through it one way, if it goes both ways it's broken.
edit: Realise I should explain myself here.
Either you messed up 13 out of 14 columns and 4 out of 5 rows, looking at your wiring it looks good so I don't believe for one moment you messed up that badly!
The other option is you have one dodgy diode and the firmware doesn't match the diode orientation, so it doesn't work (except the broken bit)
The first thing I would do is change it to this in the config - this reverses the expected orientation of the diodes and may well make it work, but I suspect the e key will cause ghosting issues...Code: [Select]strobe_cols = False
It's a much quicker fix than checking the entire matrix, you have nothing to lose :thumb:
Thanks for the explanation. I was actually looking through the file and noticed the section about diodes going col to rows or rows to cols, and got confused :confused:
Nope, all keys work. even the excellent, exuberant, and extravagant, E key.
Nope, all keys work. even the excellent, exuberant, and extravagant, E key.
No, it's broken! :)) The only way a key can work with that setting both ways is if it effectively has no diode...
Hold e and w then press d - pretty sure you'll get an s output? It's that or one (or more) keys will become un-pressed, you might need switch hitter (https://elitekeyboards.com/switchhitter.php) to see that.
Alternately you have a multimeter - just test that diode :)
Check the continuity and do post a photograph of the diode (Please mark it in the photo so it is easy to identify which diode is for the E key).
Looks like the switch for the 4 key has a stray wire almost closing the circuit.
Mind if I jump in here with a (I think?) programming issue? Got a 40% I am working on and all the rows besides the top one are shifted to the left by one key. So if I hit 'a' it outputs 's'. As far as I can see everything seems to be correct, but I'm new at this so we all know that's not true! Just let me know if I should make a new post for this, but I figured I'd jump in instead of making a new one. Links to my wiring and keymap_common.h and matrix.c.
https://www.dropbox.com/s/ggvk83w14qnncy3/danes_build.zip?dl=0
http://i.imgur.com/v9gZpbu.jpg
Mind if I jump in here with a (I think?) programming issue? Got a 40% I am working on and all the rows besides the top one are shifted to the left by one key. So if I hit 'a' it outputs 's'. As far as I can see everything seems to be correct, but I'm new at this so we all know that's not true! Just let me know if I should make a new post for this, but I figured I'd jump in instead of making a new one. Links to my wiring and keymap_common.h and matrix.c.
https://www.dropbox.com/s/ggvk83w14qnncy3/danes_build.zip?dl=0
http://i.imgur.com/v9gZpbu.jpg
Can you upload the zip on here as I can't access Dropbox at work, but I suspect the issue is related to what suicidal mentioned.
Can you upload the zip on here as I can't access Dropbox at work, but I suspect the issue is related to what suicidal mentioned.
Sure! I'm at work so I wont be able to try anything until I get home.
You only have one switch in the B1 column so you need a blank at the start of the other other rows if that's in the first column as in the pic. I'm on my phone so can't look but I think it's 'none' in TMK :)Weird, in the guide it said to leave the spaces blank, but I guess that's only when they aren't in the first column. I'll give this a shot when I get home from work, thanks!
You only have one switch in the B1 column so you need a blank at the start of the other other rows if that's in the first column as in the pic. I'm on my phone so can't look but I think it's 'none' in TMK :)Looks like that got it! Thanks for the help!