[Guide] Microcontroller Boards

Various user-contributed guides for hardware-related things
User avatar
ChunkeeMunkee
Posts: 42
Joined: Fri Jul 22, 2016 9:20 pm
Location: Walsall, UK
Has thanked: 16 times
Been thanked: 7 times
Contact:

Re: [Guide] Microcontroller Boards

Post by ChunkeeMunkee » Wed Aug 03, 2016 3:03 am

@Camble Yeah I've got no worries with soldering to the port connectors, just trying to work out how to get the thing off the board in the first place! (No through board anchor points!)

My real worry is how to go about programming it!

User avatar
Fleder
Posts: 849
Joined: Thu May 05, 2016 9:04 am
Location: Germany
Has thanked: 183 times
Been thanked: 258 times

Re: [Guide] Microcontroller Boards

Post by Fleder » Wed Aug 03, 2016 3:06 am

ChunkeeMunkee wrote:My real worry is how to go about programming it!
I'd say the same as you programm the other boards with the same chip.
Just adjust for the right pins.

User avatar
ChunkeeMunkee
Posts: 42
Joined: Fri Jul 22, 2016 9:20 pm
Location: Walsall, UK
Has thanked: 16 times
Been thanked: 7 times
Contact:

Re: [Guide] Microcontroller Boards

Post by ChunkeeMunkee » Wed Aug 03, 2016 3:13 am

@Fleder I took a look at the Arduino ISP as well at the ATTiny manufacturer's version, and it's all a bit daunting! Having zero experience with Arduino based systems I'm going to have to start from square one and follow some basic tutorials, but good to hear that the chips all work in a similar fashion!

User avatar
Camble
Posts: 885
Joined: Thu May 05, 2016 2:31 am
Location: Scotland
Has thanked: 269 times
Been thanked: 488 times

Re: [Guide] Microcontroller Boards

Post by Camble » Wed Aug 03, 2016 3:15 am

You just need to make sure the Arduino IDE is set for the type of chip you're using.

User avatar
ChunkeeMunkee
Posts: 42
Joined: Fri Jul 22, 2016 9:20 pm
Location: Walsall, UK
Has thanked: 16 times
Been thanked: 7 times
Contact:

Re: [Guide] Microcontroller Boards

Post by ChunkeeMunkee » Wed Aug 03, 2016 3:50 pm

Ok, pretty much at the end of my tether here! I've been trying to get the ATTiny 167 / Digispark Pro to work all day, and most of last night. I'm beginning to grasp the basics, but every time I try to push even a basic blink sketch to it, the connection times out with a flash write error.

I can't work out if I'm doing something wrong, or if the driver install is to blame (every time I try to install the four necessary drivers, one of them fails. Looking online it seems to be a common issue, and ends up with communication errors). Already managed to wipe out all of my PC's USB ports trying to get the bloomin' drivers to take!

Unless anyone can suggest anything, I may end up binning this thing and getting a Pro Micro clone instead :cry:

User avatar
Fleder
Posts: 849
Joined: Thu May 05, 2016 9:04 am
Location: Germany
Has thanked: 183 times
Been thanked: 258 times

Re: [Guide] Microcontroller Boards

Post by Fleder » Wed Aug 03, 2016 11:41 pm

I will get one of those and see if it is a certain method you have to use
to get it to work or if the problem might be on your side.

It may be a few days/weeks before i can say something about it, though.

User avatar
ChunkeeMunkee
Posts: 42
Joined: Fri Jul 22, 2016 9:20 pm
Location: Walsall, UK
Has thanked: 16 times
Been thanked: 7 times
Contact:

Re: [Guide] Microcontroller Boards

Post by ChunkeeMunkee » Thu Aug 04, 2016 1:29 am

@Fleder I do apologise for my little outburst, think I was a little too tired at the time! :lol:

I hope you have more luck with it than I did. I'll probably hold onto my Digispark for future projects, and use a Pro Micro for my current build. Hopefully they'll fix it the driver issue soon as I'm 99% sure that that's the cause.

User avatar
Fleder
Posts: 849
Joined: Thu May 05, 2016 9:04 am
Location: Germany
Has thanked: 183 times
Been thanked: 258 times

Re: [Guide] Microcontroller Boards

Post by Fleder » Thu Aug 04, 2016 1:38 am

ChunkeeMunkee wrote:Hopefully they'll fix it the driver issue soon as I'm 99% sure that that's the cause.
Wait, which version of IDE did you use?
You have to use the Version 1.6.5 or it will most likely not work at all.
https://www.arduino.cc/en/Main/OldSoftw ... s#previous

Try this one and see if it works.
Do not use the blink script as the boards might not have the LED on the same pins.
Use something like echo or key input so you can see if the board is sending a keypress into your notepad for instance.

User avatar
ChunkeeMunkee
Posts: 42
Joined: Fri Jul 22, 2016 9:20 pm
Location: Walsall, UK
Has thanked: 16 times
Been thanked: 7 times
Contact:

Re: [Guide] Microcontroller Boards

Post by ChunkeeMunkee » Thu Aug 04, 2016 1:45 am

Initially tried with 1.6.5, during board selection in the Arduino IDE it begins to install the drivers, and one driver fails. No joy there, so uninstalled everything and tried 1.6.7, for which the instructions online suggest to install the drivers manually from a separate download package, but again the same driver fails to install.

I'm running Windows 10 on my PC, but I do have a little mini PC that still has Windows 7. Will try from there later in case it's some kind of incompatibility.

Raizan
Posts: 9
Joined: Thu Jul 21, 2016 7:10 pm
Has thanked: 1 time
Been thanked: 3 times

Re: [Guide] Microcontroller Boards

Post by Raizan » Tue Aug 09, 2016 10:35 am

Hi, can someon tell me how to conect the pi zero to the Pro Micro board? or do i have to conect it trough the usb? where do i connect the D+ and D- to the board?

Thank you

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest