In this video we make a cable to connect a 6V battery pack with a 9V adapter to a USB Type-A female socket, which we can then use to connect a USB Type-A male through Type-B micro for powering my microcontroller.
Thanks very much for watching! And please remember to hit like and subscribe! :)
Following is a product I use picked at random from my collection which may appear in my videos. Clicking through on this to find and click on the green affiliate links before purchasing from eBay or AliExpress is a great way to support the channel at no cost to you. Thanks!
I mention that I am reading AVR Programming: Get Under the Hood of the AVR Microcontroller Family which is written by Elliot Williams who is Editor in Chief over at Hackaday. The big thing I am hoping to learn from this book is how to generate tones, but I haven’t read that part of it yet!
The old book teardown which I have been working on is for Electric Circuits.
I have done the introduction for the Maxitronix 30in1: Introducing Maxitronix 30in1 | Maxitronix 30in1 | Learning Electronics In The Lab With Jay Jay but I haven’t done the first project yet. The thing that is tripping me up is making a decision about whether I am going to start doing the LTSpice simulations in the 30in1 videos or if I’m going to put that off until we start our next Maxitronix kit… I will have to make a decision about that soon.
I am working on Jaycar and Silicon Chip Mini Project number JMP003. But I’m stuck debugging it. I hope to catch up with that soon. I have heaps of Mini Projects to do, I am embarrassingly far behind.
I have recorded the introduction for the Learning the Art of Electronics project that we’re just about to kick off: Introducing Learning the Art of Electronics | Learning Electronics In The Lab With Jay Jay but I’m still waiting for the 2nd edition of the book to turn up. Fingers crossed it gets here in the next couple of days otherwise I will need to start on this project using the 1st edition of the book.
There’s a bunch of stuff here that has arrived in the mail so you can expect to see a mail call video covering that stuff soon as well.
Thanks very much for watching! And please remember to hit like and subscribe! :)
Following is a product I use picked at random from my collection which may appear in my videos. Clicking through on this to find and click on the green affiliate links before purchasing from eBay or AliExpress is a great way to support the channel at no cost to you. Thanks!
On the SparkFun programmer the onboard LED is PB0. On the HW-260 the onboard LED is PB1. This is the code I used to flash the HW-260 LED:
#define LED_BUILTIN PB1
// the setup function runs once when you press reset or power the board
void setup() {
// initialize digital pin LED_BUILTIN as an output.
pinMode(LED_BUILTIN, OUTPUT);
}
// the loop function runs over and over again forever
void loop() {
digitalWrite(LED_BUILTIN, HIGH); // turn the LED on (HIGH is the voltage level)
delay(1000); // wait for a second
digitalWrite(LED_BUILTIN, LOW); // turn the LED off by making the voltage LOW
delay(1000); // wait for a second
}
You can see the programmer settings I used in Arduino IDE in this screenshot: