Avatar for mattw

mattw

Member since Jan 2020 • Last active Jan 2020
  • 1 conversations
  • 10 comments

Most recent activity

  • in Interfacing
    Avatar for mattw

    The PHPOC shield has a separate flashing process that needs to be done in Windows. We don't have a Windows machine so we're running this VM which doesn't always work. It works like 30% of the time so updating code is a hassle. Anyway, once the Espruino gets here it'll be way easier. We'll redo the "server" code in JS and refactor the client in React. It'll be all JS with a simple USB process to update code for now. (Later on, we'll load from the SD.)

    So yes, @Robin it works as you described. We have the ins and outs of the Arduino hooked up to a 25 pin Honda connector at the back of the machine. We're basically reading tach pulses and tape direction to do the counter, and sending hi or low to issue the transport commands. The Otari machine controls the motor functions-- we just issue commands.

    I'm not sure what we're gonna do when we get this software fully done. But we should prolly do something. It would be amazing to have someone work on the code with us, but how many Otari owners also code. Anyway, thanks to you for your help!

    Matt

    • 19 comments
    • 924 views
  • in Interfacing
    Avatar for mattw

    After a day of wrestling with the crappy PHPOC shield, we're ready to try the Espruino. We did manage to read the tachometer and compute counter time accurately and issue all the transport commands.

    Here's a little vid of me and my buddies playing with the current iteration.

    Matt

  • in Interfacing
    Avatar for mattw

    Cool! Thanks for the info! I'm meeting up with my friends today so this will be helpful.

    And yeah, I get it re: Teac. ;) The Ampex is set up as a 2 track altho I do have the 4 track block. The other machine -- Otari MTR-90 mk 2 16 track 2"-- is the one we're doing first. We did a very bad version of hardware and software using an Arduino with a PHPOC shield. It's just not the right idea. But it should be up and working today. I'll post a video if its not disastrous.

    But yeah, as soon as the Espruino comes we're gonna ditch the PHPOC.

    M

  • in Interfacing
    Avatar for mattw

    Okay cool. I'll get eval all up on that SD card.

  • in Interfacing
    Avatar for mattw

    Thanks again guys. 2.5k might be enough storage, but I'm building one for my friend in Chicago and one for another friend in South Carolina. If I send them an SD card and tell them to edit it they'll figure it out. Asking them to flash a PROM might be too complicated for them.

    Also. So when my pals install their devices, I'd like to have them get updates over the internet. So basically, if it detects a new file in a particular S3 bucket, it asks "Do you wanna update?" in the JS, and then it writes the new JS files to the SD, specifies those new files in the config, and reboots. When it reboots, it does its normal routine, and loads the new JS it just downloaded.

    So the SD disk needs to hold code, potentially, as well. In fact, my idea is to make the actual application as dumb as possible, and deploy all the real code over the internet. Again, my buddies are not going to want to manage this stuff in any way more complicated than a normal app on the phone.

    What do you guys think?

    Thanks,
    Matt

    PS. This little app is a web-based autolocator/remote for my analog tape recorders.

  • in Interfacing
    Avatar for mattw

    For the record, it's actually probably a larger config JSON object that has other preference-y type stuff in there as well.

  • in Interfacing
    Avatar for mattw

    Thank you all. I think this will work. I'll probably need some kind of pcb because I'll need to use the SD to store a config file containing WIFI credentials and DNS info for particular installations. So my plan is to write the creds on a Mac or whatever, insert into the SD board connected to the Espruino. When the Espruino boots it reads creds and connects to wifi and starts a webserver.

    Best,
    Matt

  • in Interfacing
    Avatar for mattw

    But maybe something like this is more appropriate?

    https://www.sparkfun.com/products/13743

  • in Interfacing
    Avatar for mattw

    Cool thanks a lot. I think I do have that adapter around somewhere. I think ultimately I'm gonna need something that's PCB-mountable, but in the interim that's a very helpful tip.

    Thanks,
    Matt

Actions