![]() |
Forum Index : Microcontroller and PC projects : Pico - again
Author | Message | ||||
lew247![]() Guru ![]() Joined: 23/12/2015 Location: United KingdomPosts: 1702 |
I have searched but not found anything. Has anyone developed any code for the Pico or any MM device to use Ethernet via cable? Im thinking about something like an LAN8720 breakout board or this as its only around GBP5 ![]() It has C/C++ Examples here and CircuitPython Examples here Has anyone done anything similar and has examples of how to code with MMbasic with them? |
||||
Tinine Guru ![]() Joined: 30/03/2016 Location: United KingdomPosts: 1646 |
Hey Lewis, Not sure if I posted the Tibbo stuff before but I think it would be my choice. All kinds of possibilities. Craig |
||||
lizby Guru ![]() Joined: 17/05/2016 Location: United StatesPosts: 3378 |
Why would wired be any better than the wireless you can have now with the ESP? You'd still have the problem of how to ask for what you want, and how to handle what you get. Some of that can at least be programmed for on the ESP-01 or D1 Mini. PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed |
||||
lew247![]() Guru ![]() Joined: 23/12/2015 Location: United KingdomPosts: 1702 |
Because the project I have in mind would have no batteries and could have power run through the internet cable, so it would be all in one cable Thats why I asked the question "has anyone used Ethernet on any MMBasic stuff" |
||||
lizby Guru ![]() Joined: 17/05/2016 Location: United StatesPosts: 3378 |
No problem powering the Picomite with wires and running an ESP-01 (depending on access to WIFI). Can you do what you want with a Raspberry Pi running MMB4L? PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed |
||||
Grogster![]() Admin Group ![]() Joined: 31/12/2012 Location: New ZealandPosts: 9610 |
If you are asking about actual HTML kind of web-site host support stuff, I'm not aware of anyone who has done that on the MM series, but I may have simply missed a thread about it. Someone will chime in here and point that out if I have that wrong. I've played around with the WizNet 106SR I think was the model number - ethernet to serial adaptor, and later on the easier to configure(IMHO) USR TCP232 module which is the same kind of ethernet to serial adaptor. You connect this to your network, and it talks on the network via a UART connection. At one point, I even had port-forwarding etc setup, so people here on the forums could connect to a MM2 I had hanging off the end of one of those, and people could connect and leave messages via the editor, which gives you WAN level access - useful if you have an install hundreds of miles away, cos you can connect to it and perform remote admin on your project. ![]() There were no code-examples of these really, as in those cases, I just had the ethernet module connected to the MM2's serial console. Provided you could connect, you had access to the Micromite console over the ethernet, but you could connect it to COM1 or COM2 etc, for dedicated code-driven menus for control over the LAN(or WAN if you wanted to go that far), but initial testing I did with the help of other members here at the time, proved it was certainly possible and reasonably easy do to. I never got around to implementing LAN support on my stuff, so once I had finished with the experimenting, it never really developed past that point. However, your GBP5 price for that module you posted a photo of, is certainly a sweet-spot price-wise. I will have to look up that module. ![]() Smoke makes things work. When the smoke gets out, it stops! |
||||
Grogster![]() Admin Group ![]() Joined: 31/12/2012 Location: New ZealandPosts: 9610 |
Interestingly, I note that WIZnet actually make and sell a PICO module, with the ethernet combined on the one unit - clever, and only US$10. ![]() Link... ![]() Edited 2022-03-14 10:25 by Grogster Smoke makes things work. When the smoke gets out, it stops! |
||||
lew247![]() Guru ![]() Joined: 23/12/2015 Location: United KingdomPosts: 1702 |
Not really, I was thinking mostly the commands that were available on the Pi when that was a thing. It's going to sound really stupid, but I want to make a clock that's driven by stepper motors and every now and then gets it's time from time servers on the internet. I have this thing (obsession) about clocks having to have the exact time down to the second I could run the ethernet cable in the wall behind the clock with a proper rj45 socket on the wall so it looks neat and tidy and get it's power over the ethernet cable. I know most will say it's an idiotic idea when you can just use an RTC module to keep time but.. |
||||
Grogster![]() Admin Group ![]() Joined: 31/12/2012 Location: New ZealandPosts: 9610 |
No, not idiotic at all. ![]() Atomic Clocks exist for a reason, and that reason is that every second counts(way more then that actually!) - if you will pardon the pun. ![]() Keep us all posted. Sounds like an interesting project. Smoke makes things work. When the smoke gets out, it stops! |
||||
Mixtel90![]() Guru ![]() Joined: 05/10/2019 Location: United KingdomPosts: 7937 |
How about using a GPS module with a 'mite and using that to get the time? Would that be too unreliable? Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
robert.rozee Guru ![]() Joined: 31/12/2012 Location: New ZealandPosts: 2442 |
it is a cool idea ![]() how about instead using a GPS module (cheap and available) hooked up to an MX170-based micromite? unless you live in a tin house, even inside a GPS module will eventually pick up a time signal. no need for an RTC module, and can just hard-wire the UTC and daylight savings offsets for your location (or have +/-15 minute push buttons). cheers, rob :-) snap! mick was writing his post at the same time as me Edited 2022-03-14 19:09 by robert.rozee |
||||
lew247![]() Guru ![]() Joined: 23/12/2015 Location: United KingdomPosts: 1702 |
Nice ideas, I guess I could still use the same ethernet rj45 socket with the cables in the wall to give power instead of ethernet and power The only thing is the clock face I want to use is metal and no way will the gps signal at 1575.42MHz pass through it If I changed it to anything non metalic it would work |
||||
lew247![]() Guru ![]() Joined: 23/12/2015 Location: United KingdomPosts: 1702 |
I've been checking it out, really interesting modules, ethernet and wifi on some of them along with lots of inputs/outputs and they run a version of basic already It would be interesting to know what the actual cpu is |
||||
Mixtel90![]() Guru ![]() Joined: 05/10/2019 Location: United KingdomPosts: 7937 |
You could, of course, just switch to a Raspberry Pi rather than a 'mite. All you need then is the POE stuff to power it. Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
lizby Guru ![]() Joined: 17/05/2016 Location: United StatesPosts: 3378 |
What kind of I/O do you need for the clock? PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed |
||||
robert.rozee Guru ![]() Joined: 31/12/2012 Location: New ZealandPosts: 2442 |
just make sure the GPS patch antenna is pointing away from the metal face. as long as it is not fully enclosed on all sides (ie, in a metal box) you should be able to pick up enough of a signal for timekeeping. alternatively: place your GPS module at the other end of the cat5 cable (where the power is coming from), with one of the spare wires carrying the TTL serial data back to the clock. cheers, rob :-) |
||||
TassyJim![]() Guru ![]() Joined: 07/08/2011 Location: AustraliaPosts: 6283 |
Make sure that the GPS module has the PPS output available. Not all do. VK7JH MMedit |
||||
palcal![]() Guru ![]() Joined: 12/10/2011 Location: AustraliaPosts: 1993 |
Hi Lewis, I suppose you have seen THIS "It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all" |
||||
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |