MarkFromSales' Build Log - Learning


#6

Awesome, glad to hear you got a board out! You’ll love the feeling of holding it in your hand, I still marvel when something I designed on a screen becomes real in my hand. Plus it all gets easier the more you do it.


#7

Sweet, the boards have arrived and I got them built

Check out how much brighter the 4520 LEDs units are on the goof-up board, wow!

I used a Dremel 7700 with the 240 grit sanding band to clean up the pointy bits on the sides and the corners.

A big thank you to @ChrisGammell and the Shine-on project for getting me my first PCB build! I’m excited to move through this and get some of those projects I’ve had in mind made into reality. Marvel is the right word for sure :smiley:


#8

Congratulations Mark!


#9

Getting to Blinky 4.0 really comes off the rails at “Creating the Layout” – the latest version of KiCad is wildly different in appearance and behavior

I may have to re-install 4.x if I can and start over, or at least figure out how to have it do the translucence :-1:

=== EDIT ===

Issue resolved by virtue of RTFM, they moved this functionality to its own button setup on the left menu bar. This new methology is tons better but I’d like to see one for transparency in addition to the new outline mode


#10

I found in 5, that you can double click the colour icon in against any particular layer and you can change the colour and its opacity.


#11

Oh wow, that’s awesome! If you right-click on the that same block you get layers options as well. This is exactly why I’m here. These programs can be daunting if you’re new to this and learning on your own.

Thank you!


#12

Just completed GTB, afterwards I made a modification to include a few test points and a variable resistor. Boards came in and got one soldered up. It all went well except my SMD skills need some work, especially on that 555’s SOIC-8 footprint!

Here’s a close-up of the first one I did. There’s a bodge wire on pin 1 so that I could probe around a bit with my multimeter. R2 is doing a bit of drifting there, those are style points and totally intentional

Revised board

I actually skipped ahead a bit and watched the reflow video, neat stuff. I got a T-962 off eBay for pretty cheap. I’ve been watching videos on fixing the various issues and will check it out along with the stencil thing for doing a few of these


#13

Rustic can also be fashionable :slight_smile:
Nice work.


#14

Bought a handful of “ATMEGA328 U” chips and “ATMEGA328P PU” chips to test shrinking footprint and cost of a few Arduino-powered projects. I found a few things challenging, but some great resources.

Great post on the overall effort

I didn’t have any 22uF caps but I did have a couple of 20uF and they work fine

Burning a bootloader on the non-PU chips (works great on PC and Mac)

http://forum.arduino.cc/index.php?topic=58670.0

Open avrdude.conf and under the atmega 328 section find " signature = 0x1e 0x95 0x0F; " and change the 0F to 14
Save the file and restart the arduino ide, you should now be able to bootload your atmega328-pu chips

  • Connect Arduino Uno
  • Load the sketch in the Adafruit article
  • Connect the hat
  • Insert bare ATmega, red LED will flash
  • Tools -> Burn Bootloader, green LED will go solid
  • IDE will show “Done burning bootloader.”, green LED will go off
  • Red LED will resume flashing
  • Done!

#15

I haven’t posted in a while because I’m a little stuck. This Teensy plugin for Arduino is a pain! It’s certainly left me with no interest in doing Teensy related development. I may have to skip that section of CE altogether and hope there’s not much more of it.

I want to learn electronics, not troubleshoot poorly written plugins. It’s 2019, using an IDE plugin shouldn’t include “disable your antivirus”

Is there an Arduino library or other alternative to using the Teensyduino add-on?


#16

I hadn’t heard about that kind of problem in the past, but that must be very frustrating!

You’re of course free to skip a section, but if we can help troubleshoot, we’re here to help.


#17

I am sorry that you have hit a wall. An alternative could be PlaformIO. It was featured in episode 274 of Embedded.FM. I have not checked this out to any great extent except for the Adafruit Feather.

What was the specific problem?


#18

I’ll check that out, thanks! It would freeze during the install process and actually corrupt the Arduino IDE install to where it wouldn’t compile and upload properly. I’m running Windows 10 and Arduino 1.8.8

I just bought a cheap laptop (refurb Lenovo Thinkpad T460S) that I’ll throw Ubuntu on when that arrives and see how it compares. Having a machine that’s fully electrically isolated (i.e. using battery power) is probably a good idea anyway as I learn more about the power stuff. I’ve seen Chris use Ubuntu with Kicad in a few videos and have been meaning to check it out.

Moving from AVR to ARM is interesting and something I’ll want to have a look at eventually. The Teensy seems like as good of a place to start as any really. In the meantime, I’ve been dying to learn to do more object-oriented stuff with the ATMega328 as well as learn to manipulate DC voltage without using expensive off-the-shelf converters :slight_smile:

I do have to say that this courseware has taken me from a RadioShack level tinkerer to someone who is quite comfortable designing PCBs in no time!

I’ve designed my own Arduino clone and will post the full files and stuff after the PCBs come in and I can test. It all works on the breadboard, so hopefully I didn’t goof it up in the software!


#19

That is really odd behaviour of freezing and especially corrupting the IDE. The only issue I have had is that the automatic reboot fails and the Aruino UI gives an error. I then only have to press the reset on the Teensy and all is good. That actually happens quite often.

Sounds like there is some odd clash with some other driver or software. Hopefully the new machine will be bettter.


#20

No dice, everything did install and launches properly, however, it now shows a JAVA error in Arduino IDE and another error when trying to upload to the Teensy.

I think I’m just going to build an Arduino Micro version of the CE Header and run through the Teensy stuff and make substitutions as necessary. I really can’t be bothered to troubleshoot someone’s janky plugin


#21

All of that being said, KiCad on Ubuntu is quite good! I do like the Windows variant better for the most part, but I’m still working around it.

I should add that GIT/GitHub integration directly into Kicad would be really fantastic :wink:

The suggestion of running VS Code for Arduino was surprisingly good! It’s not as smooth out of the box as Arduino IDE obviously and I haven’t found library management yet, but the actual IDE portion is much stronger! Uploading to a board is just as smooth and frustration free!

I’ve only tried Code on Windows 10, I may check it out on Ubuntu this weekend :slight_smile:


#22

In other news, I’ve fallen in love with GitKraken and will be sharing the stuff I’ve been playing around with while waiting on CE courseware PCBs and components

GitHub page - https://github.com/MarkFromSales


#23

That error is part of the ‘Processing Project’ just for writing your serial port to the UI in the editor, it’s trying to read from preferences your serial port and show it in the status bar, I don’t think it has anything to do with Teensy unless you need to choose your serial port differently for the Teensy.


#24

Interesting to know, I’ll play with this again on a clean install when I get a chance. In the meantime, I’ve removed the Teensy software and Arduino IDE is working well again. :man_shrugging:

I do have quite a bit of other instrumentation software installed that uses serial ports so there could be a conflict there for sure


#25

Awww yea, dig those beautiful arcs – thank you @ChrisGammell for including this best practice in the latest Kicad videos!