Home  |  Contents 
Microcontroller and PC projects
  Forum Index : Microcontroller and PC projects         Section
Subject Topic: Newie got a few questions Post ReplyPost New Topic
Page of 33 Next >>
Author
Message << Prev Topic | Next Topic >>
lew247
Guru
Guru
Avatar

Joined: 23 December 2015
Location: United Kingdom
Online Status: Offline
Posts: 790
Posted: 24 December 2015 at 10:49am | IP Logged Quote lew247

Hi everyone
I've literally just discovered the Micromite and MMBasic and I have to say from what I've seen it seems amazing.
My first computer experience was in college when I was 16 in 1977 (shows how old I am) and the computer then had no monitor but only a printer and it ran basic.
MMBasic from what I can see is extremely similar to the basic I learnt back then so it brings back lots of memories.
Obviously since then I've been through computers from most of the dos versions to Windows 10. But never really did any programming.

Since then I've been a radio ham, radio and tv engineer and a gsm field engineer so got "some" electronic building/fixing experience but little programming.


What I'd like to do is a mixture of projects, I saw/read geofg's project the GPS Synchronized Clock and I'd like to mae one

but I'd also like to do this:

I also want to add an lcd display under it showing the time/day/date and maybe some other information such as temperature inside and outside which could be done easily enough with DS18B20 or something similar

I'd also like to incorporate a means of it chiming on the 1/4 1/2 3/4 and on the hour playing either mp3 sound of a gong chiming the hour or maybe if possible use something like https://www.youtube.com/watch?v=p3-AawZLvWo

Probably way too advanced to do but I'd like to have a genuine sound so probably have to me MP3 really with a decent speaker.

Eventually I'd like to make remote sensors for the fridge and freezer showing the temperatures of those, and maybe incorporate an alarm if the temp rises above a set level
Also humidity and maybe even wind speed (can all be added at a later stage)

Is all this possible? or would it really be too hard to do for a newie to programming?

I believe the output from the GPS could be used for both the Synchronized Clock and the digital one

The other idea I had was to maybe use one of the new 64 pin Micromites and have something like a 5 inch display and have it draw the clock and a box with the other things (day date etc) in it

Id really welcome any thoughts ideas suggestions etc, even if its telling me that its impossible or too hard!



Back to Top View lew247's Profile Search for other posts by lew247
 
BobD
Guru
Guru
Avatar

Joined: 07 December 2011
Location: Australia
Online Status: Offline
Posts: 925
Posted: 24 December 2015 at 11:13am | IP Logged Quote BobD

Welcome Lewis

It's all possible. Just decide what you want and go for it. Ask questions as you need.

Merry Christmas to you and all of the TBS.

Bob

edit
This may be the wrong time to ask a lot of questions. People may be concentrating on other things.

Edited by BobD on 24 December 2015 at 11:15am
Back to Top View BobD's Profile Search for other posts by BobD
 
viscomjim
Guru
Guru


Joined: 08 January 2014
Location: United States
Online Status: Offline
Posts: 817
Posted: 24 December 2015 at 3:27pm | IP Logged Quote viscomjim

Hi Lewis, welcome aboard. I too think you will really enjoy the uMite. I for one am hooked and use it in a lot of projects.

All the things you mentioned are doable with the uMite. I noticed you mentioned the gps synchroniezed clock but I don't know if you saw THIS ONE. It has the LCD that you are looking for and the code is really pretty cool. As far as adding sound, also very doable. HERE is a project that I used an MP3 sound module and uMite. You can easily add any sounds you want for your projects.

This is a great forum and everyone here is super friendly and like to help. Geoff has really made a wonderful product and I can't thank him enough for his incredible efforts. There are quite a few contributors to this project that go above and beyond and have made this a great development tool and platform.

MERRY CHRISTMAS to everyone here!!!!
Back to Top View viscomjim's Profile Search for other posts by viscomjim
 
CircuitGizmos
Guru
Guru
Avatar

Joined: 08 September 2011
Location: United States
Online Status: Offline
Posts: 980
Posted: 24 December 2015 at 5:23pm | IP Logged Quote CircuitGizmos

All taken at once it is a big project for a newbie, but you don't have to do the whole thing at once. What you describe is easily done a bit at a time. Get the basics down and then add what you want in a modular way.

Start with a big graphic LCD perhaps on portrait orientation. Divide it into a large section at top for time, and room underneath for data. To begin with have the time displayed as digital, but put it in a box that you can later make into the face of an analog clock. There is a system time in the MM that you can display.

Next add GPS time support. A GPS sends serial strings that you need to decode. Now you have built the second part of your project - having accurate time from GPS.

Add MP3 (http://circuitgizmos.com/gizmo-store/#!/Shield-to-Play-MP3-WAV-files-from-SD-USB/p/54453068/category=14355151 is an MP3 player I make and sell) and write code to look for your quarter hours to trigger an mp3 file.

Now add sensors that you can display their values on the LCD below the clock. Perhaps make that area scroll or cycle between readings. There is a ton of built-in support in MMBasic for sensor reading.



__________________
Micromites and Maximites! - Beginning Maximite
Back to Top View CircuitGizmos's Profile Search for other posts by CircuitGizmos Visit CircuitGizmos's Homepage
 
TassyJim
Guru
Guru


Joined: 07 August 2011
Location: Australia
Online Status: Offline
Posts: 2276
Posted: 24 December 2015 at 7:54pm | IP Logged Quote TassyJim

Welcome.
I would look at the DHT22 as a sensor for temperature and humidity.
There is also the BMP085 for pressure.

Both work well with the micromite.


Us more mature users are always happy to help the youngsters who come along.

Jim VK7JH


__________________
It all started with the ZX81....
VK7JH
http://www.c-com.com.au/MMedit.htm
Back to Top View TassyJim's Profile Search for other posts by TassyJim Visit TassyJim's Homepage
 
CircuitGizmos
Guru
Guru
Avatar

Joined: 08 September 2011
Location: United States
Online Status: Offline
Posts: 980
Posted: 24 December 2015 at 9:17pm | IP Logged Quote CircuitGizmos

TassyJim wrote:
Us more mature users are always happy to help the youngsters who come along.


That made me LOL.

__________________
Micromites and Maximites! - Beginning Maximite
Back to Top View CircuitGizmos's Profile Search for other posts by CircuitGizmos Visit CircuitGizmos's Homepage
 
WhiteWizzard
Guru
Guru


Joined: 05 April 2013
Location: United Kingdom
Online Status: Offline
Posts: 2436
Posted: 25 December 2015 at 10:57am | IP Logged Quote WhiteWizzard

Hi Lewis, and welcome to TBS

As people have already mentioned, all this (and lots more) is possible; and the best thing is it is very easy to achieve when taken step by step.

The fact you know BASIC already is a great help - and once you start playing you will see just how easy things are.

I am based in UK too (Slough) and will gladly help you by phone too if you need. The people here are great for helping and sharing ideas/problems so post here first.

Get hold of at least a 28pin MM and a cheap colour TFT (with touch), and also a USB-to-Serial module and you will have enough to get started . . . .

SEASONS GREETINGS to you ALL

WW

__________________
For everything MicroMite visit MicroMite.org

Direct Email: WhiteWizzard@MicroMite.org
Back to Top View WhiteWizzard's Profile Search for other posts by WhiteWizzard Visit WhiteWizzard's Homepage
 
lew247
Guru
Guru
Avatar

Joined: 23 December 2015
Location: United Kingdom
Online Status: Offline
Posts: 790
Posted: 25 December 2015 at 11:36am | IP Logged Quote lew247

Thanks everyone, some good advice there, I'll get started after Christmas
The one question that still sticks out is

Is there support for an rf module? ie if I put a temp sensor outside, could i connect it to an rf transmit module and have a receiver on one of the pins of the micromite?

I was thinking that would be a great way to get outside temp, humidity wind speed and so on to the micromite without having to run wires through the wall
Back to Top View lew247's Profile Search for other posts by lew247
 
robert.rozee
Guru
Guru


Joined: 31 December 2012
Location: New Zealand
Online Status: Offline
Posts: 1185
Posted: 25 December 2015 at 11:52am | IP Logged Quote robert.rozee

lew247 wrote:

Is there support for an rf module? ie if I put a temp sensor outside, could i connect it to an rf transmit module and have a receiver on one of the pins of the micromite?

I was thinking that would be a great way to get outside temp, humidity wind speed and so on to the micromite without having to run wires through the wall


as it happens, i've been using these modules, an HC-12 clone, to transmit GPS data with great success:
http://www.ebay.com/itm/171907297975
costing us$9.20 (delivered) for two.

a pair will, out-of-the-box with no programming required, provide a 9600 baud duplex serial link that acts just like a wired connection. in my case this matches the 9600 baud of the GPS modules i am using, but could equally well provide a link between two micromites. (1) use an outside micromite with temperature sensor attached, that every minute or so wakes up, turns on the transceiver and sends out the temperature data, then turns off the transceiver and goes back to sleep. (2) inside have a second transceiver attached to a micromite that listens for the temperature data and dispays it on an LCD screen.

although this uses two micromites, the 28-pin MX170 chip is cheap enough (at less than $5) to not worry about the cost.


cheers,
rob :-)

Edited by robert.rozee on 25 December 2015 at 11:54am
Back to Top View robert.rozee's Profile Search for other posts by robert.rozee
 
palcal
Guru
Guru
Avatar

Joined: 12 October 2011
Location: Australia
Online Status: Offline
Posts: 813
Posted: 25 December 2015 at 9:13pm | IP Logged Quote palcal

In the last link I like the instruction to stop overheating
Quote:
suggested that when the power supply voltage is greater than 4.5 V , you need concatenating a 1N4007 diode to avoid module built-in LDO got fever)

Paul.

__________________
"It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all"
Back to Top View palcal's Profile Search for other posts by palcal
 
TassyJim
Guru
Guru


Joined: 07 August 2011
Location: Australia
Online Status: Offline
Posts: 2276
Posted: 25 December 2015 at 9:20pm | IP Logged Quote TassyJim

If you do use a wireless link, make sure it is legal to use in your country.
Permitted frequencies and power levels vary a lot between countries.

Jim

__________________
It all started with the ZX81....
VK7JH
http://www.c-com.com.au/MMedit.htm
Back to Top View TassyJim's Profile Search for other posts by TassyJim Visit TassyJim's Homepage
 
Grogster
Guru
Guru
Avatar

Joined: 31 December 2012
Location: New Zealand
Online Status: Offline
Posts: 5166
Posted: 26 December 2015 at 1:14am | IP Logged Quote Grogster

Hi-de-hi.

Welcome to the forums, as many others have said.

If it helps at all, when I first became a member, the black-and-white Maximite had just been published in Silicon Chip, and I knew practically no MMBASIC at all. I had done several years worth of work with the PICAXE chips, and some of the commands were the same, but essentially, I had to learn a new programming language.

I am so glad I did, as since the B/W Maximite, we have seen the Colour Maximite, Micromote 150, Micromite 170, Micromite Plus 64 and Micromite Plus 100 chips come along, each one advancing the language and adding more fancy go-faster stripes as they arrived on the scene.

All the while, keeping the price of the main chip next to nothing, and now that Rob(robert.rozee) has done the ascii programmer unit, you can build a programmer for the chips for about US$5 - hard to beat, even with the offerings on eBay.

But I digress.....

When I first arrived here, I felt I could do nothing, as I did not know even the basics of the language, but members here were very willing to help me learn, and now I involve myself in quite complex projects such as the stereo amp controlled by MMBASIC that I, jman and HankR are all working on behind the scenes.

So, I can't really think of anything that the Micromite CAN'T do in the embedded world with the addition of extra external modules for specific tasks, but the Micromite and MMBASIC make things much quicker and easier to get working then the Arduino - no offence to Arduino.

Arduino used to win hands-down on raw speed(being coded in C) over the interpreter that runs MMBASIC, but since MMBASIC added Cfunctions, then specific tasks can be written in raw C or MIPS, and that has opened up the Micromite to a whole plethora of tasks and situations where it can be used - mainly thanks to matherp's on-going Cfunction development work. Even interpreted MMBASIC is plenty fast-enough for most tasks without needing Cfunctions.

So, dive on in, and do post back with anything that you trip on - as others have already said, this is a friendly forum and plenty of people are willing to help with any issue you may have.

Learning MMBASIC is definitely worth the effort - put it that way!

__________________
Smoke makes things work. When the smoke gets out, it stops!
Back to Top View Grogster's Profile Search for other posts by Grogster Visit Grogster's Homepage
 


Page of 33 Next >>
In the news...
 
Post ReplyPost New Topic
Printable version Printable version
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum

Powered by Web Wiz Forums version 7.8
Copyright ©2001-2004 Web Wiz Guide

This page was generated in 0.1089 seconds.
Privacy Policy     Process times : 0, 0, 0, 0.11