I think it looks in the "current directory". So you want to cd to E:\Matt\Documents\Arduino\ first, then run CCLoader.exe 5 SampleLight_v1.2_butt3reset_ieee.bin 0
Uploading Happiness.......
I'm so rusty I had to look up how to change drives in DOS.
As for powering the MonaLisa for updating firmware, the most robust seems to be connecting 3.3V, GND on the Mona Lisa to 5V, GND on the arduino. Yes, it's crazy, but we are already breaking rules by connecting a 5V output pin on the arduino to a 3.3V tolerant pin on the debug header of the MonaLisa. That means it's best NOT to plug it on as a shield. I've updated the "guide".
Success
I now have two Lisa's on my hub.
Sum up what I did for Window 10.
Dust off your DOS commands
Powered the Lisa. 3.3v, GND from Arduino 3.3V, GND.
Wired debug port per directions.
Put the sketch on the Arduino then close the IDE (it ties up the port).
CCLoader and bin file in same directory.
cd to that directory.
Run CCLoader from command line with exe, com#, bin file, and Arduino type
e:\Matt\Documents\Arduino>CCLoader.exe 5 SampleLight_v1.2_butt3reset_ieee.bin 0
Copyright (c) 2013 RedBearLab.com
CCLoader.exe version 0.5
Comport : COM5
Bin file: SampleLight_v1.2_butt3reset_ieee.bin
Device : Default (e.g. UNO)
Comport open!
Baud:115200 <data:8> parity:none stopbit:1 DTR:off RTS:off
File open!
Block total: 512
Enable transmission...
Request sent already!
/********************************************************************/
- If there is no respond last for 3s, please press "Ctrl+C" to exit!
- And pay attention to :
-
- The connection between computer and Arduino;
-
- The connection between Arduino and CC2540;
-
- Whether the device you using is Leonardo or not;
-
- Other unexpected errors.
/********************************************************************/
- Other unexpected errors.
Waiting for respond from Arduino...
Uploading firmware...
In case anyone is bored today, new firmware for MonaLisa lets you get a map of your zigbee mesh!
Well, sort of. It has a new command that will print out over serial the neighbors and connection strengths to each neighbor for a given node. But it would just be a matter of a few hours for a motivated individual with the right python skills to start at the hub and then iterate through the whole mesh, gathering up the info, and drawing it with graphviz!
Details have been added to the "guide".
Is the MonaLisa firmware specific to the revision of the board? I have a v1.1 MonaLisa and want to make sure I donāt mess anything up.
The only difference is that until v1. 2, the digital input 1 was used for the reset button. From 1.2 on it's digital input 3. The new firmware is for the newer boards. So if you install it on your board, the reset button won't work, that's all. But updating/reloading the firmware also resets the board, so you could always just do that if you ever needed a reset.
Thanks. Iāll leave well enough alone. What is the ETA on the v1.4 boards?
In stock! All boards sold on eBay since late last week are v1. 4.
And they will come preloaded with the latest firmware.
Another MonaLisa board earning her kibble.
Left to Right
1400mAh LiPo battery ~$10
Adafruit PowerBoost 500 Charger (the UPS) ~$15
Two voltage dividers, USB in V and Batt V
MonaLisa
Battery voltage meter.
There is USB power meter for now, to be removed
The hub used ~600mAh in three hours
UPS should last 5-6 hours with the 1400mAh battery.
Not that it will do much good but the hub will send a notification when line power is lost
and then shutdown when the battery drops to 3.2V
Oh God they're multiplying!
Two are now four.
Even getting good a flashing them.
Once the E32 LoRa modules get here I'll order some v1.5 boards.
Well, I have lots of time now.
Here's what my zigbee mesh map made using the MonaLisa board looks like. I added python scripts and instructions to the MonaLisa guide.
Update:
4 MonaLisas on the mesh for a week or so, all doing well.
My LoRa modules are stuck in China, hope they keep getting better over there.
Ordered a couple of ESP8266 WiFi modules to keep me busy.
Not much to show but Iām working on my first app for the hub.
It looks like an app is the only way to send other device data to the MonaLisa.
Iāve got the app reading temp and RH values from a number of devices and sending the values to
to a ML as a series of strings.
Iāve broken the app though, it will only run if open the app then click done.
If you share your app code Iād be willing to assist in the troubleshooting, if desired.
I'm curious why you're sending those values to the ML board. Couldn't you just do the automation in Hubitat instead of having the ML board do the processing?
What events does your app subscribe to?
Dan thanks I might take you up on that.
Let me try beating my head on the keyboard a bit first.
subscribe(tempSensors, "temperature", handler)
subscribe(RHSensors, "humidity", handler)
As to why?
Because Iāve never shied away from wouldnāt it be cool if ......
MonaLisa has a way to transfer data to a serial device.
Wouldnāt it be cool if I made a weather station that could be a dashboard as well as pull in outside weather?
That you can have a microprocessor that receives all sorts of data from the mesh and then use it creates a whole new world of deviceās doesnāt it?
As one of my best technicians said ā if your going to be stupid, you better be toughā
I had no idea what I was getting into when I started this.
Do you have your full app? Does it contain a method "handler"?
That only received data via serial?
No, not really. Anything you could do on an Arduino, you could do in Hubitat. Or a Raspberry Pi. Or any other number of things that have more processing power than an Adruino. I just don't understand where this is going....but I'm more than willing to help you get there. lol
Ryan - thanks I had screwed up my handler method, working again!