Fixing an Arduino Nano’s broken USB interface

Just a quick post for anyone who’s had problems with v3.0 Arduino Nano’s USB not working 100% of the time.

Recently we’ve been having problems with the connection between opensign and spacebot, which works by piping /dev/ttyUSB0 from another machine over SSH to spacebot. Strangely the tty device would never appear, no matter how many times power to the sign was cycled or how many times the the Arduino reset button was pushed. dmesg had this to say:

[499762.880237] usb 1-3.1: new full-speed USB device number 28 using ehci-pci
[499763.288053] usb 1-3.1: device not accepting address 28, error -32
[499763.376242] usb 1-3.1: new full-speed USB device number 29 using ehci-pci
[499763.784097] usb 1-3.1: device not accepting address 29, error -32
[499763.784241] hub 1-3:1.0: unable to enumerate USB device on port 1

Investigation revealed this thread on the Raspberry Pi forums describing a similar problem. User achrn provided a potential solution: solder together pins 25 & 26 on the  DS_FT232RL chip. This ties the TEST pin to GND, which on some v3.0 boards was mistakenly left floating. After solding these pins together on the board and reassembling the opensign, spacebot was again able to connect to it and report the sign’s status on IRC and the web service!

Sommarstäddag 29:e Juli

Sommaren är här och det är hög tid att vi hade en till städ- och fixardag i lokalen. Datumet är tisdag den 29:e Juli. Agenda:

Mekrummet

  • Flytta projektskåpet till labbet och sätt in hyllor så det går att använda
  • Klura ut vad som kan göras av grovdammsugaren (ställa där projektskåpet var?)
  • Skruva upp mer verktyg på tavlorna

Labbet

  • Montera konsoller och hyllor i Ultimaker/datorhörnan
  • Montera arbetsbelysning vid elektronikbänken (armatur finns, får den plats?)

Trappuppgången

  • Kör div. sopor till miljöstation (gammal färg, kemikalier m.m)

Nya Öppettider

English translation further down.

På grund av folks nya arbetsscheman kommer Umeå Hackerspace att byta öppettider. I stället för att hålla öppet under torsdagar kommer vi att hålla öppet lördagar klockan 12-17 (utöver tisdagar och ev. onsdagar). Så kom förbi och skruva i något projekt före dina andra lördagsaktiviteter!

Och som alltid: kolla öppetskylttjänsten/IRC om du vill vara säker på att lokalen är öppen.

——————————————————-

Due to changes in people’s work schedules Umeå Hackerspace is changing opening hours. Instead of being open on Thursdays the space will be open on Saturdays (in addition Tuesdays and some Wednesdays). So come by and work on your projects before heading off to your other Saturday activities!

And as always: check the opensign service/IRC if you want to be sure that the space is open.

Androidhäng på torsdag

Är du en nybörjare som funderar på att utveckla till Android? Har du lust att hänga med likasinnade? Kom i så fall förbi oss på Fabriksgatan 8b nu på torsdag (16:e Maj) klockan 18-21, ät lite fika, utbyt erfarenheter och få pepp!

Just nu är vi en rätt liten grupp på 3-4 pers, men vi tänker att vi börjar smått och ser hur det går. Hittills har vi fått upp utvecklingsmiljöer och gjort några enkla appar.

Det var allt

Tuesday Roundup

Biggest news this week: we held a cryptoparty at Polkon14 (the Swedish Pirate Party’s northern division’s conference weekend)! Activities included setting up Thunderbird with GPG (via Enigmail), getting  most of the pirates present on the instant messaging protocol XMPP (since PP already has servers for it) and learning how to use TrueCrypt.

In other news spacebot has been fixed. There was a problem where it would not report status changes to the open sign on all IRC channels, as well as not responding to requests on IRC about the current status of the sign (“<someperson> spacebot: open?”). There is now also a web service that interested parties can poll for current sign status at http://umeahackerspace.se:12345/opensign. Possible states are “unknown”, “open”, “lunch” and “closed”. This has also been linked in the left sidebar.

Monday Roundup

Another week has come to an end. Or, it ended yesterday. But who’s counting?

The space had extended opening hours thanks to mikael popping by around 8-16 most of the week. There was more welding practice done, and MMN-o is working on computer workstations in the lab. We’ve also started on a little collaborative project that will get a blog post when it’s done.

Sunday Roundup 8

Late update this time due to sickness.

We had a productive meeting on Thursday about how we can secure better financing and larger premises, which we’ll have to act toward in the coming weeks. It turns out we’re not the only ones in town with aspirations for an open workshop of sorts.

Small progress on recluster: Mikael concluded that his simple aluminium profile + hook solution should work well for hanging up motherboards.

More things were moved into the electronics lab, including lots of power supplies+cables, larger capacitors, transformers and a rather large 24 V motor.

Finally, some more welding practice was done (by me).

Vi söker ny lokal

Detta är ett officiellt “hej, vi är på jakt efter en större lokal”-inlägg. Om du som läser detta känner till en ledig industri-aktig lokal i Umeå som inte ligger allt för avsides, hör gärna av dig till oss via mail: info [snabel-a] umeahackerspace [punkt] se, eller IRC: #uhck @ irc.hethane.se

Mer exakt är vi ute efter en lokal som har gott om plats för trä- och metall-mek, plats att upprätta arbetsstationer för datorer och elektronik samt bra bussförbindelser. Bonuspoäng om det finns kök och mötesrum :-)

Sunday Roundup 7

Yet another week has passed. This week we’ve gotten some welding practice done by joining random bits of metal together into a little collective piece.

Welding practice creation

Behold our metal creation!

The space was open Tuesday, Wednesday and Thursday with fairly good attendance. Among the visitors were a delegation from Hikikomori Umeå with a few potential new members :-)

We’re also in the process of modifying the kitchen. The plan so far includes moving the stove fan up a bit, building a spice rack and moving one of the tables from the workshop to serve as a sort of counter. The broken refrigerator will be torn out and the empty space turned into a cupboard.

Finally I did a quick pass on the welding corner in the workshop, !putting away metal scrap and raising the issue of what to do with the variable transformers that are taking up quite a bit of space. The plan is to have them semi-attached to the wall, but possible to take elsewhere if there’s a need.

That’s all for now. Next update next Sunday!

Sunday Roundup 6

Not much has happened in the space itself this week – we’ve mostly been “playing outside”. A few of us were at Tvspelsjam, playing games and proselytizing a new game developer förening that Mika is setting up. Others were at Gräv 2014, informing and helping journalists with data security stuff so they can better protect their sources (as mandated by the Swedish grundlag).

We have been appreciating the new fridge which is considerably larger than the old one, allowing us to have ingredients around for impromptu meals.

Umeå Hackerspace @ Gräv2014

Jag (pettter) och MMN-o besöker i skrivande stund Föreningen Grävande Journalisters årliga seminarium Gräv. Gårdagens begivelser bestod i en gemensam föreläsning tillsammans med Sus Andersson (tack!), där vi pratade om källskydd och allmän datasäkerhet för journalister. Bland annat demonstrerades hur lätt fysisk access till en dator kan översättas till total kontroll, och att TLS-säkrade uppkopplingar inte nödvändigtvis är säkra.

Under dagen kommer vi att fortsätta finnas i lokalen Oden, och hjälpa journalister och andra att förstå och använda kryptering. Om du är på Gräv: Välkommen!

Sunday Roundup 5

Sunday roundup on a Monday, breaking my posting-on-the-proper-day streak (noo!)

First up recluster: lectus soldered a copper manifold for distributing water for cooling. The water cooling is important because server fans make too much noise for the cluster rack to be able to sit in a place where people actually work on stuff.

The chemical fridge has been moved from the kitchen to the lab – a huge win for food safety!

A crossed over "dangerous chemical" skull-and-crossbones warning symbol

Less skulls and crossbones, more food safety!

In groups-of-people-sharing-the-space news Ung Pirat Norra had a few pre-meetings for their pre-election-year congress. Lots of fika was had.

The open sign/space status widget in the sidebar was broken and has been removed, meaning visitors currently have to drop by on IRC or look at the physical sign to see its state. The plan is to code a better  widget that displays the state properly, and a simple web service that can be used to GET the same information.

Finally I did some random acts of knolling in the lab. Always Be Knolling!

uhck me plz