Quantcast
Channel: fritzing forum - Latest posts
Viewing all 30931 articles
Browse latest View live

Help sdcard recovery with arduino (I can see my files)

$
0
0

I don't think "too stupid" is accurate, more like "not experienced enough yet". That said this may fix your problem:

void readDirectory(File dir, String folder) {
  boolean files = true;
  while(files) {
    File entry =  dir.openNextFile();
    if (! entry) {
      files = false;
      entry.close();
    } else {
      if (entry.isDirectory()) {
        String folder_new = folder;
        folder_new += entry.name();
        folder_new += "/";
        entry.close();
        readDirectory(entry, folder_new);
      } else {
        outputFile(entry, folder);
      }
    }
    entry.close();
    }
  }

The added entry.close() statements close the file handles after use which may help. The python code really does need python2 (or more work than I'm prepared to do right now) as there are more problems than just the brackets on print. I don't have an Arduino ide up at the moment so I don't know if this even compiles but it should. I think that once you get that "done" from the arduino you should see a stream of data from the arduino on the serial output console (assuming the SD card is in the reader when you load the sketch) the same as when you ran cardinfo.

Peter


Toshiba TLP185 pcb footprint

$
0
0

Oops, sorry Old_Grey. I was in too much of a hurry to get out the door this morning. The data sheet is here,


although vanepp has already come to my rescue. Thanks for your support anyway.

Toshiba TLP185 pcb footprint

$
0
0

You are awesome vanepp, thank you so much. I must learn to do this in inkscape but being forced to do so at an inconvenient time is never enjoyable.
You have saved me considerable frustration. Appreciated.

Request - 18650 Battery Holder

$
0
0

Many many thanks Peter. Now to import it.

Request - 18650 Battery Holder

$
0
0

I have downloaded the fzpz file, but on opening it there is nothing there? I opened it via 7 Zip to look at it, but all there is is a breadboard? What am I doing wrong? Do I need to put the files in the fzpz file somewhere so Fritzing will recognise it as a part? I have never imported a part before so please excuse my total newbyness. :slight_smile: Thanks

Request - 18650 Battery Holder

$
0
0

You import it into your MINE bin.

Request - 18650 Battery Holder

$
0
0

Do I just put the file in that folder?

Request - 18650 Battery Holder

$
0
0

I usually right-click MINE bin, but I think it gets put in the bin if you open it with FZ File/Open too.


Request - 18650 Battery Holder

$
0
0

Perfect. Worked first time and fits like a dream. I had been putting on single header pins on my board and using pcb's sized to fit the dimensions to place the parts then deleting them. It was so much hassle so figured it must be easier if I used a proper part. Many thanks Peter. I'm sure this will be of use to others. Is there a way to save it somewhere?

Rectifier Diode w greater spacing

Fritzing interface looking fuzzy - is this normal?

$
0
0

I have just started using fritzing and I have noticed that the parts are fuzzy looking (low resolution). Is this normal?

It's sort of affecting my productivity (especially with the arduino pin numbers)

I have a surface pro 3 (2160x1440 display) which may be the cause.

Thanks!

TP4056 Charger board

$
0
0

I'm struggling with this part and looking for a genius to create this part for me. I found a couple online but none are right. I'm using this charger board as part of a project, and need to place it on the pcb. I can't find any technical drawings of this board so have done one myself. Please be aware that I have changed the pin spacing on the right to 2.54mm to match the header pin pitch. The real spacing on the actual board is 3mm but header pins with 3mm pitch appear like hens teeth to get hold of but as the board has 1mm holes it does fit onto 2.54 header pins.

Currently I have been placing standard header pins on the pcb and spaced them with the use of custom sized extra boards then deleted the board once in position. The problem with this is that I cannot group the pins and easily move them around to suit the board. So it would be better if a part could be created.

Many thanks

Bob

Measurements

Breadboard image

Silkscreen image

TP4056 Charger board

$
0
0

If you can vector draw, that is the views for the part.

You have a 1:1 outline for the PCB, now you just need the contacts.

Then get that outline and make it blue and maybe throw some main components of it and you have the BB.

Then some simple box, like an IC, with pins for the SCH.

TP4056 Charger board

$
0
0

I can draw and save in vector format but the layers are the confusing part for me. :slight_smile: I originally uploaded SVG files but changed them to JPG as you couldn't see them. This is the breadboard SVG.

Fritzing interface looking fuzzy - is this normal?

$
0
0

I'm using it at 1366 x 768 and no issues.


Request - 18650 Battery Holder

$
0
0

It will stay here in the forums and may eventually make it in to core if I submit it.

Peter

Part request: 5 way tactile switch 10x10mm

$
0
0

I saw this but forgot about it. Here is a part that may do (the data isn't as complete as I'd like). This is a full part (cloned from a Sparkfun smaller version of this). You need to print out the footprint and check it against a real part before ordering boards. I think the mounting holes (or what I think are mounting holes) are in the correct place but they may be a little large (1mm against .7m for the pin I think).

JOYSTICK_10mm.fzpz (9.2 KB)

Tutorials on part making (which is fairly complex) are available here:

Peter

Request - 18650 Battery Holder

$
0
0

I'm sure others would find it useful. Many thanks and it is in My Parts. :slight_smile:

TP4056 Charger board

$
0
0

Your breadboard is missing the connectors and (as you noted) the layer ids. Your best bet is to start with an existing part (in this case either a similar power supply or a generic IC with 6pins. Doing that will get you the necessary layer ids and connectors to move around in the svg editor of your choice. I'll clone something and upload a better part in a bit.

edit: OK its a bit later now. Below is a mostly working part as an example. I used copy / paste on breadboard to copy in 6 appropriate terminals from one of my other parts (DC 3.3v-10v TO ± 12V Mini DC converter.fzpz, posted here earlier). I changed the font from arial (which fritzing doesn't support) to OCRA, but fritzing apparantly doesn't like the tspan text either. You will need to find a working part breadboard and adjust the text xml til fritzing is happier. For schematic (and to create the fzp file) I used a generic 6 pin ic and modified the schematic. Feel free to move it around if you don't like it. For pcb I copied in the pcb svg from the converter and changed the text so the pads match the connections in the fzp. You will need to move the pads and silkscreen around (leaving the grouping as is) to match the real board. To get the fzp and svg files just unzip the .fzpz file below (I use 7zip). If you have questions or problems please post. Note it is most useful to upload the fzpz file for the part (7th button from the left in the reply menu) as then we get all the files to look at.

tp4056.fzpz (12.8 KB)

downloading this and loading it with the file open command in fritzing will get you a semi working part.

Peter

TP4056 Charger board

$
0
0

Thanks Peter. The font is not important so whatever works. The pcb view is the important part. The schematic and breadboard are secondary to what I'm doing. It's getting the pad placement correct that seems to be the issue. As I said originally the pad spacing is not the same as the actual board. I am using pin headers to mount the board to the pcb as standoffs. So have used 2.54 mm pin headers rather than the 3mm which would fit the board. Hope that makes sense.

Thanks.

bob

Viewing all 30931 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>