Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.
|
Forum Index : Microcontroller and PC projects : Tests with Transmissions via Pico W and Bluetooth
Author | Message | ||||
aFox Regular Member Joined: 28/02/2023 Location: GermanyPosts: 76 |
Maybe you are interested in BT tests Gregor Edited 2023-05-24 04:39 by aFox |
||||
JohnS Guru Joined: 18/11/2011 Location: United KingdomPosts: 3804 |
It wants me to login to look :( No thanks. John |
||||
lew247 Guru Joined: 23/12/2015 Location: United KingdomPosts: 1702 |
No it does not It asks do you "want" to login if you close the box it lets you read it fully without doing anything |
||||
JohnS Guru Joined: 18/11/2011 Location: United KingdomPosts: 3804 |
We're getting different outcomes. Doesn't matter, I was just curious to see what the link said. I managed to grow the window and see enough of it :) John |
||||
Mixtel90 Guru Joined: 05/10/2019 Location: United KingdomPosts: 6798 |
Strange - I got the "cookie permissions" box, but having them all off and saving it then let me see everything, no problem. Maybe uBlock Origin is helping. Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
aFox Regular Member Joined: 28/02/2023 Location: GermanyPosts: 76 |
Hi Here the uf2 file if you want to use the PicoW as a Bluetooth adapter: BtSerialSerial1Passthrough.ino.zip Gregor |
||||
Plasmamac Guru Joined: 31/01/2019 Location: GermanyPosts: 554 |
Thx Plasma |
||||
aFox Regular Member Joined: 28/02/2023 Location: GermanyPosts: 76 |
@Grogster and @nbrok Do you need a special version of BtSerialSerial1Passthrough.ino.zip? Maybe swapping the pins 0 and 1 or other pins so you can solder a PICO W directly on top as a sandwich. Gregor |
||||
Mixtel90 Guru Joined: 05/10/2019 Location: United KingdomPosts: 6798 |
Of course, the Pico W as a BT adapter needs to drop its price a bit with the JDY-33 around. :) Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
aFox Regular Member Joined: 28/02/2023 Location: GermanyPosts: 76 |
But if you use a Pico VGA board you can solder Tx, Rx, 5V and some Ground pins.the Pico No need of special board design and wires. I think it's possible to use the Pico W's flash memory (maybe 1MB) as well. So overall costs could go down. Gregor |
||||
Mixtel90 Guru Joined: 05/10/2019 Location: United KingdomPosts: 6798 |
As long as those of us with no use for it don't lose any more flash slots, program space or variables area. :) Adding too much stuff that could so easily hang on COM ports could kill the PicoMite. Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
aFox Regular Member Joined: 28/02/2023 Location: GermanyPosts: 76 |
Please explain. Do you mean to much current? |
||||
Mixtel90 Guru Joined: 05/10/2019 Location: United KingdomPosts: 6798 |
No, using too many resources such as flash, RAM, DMA channels, PIOs etc. on the PicoMite. Supply current is relatively unimportant as you can easily use an external regulator if the switcher can't handle it. This is the problem with many of the "experimenter's" PCBs. By the time you've got buttons, lights, SD card, display, sound, keyboard etc. there's nothing left for the experimenter! It's feature overload. MMBasic has two COM ports, One or more SPI ports, a couple of I2C ports and one or more PIOs. Not much is so expandable. The most effective way to use it is to use them rather than try to build everything in. EDIT: YAY! My little breakout boards for the JDY-40 work. They let you plug them into ordinary breadboards, with all connections on pins. Incidentally, I had no luck in attempting to program the JDY-40 using Tera Term. I used YAT, which had no problems at all. I suspect that Tera Term is sending character by character and YAT sends a complete line terminated by CR LF. Edited 2023-06-28 06:55 by Mixtel90 Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
aFox Regular Member Joined: 28/02/2023 Location: GermanyPosts: 76 |
Hi Mick Basically I agree with you, but of course it's tempting to test the limits. Since the Raspberry PI and Zero (W) were not available, additional momentum came into the scene. Today, the Zero W is available in Germany for about 17.5 euros including taxes with HDMI, SD card slot, etc.. A custom PICO VGA board is of course questionable in terms of this price. But wait a minute, is there a good BASIC for the Zero? Maybe we will be surprised with a ZeroMite. In my experience by using µC boards, the USB serial drivers FTI, CDC, CH34* etc. also chop up the data stream differently. In my opinion is termination by LF (or CRLF) in any case where it is possible a good practice. Gregor |
||||
Mixtel90 Guru Joined: 05/10/2019 Location: United KingdomPosts: 6798 |
You might be able to get MMBasic for Linux to run on a Zero, but it's rather a back burner project. MMBasic for DOS might be ok under WINE. I wouldn't hold out much hope for a native version on the other Raspberry Pi platforms though. That's been tried and abandoned. The problems with all the other platforms generally boil down to GPIO access (or lack of it). I was using the same CH134, by the way, so it didn't seem to be a problem there. The JDY-40 insists on capitals and /r/n line termination. YAT is intended for programming embedded controllers etc. It's not strictly a terminal emulator. Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
lizby Guru Joined: 17/05/2016 Location: United StatesPosts: 3150 |
There was a good basic for the Zero--MMBasic labelled "Picromite"--but OS changes munged the I/O, and Peter did not wish to try to keep up with a moving target. I agree that MMBasic for the R-Pi would be valuable, but someone would need to either rework the original code for correct I/O, or take the current source and perform the grunt work for getting I/O and HTML and all the rest to work. It's been reported that MMB4W works under Wine--but without I/O other than that possibly available with sysfs. MMB4L certainly works on the R-Pi, but at present lacks I/O (other than with sysfs). ~ Edited 2023-06-28 22:11 by lizby PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed |
||||
aFox Regular Member Joined: 28/02/2023 Location: GermanyPosts: 76 |
I tried this Raspberry Pi 4B Switches Relais by BASIC But 2GB RAM and root access is in this case needed. So not a solution for the Zero (W). Newer versions support more I²C sensors if declared within boot.txt. In this case is no root access needed if you use BASIC!'s SENSOR command group. Until now I was not able to convince Konsta to implement a GPIO interface. Today I am able to control a Pico device over USB by OliBasic. Less headaches! Gregor |
||||
lizby Guru Joined: 17/05/2016 Location: United StatesPosts: 3150 |
Is he familiar with libgpiod? After a lapse of several years, there has been interesting activity in the past few months. Even without the control which libgpiod provides, you can without question switch relays with MMB4L using sysfs on a Pi-Zero. See: Digital input and output on the Pi Zero W with MMB4L ~ Edited 2023-06-29 03:08 by lizby PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed |
||||
Print this page |