Atreus github

GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together. If nothing happens, download GitHub Desktop and try again. If nothing happens, download Xcode and try again. If nothing happens, download the GitHub extension for Visual Studio and try again.

EyeRecToo is a second-generation hardware-agnostic open-source software for head-mounted eye trackers. It deprecates EyeRec. For data analysis functionality replacement, we recommend Eyetrace. Originally, EyeRec was a phonetical play on words and the eye-related functionality as in I rec [ord]. All bad puns are intended Only supports camera access using the uvcengine, including the Pupil Labs eye tracker. It has been tested for pupil detection, gaze estimation, and data recording.

This is alpha. It's also possible to get EyeRecToo running on 32 bits platforms, but no Pupil eye tracker support is available. Theoretically, cameras using DirectShow on Windows and v4l2 on Linux should work out of the box. On Windows, it is typically necessary to change camera drivers to be able to use the uvcengine; see the Running section for details.

atreus github

Binaries can be downloaded here. NOTE: Additionally, you may need to install drivers to access your eye tracker cameras:. Both Release and Debug versions are functional although the latter may run at much lower sampling rates. Text data files. Video data files. Note: timing information from these files is not reliable. Frames and respective processing tuples, e. The number of entries in the. For each makossa 2019 widget e.GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.

If nothing happens, download GitHub Desktop and try again. If nothing happens, download Xcode and try again. If nothing happens, download the GitHub extension for Visual Studio and try again. This is the firmware for the Atreus keyboard. Notice : this codebase should be considered deprecated; the recommendation going forward is to use the QMK firmware instead. However, this codebase is still of interest to people who want to read the codebase since it is much simpler and easier to understand than TMK, where the support for additional keyboards and many advanced features make the code difficult to read.

The Menelaus firmware written in Microscheme may also be interesting. This branch is specific to the Atreus variant that uses the A-Star Micro. Earlier versions used the Teensy 2 ; these should use the teensy2 branch of this repository. Only a handful of punctuation marks and no digits are available unshifted, and all the modifiers are on the bottom row:. The numbers and most of the punctuation are on the fn layer with a numpad-style arrangement under the right hand:.

The L2 key switches it to the function layer, and tapping L0 here brings it back to the first layer. Install gcc-avr and avrdude. Some linux-based systems will need a udev rule to grant permissions to the USB device for uploading firmware. Run make upload with the keyboard plugged in, and then activate the bootloader with reset see below.

If you idle in the bootloader for 8 seconds without uploading, the controller will exit the bootloader and return to normal operation. If the upload does not complete, check the permissions on the USB device and ensure it's writeable by your user. You may need to run sudo make udev on some Linux-based systems to install a udev rule if the permissions aren't right. To use another C layout, copy it to layout.

Usually you won't be able to upload the firmware from a virtualized OS; the virtualization interferes with the USB connection. However, you can compile the. Start by installing the A-Star drivers, as documented by Pololu. You can install the whole development toolchain using WinAVR to compile using make upload [ However, if the whole compiler setup is too complicated, it's also possible to download a precompiled firmware containing the default layout and uploading it with the simpler AVRDUDESS.

If your board has never before had the firmware uploadedyou will have to hard reset by connecting the RST pin to ground twice in under a second to jump to the bootloader.

atreus github

This requires removing the back panel. For older models, RST and ground are exposed with hookup wire poking out of the bottom of the board, but for newer models they are the sixth and seventh pin down on the right-side row of microcontroller pins. For first-time uploads, hit reset before running make upload. If you are hacking the lower-level logic of the firmware, the reset key might not be reachable due to bugs in layer functionality, etc and you will have to initiate a manual reset as per above with the RST pin.

Sometimes it can be tricky to get the timing right with the hard reset; it can take a few attempts when you are first uploading the firmware to a fresh board. Mark 3 onwards. The Teensy 2 variants use a different pinout. If you soldered the PCB in upside down, never fear! This can be fixed in the firmware without removing the switches and resoldering.

A pre-compiled firmware with the columns swapped is also available.GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together. If nothing happens, download GitHub Desktop and try again. If nothing happens, download Xcode and try again. If nothing happens, download the GitHub extension for Visual Studio and try again.

Instructions will be general and informal as a degree of adaptability and experience with code and electronics is necessary. If you don't know, you've probably got the DXF version, which is much flatter on the bottom. You'll need to download the official Atreus case files and stick them in this folder these versions specifically, others may not work or may need fiddling :.

To print it yourself, prepare the files as noted above, render, and export as STL. To get everything to fit inside an Atreus nicely, you'll need to desolder various parts off of the bluetooth PCB. I removed:. Comments, contributions, and bug reports are welcomed. Skip to content. Dismiss Join GitHub today GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.

Sign up. OpenSCAD Branch: master. Find file. Sign in Sign up. Go back. Launching Xcode If nothing happens, download Xcode and try again. Latest commit Fetching latest commit…. You'll need to download the official Atreus case files and stick them in this folder these versions specifically, others may not work or may need fiddling : dxf case file openscad case file If you have a DXF case, you'll need to edit the file before OpenSCAD can use it.

I removed: the LEDs annoying the buzzer super annoying the PS2 port the full size USB port not the USB mini one the battery terminal the button assembly Strip one end of some wire, then loop it through the holes on the battery side leave it long enough to reach over to where the bluetooth PCB will be on top, trim the bottom so it will fit flush. Solder the battery wires to the appropriate points on the bluetooth PCB Make a hole suitable for the switch you've chosen and mount it wherever you can get it to fit nicely I chose the bottom, used a drill press to make the hole, and stuck it in place with some hot glue Wire the switch to the appropriate points on the PCB not polarity-sensitive Cut your USB cable and strip the insulation, test if it can bend with a short enough radius to reach from your MCU board over to the bluetooth PCB.

If not, you'll need to solder directly to the USB pads on your MCU board good luck, hope you've got some fine wire and skillz. Solder the USB wires to the appropriate points on the PCB Push in the battery and PCB should friction fit okay Test that everything works, tape up anything you're worried about shorting, and reassemble your keyboard. This bluetooth adapter has a mechanism for lowering the automatic poweroff time, considering doing so read the manual for details.

Make sure your bluetooth adapter has the same PCB as I used, otherwise you'll need to figure out the wiring on your own mine says "KB v34", really, you should check my work with a multimeter to be safe anyway. You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window.I've always wanted a keyboard that I could easily bring with me, and use it everytime I have to code.

This way I don't have to switch between my laptop keyboard and my work one. I had never soldered before, nor do I know anything about electronics. I started around 4pm and I finished around 1am with it working perfectly. There were of course a few moments in which I was really out of clues and did not how to proceed but I've found help online in the mailing list and by looking at the issues section.

I'm writing this hoping that it could be of some help if anyone gets stuck on any of the passages. The online instructions are pretty detailed, the one provided with the kit were not in my case. I got a soldering iron, solder, brush and wire cutters from Halfords, but I think you can get one from almost all DIY shops, what they say it's important is that you don't buy one that's too powerful, your risk damaging the the board mine is 25W.

Here's where the unknown begun, and finished at 1am :D Before doing anthing I watched some video to understand the technique, I've found the following to be helpful the one linked in the guide gives :. After the first few diodes it becomes straighforward and once you're around the 20th you will see the difference.

Insert a diode leg through the circuit board hole so it touches the already-solder-filled hole on the controller. Melt the solder while pushing the diode leg barely through. It really took me ages and at some point, instead of having the leg of the diode to pass through the hole and stick onto the filled hole I made it pass through the filled hole and then into the hole, I just couldn't have it working the other way around, hands shaking or maybe I wasn't focusing enough I don't know.

By all means go with the provided instructions, my solution worked but I don't know if I just got lucky. Honestly I'm writing this also as a reminder for my future self in case I forget and I need to undo a few things. When mounting the key cap on top of the switch it is normal for it to apply some resistance, gently push making sure not to bend pins. This got me a few tries to get working, at some point I realised I connected the switches in the wrong way and they had to be removed.

This left me with some filled holes and it took me a good 30 minutes to understand how to work around that, I ended up holding one diode leg with the wirecutter and, with the help of the soldering iron, melted the solder to free the hole again. You have to upload the firmware to the Atreus board to make it behave like a keyboard.

To do this you have to:. I desoldered and then proceeded soldering all switches with keycaps on top. As Phil Hagelberg pointed out it's not necessary to desolder in this case, you could fix it from firmware. Skip to content. Instantly share code, notes, and snippets. Code Revisions 1 Stars 1.

Embed What would you like to do? Embed Embed this gist in your website. Share Copy sharable link for this gist. Learn more about clone URLs.

atreus github

Download ZIP.This can take some time. But it was awesome! So let's go for some details after that - the firmware installation and the investigation on the improper behavior. If you succeeded, the LED will start blinking differently for 8 seconds. Which is the time you have to try and upload the firmware you chose. Now typing using your keyboard should display things. For me, it worked the first time except for some keys:.

First, I tried to look at some pictures I took before soldering. As you can see, there are lots of iron. Not so much is necessary, I used 1. I guess more experienced user would have realised sooner that a non-working column meant an a-star pin was responsible. And technomancy suspected as much but I did not understand immediately because the problem moved along as I kept fixing columns.

That is, after some clean up session, sw:9 started working but then the sw column stopped 'w', 's', 'x', … and then sw worked but sw 'q', 'a', 'z', … no longer…. I should have searched for a simple way to ensure everything was ok before soldering the switches the first time around. After all 42 keycaps times 2 switches for each is kind of long to solder and unsolder in case of errors, which could easily happen… :D. I simply took one wire and connected the switch pins of the same keycap.

Indeed, if everything is ok, the keyboard must then send the appropriate signal and your current software should print something. If not, there is an issue.

So, I did this to ensure every keycap was ok. And when all 42 keycaps did what they were supposed to, I soldered back! Home Archives About me cv. To follow the path: look to the master, follow the master, walk with the master, see through the master, become the master.

atreus github

Tools Install pre-requisite dependencies: nix-env -i avrdude avr-gcc-libc. Firmware Clone technomancy's repository: git clone git github. Programmer supports auto addr increment. Thank you. Status Now typing using your keyboard should display things.GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together. If nothing happens, download GitHub Desktop and try again. If nothing happens, download Xcode and try again.

If nothing happens, download the GitHub extension for Visual Studio and try again. Atreus62 components can be purchased from the online store. This keyboad is inspired by the original atreus keyboard. Skip to content. Dismiss Join GitHub today GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.

Sign up. Design files for the atreus62 keyboard. Branch: master. Find file. Sign in Sign up. Go back. Launching Xcode If nothing happens, download Xcode and try again. Latest commit. Latest commit 4fa Jan 11, This version utilizes a Pro Micro for its controller and has a 62 key layout. Build Guide. You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Spaces required to make Markdown format properly.

Oct 27, Adding reset hole to bottom plate. Nov 26, Working on build guide. Nov 22, Adding reset switch to PCB. Initial commit. Nov 16, Aug 4, GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.

If nothing happens, download GitHub Desktop and try again. If nothing happens, download Xcode and try again. If nothing happens, download the GitHub extension for Visual Studio and try again. This is a fork from the Atreus Firmware, in which I have implemented the layer change using only the 'fn' key with the Ragel state machine compiler. I know that there are advanced keyboard firmwares that allow you to do that, but I really wanted to do it by myself, just for fun.

The original Atreus firmware was perfect because the code is small, elegant and easy to understand. It was 'almost' working but sometimes the keyboard acted weird: sending the two characters from different layers of the same key, or eating one key when two were pressed quickly. And more importantly, it felt wrong. Trying to implement something new always ended with an unusable firmware and a lot of tests until I put it to work again.

The classic solution for this kind of logic is to draw your states and transitions, use a variable for the states, some as inputs for your transitions, and write a hopefully more clear bunch of 'ifs' and 'elses'.

The real problems are usually more subtle and harder to spot. Here is where a state machine compiler helps a lot. You define the state machine with some code and the first thing you should do is to ask it to 'draw' a picture of your state machine.

You look at it and is like I didn't mean that. Then you realize that you forgot something or that you enabled a strange loop. Without having to fry the Atmega and to press a lot of keys trying to spot any problem. Usually, state machines have a 'string' or 'array' as input, a start state, and at the end of the process, the current state is your output.

Ragel is very interesting because it allows you to:. This makes feasible to write a machine that is not meant to end, only to process the next input piece, and modify the variables that you want. In this case, the input is an 'int' with only two significant bits, one for 'fn' pressed and another for any alphanumeric key pressed.

The output is the layer that the keyboard should be in. I would like to thanks Dr. Adrian D. Thurston for the Ragel compiler. It's a fantastic tool that I would love to use in other projects.


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *