wspublishing

wspublishing

45p

38 comments posted · 94 followers · following 0

1 week ago @ https://startingelectr... - Arduino IDE Digispark ... · 0 replies · +1 points

Just an update on the Windows computer that did not recognize the driver: Using an external USB hub solved the problem. I plugged a USB powered USB hub into the computer and then the Digispark board into one of the USB ports on the hub. Programming then worked.

1 week ago @ https://startingelectr... - Arduino IDE Digispark ... · 1 reply · +1 points

Are you sure you entered http://digistump.com/package_digistump_index.json into the Preferences box? This is what brings up Digistump AVR Boards in the Boards Manager. After installing from the Boards Manager the boards is available form the menu: Tools → Board → Digistump AVR Boards → Digispark (Default - 16.5MHz)

The Digistump Digix board that you mentioned is something completely different. It is a 32-bit ARM board. The Digispark board is an 8-bit AVR board.

I followed the tutorial again using a different computer with a fresh install of Windows. Digispark (Default - 16.5MHz) appears on the Tools menu as per the tutorial. The IDE prompts for the board to be plugged in. The only problem I had on this computer is that Windows would not recognize the driver. This can occur on some computers because the Digispark board simulates USB. Testing it on another computer still works.

4 weeks ago @ https://startingelectr... - Arduino IDE Digispark ... · 0 replies · +1 points

Thanks :)

4 weeks ago @ https://startingelectr... - Arduino IDE Digispark ... · 1 reply · +1 points

Whatever code was last loaded to the Digistump will start running as soon as it is powered up.

What you described with Arduino sounds like you set it up as a USB device. I don't know if the Digistump can operate as a USB device.

13 weeks ago @ wspublishing.net - Atmel-ICE to Arduino U... · 0 replies · +1 points

If you have Dupont wires with a male pin on one end and a female socket on the other, then you can plug six of these into the socket at the end of the Atmel-ICE cable. You have then made your own "squid cable". Just connect the female side of the wires to the ICSP header of the Arduino board. This may help to solve the problem.

13 weeks ago @ wspublishing.net - Atmel-ICE to Arduino U... · 0 replies · +1 points

I haven't had that problem. Are you using a genuine Arduino Uno or a clone? Just wondering if it is the Atmel-ICE connector or the pin header on the board that is the problem.

13 weeks ago @ wspublishing.net - Atmel Studio Problems ... · 0 replies · +1 points

Hi Bruce
Glad to hear that you found the problem.
There are two things that you can do regarding selecting the Atmel-ICE in Atmel Studio / Microchip Studio.
1) Before clicking "Start Without Debugging", first click the hammer icon on the second top toolbar where it says "none on" or "no tool". A dialog box opens that lets you select the Atmel-ICE. After saving, continue with "Start Without Debugging".
2) Set up a project the way you like it with the Atmel-ICE selected as the tool to use. Click File --> Export Template using the top menu in Atmel Studio / Microchip Studio. This opens the Export Template Wizard dialog box. Click Next on the first page of the dialog box. Fill in the template name and description that you want in the second Export Template Wizard dialog box page. Click Finish to create the template. The new template should now be available in the dialog box used to create a new project. You might have to scroll down to find it. When you start a new project with the new template, the Atmel-ICE that you selected before making the template should already be selected for the project.

28 weeks ago @ wspublishing.net - Atmel Studio Problems ... · 0 replies · +1 points

Hi Bruce
First understand that the problem that you are experiencing has nothing to do with the book, it is a problem with Atmel Studio and/or Windows. I have personally never experienced the same problem, so can't help you with this specific problem. My suggestions on trying to fix the problem are as follows:

1) Try to install the version of Atmel Studio that was current when the book was written, which was Atmel Studio v7.0.582. Old versions of Atmel Studio can be found at: https://www.microchip.com/mplab/avr-support/avr-a...

2) If the above does not work, then try another computer if available. I have never had a problem using the newest version of Atmel Studio, which is now called Microchip Studio, so there is no guarantee that trying the old version will work.

3) If all else fails, back up all of the files on your computer in multiple places and reinstall Windows from scratch. You can then try to install the old version of Atmel Studio used with the book, or the newest version of Microchip Studio from: https://www.microchip.com/en-us/development-tools...

I hope this helps. Sorry about missing your previous comment, but this comment system picks up a lot of spam and I probably missed it in amongst the spam.

52 weeks ago @ wspublishing.net - Errata | Arduino MEGA ... · 0 replies · +1 points

Hi Dr. Stephan Pabst
- You are correct with regards to the ratings of the regulator. This was an oversight on my part. Thank you for pointing this error out.
- Regarding your second point from section 2.7.1.4, this data is from taking actual measurements on Arduino boards. I have checked the actual measurements again, taken across diode D1 on three genuine Arduino boards using two different multimeters: with no external hardware connected a voltage drop across the diode of around 0.76V was measured. After pulling approximately 350mA from the external supply, a voltage drop across the diode of approximately 0.83V was measured. I should probably have cross referred to section 7.3.2, where it is mentioned that the volt drop can be up to 1.1V.

52 weeks ago @ wspublishing.net - Errata | Arduino Uno H... · 0 replies · +1 points

Thanks Dr. Stephan Pabst for your feedback. I think the point for these non-PWM pins is that nothing will happen in terms of PWM, so don't call analogWrite() on them. I didn't actually test the levels myself, as I didn't think it necessary because they won't produce a PWM waveform. But thanks for taking the time to write a note on these intricate details. I will definitely include them in a future update to the book.