Are you over 18 and want to see adult content?
More Annotations
A complete backup of lollarguitars.com
Are you over 18 and want to see adult content?
A complete backup of modclothforcheap.tumblr.com
Are you over 18 and want to see adult content?
A complete backup of mowerpartsales.com
Are you over 18 and want to see adult content?
A complete backup of munitionstech.com
Are you over 18 and want to see adult content?
Favourite Annotations
A complete backup of www.jagran.com/news/education-ssc-cgl-admit-card-2019-20-to-release-soon-check-tier-1-admit-card-download-f
Are you over 18 and want to see adult content?
A complete backup of adevarul.ro/entertainment/tv/cine-inlocuieste-andreea-berecleanu-observator-jurnalista-si-a-anuntat-demisia
Are you over 18 and want to see adult content?
A complete backup of www.techradar.com/news/club-brugge-vs-manchester-united-live-stream-how-to-watch-europa-league-2020-footbal
Are you over 18 and want to see adult content?
Text
PROJECTS : JEELABS
back to top. © 2019 Jean-Claude Wippler STM32F103 LOW-POWER MODE : JEELABS I’ve always kept an interest in low-power explorations, most of which I did many years ago. First there was the ATmega328, then the LPC824, and finally on the STM32L052. RFM12B COMMAND CALCULATOR Generated by AdHoq on 2013-04-10. With a tip-o-the-hat to the W3C consortium and the jQuery + Knockout + Node.js developers for setting great standards and sharing great tools. Note that this is a static page, and that all the above field calculations are done locally inthe web browser.
EXPLORING LPC824 PERIPHERALS » JEELABS When exploring the LPC824, there’s no point trying out the basic blinking and serial I/O examples, as we did with the LPC810 and LPC812 – the LPC824 is (mostly) compatible with those two chips and will behave in the same way. TINY BASIC WITH ROOM TO SPARE » JEELABS Tiny Basic with room to spare. One of the first tricks we teach a microcontroller (any computer really), is to raise its level of abstraction, by programming it in a “higher level language”. All computers are really awkward at birth: they only understand machine code, i.e. streams of bytes & numbers. Nobody does that anymore, therejust
USE ANY STM NUCLEO AS PROGRAMMER » JEELABS Use any STM Nucleo as programmer. The Nucleo boards by STMicroelectronics cover a fascinating range of STM µC’s, and are provided for non-commercial use at very low cost. It’s a great way to get started, because they include a built-in “ST-Link V2.1” programmer: Actually, the programmer is the only part we’reinterested in here.
FREQUENCY ALIASING IN ADCS • JEELABS Frequency aliasing in ADCs May 2016. Frequency aliasing in ADCs. This is a pure sine wave, captured by the ADC + DMA code, as described previously: The plot above consists of 800 samples, sampled 40 µs apart, i.e. at 25 kHz - for a total of 32 ms. A quick calculation would seem to indicate that we’re seeing 1.6 cycles of a 50 Hz sinewave.
SIMPLE MECRISP FORTH UTILITIES • JEELABS The default message shown after a reset of Mecrisp Forth is this prompt: Mecrisp-Stellaris RA 2.3.6 for STM32F103 by Matthias Koch Nothing else, no hint that you can start entering commands. With a board.fs file from Embello loaded, we get an extra line with some useful status information (and an “ok.”): Mecrisp-Stellaris RA 2.3.6 for STM32F103 by Matthias Koch 64 KB 32212433 ram TOGGLING I/O PINS ON STM32 : JEELABS All microcontrollers have I/O pins to connect to the outside world. These can be used as inputs or outputs, and tend to have various interesting capabilities. LOOKING FOR SOMETHING? : JEELABSABOUTPROJECTSRSSBLUEPILLF407Z80 This is a list of “stuff” I’ve worked on over the years, in reverse chronological order: This site has changed shape a few times, beginning with WordPress (2008 to 2015), to a static site (until end 2017), to what you’re looking at now (also static). There’s an archive page which ties most of this old stuff together.. The list of latest articles on this site (2018 to 2019) is atPROJECTS : JEELABS
back to top. © 2019 Jean-Claude Wippler STM32F103 LOW-POWER MODE : JEELABS I’ve always kept an interest in low-power explorations, most of which I did many years ago. First there was the ATmega328, then the LPC824, and finally on the STM32L052. RFM12B COMMAND CALCULATOR Generated by AdHoq on 2013-04-10. With a tip-o-the-hat to the W3C consortium and the jQuery + Knockout + Node.js developers for setting great standards and sharing great tools. Note that this is a static page, and that all the above field calculations are done locally inthe web browser.
EXPLORING LPC824 PERIPHERALS » JEELABS When exploring the LPC824, there’s no point trying out the basic blinking and serial I/O examples, as we did with the LPC810 and LPC812 – the LPC824 is (mostly) compatible with those two chips and will behave in the same way. TINY BASIC WITH ROOM TO SPARE » JEELABS Tiny Basic with room to spare. One of the first tricks we teach a microcontroller (any computer really), is to raise its level of abstraction, by programming it in a “higher level language”. All computers are really awkward at birth: they only understand machine code, i.e. streams of bytes & numbers. Nobody does that anymore, therejust
USE ANY STM NUCLEO AS PROGRAMMER » JEELABS Use any STM Nucleo as programmer. The Nucleo boards by STMicroelectronics cover a fascinating range of STM µC’s, and are provided for non-commercial use at very low cost. It’s a great way to get started, because they include a built-in “ST-Link V2.1” programmer: Actually, the programmer is the only part we’reinterested in here.
FREQUENCY ALIASING IN ADCS • JEELABS Frequency aliasing in ADCs May 2016. Frequency aliasing in ADCs. This is a pure sine wave, captured by the ADC + DMA code, as described previously: The plot above consists of 800 samples, sampled 40 µs apart, i.e. at 25 kHz - for a total of 32 ms. A quick calculation would seem to indicate that we’re seeing 1.6 cycles of a 50 Hz sinewave.
SIMPLE MECRISP FORTH UTILITIES • JEELABS The default message shown after a reset of Mecrisp Forth is this prompt: Mecrisp-Stellaris RA 2.3.6 for STM32F103 by Matthias Koch Nothing else, no hint that you can start entering commands. With a board.fs file from Embello loaded, we get an extra line with some useful status information (and an “ok.”): Mecrisp-Stellaris RA 2.3.6 for STM32F103 by Matthias Koch 64 KB 32212433 ram TOGGLING I/O PINS ON STM32 : JEELABS All microcontrollers have I/O pins to connect to the outside world. These can be used as inputs or outputs, and tend to have various interesting capabilities.PROJECTS : JEELABS
back to top. © 2019 Jean-Claude Wippler THE ADC AND ITS WATCHDOG : JEELABS The STM32 L0-series and newer µCs have an interesting feature: the ADC “watchdog”. Some variants have more than one, in fact. This mechanism can keep track of analog voltages in the digital world, unlike the analog way of using one or more comparators with reference voltage levels. The effect is similar, though: when an ADC reading falls outside a given range, an interrupt can be generated. CP/M ON F407, PART 1 CP/M on F407, part 1 - Intro. CP/M from the 1970’s was an operating system for 8080 and Z80 8-bit micrcomputers. It was very popular among hobbyists, because it came at the right time and offered a way to manage data file storage on the upcoming 8" and 5.25" floppy disks. Later still came the 3.5" floppy, and 8086 16-bit micrcomputers withMS
USING RFM12’S WITH RFM69 NATIVE » JEELABS So far so good – we now have the RFM69 running in native packet mode using the RF69 driver, for LPC8xx ARM µC’s, ATmega328 JeeNodes, and Raspberry Pi’s w/ RasPi RF. FORTH IN 7 EASY STEPS • JEELABS Forth is a simple language, with simple rules and a simple execution model. It’s also self-hosted and interactive - you can type this at the prompt: 1 2 + . What you’ll get as response is this (details may differ, everything below is for Mecrisp Forth): 1 2 + . 3 ok. ^^^^^^^^^^^ added by Forth All code is parsed into a sequence of “words”, which is anything between whitespace STARTING FORTH ON AN STM32F1 • JEELABS Here is what we’re after, as Forth Development Environment (would that be an “FDE”?): There are a number of steps needed to use Mecrisp-Stellaris Forth in your own projects (for these articles, we’ll be focusing on the STM32F103 µC series with 64..512 KB flash memory): getting the Mecrisp core “flashed” onto the microcontroller setting up a convenient connection between your MEASURING VCC VIA THE BANDGAP » JEELABS whereas with 3.3V as VCC, we’d expect a reading of 1100 / 3300 * 1023 = 341. more generally, 1100 / VCC * 1023 = x. solving for VCC, we get VCC = 1100 / x * 1023. So all we have to do is measure that 1.1V bandgap reference voltage and we can deduce what VCC was! SOLDERING A TSSOP CHIP BY HAND » JEELABS Also don’t forget to check the orientation, so pin 1 lines up as intended. To start, apply a tiny, tiny, TINY amount of solder to the first pad (any corner pad will do): Then, holding the chip with the tweezers, melt the solder next to that first pin (pin 16 in this example) and hold the chip steady. FIXING THE ARDUINO’S PWM » JEELABS The LED Node presented a few days ago, with the software to drive it, has exposed a nasty little problem. The light has a slight periodic flicker. Not good, in fact this gets pretty irritating fairly quickly. But how can this be? Each of the RGB colors is dimmed using the ATmega’s hardware PWM, after all – and well above the 50 Hz rate which our eyes could detect! FTDI OVER WIFI: ESP-BRIDGE » JEELABS That’s when the esp8266 WiFi modules caught my eye at a cost under $5. Here is a WiFi module with a processor and a UART and, most importantly, an SDK (software development kit). The SDK suggested that I could implement the key functions to remotely watch debug output of a JeeNode as well as reprogram it, just like I was doing with the BBB. LOOKING FOR SOMETHING? : JEELABSABOUTPROJECTSRSSBLUEPILLF407Z80 This is a list of “stuff” I’ve worked on over the years, in reverse chronological order: This site has changed shape a few times, beginning with WordPress (2008 to 2015), to a static site (until end 2017), to what you’re looking at now (also static). There’s an archive page which ties most of this old stuff together.. The list of latest articles on this site (2018 to 2019) is atPROJECTS : JEELABS
back to top. © 2019 Jean-Claude Wippler TINY BASIC WITH ROOM TO SPARE » JEELABS One of the first tricks we teach a microcontroller (any computer really), is to raise its level of abstraction, by programming it in a “higher level language”. JEENODE CLASSIC :: JEELABS DOCS JeeNode Classic A low-power Arduino’ish board with wireless, plus an elaborate library with examples. Status 2017. The JeeNode (ATmega328 + RFM12/RFM69) is available in the shop; For all models (also JeeLink, JN Micro, etc) - see the hardware page; The JeeLib library for use with the Arduino IDE is described here; Numerous examples projects are listed on the examples page EXPLORING LPC824 PERIPHERALS » JEELABS When exploring the LPC824, there’s no point trying out the basic blinking and serial I/O examples, as we did with the LPC810 and LPC812 – the LPC824 is (mostly) compatible with those two chips and will behave in the same way. RFM12B COMMAND CALCULATOR Generated by AdHoq on 2013-04-10. With a tip-o-the-hat to the W3C consortium and the jQuery + Knockout + Node.js developers for setting great standards and sharing great tools. Note that this is a static page, and that all the above field calculations are done locally inthe web browser.
USE ANY STM NUCLEO AS PROGRAMMER » JEELABS The Nucleo boards by STMicroelectronics cover a fascinating range of STM µC’s, and are provided for non-commercial use at very low cost. It’s a great way to get started, because they include a built-in “ST-Link V2.1” programmer: Actually, the programmer is the only part we’re interested in here. That’s why any Nucleo board will dohere.
STM32F103 LOW-POWER MODE : JEELABS I’ve always kept an interest in low-power explorations, most of which I did many years ago. First there was the ATmega328, then the LPC824, and finally on the STM32L052. FORTH ON A DIP » JEELABS In a recent article, I mentioned the Forth language and the Mecrisp implementation, which includes a series of builds for ARM chips. As it turns out, the mecrisp-stellaris- archive on the download page includes a ready-to-run build for the 28-pin DIP LPC1114 µC, which I happened to have lying around:. It doesn’t take much to get this chip powered and connected through a modified BUB (set A TRULY MINIMAL EZ80 SETUP • JEELABS To check that the eZ80 chip works, we only need to connect it to the Blue Pill with 6 wires: +3.3V and ground (the eZ80 runs at 3.3V, but it has 5V-tolerant I/O pins) a two-wire “Zilog Debug Interface” (ZDI), which is a bit like JTAG, but simpler a clock signal to drive the eZ80 (anything from DC up to 50 MHz) a reset signal - not strictly necessary, but convenient See the README for the LOOKING FOR SOMETHING? : JEELABSABOUTPROJECTSRSSBLUEPILLF407Z80 This is a list of “stuff” I’ve worked on over the years, in reverse chronological order: This site has changed shape a few times, beginning with WordPress (2008 to 2015), to a static site (until end 2017), to what you’re looking at now (also static). There’s an archive page which ties most of this old stuff together.. The list of latest articles on this site (2018 to 2019) is atPROJECTS : JEELABS
back to top. © 2019 Jean-Claude Wippler TINY BASIC WITH ROOM TO SPARE » JEELABS One of the first tricks we teach a microcontroller (any computer really), is to raise its level of abstraction, by programming it in a “higher level language”. JEENODE CLASSIC :: JEELABS DOCS JeeNode Classic A low-power Arduino’ish board with wireless, plus an elaborate library with examples. Status 2017. The JeeNode (ATmega328 + RFM12/RFM69) is available in the shop; For all models (also JeeLink, JN Micro, etc) - see the hardware page; The JeeLib library for use with the Arduino IDE is described here; Numerous examples projects are listed on the examples page EXPLORING LPC824 PERIPHERALS » JEELABS When exploring the LPC824, there’s no point trying out the basic blinking and serial I/O examples, as we did with the LPC810 and LPC812 – the LPC824 is (mostly) compatible with those two chips and will behave in the same way. RFM12B COMMAND CALCULATOR Generated by AdHoq on 2013-04-10. With a tip-o-the-hat to the W3C consortium and the jQuery + Knockout + Node.js developers for setting great standards and sharing great tools. Note that this is a static page, and that all the above field calculations are done locally inthe web browser.
USE ANY STM NUCLEO AS PROGRAMMER » JEELABS The Nucleo boards by STMicroelectronics cover a fascinating range of STM µC’s, and are provided for non-commercial use at very low cost. It’s a great way to get started, because they include a built-in “ST-Link V2.1” programmer: Actually, the programmer is the only part we’re interested in here. That’s why any Nucleo board will dohere.
STM32F103 LOW-POWER MODE : JEELABS I’ve always kept an interest in low-power explorations, most of which I did many years ago. First there was the ATmega328, then the LPC824, and finally on the STM32L052. FORTH ON A DIP » JEELABS In a recent article, I mentioned the Forth language and the Mecrisp implementation, which includes a series of builds for ARM chips. As it turns out, the mecrisp-stellaris- archive on the download page includes a ready-to-run build for the 28-pin DIP LPC1114 µC, which I happened to have lying around:. It doesn’t take much to get this chip powered and connected through a modified BUB (set A TRULY MINIMAL EZ80 SETUP • JEELABS To check that the eZ80 chip works, we only need to connect it to the Blue Pill with 6 wires: +3.3V and ground (the eZ80 runs at 3.3V, but it has 5V-tolerant I/O pins) a two-wire “Zilog Debug Interface” (ZDI), which is a bit like JTAG, but simpler a clock signal to drive the eZ80 (anything from DC up to 50 MHz) a reset signal - not strictly necessary, but convenient See the README for the STM32F103 LOW-POWER MODE : JEELABS I’ve always kept an interest in low-power explorations, most of which I did many years ago. First there was the ATmega328, then the LPC824, and finally on the STM32L052. CT’S AND BURDEN RESISTORS » JEELABS Let’s open up that Current Transformer and see what’s inside: Here is what is in the upper half of that blue plastic case – this unitis rated at 30A:
MEASURING VCC VIA THE BANDGAP » JEELABS The ATmega’s (and ATtiny’s for that matter) all have a 10-bit ADC which can be used measure analog voltages. These ADC’s are ratiometric, meaning they measure relative to the analog reference voltage (usually VCC).. On a 5V Arduino, that means you can measure 0..5V as 0..1023, or roughly 5 mV per step. FORTH IN 7 EASY STEPS • JEELABS Forth is a simple language, with simple rules and a simple execution model. It’s also self-hosted and interactive - you can type this at the prompt: 1 2 + . What you’ll get as response is this (details may differ, everything below is for Mecrisp Forth): 1 2 + . 3 ok. ^^^^^^^^^^^ added by Forth All code is parsed into a sequence of “words”, which is anything between whitespace CHAOTIC CIRCUIT :: JEELABS DOCS Chaotic circuit Some electronic circuits can oscillate in a “chaotic” way. When displayed as X-Y plots on an oscilloscope, this then leads to intriguing patterns: SOLDERING A TSSOP CHIP BY HAND » JEELABS Building circuits with small chips may seem daunting at first, but it really isn’t very hard. The trick is to mount those small components on a “breakout PCB” first, after which they can readily be handled, used, and re-used on a breadboard. SIMPLE MECRISP FORTH UTILITIES • JEELABS The default message shown after a reset of Mecrisp Forth is this prompt: Mecrisp-Stellaris RA 2.3.6 for STM32F103 by Matthias Koch Nothing else, no hint that you can start entering commands. With a board.fs file from Embello loaded, we get an extra line with some useful status information (and an “ok.”): Mecrisp-Stellaris RA 2.3.6 for STM32F103 by Matthias Koch 64 KB 32212433 ram BUILDING A MULTICOMP-BASED Z80 • JEELABS Let’s see if we can build an FPGA-based system. The biggest challenge is that everything involved is completely different from software and hardware design. It’s a new ball game! We will need: some hardware (evidently, an FPGA is still a chip, just a different one) a design, this is essentially the schematic and wiring diagram a software tool chain to “synthesise” the design into a FIXING THE ARDUINO’S PWM » JEELABS The LED Node presented a few days ago, with the software to drive it, has exposed a nasty little problem. The light has a slight periodic flicker. Not good, in fact this gets pretty irritating fairly quickly. But how can this be? Each of the RGB colors is dimmed using the ATmega’s hardware PWM, after all – and well above the 50 Hz rate which our eyes could detect! NEW DATE / TIME / RTC LIBRARY » JEELABS GCC that Arduino IDE uses, optimises away functions (methods) and stuff that are not used. So it shouldn’t matter if you have to #include Wire.h, or whatever library you do (technically they are not really libraries, but let’s pretend they are :). LOOKING FOR SOMETHING? : JEELABSABOUTPROJECTSRSSBLUEPILLF407Z80 This is a list of “stuff” I’ve worked on over the years, in reverse chronological order: This site has changed shape a few times, beginning with WordPress (2008 to 2015), to a static site (until end 2017), to what you’re looking at now (also static). There’s an archive page which ties most of this old stuff together.. The list of latest articles on this site (2018 to 2019) is atPROJECTS : JEELABS
back to top. © 2019 Jean-Claude Wippler JEENODE CLASSIC :: JEELABS DOCS JeeNode Classic A low-power Arduino’ish board with wireless, plus an elaborate library with examples. Status 2017. The JeeNode (ATmega328 + RFM12/RFM69) is available in the shop; For all models (also JeeLink, JN Micro, etc) - see the hardware page; The JeeLib library for use with the Arduino IDE is described here; Numerous examples projects are listed on the examples page TINY BASIC WITH ROOM TO SPARE » JEELABS Tiny Basic with room to spare. One of the first tricks we teach a microcontroller (any computer really), is to raise its level of abstraction, by programming it in a “higher level language”. All computers are really awkward at birth: they only understand machine code, i.e. streams of bytes & numbers. Nobody does that anymore, therejust
EXPLORING LPC824 PERIPHERALS » JEELABS When exploring the LPC824, there’s no point trying out the basic blinking and serial I/O examples, as we did with the LPC810 and LPC812 – the LPC824 is (mostly) compatible with those two chips and will behave in the same way. RFM12B COMMAND CALCULATOR Generated by AdHoq on 2013-04-10. With a tip-o-the-hat to the W3C consortium and the jQuery + Knockout + Node.js developers for setting great standards and sharing great tools. Note that this is a static page, and that all the above field calculations are done locally inthe web browser.
STM32F103 LOW-POWER MODE : JEELABS I’ve always kept an interest in low-power explorations, most of which I did many years ago. First there was the ATmega328, then the LPC824, and finally on the STM32L052. USE ANY STM NUCLEO AS PROGRAMMER » JEELABS Use any STM Nucleo as programmer. The Nucleo boards by STMicroelectronics cover a fascinating range of STM µC’s, and are provided for non-commercial use at very low cost. It’s a great way to get started, because they include a built-in “ST-Link V2.1” programmer: Actually, the programmer is the only part we’reinterested in here.
FORTH ON A DIP » JEELABS In a recent article, I mentioned the Forth language and the Mecrisp implementation, which includes a series of builds for ARM chips. As it turns out, the mecrisp-stellaris- archive on the download page includes a ready-to-run build for the 28-pin DIP LPC1114 µC, which I happened to have lying around:. It doesn’t take much to get this chip powered and connected through a modified BUB (set A TRULY MINIMAL EZ80 SETUP • JEELABS To check that the eZ80 chip works, we only need to connect it to the Blue Pill with 6 wires: +3.3V and ground (the eZ80 runs at 3.3V, but it has 5V-tolerant I/O pins) a two-wire “Zilog Debug Interface” (ZDI), which is a bit like JTAG, but simpler a clock signal to drive the eZ80 (anything from DC up to 50 MHz) a reset signal - not strictly necessary, but convenient See the README for the LOOKING FOR SOMETHING? : JEELABSABOUTPROJECTSRSSBLUEPILLF407Z80 This is a list of “stuff” I’ve worked on over the years, in reverse chronological order: This site has changed shape a few times, beginning with WordPress (2008 to 2015), to a static site (until end 2017), to what you’re looking at now (also static). There’s an archive page which ties most of this old stuff together.. The list of latest articles on this site (2018 to 2019) is atPROJECTS : JEELABS
back to top. © 2019 Jean-Claude Wippler JEENODE CLASSIC :: JEELABS DOCS JeeNode Classic A low-power Arduino’ish board with wireless, plus an elaborate library with examples. Status 2017. The JeeNode (ATmega328 + RFM12/RFM69) is available in the shop; For all models (also JeeLink, JN Micro, etc) - see the hardware page; The JeeLib library for use with the Arduino IDE is described here; Numerous examples projects are listed on the examples page TINY BASIC WITH ROOM TO SPARE » JEELABS Tiny Basic with room to spare. One of the first tricks we teach a microcontroller (any computer really), is to raise its level of abstraction, by programming it in a “higher level language”. All computers are really awkward at birth: they only understand machine code, i.e. streams of bytes & numbers. Nobody does that anymore, therejust
EXPLORING LPC824 PERIPHERALS » JEELABS When exploring the LPC824, there’s no point trying out the basic blinking and serial I/O examples, as we did with the LPC810 and LPC812 – the LPC824 is (mostly) compatible with those two chips and will behave in the same way. RFM12B COMMAND CALCULATOR Generated by AdHoq on 2013-04-10. With a tip-o-the-hat to the W3C consortium and the jQuery + Knockout + Node.js developers for setting great standards and sharing great tools. Note that this is a static page, and that all the above field calculations are done locally inthe web browser.
STM32F103 LOW-POWER MODE : JEELABS I’ve always kept an interest in low-power explorations, most of which I did many years ago. First there was the ATmega328, then the LPC824, and finally on the STM32L052. USE ANY STM NUCLEO AS PROGRAMMER » JEELABS Use any STM Nucleo as programmer. The Nucleo boards by STMicroelectronics cover a fascinating range of STM µC’s, and are provided for non-commercial use at very low cost. It’s a great way to get started, because they include a built-in “ST-Link V2.1” programmer: Actually, the programmer is the only part we’reinterested in here.
FORTH ON A DIP » JEELABS In a recent article, I mentioned the Forth language and the Mecrisp implementation, which includes a series of builds for ARM chips. As it turns out, the mecrisp-stellaris- archive on the download page includes a ready-to-run build for the 28-pin DIP LPC1114 µC, which I happened to have lying around:. It doesn’t take much to get this chip powered and connected through a modified BUB (set A TRULY MINIMAL EZ80 SETUP • JEELABS To check that the eZ80 chip works, we only need to connect it to the Blue Pill with 6 wires: +3.3V and ground (the eZ80 runs at 3.3V, but it has 5V-tolerant I/O pins) a two-wire “Zilog Debug Interface” (ZDI), which is a bit like JTAG, but simpler a clock signal to drive the eZ80 (anything from DC up to 50 MHz) a reset signal - not strictly necessary, but convenient See the README for the STM32F103 LOW-POWER MODE : JEELABS I’ve always kept an interest in low-power explorations, most of which I did many years ago. First there was the ATmega328, then the LPC824, and finally on the STM32L052. CT’S AND BURDEN RESISTORS » JEELABS This is a “voltage output” type CT: the current is internally passed through a “burden” resistor, so that we can measure the voltage on the end of the wire coming out. The above unit is rated for 30A. The winding ratio is 1:2000, so those 30A are converted to a 15 mA output current, and 15 mA through 62Ω leads to a 930 mV output MEASURING VCC VIA THE BANDGAP » JEELABS The ATmega’s (and ATtiny’s for that matter) all have a 10-bit ADC which can be used measure analog voltages. These ADC’s are ratiometric, meaning they measure relative to the analog reference voltage (usually VCC).. On a 5V Arduino, that means you can measure 0..5V as 0..1023, or roughly 5 mV per step. FORTH IN 7 EASY STEPS • JEELABS Forth is a simple language, with simple rules and a simple execution model. It’s also self-hosted and interactive - you can type this at the prompt: 1 2 + . What you’ll get as response is this (details may differ, everything below is for Mecrisp Forth): 1 2 + . 3 ok. ^^^^^^^^^^^ added by Forth All code is parsed into a sequence of “words”, which is anything between whitespace CHAOTIC CIRCUIT :: JEELABS DOCS Chaotic circuit. Some electronic circuits can oscillate in a “chaotic” way. When displayed as X-Y plots on an oscilloscope, this then leads to intriguing patterns: The circuit for the above example resembles a “ Colpitts oscillator ". It consists of just 6 components and was published by SIMPLE MECRISP FORTH UTILITIES • JEELABS The default message shown after a reset of Mecrisp Forth is this prompt: Mecrisp-Stellaris RA 2.3.6 for STM32F103 by Matthias Koch Nothing else, no hint that you can start entering commands. With a board.fs file from Embello loaded, we get an extra line with some useful status information (and an “ok.”): Mecrisp-Stellaris RA 2.3.6 for STM32F103 by Matthias Koch 64 KB 32212433 ram SOLDERING A TSSOP CHIP BY HAND » JEELABS Also don’t forget to check the orientation, so pin 1 lines up as intended. To start, apply a tiny, tiny, TINY amount of solder to the first pad (any corner pad will do): Then, holding the chip with the tweezers, melt the solder next to that first pin (pin 16 in this example) and hold the chip steady. BUILDING A MULTICOMP-BASED Z80 • JEELABS Let’s see if we can build an FPGA-based system. The biggest challenge is that everything involved is completely different from software and hardware design. It’s a new ball game! We will need: some hardware (evidently, an FPGA is still a chip, just a different one) a design, this is essentially the schematic and wiring diagram a software tool chain to “synthesise” the design into a ENABLING USB ON A BLUE PILL • JEELABS Enabling USB on a Blue Pill Sep 27, 2017. As you may have guessed from my last post, I’ll be using the Blue Pill STM32F103 µC board for some JET engine experiments. It’s available on eBay, etc (for less than $3). With the USB console working very nicely in Mecrisp Forth now, this board plugs right in - no USB-to-serial adapter needed. NEW DATE / TIME / RTC LIBRARY » JEELABS Here’s the header file of the new RTClib Arduino-compatible library: This lets you do date / time calculations, and it provides two different ways to implement a clock: via a hardware chip or using the built-in millis () timer. RTClib has been checked into LOOKING FOR SOMETHING? : JEELABSABOUTPROJECTSRSSBLUEPILLF407Z80 This is a list of “stuff” I’ve worked on over the years, in reverse chronological order: This site has changed shape a few times, beginning with WordPress (2008 to 2015), to a static site (until end 2017), to what you’re looking at now (also static). There’s an archive page which ties most of this old stuff together.. The list of latest articles on this site (2018 to 2019) is atPROJECTS : JEELABS
back to top. © 2019 Jean-Claude Wippler JEENODE CLASSIC :: JEELABS DOCS JeeNode Classic A low-power Arduino’ish board with wireless, plus an elaborate library with examples. Status 2017. The JeeNode (ATmega328 + RFM12/RFM69) is available in the shop; For all models (also JeeLink, JN Micro, etc) - see the hardware page; The JeeLib library for use with the Arduino IDE is described here; Numerous examples projects are listed on the examples page TINY BASIC WITH ROOM TO SPARE » JEELABS Tiny Basic with room to spare. One of the first tricks we teach a microcontroller (any computer really), is to raise its level of abstraction, by programming it in a “higher level language”. All computers are really awkward at birth: they only understand machine code, i.e. streams of bytes & numbers. Nobody does that anymore, therejust
EXPLORING LPC824 PERIPHERALS » JEELABS When exploring the LPC824, there’s no point trying out the basic blinking and serial I/O examples, as we did with the LPC810 and LPC812 – the LPC824 is (mostly) compatible with those two chips and will behave in the same way. RFM12B COMMAND CALCULATOR Generated by AdHoq on 2013-04-10. With a tip-o-the-hat to the W3C consortium and the jQuery + Knockout + Node.js developers for setting great standards and sharing great tools. Note that this is a static page, and that all the above field calculations are done locally inthe web browser.
STM32F103 LOW-POWER MODE : JEELABS I’ve always kept an interest in low-power explorations, most of which I did many years ago. First there was the ATmega328, then the LPC824, and finally on the STM32L052. USE ANY STM NUCLEO AS PROGRAMMER » JEELABS Use any STM Nucleo as programmer. The Nucleo boards by STMicroelectronics cover a fascinating range of STM µC’s, and are provided for non-commercial use at very low cost. It’s a great way to get started, because they include a built-in “ST-Link V2.1” programmer: Actually, the programmer is the only part we’reinterested in here.
FORTH ON A DIP » JEELABS In a recent article, I mentioned the Forth language and the Mecrisp implementation, which includes a series of builds for ARM chips. As it turns out, the mecrisp-stellaris- archive on the download page includes a ready-to-run build for the 28-pin DIP LPC1114 µC, which I happened to have lying around:. It doesn’t take much to get this chip powered and connected through a modified BUB (set A TRULY MINIMAL EZ80 SETUP • JEELABS To check that the eZ80 chip works, we only need to connect it to the Blue Pill with 6 wires: +3.3V and ground (the eZ80 runs at 3.3V, but it has 5V-tolerant I/O pins) a two-wire “Zilog Debug Interface” (ZDI), which is a bit like JTAG, but simpler a clock signal to drive the eZ80 (anything from DC up to 50 MHz) a reset signal - not strictly necessary, but convenient See the README for the LOOKING FOR SOMETHING? : JEELABSABOUTPROJECTSRSSBLUEPILLF407Z80 This is a list of “stuff” I’ve worked on over the years, in reverse chronological order: This site has changed shape a few times, beginning with WordPress (2008 to 2015), to a static site (until end 2017), to what you’re looking at now (also static). There’s an archive page which ties most of this old stuff together.. The list of latest articles on this site (2018 to 2019) is atPROJECTS : JEELABS
back to top. © 2019 Jean-Claude Wippler JEENODE CLASSIC :: JEELABS DOCS JeeNode Classic A low-power Arduino’ish board with wireless, plus an elaborate library with examples. Status 2017. The JeeNode (ATmega328 + RFM12/RFM69) is available in the shop; For all models (also JeeLink, JN Micro, etc) - see the hardware page; The JeeLib library for use with the Arduino IDE is described here; Numerous examples projects are listed on the examples page TINY BASIC WITH ROOM TO SPARE » JEELABS Tiny Basic with room to spare. One of the first tricks we teach a microcontroller (any computer really), is to raise its level of abstraction, by programming it in a “higher level language”. All computers are really awkward at birth: they only understand machine code, i.e. streams of bytes & numbers. Nobody does that anymore, therejust
EXPLORING LPC824 PERIPHERALS » JEELABS When exploring the LPC824, there’s no point trying out the basic blinking and serial I/O examples, as we did with the LPC810 and LPC812 – the LPC824 is (mostly) compatible with those two chips and will behave in the same way. RFM12B COMMAND CALCULATOR Generated by AdHoq on 2013-04-10. With a tip-o-the-hat to the W3C consortium and the jQuery + Knockout + Node.js developers for setting great standards and sharing great tools. Note that this is a static page, and that all the above field calculations are done locally inthe web browser.
STM32F103 LOW-POWER MODE : JEELABS I’ve always kept an interest in low-power explorations, most of which I did many years ago. First there was the ATmega328, then the LPC824, and finally on the STM32L052. USE ANY STM NUCLEO AS PROGRAMMER » JEELABS Use any STM Nucleo as programmer. The Nucleo boards by STMicroelectronics cover a fascinating range of STM µC’s, and are provided for non-commercial use at very low cost. It’s a great way to get started, because they include a built-in “ST-Link V2.1” programmer: Actually, the programmer is the only part we’reinterested in here.
FORTH ON A DIP » JEELABS In a recent article, I mentioned the Forth language and the Mecrisp implementation, which includes a series of builds for ARM chips. As it turns out, the mecrisp-stellaris- archive on the download page includes a ready-to-run build for the 28-pin DIP LPC1114 µC, which I happened to have lying around:. It doesn’t take much to get this chip powered and connected through a modified BUB (set A TRULY MINIMAL EZ80 SETUP • JEELABS To check that the eZ80 chip works, we only need to connect it to the Blue Pill with 6 wires: +3.3V and ground (the eZ80 runs at 3.3V, but it has 5V-tolerant I/O pins) a two-wire “Zilog Debug Interface” (ZDI), which is a bit like JTAG, but simpler a clock signal to drive the eZ80 (anything from DC up to 50 MHz) a reset signal - not strictly necessary, but convenient See the README for the STM32F103 LOW-POWER MODE : JEELABS I’ve always kept an interest in low-power explorations, most of which I did many years ago. First there was the ATmega328, then the LPC824, and finally on the STM32L052. CT’S AND BURDEN RESISTORS » JEELABS This is a “voltage output” type CT: the current is internally passed through a “burden” resistor, so that we can measure the voltage on the end of the wire coming out. The above unit is rated for 30A. The winding ratio is 1:2000, so those 30A are converted to a 15 mA output current, and 15 mA through 62Ω leads to a 930 mV output MEASURING VCC VIA THE BANDGAP » JEELABS The ATmega’s (and ATtiny’s for that matter) all have a 10-bit ADC which can be used measure analog voltages. These ADC’s are ratiometric, meaning they measure relative to the analog reference voltage (usually VCC).. On a 5V Arduino, that means you can measure 0..5V as 0..1023, or roughly 5 mV per step. FORTH IN 7 EASY STEPS • JEELABS Forth is a simple language, with simple rules and a simple execution model. It’s also self-hosted and interactive - you can type this at the prompt: 1 2 + . What you’ll get as response is this (details may differ, everything below is for Mecrisp Forth): 1 2 + . 3 ok. ^^^^^^^^^^^ added by Forth All code is parsed into a sequence of “words”, which is anything between whitespace CHAOTIC CIRCUIT :: JEELABS DOCS Chaotic circuit. Some electronic circuits can oscillate in a “chaotic” way. When displayed as X-Y plots on an oscilloscope, this then leads to intriguing patterns: The circuit for the above example resembles a “ Colpitts oscillator ". It consists of just 6 components and was published by SIMPLE MECRISP FORTH UTILITIES • JEELABS The default message shown after a reset of Mecrisp Forth is this prompt: Mecrisp-Stellaris RA 2.3.6 for STM32F103 by Matthias Koch Nothing else, no hint that you can start entering commands. With a board.fs file from Embello loaded, we get an extra line with some useful status information (and an “ok.”): Mecrisp-Stellaris RA 2.3.6 for STM32F103 by Matthias Koch 64 KB 32212433 ram SOLDERING A TSSOP CHIP BY HAND » JEELABS Also don’t forget to check the orientation, so pin 1 lines up as intended. To start, apply a tiny, tiny, TINY amount of solder to the first pad (any corner pad will do): Then, holding the chip with the tweezers, melt the solder next to that first pin (pin 16 in this example) and hold the chip steady. BUILDING A MULTICOMP-BASED Z80 • JEELABS Let’s see if we can build an FPGA-based system. The biggest challenge is that everything involved is completely different from software and hardware design. It’s a new ball game! We will need: some hardware (evidently, an FPGA is still a chip, just a different one) a design, this is essentially the schematic and wiring diagram a software tool chain to “synthesise” the design into a ENABLING USB ON A BLUE PILL • JEELABS Enabling USB on a Blue Pill Sep 27, 2017. As you may have guessed from my last post, I’ll be using the Blue Pill STM32F103 µC board for some JET engine experiments. It’s available on eBay, etc (for less than $3). With the USB console working very nicely in Mecrisp Forth now, this board plugs right in - no USB-to-serial adapter needed. NEW DATE / TIME / RTC LIBRARY » JEELABS Here’s the header file of the new RTClib Arduino-compatible library: This lets you do date / time calculations, and it provides two different ways to implement a clock: via a hardware chip or using the built-in millis () timer. RTClib has been checked intoShop
Looking for something? This is a list of “stuff” I’ve worked on over the years, in reverse chronological order:*
This site has changed shape a few times, beginning with WordPress (2008 to 2015), to a static site (until end 2017), to what you’re looking at now (also static). There’s an archive page which ties most of this old stufftogether.
*
The list of latest articles on this site (2018 to 2019) is at https://jeelabs.org/articles/.*
JeeLabs @ GitHub has a bunch of projects. Note that I have moved all my personal code repositories from jcw @ GitHub to my home server at https://git.jeelabs.org/.*
JeeLabs Docs has some documentation. This was started a bit late in the game, so it’s somewhat limited. Then again, it _does_ document a few recent projects & hacks.*
The JeeLabs forum
and wiki
are still at the Internet Archive with lots of information. An older forum (forum.jeelabs.net, 2011 to 2012) used Drupal, and before that (talk.jeelabs.net) it was BBPress. So much for long-term maintenance, I guess.*
The Tcl’ers Wiki used to be a place where I spent of lot of my waking hours, but we’ve both moved on since then. This was an early Wiki based on Tcl + Metakit.*
The (archived) equi4.com website was started in the 1990’s with projects I worked on quite a long time ago, including Metakit, Tclkit, Critcl, Wikit, Vlerq, and CatFish (now in my personal git repo’s). There is even an ancient weblogplus musings
.
*
Many many decades ago, my company used to be called Meta 4 Softwareand
I set up a website called The SAX,
as a clearinghouse for “shareware authors”.*
Before that, there was no internet, only text-based email - _hard toimagine, eh?_
> Note: only my public & non-commercial projects have been listed> above.
It looks like (at least on internet) nothing ever goes _fully_ away…
back to top
------------------------- 2021 Jean-Claude WipplerDetails
Copyright © 2024 ArchiveBay.com. All rights reserved. Terms of Use | Privacy Policy | DMCA | 2021 | Feedback | Advertising | RSS 2.0